diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-24 20:30:21 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-24 20:30:48 +0200 |
commit | 977da26844b33c82df4c272584cb117a273dc5a5 (patch) | |
tree | e8db86fa27a7b5d2f2fec2c739afe136596204ac /dev-python/xcffib | |
parent | dev-python/tifffile: Bump to 2024.5.22 (diff) | |
download | gentoo-977da26844b33c82df4c272584cb117a273dc5a5.tar.gz gentoo-977da26844b33c82df4c272584cb117a273dc5a5.tar.bz2 gentoo-977da26844b33c82df4c272584cb117a273dc5a5.zip |
dev-python/xcffib: Strip invalid cffi dependency on PyPy
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xcffib')
-rw-r--r-- | dev-python/xcffib/xcffib-1.5.0.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-python/xcffib/xcffib-1.5.0.ebuild b/dev-python/xcffib/xcffib-1.5.0.ebuild index fbb6ddf9f2de..680167b6ad2a 100644 --- a/dev-python/xcffib/xcffib-1.5.0.ebuild +++ b/dev-python/xcffib/xcffib-1.5.0.ebuild @@ -36,6 +36,14 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # remove invalid cffi dependency + # https://github.com/tych0/xcffib/pull/167 + sed -i -e '/dependencies/d' setup.py || die + + distutils-r1_src_prepare +} + python_test() { rm -rf xcffib || die epytest |