[arch-commits] Commit in python-tox/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Feb 24 17:04:34 UTC 2015
Date: Tuesday, February 24, 2015 @ 18:04:34
Author: fyan
Revision: 128186
archrelease: copy trunk to community-any
Added:
python-tox/repos/community-any/PKGBUILD
(from rev 128185, python-tox/trunk/PKGBUILD)
Deleted:
python-tox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-24 17:01:37 UTC (rev 128185)
+++ PKGBUILD 2015-02-24 17:04:34 UTC (rev 128186)
@@ -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.8.1
-pkgrel=1
-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=('44ca1e038cb57fe40ac0dff8b67b258efe05517bf9b4b4b07035f8be830aac01')
-
-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}
-}
Copied: python-tox/repos/community-any/PKGBUILD (from rev 128185, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-24 17:04:34 UTC (rev 128186)
@@ -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.9.0
+pkgrel=1
+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=('817ad1eaeb6b46e68b322d9ff41244be3c15315833df5762216ffe3629a21219')
+
+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