[arch-commits] Commit in python-tox/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Sat Sep 13 16:07:00 UTC 2014
Date: Saturday, September 13, 2014 @ 18:07:00
Author: fyan
Revision: 118913
archrelease: copy trunk to community-any
Added:
python-tox/repos/community-any/PKGBUILD
(from rev 118912, python-tox/trunk/PKGBUILD)
Deleted:
python-tox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-13 16:06:42 UTC (rev 118912)
+++ PKGBUILD 2014-09-13 16:07:00 UTC (rev 118913)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Weißschuh <thomas t-8ch.de>
-# Contributor: George Brooke <george+arch.aur at george-brooke.co.uk>
-# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
-
-pkgbase=python-tox
-pkgname=(python-tox python2-tox)
-pkgver=1.7.2
-pkgrel=3
-pkgdesc='Python virtualenv management and testing tool'
-arch=('any')
-url='http://testrun.org/tox/latest/'
-license=('GPL2')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py' 'python-virtualenv' 'python2-virtualenv')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("http://pypi.python.org/packages/source/t/tox/tox-${pkgver}.tar.gz")
-sha256sums=('267fc86871ae2a398d3e7b4b03e8113b3305533c72ef8de616cbc7258039f1f8')
-
-prepare() {
- cp -a tox-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir/tox-$pkgver"
- python setup.py build
-
- cd "$srcdir/tox-$pkgver-py2"
- python2 setup.py build
-}
-
-check() {
- # Not working correctly, as some tests need the "tox" executable
-
- cd "$srcdir/tox-$pkgver"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test || warning "Tests failed"
-
- cd "$srcdir/tox-$pkgver-py2"
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test2 || warning "Tests failed"
-}
-
-package_python-tox() {
- depends=('python-py' 'python-virtualenv')
-
- cd "$srcdir/tox-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
- ln -s tox "${pkgdir}/usr/bin/tox3"
-}
-
-package_python2-tox() {
- depends=('python2-py' 'python2-virtualenv')
-
- cd "$srcdir/tox-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
- mv "${pkgdir}"/usr/bin/tox{,2}
- mv "${pkgdir}"/usr/bin/{tox-quickstart,tox2-quickstart}
-}
Copied: python-tox/repos/community-any/PKGBUILD (from rev 118912, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-09-13 16:07:00 UTC (rev 118913)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Weißschuh <thomas t-8ch.de>
+# Contributor: George Brooke <george+arch.aur at george-brooke.co.uk>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+
+pkgbase=python-tox
+pkgname=(python-tox python2-tox)
+pkgver=1.7.2
+pkgrel=4
+pkgdesc='Python virtualenv management and testing tool'
+arch=('any')
+url='http://testrun.org/tox/latest/'
+license=('GPL2')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py' 'python-virtualenv' 'python2-virtualenv')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("http://pypi.python.org/packages/source/t/tox/tox-${pkgver}.tar.gz")
+sha256sums=('267fc86871ae2a398d3e7b4b03e8113b3305533c72ef8de616cbc7258039f1f8')
+
+prepare() {
+ cp -a tox-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir/tox-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/tox-$pkgver-py2"
+ python2 setup.py build
+}
+
+check() {
+ # Not working correctly, as some tests need the "tox" executable
+
+ cd "$srcdir/tox-$pkgver"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test || warning "Tests failed"
+
+ cd "$srcdir/tox-$pkgver-py2"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test2 || warning "Tests failed"
+}
+
+package_python-tox() {
+ depends=('python-py' 'python-virtualenv' 'python-setuptools')
+
+ cd "$srcdir/tox-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ ln -s tox "${pkgdir}/usr/bin/tox3"
+}
+
+package_python2-tox() {
+ depends=('python2-py' 'python2-virtualenv' 'python2-setuptools')
+
+ cd "$srcdir/tox-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "${pkgdir}"/usr/bin/tox{,2}
+ mv "${pkgdir}"/usr/bin/{tox-quickstart,tox2-quickstart}
+}
More information about the arch-commits
mailing list