summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-12 01:56:33 +0000
committerSam James <sam@gentoo.org>2020-09-12 01:56:33 +0000
commit41fd2f83bdb287d8641f8b067505631aa96a2e37 (patch)
tree0ef9ad9fd9496180e62726e122f1bc4eba974fec /dev-python/msgpack
parentdev-python/msgpack: version bump to 1.0.0 (diff)
downloadgentoo-41fd2f83bdb287d8641f8b067505631aa96a2e37.tar.gz
gentoo-41fd2f83bdb287d8641f8b067505631aa96a2e37.tar.bz2
gentoo-41fd2f83bdb287d8641f8b067505631aa96a2e37.zip
dev-python/msgpack: modernise ebuild
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r--dev-python/msgpack/msgpack-1.0.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/msgpack/msgpack-1.0.0.ebuild b/dev-python/msgpack/msgpack-1.0.0.ebuild
index 1f23c3ade2f4..9905cfb27256 100644
--- a/dev-python/msgpack/msgpack-1.0.0.ebuild
+++ b/dev-python/msgpack/msgpack-1.0.0.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
@@ -15,10 +16,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-IUSE="+native-extensions test"
+IUSE="+native-extensions"
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
+BDEPEND="
native-extensions? (
$(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*')
)