Date: Friday, March 3, 2023 @ 19:25:27
  Author: polyzen
Revision: 1411067

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-03 19:24:03 UTC (rev 1411066)
+++ PKGBUILD    2023-03-03 19:25:27 UTC (rev 1411067)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Felix Kaiser <[email protected]>
-
-pkgname=python-pytest
-pkgver=7.2.1
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/";
-depends=('python-attrs' 'python-exceptiongroup' 'python-iniconfig'
-         'python-packaging' 'python-pluggy' 'python-tomli')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
-             'python-wheel')
-checkdepends=('python-argcomplete' 'python-hypothesis' 'python-nose'
-              'python-requests' 'python-xmlschema'
-              # Unlisted, but actually used. Check again after a while:
-              'lsof' 'python-asynctest' 'python-decorator' 'python-docutils'
-              'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments'
-              'python-pytest-xdist' 'python-twisted')
-source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz";)
-sha256sums=('d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42')
-b2sums=('3323e4d0dc95708733425aba808a864816d73a1d67f2f3048ab516aff9c2e5ddafab67d8596ad5693254c906e9714508e7faef591c89592fcf071698b3dbdb30')
-
-# Remove dep on setuptools_scm
-prepare() {
-  cd pytest-$pkgver
-  sed -i "/^\[metadata\]/a version = $pkgver
-  /setuptools-scm/d" setup.cfg
-  sed -i '/setuptools-scm\|wheel/d
-  /\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
-}
-
-build() {
-  cd pytest-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd pytest-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python -m installer dist/*.whl
-  # https://github.com/pytest-dev/pytest/issues/10042
-  test-env/bin/python -m pytest -o xfail_strict=False
-}
-
-package() {
-  cd pytest-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/pytest-$pkgver.dist-info/LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pytest/repos/community-any/PKGBUILD (from rev 1411066, 
python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-03 19:25:27 UTC (rev 1411067)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Felix Kaiser <[email protected]>
+
+pkgname=python-pytest
+pkgver=7.2.2
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/";
+depends=('python-attrs' 'python-exceptiongroup' 'python-iniconfig'
+         'python-packaging' 'python-pluggy' 'python-tomli')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+             'python-wheel')
+checkdepends=('python-argcomplete' 'python-hypothesis' 'python-nose'
+              'python-requests' 'python-xmlschema'
+              # Unlisted, but actually used. Check again after a while:
+              'lsof' 'python-asynctest' 'python-decorator' 'python-docutils'
+              'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments'
+              'python-pytest-xdist' 'python-twisted')
+source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz";)
+sha256sums=('c99ab0c73aceb050f68929bc93af19ab6db0558791c6a0715723abe9d0ade9d4')
+b2sums=('51742872c03ccba3b305fdb3015a1c2a8f7dbf2988f267ea13e2add438ae52e2d5a6cace483525cf37f7ea72454bb346b81196c6e043dbbc3e5c0c8a1a365ed7')
+
+# Remove dep on setuptools_scm
+prepare() {
+  cd pytest-$pkgver
+  sed -i "/^\[metadata\]/a version = $pkgver
+  /setuptools-scm/d" setup.cfg
+  sed -i '/setuptools-scm\|wheel/d
+  /\[tool.setuptools_scm\]/,/^$/d' pyproject.toml
+}
+
+build() {
+  cd pytest-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd pytest-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  # https://github.com/pytest-dev/pytest/issues/10042
+  test-env/bin/python -m pytest -o xfail_strict=False
+}
+
+package() {
+  cd pytest-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s "$site_packages"/pytest-$pkgver.dist-info/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to