Date: Monday, January 3, 2022 @ 20:36:11 Author: felixonmars Revision: 1092566
archrelease: copy trunk to community-any Added: python-typeguard/repos/community-any/PKGBUILD (from rev 1092565, python-typeguard/trunk/PKGBUILD) Deleted: python-typeguard/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-03 20:36:02 UTC (rev 1092565) +++ PKGBUILD 2022-01-03 20:36:11 UTC (rev 1092566) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-typeguard -pkgver=2.13.2 -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=('a11c1b9ee417a99a8bd09f4b5b05c7cdf319748b8221a49d1ff76854e2f432768224437f82a41c0166e5b148a550b58afbabfa1935cdc2a049cda3010edd052a') - -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 1092565, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-03 20:36:11 UTC (rev 1092566) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=2.13.3 +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=('26c31ee9670650d1969320187a924d29d986894a38f1026af58f705b132b64be3b6e2ac34729f966f5d302d486334b5a5d9e65fb206245b82b0ff0852020b609') + +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/ +}