[arch-commits] Commit in python-pytest-cov/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Oct 5 02:53:32 UTC 2015
Date: Monday, October 5, 2015 @ 04:53:31
Author: fyan
Revision: 142942
archrelease: copy trunk to community-any
Added:
python-pytest-cov/repos/community-any/PKGBUILD
(from rev 142941, python-pytest-cov/trunk/PKGBUILD)
Deleted:
python-pytest-cov/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-05 02:53:09 UTC (rev 142941)
+++ PKGBUILD 2015-10-05 02:53:31 UTC (rev 142942)
@@ -1,60 +0,0 @@
-# $Id$
-# 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')
-_pypiname=pytest-cov
-pkgver=2.1.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/schlamar/pytest-cov'
-makedepends=('python-coverage' 'python2-coverage' 'python-setuptools' 'python2-setuptools'
- 'python-pytest' 'python2-pytest' 'git')
-checkdepends=('python-virtualenv' 'python2-virtualenv' 'python-process-tests' 'python2-process-tests'
- 'python-pytest-cache' 'python2-pytest-cache' 'python-pytest-xdist' 'python2-pytest-xdist'
- 'python-pytest-capturelog' 'python2-pytest-capturelog')
-source=("git+https://github.com/pytest-dev/pytest-cov.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a "${srcdir}/${_pypiname}"{,-py2}
-}
-
-build() {
- cd "$srcdir/$_pypiname"
- python setup.py build
-
- cd "$srcdir/$_pypiname-py2"
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir/$_pypiname"
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH:$PWD/tests" py.test || warning "Tests failed"
-
- cd "$srcdir/$_pypiname-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 || warning "Tests failed"
-}
-
-package_python-pytest-cov() {
- depends=('python-pytest' 'python-coverage')
-
- cd "$srcdir/$_pypiname"
- python setup.py install --root="$pkgdir"/ --optimize=1
-}
-
-package_python2-pytest-cov() {
- depends=('python2-pytest' 'python2-coverage')
-
- cd "$srcdir/$_pypiname-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 142941, python-pytest-cov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-10-05 02:53:31 UTC (rev 142942)
@@ -0,0 +1,60 @@
+# $Id$
+# 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')
+_pypiname=pytest-cov
+pkgver=2.2.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' 'git')
+checkdepends=('python-virtualenv' 'python2-virtualenv' 'python-process-tests' 'python2-process-tests'
+ 'python-pytest-cache' 'python2-pytest-cache' 'python-pytest-xdist' 'python2-pytest-xdist'
+ 'python-pytest-capturelog' 'python2-pytest-capturelog')
+source=("git+https://github.com/pytest-dev/pytest-cov.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a "${srcdir}/${_pypiname}"{,-py2}
+}
+
+build() {
+ cd "$srcdir/$_pypiname"
+ python setup.py build
+
+ cd "$srcdir/$_pypiname-py2"
+ python2 setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir/$_pypiname"
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH:$PWD/tests" py.test || warning "Tests failed"
+
+ cd "$srcdir/$_pypiname-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 || warning "Tests failed"
+}
+
+package_python-pytest-cov() {
+ depends=('python-pytest' 'python-coverage')
+
+ cd "$srcdir/$_pypiname"
+ python setup.py install --root="$pkgdir"/ --optimize=1
+}
+
+package_python2-pytest-cov() {
+ depends=('python2-pytest' 'python2-coverage')
+
+ cd "$srcdir/$_pypiname-py2"
+ python2 setup.py install --root="$pkgdir"/ --optimize=1
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list