[arch-commits] Commit in python-deprecated/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 07:19:24 UTC 2020


    Date: Thursday, November 12, 2020 @ 07:19:24
  Author: foutrelis
Revision: 751325

Fix tests for Python 3.9

Modified:
  python-deprecated/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 07:15:35 UTC (rev 751324)
+++ PKGBUILD	2020-11-12 07:19:24 UTC (rev 751325)
@@ -10,9 +10,16 @@
 depends=('python-wrapt')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz")
-sha512sums=('4bd53b759d04ab15c74a4c147b2c69c73aed6e40555acf0e84cf0c5b7ffe248da234bd1311c5629f9357d50bc08e55e81363340dcfdabe88933525bcc7859a70')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz"
+        $pkgname-py39.patch::https://github.com/tantale/deprecated/commit/efb3e60623e1.patch)
+sha512sums=('4bd53b759d04ab15c74a4c147b2c69c73aed6e40555acf0e84cf0c5b7ffe248da234bd1311c5629f9357d50bc08e55e81363340dcfdabe88933525bcc7859a70'
+            'a7b000ab15dbdf9f3041da4475d97abab2e8649bd6809f97ee032ff656588cbcac915a417e1dbc4dfc310af5809c2bba343bd156412a742117284eab5aef083c')
 
+prepare() {
+  cd "$srcdir"/deprecated-$pkgver
+  patch -Np1 -i ../$pkgname-py39.patch
+}
+
 build() {
   cd "$srcdir"/deprecated-$pkgver
   python setup.py build



More information about the arch-commits mailing list