Date: Friday, August 28, 2020 @ 18:55:28 Author: felixonmars Revision: 691149
archrelease: copy trunk to community-any Added: python-hypothesis/repos/community-any/PKGBUILD (from rev 691147, python-hypothesis/trunk/PKGBUILD) Deleted: python-hypothesis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-28 18:55:27 UTC (rev 691148) +++ PKGBUILD 2020-08-28 18:55:28 UTC (rev 691149) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hypothesis -pkgver=5.29.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=('1f996ffd4b1d405ae3883e727fcf2ab631de458b14f66ac2fb386bc58ae0b794b5fe76ac120d0a50535079fec8575d5777a8bf56bb687c6473bf459e989318e8') - -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 691147, python-hypothesis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-28 18:55:28 UTC (rev 691149) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-hypothesis +pkgver=5.29.3 +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=('fb820057ec257d4dd749f0c6caf10bdcc1e3a090c788900f159456620bec6bd2130e9ffad0ced0155a9f97e2186ed397fa72dbd5548b132ac2c129735c1e716d') + +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 +}