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

Filipe Laíns ffy00 at archlinux.org
Sun Feb 28 20:47:40 UTC 2021


    Date: Sunday, February 28, 2021 @ 20:47:40
  Author: ffy00
Revision: 876064

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 20:47:33 UTC (rev 876063)
+++ PKGBUILD	2021-02-28 20:47:40 UTC (rev 876064)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgname=python-pytest
-pkgver=6.2.1
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/"
-depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 'python-packaging' 'python-pluggy'
-         'python-py' 'python-toml')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 'python-nose' 'python-requests'
-              'python-xmlschema'
-              # Unlisted, but actually used. Check again after a while:
-              'python-decorator' 'python-docutils' 'python-jinja' 'python-numpy' 'python-pexpect'
-              'python-pygments' 'python-twisted' 'python-pytest-xdist')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('c6816d9007e19276741ccf20d5c303b7dc1a66a0332fed81cda5ab1f1c68db5cdbe85c8dfeacbdf02482fe7ee4e0f72839912194b1f60c8c17a0b69b4faa1942')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  sed -i '/_pytest.warning_types.PytestUnknownMarkWarning/a \    "ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning"' pytest-$pkgver/pyproject.toml
-}
-
-build() {
-  cd pytest-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pytest-$pkgver
-  python setup.py egg_info
-  # pdb tests: https://github.com/pytest-dev/pytest/issues/8161
-  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py --deselect testing/test_debugging.py::TestPDB::test_pdb_interaction_doctest \
-                                                            --deselect testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug \
-                                                            --deselect testing/test_debugging.py::TestPDB::test_pdb_continue_with_recursive_debug \
-                                                            --deselect testing/test_debugging.py::test_pdb_suspends_fixture_capturing
-}
-
-package() {
-  cd pytest-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-pytest/repos/community-any/PKGBUILD (from rev 876063, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-28 20:47:40 UTC (rev 876064)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgname=python-pytest
+pkgver=6.2.2
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/"
+depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 'python-packaging' 'python-pluggy'
+         'python-py' 'python-toml')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 'python-nose' 'python-requests'
+              'python-xmlschema'
+              # Unlisted, but actually used. Check again after a while:
+              'python-decorator' 'python-docutils' 'python-jinja' 'python-numpy' 'python-pexpect'
+              'python-pygments' 'python-twisted' 'python-pytest-xdist')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
+sha512sums=('c7b6dfee858984ca842147face869c7a47edd41aa95054de0edaaae7990ce9f8a1a3f4caa9a1b298cd6aebf6961e4a93b6662991866f0970e7a37fb79756f298')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  sed -i '/_pytest.warning_types.PytestUnknownMarkWarning/a \    "ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning"' pytest-$pkgver/pyproject.toml
+}
+
+build() {
+  cd pytest-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pytest-$pkgver
+  python setup.py egg_info
+  # pdb tests: https://github.com/pytest-dev/pytest/issues/8161
+  PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py --deselect testing/test_debugging.py::TestPDB::test_pdb_interaction_doctest \
+                                                            --deselect testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug \
+                                                            --deselect testing/test_debugging.py::TestPDB::test_pdb_continue_with_recursive_debug \
+                                                            --deselect testing/test_debugging.py::test_pdb_suspends_fixture_capturing
+}
+
+package() {
+  cd pytest-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list