[arch-commits] Commit in python-coverage/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed Oct 14 01:29:56 UTC 2015
Date: Wednesday, October 14, 2015 @ 03:29:56
Author: fyan
Revision: 143947
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-coverage/repos/community-i686/PKGBUILD
(from rev 143946, python-coverage/trunk/PKGBUILD)
python-coverage/repos/community-x86_64/PKGBUILD
(from rev 143946, python-coverage/trunk/PKGBUILD)
Deleted:
python-coverage/repos/community-i686/PKGBUILD
python-coverage/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 116 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 58 ----------------------
community-x86_64/PKGBUILD | 58 ----------------------
3 files changed, 116 insertions(+), 116 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-10-14 01:29:20 UTC (rev 143946)
+++ community-i686/PKGBUILD 2015-10-14 01:29:56 UTC (rev 143947)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Clément Démoulins <clement at archivel.fr>
-# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
-
-pkgname=(python-coverage python2-coverage)
-pkgver=4.0
-pkgrel=1
-pkgdesc="A tool for measuring code coverage of Python programs"
-arch=('i686' 'x86_64')
-url="http://nedbatchelder.com/code/coverage/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'mercurial')
-checkdepends=('python-mock' 'python2-mock' 'python-nose' 'python2-nose'
- 'python-pycontracts' 'python2-pycontracts')
-source=("hg+https://bitbucket.org/ned/coveragepy#tag=coverage-$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a coveragepy{,-py2}
-}
-
-build() {
- cd "$srcdir/coveragepy"
- python3 setup.py build
-
- cd "$srcdir/coveragepy-py2"
- python2 setup.py build
-}
-
-check() {(
- # Hack entry points by installing it
-
- cd "$srcdir/coveragepy"
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python igor.py test_with_tracer py
-
- cd "$srcdir/coveragepy-py2"
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 igor.py test_with_tracer py
- ) || warning "Tests failed"
-}
-
-package_python-coverage() {
- depends=('python')
-
- cd coveragepy
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-coverage() {
- depends=('python2')
-
- cd coveragepy
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir/usr/bin/coverage" "$pkgdir/usr/bin/coverage2"
-}
Copied: python-coverage/repos/community-i686/PKGBUILD (from rev 143946, python-coverage/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-10-14 01:29:56 UTC (rev 143947)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Clément Démoulins <clement at archivel.fr>
+# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
+
+pkgname=(python-coverage python2-coverage)
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="A tool for measuring code coverage of Python programs"
+arch=('i686' 'x86_64')
+url="http://nedbatchelder.com/code/coverage/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'mercurial')
+checkdepends=('python-mock' 'python2-mock' 'python-nose' 'python2-nose'
+ 'python-pycontracts' 'python2-pycontracts')
+source=("hg+https://bitbucket.org/ned/coveragepy#tag=coverage-$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a coveragepy{,-py2}
+}
+
+build() {
+ cd "$srcdir/coveragepy"
+ python3 setup.py build
+
+ cd "$srcdir/coveragepy-py2"
+ python2 setup.py build
+}
+
+check() {(
+ # Hack entry points by installing it
+
+ cd "$srcdir/coveragepy"
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python igor.py test_with_tracer py
+
+ cd "$srcdir/coveragepy-py2"
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 igor.py test_with_tracer py
+ ) || warning "Tests failed"
+}
+
+package_python-coverage() {
+ depends=('python')
+
+ cd coveragepy
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-coverage() {
+ depends=('python2')
+
+ cd coveragepy
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir/usr/bin/coverage" "$pkgdir/usr/bin/coverage2"
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-10-14 01:29:20 UTC (rev 143946)
+++ community-x86_64/PKGBUILD 2015-10-14 01:29:56 UTC (rev 143947)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Clément Démoulins <clement at archivel.fr>
-# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
-
-pkgname=(python-coverage python2-coverage)
-pkgver=4.0
-pkgrel=1
-pkgdesc="A tool for measuring code coverage of Python programs"
-arch=('i686' 'x86_64')
-url="http://nedbatchelder.com/code/coverage/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'mercurial')
-checkdepends=('python-mock' 'python2-mock' 'python-nose' 'python2-nose'
- 'python-pycontracts' 'python2-pycontracts')
-source=("hg+https://bitbucket.org/ned/coveragepy#tag=coverage-$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a coveragepy{,-py2}
-}
-
-build() {
- cd "$srcdir/coveragepy"
- python3 setup.py build
-
- cd "$srcdir/coveragepy-py2"
- python2 setup.py build
-}
-
-check() {(
- # Hack entry points by installing it
-
- cd "$srcdir/coveragepy"
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python igor.py test_with_tracer py
-
- cd "$srcdir/coveragepy-py2"
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 igor.py test_with_tracer py
- ) || warning "Tests failed"
-}
-
-package_python-coverage() {
- depends=('python')
-
- cd coveragepy
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-coverage() {
- depends=('python2')
-
- cd coveragepy
- 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 143946, python-coverage/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-10-14 01:29:56 UTC (rev 143947)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Clément Démoulins <clement at archivel.fr>
+# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
+
+pkgname=(python-coverage python2-coverage)
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="A tool for measuring code coverage of Python programs"
+arch=('i686' 'x86_64')
+url="http://nedbatchelder.com/code/coverage/"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'mercurial')
+checkdepends=('python-mock' 'python2-mock' 'python-nose' 'python2-nose'
+ 'python-pycontracts' 'python2-pycontracts')
+source=("hg+https://bitbucket.org/ned/coveragepy#tag=coverage-$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a coveragepy{,-py2}
+}
+
+build() {
+ cd "$srcdir/coveragepy"
+ python3 setup.py build
+
+ cd "$srcdir/coveragepy-py2"
+ python2 setup.py build
+}
+
+check() {(
+ # Hack entry points by installing it
+
+ cd "$srcdir/coveragepy"
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" python igor.py test_with_tracer py
+
+ cd "$srcdir/coveragepy-py2"
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" python2 igor.py test_with_tracer py
+ ) || warning "Tests failed"
+}
+
+package_python-coverage() {
+ depends=('python')
+
+ cd coveragepy
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-coverage() {
+ depends=('python2')
+
+ cd coveragepy
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir/usr/bin/coverage" "$pkgdir/usr/bin/coverage2"
+}
More information about the arch-commits
mailing list