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

Felix Yan felixonmars at archlinux.org
Thu Sep 24 11:17:58 UTC 2020


    Date: Thursday, September 24, 2020 @ 11:17:57
  Author: felixonmars
Revision: 711672

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-24 11:17:37 UTC (rev 711671)
+++ PKGBUILD	2020-09-24 11:17:57 UTC (rev 711672)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.35.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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('db26d0b8d23b753c4880e0ee54ef89957c68c75496847aaefd538196188e7734513d737e2073bdced5eb7a8677b096b2cf9d6d48e572922d8a3e5a5c930bc795')
-
-prepare() {
-  mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
-}
-
-build() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py build
-}
-
-check() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest
-}
-
-package() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 711671, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-24 11:17:57 UTC (rev 711672)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.36.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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
+sha512sums=('e7324f98ac8609c1ce7ed957d0ee0280d177e9a6d369cc3bdb2cc8bde7f5e79d8f19b53c6b19fdfc732c9f84e4cd7dffa9c2af3cc004b3b5dbe703d73ce64009')
+
+prepare() {
+  mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
+}
+
+build() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py build
+}
+
+check() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" pytest
+}
+
+package() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list