[arch-commits] Commit in python-hypothesis/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 1 10:10:40 UTC 2021
Date: Saturday, May 1, 2021 @ 10:10:39
Author: felixonmars
Revision: 925489
archrelease: copy trunk to community-any
Added:
python-hypothesis/repos/community-any/PKGBUILD
(from rev 925488, python-hypothesis/trunk/PKGBUILD)
Deleted:
python-hypothesis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-01 10:10:25 UTC (rev 925488)
+++ PKGBUILD 2021-05-01 10:10:39 UTC (rev 925489)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=6.9.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'
- '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=('ad5f18ecbb0376b04eb26f58ad2b72ae6789029bf89f36d4880e5212a4cf7d669a048bb8d4f0bdeb0f5c1f1cc053d054d60235224f5154803fd0319d7b140b3b')
-
-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 925488, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-01 10:10:39 UTC (rev 925489)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=6.9.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'
+ '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=('c209e921e89b5b5863e7b103462cf34a0fd5d06c373c4d880b2aafd8b9521fcd95f58cd00f55eff81804352721b1114f208ce0e19f9142783834e93867ba336b')
+
+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