Date: Sunday, March 1, 2020 @ 09:22:34 Author: felixonmars Revision: 587392
archrelease: copy trunk to community-any Added: python-hypothesis/repos/community-any/PKGBUILD (from rev 587391, python-hypothesis/trunk/PKGBUILD) Deleted: python-hypothesis/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-01 09:22:19 UTC (rev 587391) +++ PKGBUILD 2020-03-01 09:22:34 UTC (rev 587392) @@ -1,44 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hypothesis -pkgver=4.56.0 -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-runner' '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' - 'python2-coverage') -source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz") -sha512sums=('28dfeb35f519fc9bbab82fb57750d34f462cdc04567e7d0314d97479cba5f6227922236c1c6856d93c84f2ed1848bd5f03cfaa7fc233b3e30fe7b25d28de4679') - -prepare() { - mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver - - rm -r hypothesis-$pkgver/hypothesis-python/tests/py2 -} - -build() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py build -} - -check() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py pytest -} - -package() { - cd hypothesis-$pkgver/hypothesis-python - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 587391, python-hypothesis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-01 09:22:34 UTC (rev 587392) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-hypothesis +pkgver=4.56.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-runner' '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' + 'python2-coverage') +source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz") +sha512sums=('ea63ef54cad88cc7ec422817ed9e63c8577be61ce1b0a5bedf333101ea7fb04ee417873d882ba983272706e02415de79eb0e52bd7fb7d1f65ae2d92802b02a4f') + +prepare() { + mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver + + rm -r hypothesis-$pkgver/hypothesis-python/tests/py2 +} + +build() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py build +} + +check() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py pytest +} + +package() { + cd hypothesis-$pkgver/hypothesis-python + python setup.py install --root="$pkgdir" --optimize=1 +}