Date: Monday, November 14, 2022 @ 18:59:49 Author: felixonmars Revision: 1347540
archrelease: copy trunk to community-any Added: python-pytest-mypy/repos/community-any/PKGBUILD (from rev 1347539, python-pytest-mypy/trunk/PKGBUILD) Deleted: python-pytest-mypy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-14 18:59:41 UTC (rev 1347539) +++ PKGBUILD 2022-11-14 18:59:49 UTC (rev 1347540) @@ -1,37 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-mypy -pkgver=0.10.0 -pkgrel=1 -pkgdesc='Mypy static type checker plugin for Pytest' -arch=('any') -license=('MIT') -url='https://github.com/dbader/pytest-mypy' -depends=('mypy' 'python-filelock' 'python-pytest') -makedepends=('python-setuptools-scm') -checkdepends=('python-pytest-xdist' 'python-pexpect') -source=("https://github.com/dbader/pytest-mypy/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('a927681e6e6da6ca564f134bb27d9acbc0f8bfedb1188e10220a51352884c2d32caa484558b35f40581f28eb7faa5f6d0a59c9dcdc266041dace1376b400f098') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd pytest-mypy-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd pytest-mypy-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest -} - -package() { - cd pytest-mypy-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-mypy/repos/community-any/PKGBUILD (from rev 1347539, python-pytest-mypy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-14 18:59:49 UTC (rev 1347540) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-mypy +pkgver=0.10.1 +pkgrel=1 +pkgdesc='Mypy static type checker plugin for Pytest' +arch=('any') +license=('MIT') +url='https://github.com/dbader/pytest-mypy' +depends=('mypy' 'python-filelock' 'python-pytest') +makedepends=('python-setuptools-scm') +checkdepends=('python-pytest-xdist' 'python-pexpect') +source=("https://github.com/dbader/pytest-mypy/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('3c86aa94183f28ec066ee5cc8470235a7b052d876d78375d543db705fe99ed4ea9b40bfee9c0ec9f609f643ab146bdecbce1bce5756f7b6069f9f76a02de1fb7') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd pytest-mypy-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd pytest-mypy-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest +} + +package() { + cd pytest-mypy-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +# vim:set ts=2 sw=2 et: