Date: Wednesday, September 28, 2022 @ 21:29:46
Author: felixonmars
Revision: 1315732
archrelease: copy trunk to community-any
Added:
python-pytest-cov/repos/community-any/PKGBUILD
(from rev 1315731, python-pytest-cov/trunk/PKGBUILD)
Deleted:
python-pytest-cov/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-28 21:29:32 UTC (rev 1315731)
+++ PKGBUILD 2022-09-28 21:29:46 UTC (rev 1315732)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Sebastien LEDUC <[email protected]>
-# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
-
-pkgname=python-pytest-cov
-pkgver=3.0.0
-pkgrel=1
-pkgdesc='py.test plugin for coverage reporting with support for both
centralised and distributed testing, including subprocesses and multiprocessing'
-arch=('any')
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-cov'
-depends=('python-coverage' 'python-pytest' 'python-tomli')
-makedepends=('python-setuptools')
-checkdepends=('python-virtualenv' 'python-process-tests' 'python-pytest-xdist'
'python-fields')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz")
-sha512sums=('47700d477633bf810b4e3609cfb05314800b995b7b06245681b0905cf2a44f7cd1c4dc137d3dfed6fdca210c3d516fc31e3de23f0d8d5514ef1c437706a9466c')
-
-build() {
- cd pytest-cov-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-cov-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
-
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD/tests"
pytest || echo "Tests failed"
-}
-
-package() {
- cd pytest-cov-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-cov/repos/community-any/PKGBUILD (from rev 1315731,
python-pytest-cov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-28 21:29:46 UTC (rev 1315732)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Sebastien LEDUC <[email protected]>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgname=python-pytest-cov
+pkgver=4.0.0
+pkgrel=1
+pkgdesc='py.test plugin for coverage reporting with support for both
centralised and distributed testing, including subprocesses and multiprocessing'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-cov'
+depends=('python-coverage' 'python-pytest' 'python-tomli')
+makedepends=('python-setuptools')
+checkdepends=('python-virtualenv' 'python-process-tests' 'python-pytest-xdist'
'python-fields')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz")
+sha512sums=('bbc2ce3c6e6541dad3122a2af3cf33456fcfdeebd9ad31fe216b77f1ac2f7abf1ed1ed583f186bea88b8a9cf754500e929263eb8d635fd55e4f3615ed107b49c')
+
+build() {
+ cd pytest-cov-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-cov-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+
PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD/tests"
pytest || echo "Tests failed"
+}
+
+package() {
+ cd pytest-cov-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et: