[arch-commits] Commit in python-pytest-xdist/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jul 7 02:03:29 UTC 2017


    Date: Friday, July 7, 2017 @ 02:03:28
  Author: felixonmars
Revision: 242605

archrelease: copy trunk to community-any

Added:
  python-pytest-xdist/repos/community-any/PKGBUILD
    (from rev 242604, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
  python-pytest-xdist/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-07 02:03:12 UTC (rev 242604)
+++ PKGBUILD	2017-07-07 02:03:28 UTC (rev 242605)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-xdist
-pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
-pkgver=1.18.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')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz")
-sha512sums=('d7074df3617de40571f517ea7be900135c8b11dced9061d490ead8dbfca540e7afd3f7ac2c77c920571a9f6b7bf9c122990a708c817469a92146aedc86891f0a')
-
-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
-  # https://github.com/pytest-dev/pytest-xdist/issues/163
-
-  cd "$srcdir"/pytest-xdist-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test || warning "Tests failed"
-
-  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 || warning "Tests failed"
-}
-
-package_python-pytest-xdist() {
-  depends=('python-pytest' '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' '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 242604, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-07 02:03:28 UTC (rev 242605)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-xdist
+pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
+pkgver=1.18.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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz")
+sha512sums=('7a43e533a01881f290949f5e48cfa2eec297f1060ead9784b27af9772bd1aa56e507b02e1dd2f327d9dfeb6be69302482b839e646c2fa0b4b2cbb41def764a8a')
+
+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
+  # https://github.com/pytest-dev/pytest-xdist/issues/163
+
+  cd "$srcdir"/pytest-xdist-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test || warning "Tests failed"
+
+  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 || warning "Tests failed"
+}
+
+package_python-pytest-xdist() {
+  depends=('python-pytest' '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' '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