[arch-commits] Commit in sshuttle/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Sep 7 13:08:18 UTC 2022
Date: Wednesday, September 7, 2022 @ 13:08:17
Author: felixonmars
Revision: 1296086
upgpkg: sshuttle 1.1.1-1
Modified:
sshuttle/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-07 13:03:44 UTC (rev 1296085)
+++ PKGBUILD 2022-09-07 13:08:17 UTC (rev 1296086)
@@ -2,7 +2,7 @@
# Contributor: alphazo <alphazo at gmail.com>
pkgname=sshuttle
-pkgver=1.1.0
+pkgver=1.1.1
pkgrel=1
pkgdesc='Transparent proxy server that forwards all TCP packets over ssh'
arch=('any')
@@ -9,21 +9,19 @@
url="https://github.com/sshuttle/sshuttle"
license=('GPL2')
depends=('iptables' 'openssh' 'net-tools')
-makedepends=('python-sphinx' 'python-setuptools-scm')
-checkdepends=('python-pytest-cov' 'python-pytest-runner')
+makedepends=('python-sphinx' 'python-setuptools')
+checkdepends=('python-pytest')
backup=('etc/sshuttle/tunnel.conf' 'etc/sshuttle/prefixes.conf')
source=("https://github.com/sshuttle/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
'sshuttle.service' 'prefixes.conf' 'tunnel.conf')
-sha512sums=('272d40e3331ecf2f43db368e1cba28576edc5e40595be8b4d61ac2f3d356fa02cf538de307c76110ee16a88480dd065fa1313c863f39bcdf7442cbee3a39cef3'
+sha512sums=('4f670bee34653e47cf7a0c8550b2ac734230ccf0d4fb6191ae3a0c6404847c788c3cdf033bc1571f49472729029077aa6d6970f4bce78fa4980f1f29ccbd2f7a'
'c22504798f6220cd6b0946d6975375437c52753a241cd2a6a03d3aeb005ed1d78e6356dde23716e2514ccf6d7f1c6aace43956dbeede1bf028753b9bdcdd8b7d'
'cc5a5dee7991c7641fa8a4fb356e1977aa9d1cbfed63cb5ebf8732c4de76be841f66d9267472e70578b176f528d8cfb4f75e634d5d915f4c8bcdc0b801db8a13'
'acd3d0024d4604cc6a96609286c3f27bce2f0b70a068f58a2110dacc235b22ba7cd83c8989f46d0a9391eda7d272040bb3b1b2c547ae3fa0c9f61bef0a187dda')
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
prepare() {
cd $pkgname-$pkgver
- sed -i '/flake8/d' setup.py
+ sed -i '/--cov/d' setup.cfg
}
build() {
@@ -36,7 +34,7 @@
check() {
cd $pkgname-$pkgver
- python setup.py pytest
+ PYTHONPATH="$PWD/build/lib" pytest
}
package() {
More information about the arch-commits
mailing list