[arch-commits] Commit in python-pytest-mypy/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 00:48:09 UTC 2021
Date: Thursday, December 9, 2021 @ 00:48:09
Author: foutrelis
Revision: 1065736
Fix tests with mypy 0.9x
Modified:
python-pytest-mypy/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-09 00:47:30 UTC (rev 1065735)
+++ PKGBUILD 2021-12-09 00:48:09 UTC (rev 1065736)
@@ -10,11 +10,18 @@
depends=('mypy' 'python-filelock' 'python-pytest')
makedepends=('python-setuptools-scm')
checkdepends=('python-pytest-xdist' 'python-pexpect')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dbader/pytest-mypy/archive/v$pkgver.tar.gz")
-sha512sums=('69f6ddf605bfcd075d6780f516f2f9821675762f8fee6a3d042f450f3544d8565ea0a3a905b5dd5d560278bffc28773faba9a09554ac9758ffcc24d13e3f316e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dbader/pytest-mypy/archive/v$pkgver.tar.gz"
+ $pkgname-mypy-0.9x.patch::https://github.com/dbader/pytest-mypy/commit/4b0a8bf541bd.patch)
+sha512sums=('69f6ddf605bfcd075d6780f516f2f9821675762f8fee6a3d042f450f3544d8565ea0a3a905b5dd5d560278bffc28773faba9a09554ac9758ffcc24d13e3f316e'
+ 'b1afc1fe631b636692998f019d803ec751cf5476e9feeb1263ac177022bfe3fafec8423d67ba52288d2ed687fdf1159911a3d04f0556f1f919afdf6e2a262d27')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+prepare() {
+ cd pytest-mypy-$pkgver
+ patch -Np1 -i ../$pkgname-mypy-0.9x.patch
+}
+
build() {
cd pytest-mypy-$pkgver
python setup.py build
More information about the arch-commits
mailing list