[arch-commits] Commit in python-pytest-xdist/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 10 19:42:20 UTC 2018
Date: Saturday, November 10, 2018 @ 19:42:20
Author: felixonmars
Revision: 405715
archrelease: copy trunk to community-any
Added:
python-pytest-xdist/repos/community-any/PKGBUILD
(from rev 405714, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
python-pytest-xdist/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-10 19:42:00 UTC (rev 405714)
+++ PKGBUILD 2018-11-10 19:42:20 UTC (rev 405715)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-xdist
-pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
-pkgver=1.24.0
-pkgrel=1
-pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing modes'
-arch=('any')
-license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-xdist'
-makedepends=('python-pytest' 'python2-pytest' 'python-setuptools_scm' 'python2-setuptools_scm'
- 'python-execnet' 'python2-execnet' 'python-pytest-forked' 'python2-pytest-forked'
- 'python-filelock' 'python2-filelock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz")
-sha512sums=('90e86e09ae7ca6c0e8cab50cc72591f0d062b4457adddb3325ef10e5f899f160def60430b95aaf4efa84b12c403e063a1126cf231a576991c90b42ee04b3cbd4')
-
-prepare() {
- cp -a pytest-xdist-$pkgver{,-py2}
-
- export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/pytest-xdist-$pkgver
- python setup.py build
-
- cd "$srcdir"/pytest-xdist-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pytest-xdist-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
- cd "$srcdir"/pytest-xdist-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-pytest-xdist() {
- depends=('python-pytest-forked' 'python-execnet')
-
- cd pytest-xdist-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-xdist() {
- depends=('python2-pytest-forked' 'python2-execnet')
-
- cd pytest-xdist-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-xdist/repos/community-any/PKGBUILD (from rev 405714, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-10 19:42:20 UTC (rev 405715)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-xdist
+pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
+pkgver=1.24.1
+pkgrel=1
+pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing modes'
+arch=('any')
+license=('MIT')
+url='https://bitbucket.org/pytest-dev/pytest-xdist'
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools_scm' 'python2-setuptools_scm'
+ 'python-execnet' 'python2-execnet' 'python-pytest-forked' 'python2-pytest-forked'
+ 'python-filelock' 'python2-filelock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz")
+sha512sums=('1998c08ccc9d528ee676dcb174667fe17f5fdad8461392276c506ab7b29fe040b2cd246e22ff078d4637e4bb19aca2c17a68446d344541281fea528fa69d35ce')
+
+prepare() {
+ cp -a pytest-xdist-$pkgver{,-py2}
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/pytest-xdist-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pytest-xdist-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir"/pytest-xdist-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+
+ cd "$srcdir"/pytest-xdist-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-pytest-xdist() {
+ depends=('python-pytest-forked' 'python-execnet')
+
+ cd pytest-xdist-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-xdist() {
+ depends=('python2-pytest-forked' 'python2-execnet')
+
+ cd pytest-xdist-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list