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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 09:26:07 UTC 2020


    Date: Monday, November 9, 2020 @ 09:26:07
  Author: felixonmars
Revision: 746762

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 09:25:56 UTC (rev 746761)
+++ PKGBUILD	2020-11-09 09:26:07 UTC (rev 746762)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.41.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=('b1f02e32e6c5bdb6ca0a338901715508a03d2734898c673c5b3a5b25dee34922d7fbfcc2534b0c658d003d5de3e97abecb5a9b4f00ada0cc85c457b4b870a873')
-
-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.8/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
-}

Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 746761, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-09 09:26:07 UTC (rev 746762)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.41.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' 'python-fakeredis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
+sha512sums=('712a6b3a007e4b354e9ed2137b7dd53652abbbf0b324467ce540ca886fb956eae5d00f83cbc1c9b1799a4a3abc64f4d26d9aed85d5fb689e904e1125b87b88eb')
+
+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.8/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
+}



More information about the arch-commits mailing list