Date: Thursday, August 13, 2020 @ 14:26:02 Author: felixonmars Revision: 677333
archrelease: copy trunk to community-any Added: python-typeguard/repos/community-any/PKGBUILD (from rev 677332, python-typeguard/trunk/PKGBUILD) Deleted: python-typeguard/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-13 14:25:53 UTC (rev 677332) +++ PKGBUILD 2020-08-13 14:26:02 UTC (rev 677333) @@ -1,33 +0,0 @@ -# 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/ -} Copied: python-typeguard/repos/community-any/PKGBUILD (from rev 677332, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-13 14:26:02 UTC (rev 677333) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=2.9.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=('7e88fc6ff1d7a12194b89bc39326a26ea6cb3738a3f6f65ad7988037fc95bdb409017c14e4af2f63fb9770ab1421918d8ecb427acb3c19fa64ea3e83d547bb1f') + +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/ +}