[arch-commits] Commit in python-pytest-cov/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 14 14:02:08 UTC 2021
Date: Friday, May 14, 2021 @ 14:02:07
Author: felixonmars
Revision: 934030
archrelease: copy trunk to community-any
Added:
python-pytest-cov/repos/community-any/PKGBUILD
(from rev 934029, python-pytest-cov/trunk/PKGBUILD)
Deleted:
python-pytest-cov/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-14 14:01:56 UTC (rev 934029)
+++ PKGBUILD 2021-05-14 14:02:07 UTC (rev 934030)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sebastien LEDUC <sebastien at sleduc.fr>
-# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
-
-pkgbase=python-pytest-cov
-pkgname=('python-pytest-cov' 'python2-pytest-cov')
-pkgver=2.11.1
-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/schlamar/pytest-cov'
-makedepends=('python-coverage' 'python2-coverage' 'python-setuptools' 'python2-setuptools'
- 'python-pytest' 'python2-pytest')
-checkdepends=('python-virtualenv' 'python2-virtualenv' 'python-process-tests'
- 'python2-process-tests' 'python-pytest-cache' 'python2-pytest-cache'
- 'python-pytest-xdist' 'python2-pytest-xdist' 'python-fields' 'python2-fields')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz")
-sha512sums=('513e89c061e926cfab718adb1a52f573abec6d67635df4ef791dc9a0e6338369c3a0771c9f2a44c5c2a17ab5a5ebc21398b4e3c525dba50724f70eea22a1c9ce')
-
-prepare() {
- cp -a pytest-cov-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/pytest-cov-$pkgver
- python setup.py build
-
- cd "$srcdir"/pytest-cov-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pytest-cov-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test || echo "Tests failed"
-
- cd "$srcdir"/pytest-cov-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH:$PWD/tests" py.test2 || echo "Tests failed"
-}
-
-package_python-pytest-cov() {
- depends=('python-pytest' 'python-coverage')
-
- cd pytest-cov-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pytest-cov() {
- depends=('python2-pytest' 'python2-coverage')
-
- cd pytest-cov-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-cov/repos/community-any/PKGBUILD (from rev 934029, python-pytest-cov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-14 14:02:07 UTC (rev 934030)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sebastien LEDUC <sebastien at sleduc.fr>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgbase=python-pytest-cov
+pkgname=('python-pytest-cov' 'python2-pytest-cov')
+pkgver=2.12.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/schlamar/pytest-cov'
+makedepends=('python-coverage' 'python2-coverage' 'python-setuptools' 'python2-setuptools'
+ 'python-pytest' 'python2-pytest')
+checkdepends=('python-virtualenv' 'python2-virtualenv' 'python-process-tests'
+ 'python2-process-tests' 'python-pytest-cache' 'python2-pytest-cache'
+ 'python-pytest-xdist' 'python2-pytest-xdist' 'python-fields' 'python2-fields')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-cov/archive/v$pkgver.tar.gz")
+sha512sums=('796e64fe16e90765defcc2c93abf85a2d58bf1ba9c16bbd5e60ec8b25a44e29a0d906105c9f94297837b0dc51a8c157f8fdb780e2786163e62f5796fb6566c11')
+
+prepare() {
+ cp -a pytest-cov-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pytest-cov-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pytest-cov-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir"/pytest-cov-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test || echo "Tests failed"
+
+ cd "$srcdir"/pytest-cov-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH:$PWD/tests" py.test2 || echo "Tests failed"
+}
+
+package_python-pytest-cov() {
+ depends=('python-pytest' 'python-coverage')
+
+ cd pytest-cov-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pytest-cov() {
+ depends=('python2-pytest' 'python2-coverage')
+
+ cd pytest-cov-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list