Date: Friday, July 31, 2020 @ 08:48:35 Author: felixonmars Revision: 666110
archrelease: copy trunk to community-any Added: python-typeguard/repos/community-any/PKGBUILD (from rev 666109, python-typeguard/trunk/PKGBUILD) Deleted: python-typeguard/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-31 08:48:20 UTC (rev 666109) +++ PKGBUILD 2020-07-31 08:48:35 UTC (rev 666110) @@ -1,33 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-typeguard -pkgver=2.7.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=('python-pytest-runner' 'python-pytest-cov') -source=("$pkgname-$pkgver.tar.gz::https://github.com/agronholm/typeguard/archive/$pkgver.tar.gz") -sha512sums=('d446e86e93292c7a88fea5daa607d6d9ed26b60daf43c79feac7ed524073d3ca123e63f8fb27eeab828d5989f29f9800eec9c077c24d7ed1b1c4a183ceed0d94') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd typeguard-$pkgver - python setup.py build -} - -check() { - cd typeguard-$pkgver - python setup.py pytest -} - -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 666109, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-31 08:48:35 UTC (rev 666110) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=2.8.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=('python-pytest-cov' 'python-typing_extensions') +source=("$pkgname-$pkgver.tar.gz::https://github.com/agronholm/typeguard/archive/$pkgver.tar.gz") +sha512sums=('53f82065585ce3ebbf9d9e9caad5a8ae251737e94315a806dd2516df3724dbbc73103d6ba84db9c97f4d8e9d3dd5c81bc51a223d26e8c9dc49c64dddd49ab1e9') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd typeguard-$pkgver + python setup.py build +} + +check() { + cd typeguard-$pkgver + python -m pytest +} + +package() { + cd typeguard-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}