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

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Apr 23 21:08:00 UTC 2022


    Date: Saturday, April 23, 2022 @ 21:08:00
  Author: polyzen
Revision: 1188560

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 21:07:59 UTC (rev 1188559)
+++ PKGBUILD	2022-04-23 21:08:00 UTC (rev 1188560)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
-
-pkgname=python-pytest
-pkgver=7.1.1
-pkgrel=1
-pkgdesc="Simple powerful testing with Python"
-arch=('any')
-license=('MIT')
-url="https://pytest.org/"
-depends=('python-attrs' 'python-iniconfig' 'python-packaging' 'python-pluggy'
-         'python-py' 'python-tomli')
-makedepends=('python-setuptools')
-checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock'
-              '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=('841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63')
-b2sums=('cc70b61ab863c19db62fc765c1819624d2e330116e4c8561693a895d3157ea6011a9f2db4e96f22cb802b295ae841c81e71a741cec8f64d4b7f70c539356fa7e')
-
-# 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 setup.py build
-}
-
-check() {
-  cd pytest-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m pytest
-}
-
-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 1188558, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 21:08:00 UTC (rev 1188560)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Felix Kaiser <felix.kaiser at fxkr.net>
+
+pkgname=python-pytest
+pkgver=7.1.2
+pkgrel=1
+pkgdesc="Simple powerful testing with Python"
+arch=('any')
+license=('MIT')
+url="https://pytest.org/"
+depends=('python-attrs' 'python-iniconfig' 'python-packaging' 'python-pluggy'
+         'python-py' 'python-tomli')
+makedepends=('python-setuptools')
+checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock'
+              '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=('a06a0425453864a270bc45e71f783330a7428defb4230fb5e6a731fde06ecd45')
+b2sums=('c59e477ba52f2ff6f9885b91bbdc9b70dd4ffced3902417cd2e8cf28ba778e92ab5738f1be4d1c8c5c41c7140ac56622b6d44261d618426ae39fd00026bf139c')
+
+# 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 setup.py build
+}
+
+check() {
+  cd pytest-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python setup.py install --optimize=1 --skip-build
+  test-env/bin/python -m pytest
+}
+
+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