[arch-commits] Commit in python-typeguard/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jun 14 11:12:40 UTC 2021


    Date: Monday, June 14, 2021 @ 11:12:40
  Author: felixonmars
Revision: 963419

archrelease: copy trunk to community-any

Added:
  python-typeguard/repos/community-any/PKGBUILD
    (from rev 963418, python-typeguard/trunk/PKGBUILD)
Deleted:
  python-typeguard/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-14 11:12:26 UTC (rev 963418)
+++ PKGBUILD	2021-06-14 11:12:40 UTC (rev 963419)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-typeguard
-pkgver=2.12.0
-pkgrel=1
-pkgdesc="Run-time type checker for Python"
-url="https://github.com/agronholm/typeguard"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools-scm')
-checkdepends=('mypy' 'python-pytest-cov' 'python-typing_extensions')
-source=("https://github.com/agronholm/typeguard/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0b9a258d046c57112107214cc8ce2c199273ac8f6cad91db320f787c9b37985cabf96b1a97462f58316e3121186a7b02939dfd8308fdea2a43edcf91ac28c22a')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd typeguard-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd typeguard-$pkgver
-  # https://github.com/agronholm/typeguard/issues/176
-  PYTHONPATH="$PWD/build/lib" MYPYPATH="$PWD/build/lib" pytest --deselect tests/mypy/test_type_annotations.py::test_positive
-}
-
-package() {
-  cd typeguard-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-typeguard/repos/community-any/PKGBUILD (from rev 963418, python-typeguard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-14 11:12:40 UTC (rev 963419)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-typeguard
+pkgver=2.12.1
+pkgrel=1
+pkgdesc="Run-time type checker for Python"
+url="https://github.com/agronholm/typeguard"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools-scm')
+checkdepends=('mypy' 'python-pytest-cov' 'python-typing_extensions')
+source=("https://github.com/agronholm/typeguard/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ea91140ba0ebfe7cc83bf212ae20aca777279fc88ff806bf6a1f4208581bb726c6091d0777371d487e7422887814d81c84ebac9f06bfacc5a929f5a2657312a8')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd typeguard-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd typeguard-$pkgver
+  # https://github.com/agronholm/typeguard/issues/176
+  PYTHONPATH="$PWD/build/lib" MYPYPATH="$PWD/build/lib" pytest --deselect tests/mypy/test_type_annotations.py::test_positive
+}
+
+package() {
+  cd typeguard-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list