[arch-commits] Commit in shadowsocks/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Feb 1 07:58:10 UTC 2016
Date: Monday, February 1, 2016 @ 08:58:09
Author: fyan
Revision: 159773
upgpkg: shadowsocks 2.8.2.20160112-1
Modified:
shadowsocks/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-01 07:51:18 UTC (rev 159772)
+++ PKGBUILD 2016-02-01 07:58:09 UTC (rev 159773)
@@ -2,18 +2,19 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=shadowsocks
-pkgver=2.8.2
-pkgrel=2
+pkgver=2.8.2.20160112
+_commit=b9766ce5df1af306f690279d8eeb09bb99751ec9
+pkgrel=1
pkgdesc="A lightweight tunnel proxy"
license=('Apache')
url="http://pypi.python.org/pypi/shadowsocks"
arch=('any')
depends=('python' 'python-setuptools')
+makedepends=('git')
optdepends=('libsodium: For salsa20 and chacha20 support')
-makedepends=('git')
-#checkdepends=('dante' 'bind-tools')
+checkdepends=('python-coverage' 'pep8' 'python-pyflakes' 'libsodium' 'python-nose' 'dante' 'procps-ng' 'util-linux')
install=${pkgname}.install
-source=("git+https://github.com/shadowsocks/shadowsocks.git#tag=$pkgver"
+source=("git+https://github.com/shadowsocks/shadowsocks.git#commit=$_commit"
"shadowsocks at .service"
"shadowsocks-server at .service")
sha512sums=('SKIP'
@@ -22,18 +23,7 @@
check() {
cd shadowsocks
-
- # Tests require internet access
- return
-
- python tests/test.py -c tests/table.json
- python tests/test.py -c tests/aes.json
- python tests/test.py -c tests/rc4-md5.json
- python tests/test.py -c tests/salsa20.json
- python tests/test.py -c tests/server-multi-ports.json
- python tests/test.py -c tests/server-multi-passwd.json
- python tests/test.py -c tests/server-multi-passwd-table.json
- python tests/test.py -c tests/workers.json
+ tests/jenkins.sh || warning "Tests failed"
}
package() {
More information about the arch-commits
mailing list