[arch-commits] Commit in python-pytest/repos/community-testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Aug 18 15:47:54 UTC 2018
Date: Saturday, August 18, 2018 @ 15:47:53
Author: felixonmars
Revision: 372663
archrelease: copy trunk to community-testing-any
Added:
python-pytest/repos/community-testing-any/PKGBUILD
(from rev 372662, python-pytest/trunk/PKGBUILD)
Deleted:
python-pytest/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-18 15:47:27 UTC (rev 372662)
+++ PKGBUILD 2018-08-18 15:47:53 UTC (rev 372663)
@@ -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.1
-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=('2980d0d8d60536e6438d0375ec05808e048ea1a88ca73e0cbd9f93ca7dfb0341a172f006e75fa1cc178a1fea56db2b7177fa1dbcd205e52577be0d20d70cb793')
-
-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-testing-any/PKGBUILD (from rev 372662, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-18 15:47:53 UTC (rev 372663)
@@ -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.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}
+}
More information about the arch-commits
mailing list