[arch-commits] Commit in python-pytest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 27 05:07:54 UTC 2018
Date: Monday, August 27, 2018 @ 05:07:54
Author: felixonmars
Revision: 374584
archrelease: copy trunk to community-any
Added:
python-pytest/repos/community-any/PKGBUILD
(from rev 374583, python-pytest/trunk/PKGBUILD)
Deleted:
python-pytest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-27 05:07:39 UTC (rev 374583)
+++ PKGBUILD 2018-08-27 05:07:54 UTC (rev 374584)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgbase=python-pytest
-pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.7.2
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="http://pytest.org/"
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-pluggy'
- 'python2-pluggy' 'python-attrs' 'python2-attrs' 'python-more-itertools'
- 'python2-more-itertools' 'python-atomicwrites' 'python2-atomicwrites'
- 'python2-funcsigs' 'python2-pathlib2')
-checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
- 'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'
- 'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
- 'python2-requests' 'python-hypothesis' 'python2-hypothesis')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('7fe8fa7b26a57b79555a44a0c8c30324a73110b977a80a1b4250b3c207f5ec422ca11a44baa5a5767eb94304430f59d584aefc839cf02f8fce3a45cfdf6e02b0')
-
-prepare() {
- cp -a pytest-$pkgver{,-py2}
-
- export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/pytest-$pkgver
- python setup.py build
-
- cd "$srcdir"/pytest-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/pytest-$pkgver
- PYTHONPATH="$PWD"/build/lib python src/pytest.py
-
- cd "$srcdir"/pytest-$pkgver-py2
- PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
-}
-
-package_python-pytest() {
- depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
- 'python-atomicwrites')
-
- cd pytest-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest() {
- depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs'
- 'python2-more-itertools' 'python2-atomicwrites' 'python2-funcsigs' 'python2-pathlib2')
-
- cd pytest-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- mv "$pkgdir"/usr/bin/py.test{,2}
- mv "$pkgdir"/usr/bin/pytest{,2}
-}
Copied: python-pytest/repos/community-any/PKGBUILD (from rev 374583, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-27 05:07:54 UTC (rev 374584)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgbase=python-pytest
+pkgname=('python-pytest' 'python2-pytest')
+pkgver=3.7.3
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="http://pytest.org/"
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-pluggy'
+ 'python2-pluggy' 'python-attrs' 'python2-attrs' 'python-more-itertools'
+ 'python2-more-itertools' 'python-atomicwrites' 'python2-atomicwrites'
+ 'python2-funcsigs' 'python2-pathlib2')
+checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
+ 'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'
+ 'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
+ 'python2-requests' 'python-hypothesis' 'python2-hypothesis')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
+sha512sums=('c4542ead303314dab3f6424a34ae19114e98e968017229697731b7f3d5dced509f58804aa8b8d726eb76435275515600a4f1a943f10d57da142b004618002987')
+
+prepare() {
+ cp -a pytest-$pkgver{,-py2}
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/pytest-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pytest-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/pytest-$pkgver
+ PYTHONPATH="$PWD"/build/lib python src/pytest.py
+
+ cd "$srcdir"/pytest-$pkgver-py2
+ PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
+}
+
+package_python-pytest() {
+ depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
+ 'python-atomicwrites')
+
+ cd pytest-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest() {
+ depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs'
+ 'python2-more-itertools' 'python2-atomicwrites' 'python2-funcsigs' 'python2-pathlib2')
+
+ cd pytest-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/bin/py.test{,2}
+ mv "$pkgdir"/usr/bin/pytest{,2}
+}
More information about the arch-commits
mailing list