summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-03-09 13:04:33 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-03-09 13:04:51 -0600
commit634e9721743a42e3350120969e73b8df1a0af93f (patch)
treebfe2cb6c920265ce7a317ae7478934e3e92c1b83 /dev-python/msgpack
parentdev-db/mariadb: Fix tests and live patching (diff)
downloadgentoo-634e9721743a42e3350120969e73b8df1a0af93f.tar.gz
gentoo-634e9721743a42e3350120969e73b8df1a0af93f.tar.bz2
gentoo-634e9721743a42e3350120969e73b8df1a0af93f.zip
dev-python/msgpack: cython is only for python
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r--dev-python/msgpack/msgpack-0.5.6.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/msgpack/msgpack-0.5.6.ebuild b/dev-python/msgpack/msgpack-0.5.6.ebuild
index c983343b0e3a..ab978928a8ed 100644
--- a/dev-python/msgpack/msgpack-0.5.6.ebuild
+++ b/dev-python/msgpack/msgpack-0.5.6.ebuild
@@ -18,7 +18,7 @@ IUSE="+native-extensions test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
native-extensions? (
- >=dev-python/cython-0.16[${PYTHON_USEDEP}]
+ >=dev-python/cython-0.16[$(python_gen_usedep 'python*')]
)
test? (
dev-python/six[${PYTHON_USEDEP}]
@@ -33,6 +33,8 @@ python_prepare_all() {
if ! use native-extensions ; then
sed -i -e "/have_cython/s:True:False:" ./setup.py || die
fi
+ # make sure cython is optional
+ sed -i '/^Cython/d' requirements.txt || die
distutils-r1_python_prepare_all
}