Date: Saturday, April 1, 2023 @ 13:17:18 Author: felixonmars Revision: 1431639
archrelease: copy trunk to community-testing-any Added: python-typeguard/repos/community-testing-any/PKGBUILD (from rev 1431638, python-typeguard/trunk/PKGBUILD) Deleted: python-typeguard/repos/community-testing-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-01 13:17:09 UTC (rev 1431638) +++ PKGBUILD 2023-04-01 13:17:18 UTC (rev 1431639) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-typeguard -pkgver=3.0.1 -_commit=55dec696278f8780de4a26cee7f3631ebe750ac6 -pkgrel=1 -pkgdesc="Run-time type checker for Python" -url="https://github.com/agronholm/typeguard" -license=('MIT') -arch=('any') -depends=('python-typing_extensions') -makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') -checkdepends=('mypy' 'python-pytest') -source=("git+https://github.com/agronholm/typeguard.git#commit=$_commit") -sha512sums=('SKIP') - -build() { - cd typeguard - python -m build -nw -} - -check() { - cd typeguard - # https://github.com/agronholm/typeguard/issues/176 - PYTHONPATH="$PWD/build/lib" MYPYPATH="$PWD/build/lib" pytest -} - -package() { - cd typeguard - python -m installer -d "$pkgdir" dist/*.whl - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-typeguard/repos/community-testing-any/PKGBUILD (from rev 1431638, python-typeguard/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-01 13:17:18 UTC (rev 1431639) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-typeguard +pkgver=3.0.2 +_commit=db7771024eb2f6eba03c3954f8abe0f03bded3c2 +pkgrel=1 +pkgdesc="Run-time type checker for Python" +url="https://github.com/agronholm/typeguard" +license=('MIT') +arch=('any') +depends=('python-typing_extensions') +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +checkdepends=('mypy' 'python-pytest') +source=("git+https://github.com/agronholm/typeguard.git#commit=$_commit") +sha512sums=('SKIP') + +build() { + cd typeguard + python -m build -nw +} + +check() { + cd typeguard + # https://github.com/agronholm/typeguard/issues/176 + PYTHONPATH="$PWD/build/lib" MYPYPATH="$PWD/build/lib" pytest +} + +package() { + cd typeguard + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}