summaryrefslogtreecommitdiff
path: root/dev-python/aesara/aesara-2.8.10.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-07 15:25:19 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-07 15:25:19 +0000
commit54ef05621701a320a71e56f68a0a942bc53ae0e9 (patch)
tree1137ddce6287c914945a29436a5741aee8f7fea5 /dev-python/aesara/aesara-2.8.10.ebuild
parent077e0e831423827ec97c98a46b5f2cc03fb4a6ea (diff)
gentoo auto-resync : 07:02:2023 - 15:25:18
Diffstat (limited to 'dev-python/aesara/aesara-2.8.10.ebuild')
-rw-r--r--dev-python/aesara/aesara-2.8.10.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-python/aesara/aesara-2.8.10.ebuild b/dev-python/aesara/aesara-2.8.10.ebuild
index 4b8039b62529..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,15 +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
- touch setup.cfg || die
- 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() {