[arch-commits] Commit in python-pytest-xdist/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 31 09:08:23 UTC 2018
Date: Wednesday, October 31, 2018 @ 09:08:23
Author: felixonmars
Revision: 399829
archrelease: copy trunk to community-any
Added:
python-pytest-xdist/repos/community-any/PKGBUILD
(from rev 399827, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
python-pytest-xdist/repos/community-any/PKGBUILD
----------+
PKGBUILD | 115 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-31 09:08:21 UTC (rev 399828)
+++ PKGBUILD 2018-10-31 09:08:23 UTC (rev 399829)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-xdist
-pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
-pkgver=1.23.2
-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')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz")
-sha512sums=('cf8705beb182518864baa27fd2ac1344ee5020e9bffde268678847af8dd9e5e5b80f50c0a6b34aebbc1e5e7840b8b88e6edf73584821fce472083ed8d27c7a1b')
-
-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 399827, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-31 09:08:23 UTC (rev 399829)
@@ -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.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:
More information about the arch-commits
mailing list