[arch-commits] Commit in python-pytest/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Mar 15 01:53:35 UTC 2022
Date: Tuesday, March 15, 2022 @ 01:53:34
Author: polyzen
Revision: 1154124
archrelease: copy trunk to community-any
Added:
python-pytest/repos/community-any/PKGBUILD
(from rev 1154123, python-pytest/trunk/PKGBUILD)
Deleted:
python-pytest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-15 01:53:12 UTC (rev 1154123)
+++ PKGBUILD 2022-03-15 01:53:34 UTC (rev 1154124)
@@ -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.0.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=('e30905a0c131d3d94b89624a1cc5afec3e0ba2fbdb151867d8e0ebd49850f171')
-b2sums=('fcaef6afc6e98f6716a80f6451671b2abbf9ad676330a6e66e917a73e018eef966de8e7ef7ab48a1213167476eef1eb37cc5e84ec2bd9e5eab4ec6f1a8071c87')
-
-# 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 1154123, python-pytest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-15 01:53:34 UTC (rev 1154124)
@@ -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.0
+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=('f1089d218cfcc63a212c42896f1b7fbf096874d045e1988186861a1a87d27b47')
+b2sums=('2417ccb4a41c9dc5b957bef3c7e190d2469d604a15368cc59ad3d6dcffc46617690269e5c1d6f6fa81c376f426ec8e825389dbc0dd15688ced65433107651676')
+
+# 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