[arch-commits] Commit in python-hypothesis/repos/community-testing-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Nov 28 15:35:10 UTC 2020
Date: Saturday, November 28, 2020 @ 15:35:10
Author: felixonmars
Revision: 765327
archrelease: copy trunk to community-testing-any
Added:
python-hypothesis/repos/community-testing-any/PKGBUILD
(from rev 765326, python-hypothesis/trunk/PKGBUILD)
Deleted:
python-hypothesis/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-28 15:34:56 UTC (rev 765326)
+++ PKGBUILD 2020-11-28 15:35:10 UTC (rev 765327)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.41.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' 'python-fakeredis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('974dee6040222fa55729257cea4e3c4c049625a2a5dfddbc12667dbd58dfe31718474ce8e9de81519e998c7a0c8ff01920e0aa2bca9fb7100754e985177f4b69')
-
-prepare() {
- mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
-}
-
-build() {
- cd hypothesis-$pkgver/hypothesis-python
- python setup.py build
-}
-
-check() {
- # tests/numpy/test_lazy_import.py: https://github.com/HypothesisWorks/hypothesis/issues/2411
-
- cd hypothesis-$pkgver/hypothesis-python
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- python examples/example_hypothesis_entrypoint/setup.py install --root="$PWD/tmp_install" --optimize=1
-
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PWD/examples/example_hypothesis_entrypoint" \
- PATH="$PWD/tmp_install/usr/bin:$PATH" \
- pytest --ignore tests/numpy/test_lazy_import.py --ignore tmp_install
-}
-
-package() {
- cd hypothesis-$pkgver/hypothesis-python
- python setup.py install --root="$pkgdir" --optimize=1
-
- # It's only present when tests are enabled, so adding -f
- rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
-}
Copied: python-hypothesis/repos/community-testing-any/PKGBUILD (from rev 765326, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-28 15:35:10 UTC (rev 765327)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.41.4
+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' 'python-fakeredis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
+sha512sums=('215f2e4479eca10d8ca590ffe0623f8994c7061fddabfe2737d0f3bba2f403042ad8e75730361417a1c9c32d3e261c8daa84032f6963ef6526e6b0067a156658')
+
+prepare() {
+ mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
+}
+
+build() {
+ cd hypothesis-$pkgver/hypothesis-python
+ python setup.py build
+}
+
+check() {
+ # tests/numpy/test_lazy_import.py: https://github.com/HypothesisWorks/hypothesis/issues/2411
+
+ cd hypothesis-$pkgver/hypothesis-python
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ python examples/example_hypothesis_entrypoint/setup.py install --root="$PWD/tmp_install" --optimize=1
+
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PWD/examples/example_hypothesis_entrypoint" \
+ PATH="$PWD/tmp_install/usr/bin:$PATH" \
+ pytest --ignore tests/numpy/test_lazy_import.py --ignore tmp_install
+}
+
+package() {
+ cd hypothesis-$pkgver/hypothesis-python
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ # It's only present when tests are enabled, so adding -f
+ rm -rf "$pkgdir"/usr/lib/python3.9/site-packages/tests
+}
More information about the arch-commits
mailing list