[arch-commits] Commit in python-typeguard/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 15 21:35:25 UTC 2021
Date: Saturday, May 15, 2021 @ 21:35:25
Author: felixonmars
Revision: 934805
archrelease: copy trunk to community-any
Added:
python-typeguard/repos/community-any/PKGBUILD
(from rev 934804, python-typeguard/trunk/PKGBUILD)
Deleted:
python-typeguard/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 21:35:08 UTC (rev 934804)
+++ PKGBUILD 2021-05-15 21:35:25 UTC (rev 934805)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-typeguard
-pkgver=2.11.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=('c0fdda9f080945187b3e4ec10cf9ceafae349411625cfd70511c9648abda59831c5ab4111226f6196ec5c7b500abaf7c495815330a574bb70d345bb32f90eceb')
-
-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 934804, python-typeguard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-15 21:35:25 UTC (rev 934805)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-typeguard
+pkgver=2.11.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=('6173a8b2ad7da01d229d838484ac6225f44d109d70b284c58ad390ab54b6af521bf34589a191443bcba5631274a1eb55b8634bd09e5d12459a70f991df11ceaf')
+
+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