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

Felix Yan fyan at archlinux.org
Thu Sep 25 07:23:05 UTC 2014


    Date: Thursday, September 25, 2014 @ 09:23:04
  Author: fyan
Revision: 119555

archrelease: copy trunk to community-any

Added:
  python-tox/repos/community-any/PKGBUILD
    (from rev 119554, 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-25 07:22:26 UTC (rev 119554)
+++ PKGBUILD	2014-09-25 07:23:04 UTC (rev 119555)
@@ -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=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}
-}

Copied: python-tox/repos/community-any/PKGBUILD (from rev 119554, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-09-25 07:23:04 UTC (rev 119555)
@@ -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.8.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=('4583b8340279d8cf080082550f7a5f14ba838bed3b217a37f0ea305c271281c7')
+
+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