[arch-commits] Commit in sshuttle/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Mon Jan 18 08:27:42 UTC 2016


    Date: Monday, January 18, 2016 @ 09:27:42
  Author: fyan
Revision: 157411

upgpkg: sshuttle 0.76-1

Modified:
  sshuttle/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-18 08:12:27 UTC (rev 157410)
+++ PKGBUILD	2016-01-18 08:27:42 UTC (rev 157411)
@@ -3,7 +3,7 @@
 # Contributor: alphazo <alphazo at gmail.com>
 
 pkgname=sshuttle
-pkgver=0.75
+pkgver=0.76
 pkgrel=1
 pkgdesc='Transparent proxy server that forwards all TCP packets over ssh'
 arch=('any')
@@ -10,7 +10,7 @@
 url="https://github.com/sshuttle/sshuttle"
 license=('GPL2')
 depends=('python-setuptools' 'iptables' 'openssh' 'net-tools')
-makedepends=('git' 'pandoc')
+makedepends=('git' 'python-sphinx' 'python-setuptools_scm')
 checkdepends=('python-pytest-runner' 'python-mock')
 backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf')
 source=("git+https://github.com/sshuttle/$pkgname.git#tag=v$pkgver"
@@ -24,7 +24,8 @@
   cd $pkgname
   python setup.py build
 
-  pandoc -s -r markdown -w man -o sshuttle.8 sshuttle/sshuttle.md
+  cd docs
+  make man
 }
 
 check() {
@@ -36,7 +37,7 @@
   cd $pkgname
   python setup.py install --root="$pkgdir" -O1
 
-  install -Dm644 sshuttle.8 "$pkgdir/usr/share/man/man8/sshuttle.8"
+  install -Dm644 docs/_build/man/sshuttle.1 "$pkgdir/usr/share/man/man1/sshuttle.1"
 
   install -d "$pkgdir/etc/sshuttle"
   install -m644 "$srcdir"/{tunnel.conf,prefixes.conf} "$pkgdir/etc/sshuttle"



More information about the arch-commits mailing list