aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pytest-runner/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pytest-runner/APKBUILD')
-rw-r--r--community/py3-pytest-runner/APKBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/py3-pytest-runner/APKBUILD b/community/py3-pytest-runner/APKBUILD
index 2113f34db2..69f83ff0d4 100644
--- a/community/py3-pytest-runner/APKBUILD
+++ b/community/py3-pytest-runner/APKBUILD
@@ -2,18 +2,24 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-pytest-runner
_pkgname=pytest-runner
-pkgver=5.3.0
+pkgver=5.3.1
pkgrel=0
pkgdesc="Invoke py.test as distutils command"
options="!check" # Requires unpackaged pytest-{checkdocs,flake8,virtualenv}
url="https://github.com/pytest-dev/pytest-runner"
arch="noarch"
license="MIT"
-depends="python3"
-makedepends="py3-setuptools py3-setuptools_scm"
+depends="python3 py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+prepare() {
+ default_prepare
+
+ sed -e '/setuptools_scm/d' -i setup.py -i setup.cfg
+ sed -e "/^\[metadata\]/a version = $pkgver" -i setup.cfg
+}
+
build() {
python3 setup.py build
}
@@ -26,4 +32,6 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="35ead39da1e0280fb676afc4c4b9b2792ba63a8bfd4dfcacaf33d14537eb03ca7c3432ccc39cbe95a7e7af68b0c2145cb945dc396508c3a3e696f06dafba148d pytest-runner-5.3.0.tar.gz"
+sha512sums="
+7104ea8d714cc48fd69cbaedab5e71553889d1bc58b61bbb0d80a1de1cd9002eca2e05d6bc726c984ed4e4c4a276a757153164058295d445e458d763a888bcb6 pytest-runner-5.3.1.tar.gz
+"