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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 07:00:02 UTC 2020


    Date: Thursday, November 12, 2020 @ 07:00:01
  Author: foutrelis
Revision: 751319

Add fix for Python 3.9

Modified:
  python-typing_inspect/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 06:42:07 UTC (rev 751318)
+++ PKGBUILD	2020-11-12 07:00:01 UTC (rev 751319)
@@ -11,9 +11,18 @@
 depends=('python-mypy_extensions' 'python-typing_extensions')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('c08654d2d3887710094fa7374c2ce5fa6b79176543d478d15113d3904bb3c68cdeb08d8331b6eeb271858e96ee859fdaad18dd17237a0618072f630f34758177')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+        $pkgname-support-py39-generic-types.patch::https://github.com/thatch/typing_inspect/commit/67b455cf5a7e.patch)
+sha512sums=('c08654d2d3887710094fa7374c2ce5fa6b79176543d478d15113d3904bb3c68cdeb08d8331b6eeb271858e96ee859fdaad18dd17237a0618072f630f34758177'
+            '74800c6934fcac7198fda7a68237369452d83a7d8cb194015d114a966572faceef5d2aa511a0a37f2d95c3065e615d9de691f604d7d500570a96c7a18190c46d')
 
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # https://github.com/ilevkivskyi/typing_inspect/issues/60
+  patch -Np1 -i ../$pkgname-support-py39-generic-types.patch
+}
+
 build() {
   cd $_pkgname-$pkgver
 



More information about the arch-commits mailing list