[arch-commits] Commit in python-typing_inspect/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 07:01:00 UTC 2020


    Date: Thursday, November 12, 2020 @ 07:01:00
  Author: felixonmars
Revision: 751321

archrelease: copy trunk to community-staging-any

Added:
  python-typing_inspect/repos/community-staging-any/PKGBUILD
    (from rev 751320, python-typing_inspect/trunk/PKGBUILD)
Deleted:
  python-typing_inspect/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   83 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 46 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 07:00:48 UTC (rev 751320)
+++ PKGBUILD	2020-11-12 07:01:00 UTC (rev 751321)
@@ -1,37 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=typing_inspect
-pkgname=python-$_pkgname
-pkgver=0.6.0
-pkgrel=2
-pkgdesc='Runtime inspection utilities for Python typing module'
-arch=('any')
-url='https://github.com/ilevkivskyi/typing_inspect'
-license=('MIT')
-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')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python setup.py pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-typing_inspect/repos/community-staging-any/PKGBUILD (from rev 751320, python-typing_inspect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 07:01:00 UTC (rev 751321)
@@ -0,0 +1,46 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=typing_inspect
+pkgname=python-$_pkgname
+pkgver=0.6.0
+pkgrel=3
+pkgdesc='Runtime inspection utilities for Python typing module'
+arch=('any')
+url='https://github.com/ilevkivskyi/typing_inspect'
+license=('MIT')
+depends=('python-mypy_extensions' 'python-typing_extensions')
+makedepends=('python-setuptools')
+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'
+            '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
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python setup.py pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list