[arch-commits] Commit in python-pytest-cov/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Oct 12 04:30:47 UTC 2016


    Date: Wednesday, October 12, 2016 @ 04:30:47
  Author: felixonmars
Revision: 191975

archrelease: copy trunk to community-any

Added:
  python-pytest-cov/repos/community-any/PKGBUILD
    (from rev 191974, python-pytest-cov/trunk/PKGBUILD)
Deleted:
  python-pytest-cov/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-12 04:30:28 UTC (rev 191974)
+++ PKGBUILD	2016-10-12 04:30:47 UTC (rev 191975)
@@ -1,59 +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')
-pkgver=2.3.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' '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 pytest-cov{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-cov
-  python setup.py build
-
-  cd "$srcdir"/pytest-cov-py2
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/pytest-cov
-  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"/pytest-cov-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 pytest-cov
-  python setup.py install --root="$pkgdir"/ --optimize=1
-}
-
-package_python2-pytest-cov() {
-  depends=('python2-pytest' 'python2-coverage')
-
-  cd pytest-cov-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 191974, python-pytest-cov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-12 04:30:47 UTC (rev 191975)
@@ -0,0 +1,59 @@
+# $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')
+pkgver=2.4.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 pytest-cov{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest-cov
+  python setup.py build
+
+  cd "$srcdir"/pytest-cov-py2
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/pytest-cov
+  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"/pytest-cov-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 pytest-cov
+  python setup.py install --root="$pkgdir"/ --optimize=1
+}
+
+package_python2-pytest-cov() {
+  depends=('python2-pytest' 'python2-coverage')
+
+  cd pytest-cov-py2
+  python2 setup.py install --root="$pkgdir"/ --optimize=1
+}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list