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

Levente Polyak anthraxx at archlinux.org
Wed May 12 22:45:48 UTC 2021


    Date: Wednesday, May 12, 2021 @ 22:45:47
  Author: anthraxx
Revision: 932827

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-12 22:45:44 UTC (rev 932826)
+++ PKGBUILD	2021-05-12 22:45:47 UTC (rev 932827)
@@ -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=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:

Copied: python-sshtunnel/repos/community-any/PKGBUILD (from rev 932826, python-sshtunnel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-12 22:45:47 UTC (rev 932827)
@@ -0,0 +1,66 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=sshtunnel
+pkgbase=python-sshtunnel
+pkgname=('sshtunnel' 'python-sshtunnel')
+_gitcommit=58a46ef8b66be5eded29cd9bda4dccedb46ec586
+pkgver=0.4.0
+pkgrel=1
+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/1/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