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

Felix Yan felixonmars at archlinux.org
Thu Dec 17 09:28:55 UTC 2020


    Date: Thursday, December 17, 2020 @ 09:28:55
  Author: felixonmars
Revision: 777219

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-17 09:28:40 UTC (rev 777218)
+++ PKGBUILD	2020-12-17 09:28:55 UTC (rev 777219)
@@ -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.0
-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=('8dcf68e9ff6f18ea727c5c3d500fd84545fe0ad3913a6ea7d8d525a3d930ccdc4778cd7e2c0b1ecfe99d054a0feaeb522e456018e4b17baf0b75d8489c630409')
-
-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-testing-any/PKGBUILD (from rev 777218, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-17 09:28:55 UTC (rev 777219)
@@ -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.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/
+}



More information about the arch-commits mailing list