[arch-commits] Commit in python-pytest-runner/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 01:52:39 UTC 2021
Date: Thursday, December 9, 2021 @ 01:52:38
Author: foutrelis
Revision: 1065750
Fix tests with Python 3.10
Modified:
python-pytest-runner/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-09 01:21:26 UTC (rev 1065749)
+++ PKGBUILD 2021-12-09 01:52:38 UTC (rev 1065750)
@@ -11,11 +11,18 @@
makedepends=('python-setuptools-scm' 'python-toml')
checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-pytest-virtualenv'
'python-pytest-flake8' 'python-pytest-enabler')
-source=("https://github.com/pytest-dev/pytest-runner/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('3b3197e86d64e4e62a7d12e70c3e68ef539f88db2acf610951fa61f74e2a00eb64ba4faa8eb787b846f57c9a8f791f8ce6774c5b48a212a4244067c33256a0fa')
+source=("https://github.com/pytest-dev/pytest-runner/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ $pkgname-python310.patch::https://github.com/pytest-dev/pytest-runner/pull/59.patch)
+sha512sums=('3b3197e86d64e4e62a7d12e70c3e68ef539f88db2acf610951fa61f74e2a00eb64ba4faa8eb787b846f57c9a8f791f8ce6774c5b48a212a4244067c33256a0fa'
+ '71fcdc8c55f7743ae66dad89ccfadf7650d1a8395f34b2107543a80653924915372e033395e669cb3901eb75b137419a03f3b5b08a5d1a5f27e13a1f5de62a74')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+prepare() {
+ cd pytest-runner-$pkgver
+ patch -Np1 -i ../$pkgname-python310.patch
+}
+
build() {
cd pytest-runner-$pkgver
python setup.py build
More information about the arch-commits
mailing list