[arch-commits] Commit in python-typing_inspect/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Jun 22 18:44:17 UTC 2021
Date: Tuesday, June 22, 2021 @ 18:44:17
Author: ffy00
Revision: 966878
upgpkg: python-typing_inspect 0.7.1-1
Modified:
python-typing_inspect/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-22 18:41:49 UTC (rev 966877)
+++ PKGBUILD 2021-06-22 18:44:17 UTC (rev 966878)
@@ -2,8 +2,8 @@
_pkgname=typing_inspect
pkgname=python-$_pkgname
-pkgver=0.6.0
-pkgrel=4
+pkgver=0.7.1
+pkgrel=1
pkgdesc='Runtime inspection utilities for Python typing module'
arch=('any')
url='https://github.com/ilevkivskyi/typing_inspect'
@@ -13,19 +13,9 @@
checkdepends=('python-pytest-runner')
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'
+sha512sums=('f934d2c4a131a11e61c0fd4a2b095015f29f5cba6edf2240cc2fca81c1d8b2fc26ccf4f5ef7342d093f924f08a68c1c2490780200d843f35a90e5c461ac3304b'
'74800c6934fcac7198fda7a68237369452d83a7d8cb194015d114a966572faceef5d2aa511a0a37f2d95c3065e615d9de691f604d7d500570a96c7a18190c46d')
-prepare() {
- cd $_pkgname-$pkgver
-
- # https://github.com/ilevkivskyi/typing_inspect/issues/60
- patch -Np1 -i ../$pkgname-support-py39-generic-types.patch
-
- sed -e '/res = tp.__args__/i \ if not hasattr(tp, "__args__"): return ()' \
- -i typing_inspect.py
-}
-
build() {
cd $_pkgname-$pkgver
More information about the arch-commits
mailing list