Date: Sunday, April 9, 2023 @ 20:13:16
Author: felixonmars
Revision: 1443509
archrelease: copy trunk to community-staging-any
Added:
python-pytest-cov/repos/community-staging-any/PKGBUILD
(from rev 1443508, python-pytest-cov/trunk/PKGBUILD)
Deleted:
python-pytest-cov/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-09 20:13:08 UTC (rev 1443508)
+++ PKGBUILD 2023-04-09 20:13:16 UTC (rev 1443509)
@@ -1,38 +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=4.0.0
-pkgrel=2
-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
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- PYTHONPATH="$PWD/tmp_install/$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-staging-any/PKGBUILD (from rev
1443508, python-pytest-cov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-09 20:13:16 UTC (rev 1443509)
@@ -0,0 +1,38 @@
+# 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=3
+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
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ PYTHONPATH="$PWD/tmp_install/$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: