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

Felix Yan felixonmars at archlinux.org
Mon Dec 23 09:51:13 UTC 2019


    Date: Monday, December 23, 2019 @ 09:51:13
  Author: felixonmars
Revision: 539029

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-23 09:51:07 UTC (rev 539028)
+++ PKGBUILD	2019-12-23 09:51:13 UTC (rev 539029)
@@ -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.1
-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=('cfe2396d809faa88506c3d6041ebd9f7e91ba143ff23f59cdb3e3ca887c456fd3c9b563a647d1978b14ae3effcc1376ec480b5b7e4f46a40daa7ff4efd6f1ddf')
-
-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.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 539028, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-23 09:51:13 UTC (rev 539029)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgname=python-pytest
+pkgver=5.3.2
+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=('47d598099abc62c63312eb92be92b77a21437544f578cace81843213a496640fbea76faba8570785b8d23b541cb80222e612e885c4c2334ec02cdb99be9eacb5')
+
+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
+}



More information about the arch-commits mailing list