summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-15 18:01:13 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-15 18:01:37 +0200
commit23b3e0bed3ef6215c26227439773a109c2ad002f (patch)
treec01fffb419763021daa094fd1c41e9c2bd41b58e /dev-python/twine
parentdev-python/imageio: Unpin numpy in install_requires (diff)
downloadgentoo-23b3e0bed3ef6215c26227439773a109c2ad002f.tar.gz
gentoo-23b3e0bed3ef6215c26227439773a109c2ad002f.tar.bz2
gentoo-23b3e0bed3ef6215c26227439773a109c2ad002f.zip
dev-python/twine: Remove upstream pin on pkginfo
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/twine')
-rw-r--r--dev-python/twine/twine-5.1.1-r1.ebuild (renamed from dev-python/twine/twine-5.1.1.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/twine/twine-5.1.1.ebuild b/dev-python/twine/twine-5.1.1-r1.ebuild
index b8a8d417ad49..0f45d4508bb3 100644
--- a/dev-python/twine/twine-5.1.1.ebuild
+++ b/dev-python/twine/twine-5.1.1-r1.ebuild
@@ -51,12 +51,15 @@ BDEPEND="
distutils_enable_tests pytest
python_prepare_all() {
+ distutils-r1_python_prepare_all
+
# pytest-socket dep relevant only to test_integration, and upstream
# disables it anyway
sed -i -e '/--disable-socket/d' pytest.ini || die
sed -i -e '/--cov/d' pytest.ini || die
+ # unnecessary pin
+ sed -i -e '/pkginfo </d' pyproject.toml || die
- distutils-r1_python_prepare_all
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}