[arch-commits] Commit in python-sshtunnel/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 13:42:08 UTC 2020
Date: Thursday, November 12, 2020 @ 13:42:08
Author: foutrelis
Revision: 751827
archrelease: copy trunk to community-staging-any
Added:
python-sshtunnel/repos/community-staging-any/PKGBUILD
(from rev 751826, python-sshtunnel/trunk/PKGBUILD)
Deleted:
python-sshtunnel/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:42:06 UTC (rev 751826)
+++ PKGBUILD 2020-11-12 13:42:08 UTC (rev 751827)
@@ -1,66 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pkgname=sshtunnel
-pkgbase=python-sshtunnel
-pkgname=('sshtunnel' 'python-sshtunnel')
-_gitcommit=4461abe9037ce0b86cd6aaaaeeebe27a97ce58ca
-pkgver=0.1.5
-pkgrel=4
-pkgdesc='Pure python SSH tunnels'
-url='https://github.com/pahaz/sshtunnel'
-arch=('any')
-license=('MIT')
-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')
-
-pkgver() {
- cd ${pkgbase}
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's|\.r0\.\w+$||'
-}
-
-prepare() {
- cd ${pkgbase}
- sed '/sphinxcontrib.napoleon/d' -i docs/conf.py
-}
-
-build() {
- cd ${pkgbase}
- export PYTHONPATH="$PWD:$PYTHONPATH"
- python setup.py build
- sphinx-build -b text docs docs/_build/text
- sphinx-build -b man docs docs/_build/man
-}
-
-check() {
- cd ${pkgbase}
- py.test
-}
-
-package_sshtunnel() {
- depends=('python' 'python-sshtunnel' 'python-setuptools')
- pkgdesc+=' (CLI)'
- cd ${pkgbase}
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -d "${pkgdir}/usr/share/"{licenses,doc,man/man1}
- ln -s /usr/share/licenses/python-sshtunnel "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s /usr/share/doc/python-sshtunnel "${pkgdir}/usr/share/doc/${pkgname}"
- ln -s /usr/share/man/man1/python-sshtunnel.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
-
- rm -r "${pkgdir}/usr/lib"
-}
-
-package_python-sshtunnel() {
- depends=('python' 'python-paramiko')
- cd ${pkgbase}
- python 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/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -Dm 644 docs/_build/man/sshtunnel.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-
- rm -r "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-sshtunnel/repos/community-staging-any/PKGBUILD (from rev 751826, python-sshtunnel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:42:08 UTC (rev 751827)
@@ -0,0 +1,66 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=sshtunnel
+pkgbase=python-sshtunnel
+pkgname=('sshtunnel' 'python-sshtunnel')
+_gitcommit=4461abe9037ce0b86cd6aaaaeeebe27a97ce58ca
+pkgver=0.1.5
+pkgrel=5
+pkgdesc='Pure python SSH tunnels'
+url='https://github.com/pahaz/sshtunnel'
+arch=('any')
+license=('MIT')
+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')
+
+pkgver() {
+ cd ${pkgbase}
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's|\.r0\.\w+$||'
+}
+
+prepare() {
+ cd ${pkgbase}
+ sed '/sphinxcontrib.napoleon/d' -i docs/conf.py
+}
+
+build() {
+ cd ${pkgbase}
+ export PYTHONPATH="$PWD:$PYTHONPATH"
+ python setup.py build
+ sphinx-build -b text docs docs/_build/text
+ sphinx-build -b man docs docs/_build/man
+}
+
+check() {
+ cd ${pkgbase}
+ py.test
+}
+
+package_sshtunnel() {
+ depends=('python' 'python-sshtunnel' 'python-setuptools')
+ pkgdesc+=' (CLI)'
+ cd ${pkgbase}
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -d "${pkgdir}/usr/share/"{licenses,doc,man/man1}
+ ln -s /usr/share/licenses/python-sshtunnel "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s /usr/share/doc/python-sshtunnel "${pkgdir}/usr/share/doc/${pkgname}"
+ ln -s /usr/share/man/man1/python-sshtunnel.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
+
+ rm -r "${pkgdir}/usr/lib"
+}
+
+package_python-sshtunnel() {
+ depends=('python' 'python-paramiko')
+ cd ${pkgbase}
+ python 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/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 docs/_build/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