Date: Thursday, January 7, 2021 @ 13:52:06
  Author: felixonmars
Revision: 811843

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-01-07 13:51:55 UTC (rev 811842)
+++ PKGBUILD    2021-01-07 13:52:06 UTC (rev 811843)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.48.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'
-            'python-libcst: for codemods 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' 
'python-libcst')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz";)
-sha512sums=('b4d46db6aa9c3dc59f38e209b702580ce9fa0d8771792943cbe28fcca4ea434c23a6f49b9889cb28339d7282e529f1c947a7768c38d726b5e993a2ba3c029e00')
-
-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 811842, 
python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-01-07 13:52:06 UTC (rev 811843)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.49.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'
+            'python-libcst: for codemods 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' 
'python-libcst')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz";)
+sha512sums=('96b7f98e7d87f82dac52a7b2de2bc0c29507cee05ee9a93f838e090e45a9f484ca75db1ab83ab52361b27e4e0f2747914ec09324fc188f6100c3397b1596778c')
+
+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
+}

Reply via email to