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

Felix Yan felixonmars at gemini.archlinux.org
Sun Aug 8 14:37:59 UTC 2021


    Date: Sunday, August 8, 2021 @ 14:37:58
  Author: felixonmars
Revision: 994984

upgpkg: sshuttle 1.0.5-3: update dependency on python-setuptools-scm and disable flake8

Modified:
  sshuttle/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-08 14:37:27 UTC (rev 994983)
+++ PKGBUILD	2021-08-08 14:37:58 UTC (rev 994984)
@@ -3,16 +3,16 @@
 
 pkgname=sshuttle
 pkgver=1.0.5
-pkgrel=2
+pkgrel=3
 pkgdesc='Transparent proxy server that forwards all TCP packets over ssh'
 arch=('any')
 url="https://github.com/sshuttle/sshuttle"
 license=('GPL2')
 depends=('python-psutil' 'iptables' 'openssh' 'net-tools')
-makedepends=('python-sphinx' 'python-setuptools_scm')
-checkdepends=('python-pytest-cov' 'python-pytest-runner' 'python-mock' 'flake8')
+makedepends=('python-sphinx' 'python-setuptools-scm')
+checkdepends=('python-pytest-cov' 'python-pytest-runner' 'python-mock')
 backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sshuttle/$pkgname/archive/v$pkgver.tar.gz"
+source=("https://github.com/sshuttle/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
         'sshuttle.service' 'prefixes.conf' 'tunnel.conf')
 sha512sums=('d58cff77625eca0ffba44bd19553bb2043df99dac4e204b3269ffe1be6dae38009eb6ac42e575322b903945b406d6008f70360e0597bed3913c0ebf0562e9a68'
             'c22504798f6220cd6b0946d6975375437c52753a241cd2a6a03d3aeb005ed1d78e6356dde23716e2514ccf6d7f1c6aace43956dbeede1bf028753b9bdcdd8b7d'
@@ -21,6 +21,11 @@
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '/flake8/d' setup.py
+}
+
 build() {
   cd $pkgname-$pkgver
   python setup.py build



More information about the arch-commits mailing list