Date: Friday, August 28, 2020 @ 19:06:03 Author: felixonmars Revision: 691173
archrelease: copy trunk to community-any Added: python-typeguard/repos/community-any/PKGBUILD (from rev 691172, 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-28 19:05:49 UTC (rev 691172) +++ PKGBUILD 2020-08-28 19:06:03 UTC (rev 691173) @@ -1,33 +0,0 @@ -# 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/ -} Copied: python-typeguard/repos/community-any/PKGBUILD (from rev 691172, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-28 19:06:03 UTC (rev 691173) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=2.9.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-cov' 'python-typing_extensions') +source=("$pkgname-$pkgver.tar.gz::https://github.com/agronholm/typeguard/archive/$pkgver.tar.gz") +sha512sums=('49cf845312024c0559e994f351b9166a6a28999e0863730c954c1028863614785414709ee4190e78435c2f054cbb38dc91f2de29656cb573fbad4999a4271d79') + +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/ +}