[arch-commits] Commit in python-tox/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 25 13:05:53 UTC 2020
Date: Wednesday, March 25, 2020 @ 13:05:53
Author: felixonmars
Revision: 604093
archrelease: copy trunk to community-any
Added:
python-tox/repos/community-any/PKGBUILD
(from rev 604092, python-tox/trunk/PKGBUILD)
Deleted:
python-tox/repos/community-any/PKGBUILD
----------+
PKGBUILD | 156 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-25 13:05:44 UTC (rev 604092)
+++ PKGBUILD 2020-03-25 13:05:53 UTC (rev 604093)
@@ -1,78 +0,0 @@
-# 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.14.5
-pkgrel=1
-pkgdesc='Python virtualenv management and testing tool'
-arch=('any')
-url='https://tox.readthedocs.io'
-license=('GPL2')
-makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-virtualenv'
- 'python2-virtualenv' 'python-pluggy' 'python2-pluggy' 'python-toml' 'python2-toml'
- 'python-filelock' 'python2-filelock' 'python-freezegun' 'python2-freezegun')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-mock'
- 'python2-pytest-mock' 'python2-pathlib2' 'python-flaky' 'python2-flaky'
- 'python-pathlib2' 'python2-pathlib2')
-source=("https://pypi.io/packages/source/t/tox/tox-$pkgver.tar.gz")
-sha512sums=('8916efc0078f51f10cc7600e7c7879863011ca375f1d88a45266406243df767ebd1d286f36c0b5d818407ade4a2790e4aa49cb257ae23dde3e4c51c5f05c7459')
-
-prepare() {
- find tox-$pkgver -name "*.pyc" -delete
-
- cp -a tox-$pkgver{,-py2}
-
- sed -i 's|pathlib2|pathlib|' tox-$pkgver/tests/integration/*.py
-}
-
-build() {
- export LC_CTYPE=en_US.UTF-8
-
- 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' 'python-toml'
- 'python-filelock')
-
- 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' 'python2-toml'
- 'python2-filelock')
-
- 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 604092, python-tox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-25 13:05:53 UTC (rev 604093)
@@ -0,0 +1,78 @@
+# 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.14.6
+pkgrel=1
+pkgdesc='Python virtualenv management and testing tool'
+arch=('any')
+url='https://tox.readthedocs.io'
+license=('GPL2')
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-virtualenv'
+ 'python2-virtualenv' 'python-pluggy' 'python2-pluggy' 'python-toml' 'python2-toml'
+ 'python-filelock' 'python2-filelock' 'python-freezegun' 'python2-freezegun')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-mock'
+ 'python2-pytest-mock' 'python2-pathlib2' 'python-flaky' 'python2-flaky'
+ 'python-pathlib2' 'python2-pathlib2')
+source=("https://pypi.io/packages/source/t/tox/tox-$pkgver.tar.gz")
+sha512sums=('54fd836c7667aa4f7be80716d1f1f2aea3ef3f73a5e2d3999303f3bdb7463c9751e77d9cc338064ec11ab28e01ea59af5cdbe2c57abdd741b9d3e3f419ace473')
+
+prepare() {
+ find tox-$pkgver -name "*.pyc" -delete
+
+ cp -a tox-$pkgver{,-py2}
+
+ sed -i 's|pathlib2|pathlib|' tox-$pkgver/tests/integration/*.py
+}
+
+build() {
+ export LC_CTYPE=en_US.UTF-8
+
+ 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' 'python-toml'
+ 'python-filelock')
+
+ 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' 'python2-toml'
+ 'python2-filelock')
+
+ 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