[arch-commits] Commit in python-pytest-runner/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 14 20:57:13 UTC 2020
Date: Saturday, November 14, 2020 @ 20:57:12
Author: felixonmars
Revision: 754185
fix for new black
Modified:
python-pytest-runner/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-14 20:57:07 UTC (rev 754184)
+++ PKGBUILD 2020-11-14 20:57:12 UTC (rev 754185)
@@ -11,10 +11,13 @@
makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm')
checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-pytest-virtualenv'
'python-pytest-flake8')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-runner/archive/$pkgver.tar.gz")
-sha512sums=('0ce9c191481ab97795d0f45bdea7669cb61c3ac6aac476954d34c3e09e6fb08fd6bf73f192c014cb7ff2bd90dbfeb0f01d9a9ba7a9c6caeb371e40b42b558d63')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-runner/archive/$pkgver.tar.gz"
+ $pkgbase-black-fix.patch::https://github.com/pytest-dev/pytest-runner/commit/18b8fa1ace1b4ac0dbd53e14940da27c10db650d.patch)
+sha512sums=('0ce9c191481ab97795d0f45bdea7669cb61c3ac6aac476954d34c3e09e6fb08fd6bf73f192c014cb7ff2bd90dbfeb0f01d9a9ba7a9c6caeb371e40b42b558d63'
+ '92650ddf5c9ad43b92c0da3a0bb7f7669523897ca089a04ef46e4856de137fb6548536c4c024c5af2ff2bfbe96401aaaddb9c4448d7781b6accc72b2019f467f')
prepare() {
+ patch -d pytest-runner-$pkgver -p1 < $pkgbase-black-fix.patch || :
cp -a pytest-runner-$pkgver{,-py2}
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
More information about the arch-commits
mailing list