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

Felix Yan felixonmars at archlinux.org
Mon Dec 23 09:59:31 UTC 2019


    Date: Monday, December 23, 2019 @ 09:59:30
  Author: felixonmars
Revision: 539053

archrelease: copy trunk to community-any

Added:
  python-pytest-xdist/repos/community-any/PKGBUILD
    (from rev 539052, 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-12-23 09:59:21 UTC (rev 539052)
+++ PKGBUILD	2019-12-23 09:59:30 UTC (rev 539053)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-xdist
-pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
-pkgver=1.30.0
-pkgrel=3
-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=('ef1f9758884290ac1518ce7483f536ef2356c8c9e8ed2b480de14e61ebc26b4bdd09d4cecdad84e3adfb9544b51ad9fce530fedecf1bac88cbc716e083c7f681')
-
-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.8/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 539052, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-23 09:59:30 UTC (rev 539053)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-xdist
+pkgname=('python-pytest-xdist' 'python2-pytest-xdist')
+pkgver=1.31.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=('48c18802f5573ed4ceb061e82aea2046e3b19ad54e595ef666e095409d393cc301e729edd34eab999eae85184fc22c9d5fcda6ae334d183265e4baddcb6dfa46')
+
+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.8/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