summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-26 17:37:30 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-26 17:44:49 +0100
commitb175f3b2677f85143ac55724766a09fab80bdc29 (patch)
tree20ac3a95956c4531157a87c1e7231f810fac2ce8 /dev-python/partd
parentdev-python/moto: Enable py3.12 (diff)
downloadgentoo-b175f3b2677f85143ac55724766a09fab80bdc29.tar.gz
gentoo-b175f3b2677f85143ac55724766a09fab80bdc29.tar.bz2
gentoo-b175f3b2677f85143ac55724766a09fab80bdc29.zip
dev-python/partd: Unbundle versioneer
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/partd')
-rw-r--r--dev-python/partd/partd-1.4.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/partd/partd-1.4.1.ebuild b/dev-python/partd/partd-1.4.1.ebuild
index c270ee99175d..6c2e4234e826 100644
--- a/dev-python/partd/partd-1.4.1.ebuild
+++ b/dev-python/partd/partd-1.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,6 +23,7 @@ RDEPEND="
dev-python/toolz[${PYTHON_USEDEP}]
"
BDEPEND="
+ dev-python/versioneer[${PYTHON_USEDEP}]
test? (
dev-python/blosc[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
@@ -33,3 +34,9 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+src_prepare() {
+ # remove outdated version
+ rm versioneer.py || die
+ distutils-r1_src_prepare
+}