[arch-commits] Commit in python-pytest-xdist/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 13 12:00:17 UTC 2020
Date: Friday, November 13, 2020 @ 12:00:16
Author: felixonmars
Revision: 753880
archrelease: copy trunk to community-staging-any
Added:
python-pytest-xdist/repos/community-staging-any/PKGBUILD
(from rev 753879, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
python-pytest-xdist/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-13 12:00:08 UTC (rev 753879)
+++ PKGBUILD 2020-11-13 12:00:16 UTC (rev 753880)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-xdist
-pkgver=2.1.0
-pkgrel=2
-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'
-depends=('python-execnet' 'python-psutil' 'python-pytest-forked')
-makedepends=('python-setuptools_scm')
-checkdepends=('python-filelock')
-source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('1bbe43f51bb5641cb7006875f5dc4c889afcede68a02b842880aefca93c2fcf258741707d2add9daa17876a20ebc1da4907ed66e45a8c4eaaf1ca68ddaea00bb')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd pytest-xdist-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-xdist-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest
-}
-
-package() {
- cd pytest-xdist-$pkgver
- python 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-staging-any/PKGBUILD (from rev 753879, python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-13 12:00:16 UTC (rev 753880)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-xdist
+pkgver=2.1.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'
+depends=('python-execnet' 'python-psutil' 'python-pytest-forked')
+makedepends=('python-setuptools_scm')
+checkdepends=('python-filelock')
+source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1bbe43f51bb5641cb7006875f5dc4c889afcede68a02b842880aefca93c2fcf258741707d2add9daa17876a20ebc1da4907ed66e45a8c4eaaf1ca68ddaea00bb')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd pytest-xdist-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-xdist-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" pytest \
+ --deselect testing/acceptance_test.py::TestWarnings::test_warning_captured_deprecated_in_pytest_6
+}
+
+package() {
+ cd pytest-xdist-$pkgver
+ python 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