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

Felix Yan felixonmars at archlinux.org
Sat Aug 4 14:29:03 UTC 2018


    Date: Saturday, August 4, 2018 @ 14:29:03
  Author: felixonmars
Revision: 367936

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-04 14:28:58 UTC (rev 367935)
+++ PKGBUILD	2018-08-04 14:29:03 UTC (rev 367936)
@@ -1,71 +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=3.1.2
-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=('b1f6c78ab7f6a5801df06ee8a51ab03c2c51f1ee009130f4750901238bbf41f4c47a8ff4ca115b7bc8f2f598431040174336a3ccb241c2ea17e17117baa12b98')
-
-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-testing-any/PKGBUILD (from rev 367934, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-04 14:29:03 UTC (rev 367936)
@@ -0,0 +1,71 @@
+# $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=3.1.3
+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=('d05e7334ab1c345741ffddaa23e80202dbb9621076ab6f5584327fce00298d33575eac026e143e9e9378c886e52c1f9c51c27e4b0f3d7461e3bcdff3b7044d86')
+
+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}
+}



More information about the arch-commits mailing list