summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcell Meszaros2022-06-13 14:49:55 +0200
committerMarcell Meszaros2022-06-13 14:49:55 +0200
commitb31fa8e8fa6ebf497b87cc0dde1b97d96d45e6bd (patch)
tree2c08096fd3b09029c4946bbf010ea989d7f91c92
parent759a46f28f4b38b7410b56b084379dd5fbefee1d (diff)
downloadaur-python2-pytest-runner.tar.gz
5.2-5: fix configuration for setuptools-scm
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 64b464ea5f6..ad8e3ea67d9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python2-pytest-runner
pkgdesc = Invoke py.test as distutils command with dependency resolution
pkgver = 5.2
- pkgrel = 4
+ pkgrel = 5
url = https://pypi.org/project/pytest-runner/5.2/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index bca54709368..d3c1266add4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='python2-pytest-runner'
_name="${pkgname#python2-}"
pkgver=5.2
-pkgrel=4
+pkgrel=5
pkgdesc='Invoke py.test as distutils command with dependency resolution'
arch=('any')
license=('MIT')
@@ -27,14 +27,14 @@ source=("${_tarname}.tar.gz::https://github.com/pytest-dev/pytest-runner/archive
# source+=("${_name}-black-fix.patch::https://github.com/pytest-dev/pytest-runner/commit/18b8fa1ace1b4ac0dbd53e14940da27c10db650d.patch")
b2sums=('0241c40b6a51c149a2e52e09fa9c16bbe26177a68c5c51f578008d79036b3bed3756fc6a8f15233030f7339b36b8a6562feb22acb65aaa44156ca1c9d8f54def')
-prepare() {
+# prepare() {
# # disable tests as they were only used for Python 3 and python2- dependencies for that are missing
# patch -d "${_tarname}" -p1 < "${_name}-black-fix.patch" || :
+# }
+build() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-}
-build() {
cd "${_tarname}"
python2 setup.py build
}