summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 15:34:15 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:34:15 +0100
commitbef4ad3b0453ce385a02b2c8bb4717e39aa6e8bc (patch)
tree513ec3ff0d4e720f6fe2600da8c264cbbf88439a /dev-python/aesara
parentdev-python/aesara: Remove obsolete setup.cfg hack (diff)
downloadgentoo-bef4ad3b0453ce385a02b2c8bb4717e39aa6e8bc.tar.gz
gentoo-bef4ad3b0453ce385a02b2c8bb4717e39aa6e8bc.tar.bz2
gentoo-bef4ad3b0453ce385a02b2c8bb4717e39aa6e8bc.zip
dev-python/aesara: Use SETUPTOOLS_SCM_PRETEND_VERSION
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aesara')
-rw-r--r--dev-python/aesara/aesara-2.8.10.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/dev-python/aesara/aesara-2.8.10.ebuild b/dev-python/aesara/aesara-2.8.10.ebuild
index 4198b85c58d7..1379f57e7cec 100644
--- a/dev-python/aesara/aesara-2.8.10.ebuild
+++ b/dev-python/aesara/aesara-2.8.10.ebuild
@@ -36,7 +36,6 @@ RDEPEND="
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
BDEPEND="
- dev-vcs/git
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-xdist[${PYTHON_USEDEP}]
@@ -54,14 +53,9 @@ distutils_enable_tests pytest
src_prepare() {
# do not claim "bin" package (sic!)
rm bin/__init__.py || die
- # setuptools_scm wants to read PV from git
- git init -q || die
- git config --global user.email "larry@gentoo.org" || die
- git config --global user.name "Larry the Cow" || die
- git add . || die
- git commit -qm "init" || die
- git tag -a "rel-${PV}" -m "rel-${PV}" || die
distutils-r1_src_prepare
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}
python_test() {