[arch-commits] Commit in python-hypothesis/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 20 15:13:28 UTC 2020
Date: Thursday, August 20, 2020 @ 15:13:28
Author: felixonmars
Revision: 685529
archrelease: copy trunk to community-any
Added:
python-hypothesis/repos/community-any/PKGBUILD
(from rev 685528, python-hypothesis/trunk/PKGBUILD)
Deleted:
python-hypothesis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-20 15:13:24 UTC (rev 685528)
+++ PKGBUILD 2020-08-20 15:13:28 UTC (rev 685529)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-hypothesis
-pkgver=5.26.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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('b8df15df0e3b615c3e621005a7fd1ef183b67f2fba4d16aaec22577af2b5f3dec6d98cb15d32f998d2aa185fcad16324df1d62affe7647c5e78259b42c550511')
-
-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 685528, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-20 15:13:28 UTC (rev 685529)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-hypothesis
+pkgver=5.27.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=('973ab33c69d2db58ca3550335be3cc4196ccf532ccc2c0aeb0b54459201904c06f289a9f6faa3bfa77f6704a6f43e253e34453110cda750a2a1a19a851038dda')
+
+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