Date: Sunday, October 25, 2020 @ 09:58:32
  Author: felixonmars
Revision: 732279

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2020-10-25 09:58:16 UTC (rev 732278)
+++ PKGBUILD    2020-10-25 09:58:32 UTC (rev 732279)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.37.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=('7eb5299bb9a3206773dda56f560e6ec41f49d052b03782e1c10cd2d5fd62dd8757ccd7ba201612769c8ee5326602af5f1ae1bc0626d88b1f30bae0c610fd42be')
-
-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 732278, 
python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-10-25 09:58:32 UTC (rev 732279)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.37.5
+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=('ddf2db9d8f9318b0b3ae872fdfebbc4ac8376a86816e7c9a0350738a68a4e3adbe41aaf19a8f54471f551542f3252172cc34f5bc140483989ef8c04c5735f044')
+
+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
+}

Reply via email to