[arch-commits] Commit in python-hypothesis/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Aug 8 12:22:07 UTC 2017
Date: Tuesday, August 8, 2017 @ 12:22:06
Author: felixonmars
Revision: 249568
archrelease: copy trunk to community-any
Added:
python-hypothesis/repos/community-any/PKGBUILD
(from rev 249567, python-hypothesis/trunk/PKGBUILD)
Deleted:
python-hypothesis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-08 12:21:48 UTC (rev 249567)
+++ PKGBUILD 2017-08-08 12:22:06 UTC (rev 249568)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-hypothesis
-pkgname=('python-hypothesis' 'python2-hypothesis')
-pkgver=3.16.1
-pkgrel=1
-pkgdesc="Advanced Quickcheck style testing library for Python"
-arch=('any')
-license=('MPL')
-url="https://hypothesis.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'flake8' 'python2-flake8' 'python-pytz'
- 'python2-pytz' 'python-numpy' 'python2-numpy' 'python-faker' 'python2-faker'
- 'python-flaky' 'python2-flaky' 'python-pytest-benchmark' 'python2-pytest-benchmark'
- 'python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis-python/archive/$pkgver.tar.gz")
-sha512sums=('f7b6924f960c34f889d4d5ee79f5636e10676299831b7dd77f7ba659d34ef692a37f26c9b32b2599ab147d49d282601711a43b0d7720ba8cae00e159119fe7a3')
-
-prepare() {
- cp -a hypothesis-python-$pkgver{,-py2}
-
- rm -r hypothesis-python-$pkgver/tests/py2
- rm -r hypothesis-python-$pkgver-py2/tests/py3
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd "$srcdir"/hypothesis-python-$pkgver
- python setup.py build
-
- cd "$srcdir"/hypothesis-python-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/hypothesis-python-$pkgver
- mv tests/django ../
- python setup.py pytest
- mv ../django tests/
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django
-
- cd "$srcdir"/hypothesis-python-$pkgver-py2
- mv tests/django ../
- python2 setup.py pytest
- mv ../django tests/
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m tests.django.manage test tests.django
-}
-
-package_python-hypothesis() {
- depends=('python')
- 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')
-
- cd hypothesis-python-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-hypothesis() {
- depends=('python2-enum34')
- optdepends=('python2-pytz: for datetime and django module'
- 'python2-faker: for fakefactory and django module'
- 'python2-django: for django module'
- 'python2-numpy: for numpy module'
- 'python2-pytest: for pytest module')
-
- cd hypothesis-python-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 249567, python-hypothesis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-08-08 12:22:06 UTC (rev 249568)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-hypothesis
+pkgname=('python-hypothesis' 'python2-hypothesis')
+pkgver=3.17.0
+pkgrel=1
+pkgdesc="Advanced Quickcheck style testing library for Python"
+arch=('any')
+license=('MPL')
+url="https://hypothesis.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-enum34')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'flake8' 'python2-flake8' 'python-pytz'
+ 'python2-pytz' 'python-numpy' 'python2-numpy' 'python-faker' 'python2-faker'
+ 'python-flaky' 'python2-flaky' 'python-pytest-benchmark' 'python2-pytest-benchmark'
+ 'python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis-python/archive/$pkgver.tar.gz")
+sha512sums=('ad997aac103932f3a871fafe4d9e617df460933d08835855426754fa022ce49c55aa37551c2fff1b5a313feed1b008a6c9fc48f9156f9d6439a8839b5fdd854e')
+
+prepare() {
+ cp -a hypothesis-python-$pkgver{,-py2}
+
+ rm -r hypothesis-python-$pkgver/tests/py2
+ rm -r hypothesis-python-$pkgver-py2/tests/py3
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd "$srcdir"/hypothesis-python-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/hypothesis-python-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/hypothesis-python-$pkgver
+ mv tests/django ../
+ python setup.py pytest
+ mv ../django tests/
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django
+
+ cd "$srcdir"/hypothesis-python-$pkgver-py2
+ mv tests/django ../
+ python2 setup.py pytest
+ mv ../django tests/
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m tests.django.manage test tests.django
+}
+
+package_python-hypothesis() {
+ depends=('python')
+ 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')
+
+ cd hypothesis-python-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-hypothesis() {
+ depends=('python2-enum34')
+ optdepends=('python2-pytz: for datetime and django module'
+ 'python2-faker: for fakefactory and django module'
+ 'python2-django: for django module'
+ 'python2-numpy: for numpy module'
+ 'python2-pytest: for pytest module')
+
+ cd hypothesis-python-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list