[arch-commits] Commit in python-pytest-black/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 8 05:28:44 UTC 2021
Date: Wednesday, December 8, 2021 @ 05:28:44
Author: foutrelis
Revision: 1065617
Fix tests with pytest 6
Modified:
python-pytest-black/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-08 05:08:18 UTC (rev 1065616)
+++ PKGBUILD 2021-12-08 05:28:44 UTC (rev 1065617)
@@ -9,11 +9,18 @@
url="https://github.com/shopkeep/pytest-black/"
depends=('python-black' 'python-pytest')
makedepends=('python-setuptools-scm')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/shopkeep/pytest-black/archive/$pkgver.tar.gz")
-sha512sums=('1576761c9a93e6a05d5f1d40200e228791a67ac33f437330940ccbb898121df22814a794858b36de9223d4cc45d58fcbefaa08c87275f36e04901cb4cd217760')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shopkeep/pytest-black/archive/$pkgver.tar.gz"
+ $pkgname-pytest6.patch::https://github.com/shopkeep/pytest-black/pull/53.patch)
+sha512sums=('1576761c9a93e6a05d5f1d40200e228791a67ac33f437330940ccbb898121df22814a794858b36de9223d4cc45d58fcbefaa08c87275f36e04901cb4cd217760'
+ '362176d305114dc1f6389144ab8feed5a1e48827bef4d07b241accfa5a257ba8189dbbe4c320ae458a47cd067541d53d2ae0b66688b5fcdd698f31ac3df62d19')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+prepare() {
+ cd pytest-black-$pkgver
+ patch -Np1 -i ../$pkgname-pytest6.patch
+}
+
build() {
cd pytest-black-$pkgver
python setup.py build
More information about the arch-commits
mailing list