Date: Sunday, February 11, 2018 @ 05:16:15
  Author: felixonmars
Revision: 291760

archrelease: copy trunk to community-x86_64

Added:
  python-coverage/repos/community-x86_64/PKGBUILD
    (from rev 291759, python-coverage/trunk/PKGBUILD)
Deleted:
  python-coverage/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-11 05:15:47 UTC (rev 291759)
+++ PKGBUILD    2018-02-11 05:16:15 UTC (rev 291760)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Clément Démoulins <clem...@archivel.fr>
-# Contributor: Fazlul Shahriar <fshahr...@gmail.com>
-
-pkgbase=python-coverage
-pkgname=(python-coverage python2-coverage)
-pkgver=4.5
-pkgrel=1
-pkgdesc="A tool for measuring code coverage of Python programs"
-arch=('x86_64')
-url="http://nedbatchelder.com/code/coverage/";
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-mock' 'python2-mock' 'python-pytest-xdist' 
'python2-pytest-xdist'
-              'python-pycontracts' 'python2-pycontracts' 'python-greenlet' 
'python2-greenlet'
-              'python-virtualenv' 'python2-virtualenv' 'python-pyenchant' 
'python2-pyenchant'
-              'python-pylint' 'python2-pylint' 'python-unittest-mixins' 
'python2-unittest-mixins'
-              'python-flaky' 'python2-flaky')
-source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/ned/coveragepy/get/coverage-$pkgver.tar.gz";)
-sha512sums=('7a79bd93dbf21c095de5eabbde15538af7d7bb6b4844daa30776ab702645ee448a3bb8ede16e5ecc7b02717ca869693a52f757b6b3ffc8e15269a31e0dd549b2')
-
-prepare() {
-  mv ned-coveragepy-* coveragepy-$pkgver
-  cp -a coveragepy-$pkgver{,-py2}
-}
-
-check() {
-  # Hack entry points by installing it
-
-  export LC_CTYPE=en_US.UTF-8
-
-  (
-    cd "$srcdir/coveragepy-$pkgver"
-    virtualenv "$srcdir/pyvenv" --system-site-packages
-    . "$srcdir/pyvenv/bin/activate"
-    export PYTHONPATH="$PYTHONPATH:/usr/lib/python3.6/site-packages"
-    python setup.py --quiet develop
-    python igor.py zip_mods install_egg remove_extension
-    python igor.py test_with_tracer py
-    python setup.py --quiet build_ext --inplace
-    python igor.py test_with_tracer c
-  ) || warning "Python 3 tests failed"
-
-  (
-    cd "$srcdir/coveragepy-$pkgver-py2"
-    virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
-    . "$srcdir/pyvenv-py2/bin/activate"
-    export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages"
-    python setup.py --quiet develop
-    python igor.py zip_mods install_egg remove_extension
-    python igor.py test_with_tracer py
-    python setup.py --quiet build_ext --inplace
-    python igor.py test_with_tracer c
-  ) || warning "Python 2 tests failed"
-}
-
-package_python-coverage() {
-  depends=('python')
-
-  cd coveragepy-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-coverage() {
-  depends=('python2')
-
-  cd coveragepy-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir/usr/bin/coverage" "$pkgdir/usr/bin/coverage2"
-}

Copied: python-coverage/repos/community-x86_64/PKGBUILD (from rev 291759, 
python-coverage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-11 05:16:15 UTC (rev 291760)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Clément Démoulins <clem...@archivel.fr>
+# Contributor: Fazlul Shahriar <fshahr...@gmail.com>
+
+pkgbase=python-coverage
+pkgname=(python-coverage python2-coverage)
+pkgver=4.5.1
+pkgrel=1
+pkgdesc="A tool for measuring code coverage of Python programs"
+arch=('x86_64')
+url="http://nedbatchelder.com/code/coverage/";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-mock' 'python2-mock' 'python-pytest-xdist' 
'python2-pytest-xdist'
+              'python-pycontracts' 'python2-pycontracts' 'python-greenlet' 
'python2-greenlet'
+              'python-virtualenv' 'python2-virtualenv' 'python-pyenchant' 
'python2-pyenchant'
+              'python-pylint' 'python2-pylint' 'python-unittest-mixins' 
'python2-unittest-mixins'
+              'python-flaky' 'python2-flaky')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/ned/coveragepy/get/coverage-$pkgver.tar.gz";)
+sha512sums=('72e03b35140596d7b6cd2976d35ecfd931b8c5518ae09dddeb2e204e73cee5e4f87341458dabbf5fdc6774a89342383ccd01d98ec7a8291f9cf8d9c1e5e9d0e9')
+
+prepare() {
+  mv ned-coveragepy-* coveragepy-$pkgver
+  cp -a coveragepy-$pkgver{,-py2}
+}
+
+check() {
+  # Hack entry points by installing it
+
+  export LC_CTYPE=en_US.UTF-8
+
+  (
+    cd "$srcdir/coveragepy-$pkgver"
+    virtualenv "$srcdir/pyvenv" --system-site-packages
+    . "$srcdir/pyvenv/bin/activate"
+    export PYTHONPATH="$PYTHONPATH:/usr/lib/python3.6/site-packages"
+    python setup.py --quiet develop
+    python igor.py zip_mods install_egg remove_extension
+    python igor.py test_with_tracer py
+    python setup.py --quiet build_ext --inplace
+    python igor.py test_with_tracer c
+  ) || warning "Python 3 tests failed"
+
+  (
+    cd "$srcdir/coveragepy-$pkgver-py2"
+    virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
+    . "$srcdir/pyvenv-py2/bin/activate"
+    export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/site-packages"
+    python setup.py --quiet develop
+    python igor.py zip_mods install_egg remove_extension
+    python igor.py test_with_tracer py
+    python setup.py --quiet build_ext --inplace
+    python igor.py test_with_tracer c
+  ) || warning "Python 2 tests failed"
+}
+
+package_python-coverage() {
+  depends=('python')
+
+  cd coveragepy-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-coverage() {
+  depends=('python2')
+
+  cd coveragepy-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir/usr/bin/coverage" "$pkgdir/usr/bin/coverage2"
+}

Reply via email to