Date: Wednesday, October 28, 2020 @ 10:47:30 Author: felixonmars Revision: 735409
archrelease: copy trunk to community-any Added: python-typeguard/repos/community-any/PKGBUILD (from rev 735408, python-typeguard/trunk/PKGBUILD) Deleted: python-typeguard/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-28 10:47:18 UTC (rev 735408) +++ PKGBUILD 2020-10-28 10:47:30 UTC (rev 735409) @@ -1,33 +0,0 @@ -# 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/ -} Copied: python-typeguard/repos/community-any/PKGBUILD (from rev 735408, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-28 10:47:30 UTC (rev 735409) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=2.10.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=('1fb1b27369f279a467a0d524618c79f1369afa10579256826ab589158069f59676d496284079a15f1217272f76934ea162e5baaaac5474ff5dbd1de7764535f0') + +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/ +}