Date: Monday, September 14, 2020 @ 14:27:43 Author: felixonmars Revision: 706049
archrelease: copy trunk to community-any Added: python-hypothesis/repos/community-any/PKGBUILD (from rev 706048, python-hypothesis/trunk/PKGBUILD) Deleted: python-hypothesis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-14 14:27:33 UTC (rev 706048) +++ PKGBUILD 2020-09-14 14:27:43 UTC (rev 706049) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hypothesis -pkgver=5.35.1 -pkgrel=1 -pkgdesc="Advanced Quickcheck style testing library for Python" -arch=('any') -license=('MPL') -url="https://hypothesis.readthedocs.org" -depends=('python-attrs' 'python-sortedcontainers') -optdepends=('python-pytz: for datetime and django module' - 'python-faker: for fakefactory and django module' - 'python-django: for django module' - 'python-numpy: for numpy module' - 'python-pytest: for pytest module' - 'python-lark-parser: for lark module') -makedepends=('python-setuptools') -checkdepends=('python-pytest' 'flake8' 'python-pytz' 'python-numpy' 'python-faker' - 'python-flaky' 'python-django' 'python-mock' 'python-pandas' 'python-dpcontracts' - 'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 'python-coverage' - 'python-typing_extensions' 'python-black') -source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz") -sha512sums=('799339a6bfe4a275e200b9b41f9056a274065b3cd8803ab96d93087e839d1b2c2621fb733d7a4db77d26f4df84f64bfab09f1898615b95e593f5e2a2080f5426') - -prepare() { - mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver -} - -build() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py build -} - -check() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest -} - -package() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 706048, python-hypothesis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-14 14:27:43 UTC (rev 706049) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-hypothesis +pkgver=5.35.2 +pkgrel=1 +pkgdesc="Advanced Quickcheck style testing library for Python" +arch=('any') +license=('MPL') +url="https://hypothesis.readthedocs.org" +depends=('python-attrs' 'python-sortedcontainers') +optdepends=('python-pytz: for datetime and django module' + 'python-faker: for fakefactory and django module' + 'python-django: for django module' + 'python-numpy: for numpy module' + 'python-pytest: for pytest module' + 'python-lark-parser: for lark module') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'flake8' 'python-pytz' 'python-numpy' 'python-faker' + 'python-flaky' 'python-django' 'python-mock' 'python-pandas' 'python-dpcontracts' + 'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 'python-coverage' + 'python-typing_extensions' 'python-black') +source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz") +sha512sums=('f17b7783d689986703bc6755a7dc30e8bfd4977a128954481067780d14b1b3f4bbfb21751a607a215357b5d300ad4e06ce951b81059ac8638c84005d682e2398') + +prepare() { + mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver +} + +build() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py build +} + +check() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest +} + +package() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py install --root="$pkgdir" --optimize=1 +}