[arch-commits] Commit in python-sshtunnel/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 9 01:18:21 UTC 2019
Date: Saturday, November 9, 2019 @ 01:18:21
Author: arojas
Revision: 524771
Drop python2
Modified:
python-sshtunnel/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++---------------------
1 file changed, 3 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-09 01:13:07 UTC (rev 524770)
+++ PKGBUILD 2019-11-09 01:18:21 UTC (rev 524771)
@@ -2,7 +2,7 @@
_pkgname=sshtunnel
pkgbase=python-sshtunnel
-pkgname=('sshtunnel' 'python-sshtunnel' 'python2-sshtunnel')
+pkgname=('sshtunnel' 'python-sshtunnel')
_gitcommit=4461abe9037ce0b86cd6aaaaeeebe27a97ce58ca
pkgver=0.1.5
pkgrel=2
@@ -10,10 +10,8 @@
url='https://github.com/pahaz/sshtunnel'
arch=('any')
license=('MIT')
-makedepends=('git' 'python-paramiko' 'python-sphinx' 'python-setuptools'
- 'python2-paramiko' 'python2-sphinx' 'python2-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'openssh'
- 'python2-pytest' 'python2-mock')
+makedepends=('git' 'python-paramiko' 'python-sphinx' 'python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'openssh')
source=(${pkgbase}::"git+https://github.com/pahaz/sshtunnel#commit=${_gitcommit}")
sha512sums=('SKIP')
@@ -33,15 +31,11 @@
python setup.py build
sphinx-build -b text docs docs/_build/text
sphinx-build -b man docs docs/_build/man
- python2 setup.py build
- sphinx-build2 -b text docs docs/_build2/text
- sphinx-build2 -b man docs docs/_build2/man
}
check() {
cd ${pkgbase}
py.test
- py.test2
}
package_sshtunnel() {
@@ -69,16 +63,4 @@
rm -r "${pkgdir}/usr/bin"
}
-package_python2-sshtunnel() {
- depends=('python2' 'python2-paramiko')
- cd ${pkgbase}
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 README.rst changelog.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 docs/_build2/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 docs/_build2/man/sshtunnel.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-
- rm -r "${pkgdir}/usr/bin"
-}
-
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list