Date: Tuesday, May 11, 2021 @ 19:44:10 Author: felixonmars Revision: 930574
archrelease: copy trunk to community-any Added: python-pytest-httpx/repos/community-any/PKGBUILD (from rev 930572, python-pytest-httpx/trunk/PKGBUILD) Deleted: python-pytest-httpx/repos/community-any/PKGBUILD ----------+ PKGBUILD | 69 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-11 19:44:08 UTC (rev 930573) +++ PKGBUILD 2021-05-11 19:44:10 UTC (rev 930574) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-httpx -pkgver=0.11.0 -pkgrel=1 -pkgdesc='Send responses to httpx' -arch=('any') -license=('MIT') -url='https://colin-b.github.io/pytest_httpx' -depends=('python-httpx' 'python-pytest') -checkdepends=('python-pytest-asyncio') -source=("https://github.com/Colin-b/pytest_httpx/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('eb798d31c710ab50d3176c569aba8ae2131a17f415fe87830fc71aa941d638bdbda4296032a07fce98d9a43a57f250cea380f8c409660eb1f13862094b6fcbb6') - -build() { - cd pytest_httpx-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd pytest_httpx-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest -} - -package() { - cd pytest_httpx-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pytest-httpx/repos/community-any/PKGBUILD (from rev 930572, python-pytest-httpx/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-11 19:44:10 UTC (rev 930574) @@ -0,0 +1,35 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-httpx +pkgver=0.12.0 +pkgrel=1 +pkgdesc='Send responses to httpx' +arch=('any') +license=('MIT') +url='https://colin-b.github.io/pytest_httpx' +depends=('python-httpx' 'python-pytest') +makedepends=('python-setuptools') +checkdepends=('python-pytest-asyncio') +source=("https://github.com/Colin-b/pytest_httpx/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('b5866ab0123755020fad679d27d4d113132b2a79da85c52a334904d19aea90ddc71088a6e0f27110498da2731be664c525f3cab256d447a37d9a507f9a508b43') + +build() { + cd pytest_httpx-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd pytest_httpx-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest +} + +package() { + cd pytest_httpx-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: