Date: Wednesday, April 11, 2018 @ 09:07:31
  Author: felixonmars
Revision: 315699

archrelease: copy trunk to community-any

Added:
  python-tox/repos/community-any/PKGBUILD
    (from rev 315698, python-tox/trunk/PKGBUILD)
Deleted:
  python-tox/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  141 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 09:07:03 UTC (rev 315698)
+++ PKGBUILD    2018-04-11 09:07:31 UTC (rev 315699)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Thomas Weißschuh <thomas t-8ch.de>
-# Contributor: George Brooke <george+arch....@george-brooke.co.uk>
-# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
-
-pkgbase=python-tox
-pkgname=(python-tox python2-tox)
-pkgver=2.9.1
-pkgrel=1
-pkgdesc='Python virtualenv management and testing tool'
-arch=('any')
-url='https://tox.readthedocs.io'
-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";)
-sha512sums=('ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066')
-
-prepare() {
-  find tox-$pkgver -name "*.pyc" -delete
-
-  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 pytest
-  )
-
-  (
-    cd "$srcdir"/tox-$pkgver-py2
-    virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
-    . "$srcdir/pyvenv-py2/bin/activate"
-    python setup.py install
-    python setup.py pytest
-  )
-}
-
-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 315698, 
python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-11 09:07:31 UTC (rev 315699)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Thomas Weißschuh <thomas t-8ch.de>
+# Contributor: George Brooke <george+arch....@george-brooke.co.uk>
+# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
+
+pkgbase=python-tox
+pkgname=(python-tox python2-tox)
+pkgver=3.0.0
+pkgrel=1
+pkgdesc='Python virtualenv management and testing tool'
+arch=('any')
+url='https://tox.readthedocs.io'
+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' 
'python-pytest-mock'
+              'python2-pytest-mock')
+source=("https://pypi.io/packages/source/t/tox/tox-$pkgver.tar.gz";)
+sha512sums=('3bce42561a032b9d1bcc6086093ab79e2ba84ca55b4a6b646485ed3ec4a5b7349d8fc4e47758d2dd7998fc943824a99a251447e13b9ccc396b9d2d87f367f6cd')
+
+prepare() {
+  find tox-$pkgver -name "*.pyc" -delete
+
+  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 pytest
+  )
+
+  (
+    cd "$srcdir"/tox-$pkgver-py2
+    virtualenv2 "$srcdir/pyvenv-py2" --system-site-packages
+    . "$srcdir/pyvenv-py2/bin/activate"
+    python setup.py install
+    python setup.py pytest
+  )
+}
+
+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}
+}

Reply via email to