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

Felix Yan felixonmars at archlinux.org
Sat Mar 14 18:01:04 UTC 2020


    Date: Saturday, March 14, 2020 @ 18:01:04
  Author: felixonmars
Revision: 597064

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 41 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-14 18:00:56 UTC (rev 597063)
+++ PKGBUILD	2020-03-14 18:01:04 UTC (rev 597064)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgname=python-pytest
-pkgver=5.3.5
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/"
-depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
-         'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata')
-makedepends=('python-setuptools-scm')
-checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 'python-hypothesis'
-              'python-argcomplete' 'python-xmlschema'
-              # Unlisted, but actually used. Check again after a while:
-              'python-numpy' 'python-twisted' 'python-pytest-xdist' 'python-decorator'
-              'python-jinja' 'python-pexpect')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('487bd492522d85184d89c834e606063fc2a1ee3fb374f4a11d851db0dbf6e9d4bea749ee96727600a78dac1dc24f83798d2214b3043bad8fa3da647026b43e04')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  # Ignore warnings that break test
-  sed -e 's|2 passed in|2 passed|' -i pytest-$pkgver/testing/test_pdb.py
-}
-
-build() {
-  cd pytest-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
-
-  cd pytest-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py -k 'not test_collect_pyargs_with_testpaths'
-}
-
-package() {
-  cd pytest-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest/repos/community-any/PKGBUILD (from rev 597063, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-14 18:01:04 UTC (rev 597064)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgname=python-pytest
+pkgver=5.4.0
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/"
+depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools'
+         'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata' 'python-pygments')
+makedepends=('python-setuptools-scm')
+checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 'python-hypothesis'
+              'python-argcomplete' 'python-xmlschema'
+              # Unlisted, but actually used. Check again after a while:
+              'python-numpy' 'python-twisted' 'python-pytest-xdist' 'python-decorator'
+              'python-jinja' 'python-pexpect')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
+sha512sums=('1042f537e73752257ed982470f4abd09e1b7031c5c4b428a319684008dac136ac68a2fb8b663140b2e312dff737bf178438d3c122e800f07bd10233417f73a57')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
+
+  cd pytest-$pkgver
+  python setup.py egg_info
+  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py -k 'not test_collect_pyargs_with_testpaths'
+}
+
+package() {
+  cd pytest-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list