[arch-commits] Commit in python-hypothesis/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Dec 9 18:11:49 UTC 2020


    Date: Wednesday, December 9, 2020 @ 18:11:49
  Author: felixonmars
Revision: 772906

archrelease: copy trunk to community-any

Added:
  python-hypothesis/repos/community-any/PKGBUILD
    (from rev 772905, python-hypothesis/trunk/PKGBUILD)
Deleted:
  python-hypothesis/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-09 18:11:38 UTC (rev 772905)
+++ PKGBUILD	2020-12-09 18:11:49 UTC (rev 772906)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.42.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' '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=('b0b474957ffd3ea2f7257e1dd73e5ee6a7544b719fbee2004d4af7219599eaee008dee14c2d16a13a5133514847dac2e5409182f9b4deec89cbca10a8f16b80c')
-
-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-any/PKGBUILD (from rev 772905, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-09 18:11:49 UTC (rev 772906)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.42.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' 'python-fakeredis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
+sha512sums=('b0045627a4334b46bb4782075636ec3f6b329f754525704aa459e1c84f01cf8edd9f71b9fb7b287ea120784a5e087f11eeb8d0c9eaf7a85db8533b6cb223ba40')
+
+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