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

Felix Yan felixonmars at archlinux.org
Thu Apr 4 00:13:14 UTC 2019


    Date: Thursday, April 4, 2019 @ 00:13:13
  Author: felixonmars
Revision: 448683

archrelease: copy trunk to community-any

Added:
  python-pytest-xdist/repos/community-any/PKGBUILD
    (from rev 448682, 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	2019-04-04 00:12:53 UTC (rev 448682)
+++ PKGBUILD	2019-04-04 00:13:13 UTC (rev 448683)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-xdist
-pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
-pkgver=1.27.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=('62b5b0132bd41c3fee558092796b0c2701d8c9e0ad8c2f93b12a1402bf26d9bfb4e40ec5d67e6531142a4799a5fb7d1d8bffd35c5a4c1b59cae2c114409144f4')
-
-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 448682, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-04 00:13:13 UTC (rev 448683)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-xdist
+pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
+pkgver=1.28.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=('8125686ee5464af8262d57a24b0bac9e5661eebed2162bd1edd46bb1c98a47616cda5fab4752c89540bf9babdb5eaab40f9dd723023da50493cdaf10e0af5fc9')
+
+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