[arch-commits] Commit in python-tox/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 13 14:58:34 UTC 2016
Date: Thursday, October 13, 2016 @ 14:58:34
Author: felixonmars
Revision: 192181
archrelease: copy trunk to community-any
Added:
python-tox/repos/community-any/PKGBUILD
(from rev 192180, python-tox/trunk/PKGBUILD)
Deleted:
python-tox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-13 14:57:38 UTC (rev 192180)
+++ PKGBUILD 2016-10-13 14:58:34 UTC (rev 192181)
@@ -1,68 +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=2.4.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' 'python-pluggy' 'python2-pluggy')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/t/tox/tox-${pkgver}.tar.gz")
-sha256sums=('ff849ec72088047fd23178c3a2c86daff1b49f5af042329060fc10d37975e376')
-
-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() {
- # Hack entry points
-
- (
- cd "$srcdir"/tox-$pkgver
- virtualenv "$srcdir/pyvenv" --system-site-packages
- . "$srcdir/pyvenv/bin/activate"
- python setup.py install
- python setup.py ptr
- )
-
- (
- cd "$srcdir"/tox-$pkgver-py2
- virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
- . "$srcdir/pyvenv-py2/bin/activate"
- python setup.py install
- python setup.py ptr
- )
-}
-
-package_python-tox() {
- depends=('python-py' 'python-virtualenv' 'python-setuptools' 'python-pluggy')
-
- 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' 'python2-pluggy')
-
- cd "$srcdir"/tox-$pkgver-py2
- 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 192180, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-13 14:58:34 UTC (rev 192181)
@@ -0,0 +1,68 @@
+# $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=2.4.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' 'python-pluggy' 'python2-pluggy')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/t/tox/tox-${pkgver}.tar.gz")
+sha256sums=('6673571a3c4b1561b564e2b1cce55bddfb4f3efdb387ba4eb0a3688bbe2496db')
+
+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() {
+ # Hack entry points
+
+ (
+ cd "$srcdir"/tox-$pkgver
+ virtualenv "$srcdir/pyvenv" --system-site-packages
+ . "$srcdir/pyvenv/bin/activate"
+ python setup.py install
+ python setup.py ptr
+ )
+
+ (
+ cd "$srcdir"/tox-$pkgver-py2
+ virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
+ . "$srcdir/pyvenv-py2/bin/activate"
+ python setup.py install
+ python setup.py ptr
+ )
+}
+
+package_python-tox() {
+ depends=('python-py' 'python-virtualenv' 'python-setuptools' 'python-pluggy')
+
+ 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' 'python2-pluggy')
+
+ cd "$srcdir"/tox-$pkgver-py2
+ 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