[arch-commits] Commit in python-pysocks/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 30 03:47:48 UTC 2016
Date: Wednesday, November 30, 2016 @ 03:47:48
Author: felixonmars
Revision: 197407
archrelease: copy trunk to community-any
Added:
python-pysocks/repos/community-any/PKGBUILD
(from rev 197406, python-pysocks/trunk/PKGBUILD)
Deleted:
python-pysocks/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-30 03:47:32 UTC (rev 197406)
+++ PKGBUILD 2016-11-30 03:47:48 UTC (rev 197407)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Michael Schubert <mschu.dev at gmail>
-
-pkgbase=python-pysocks
-pkgname=(python-pysocks python2-pysocks)
-pkgver=1.5.7
-pkgrel=1
-pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
-arch=('any')
-license=('BSD')
-url="https://github.com/Anorov/PySocks"
-makedepends=('python' 'python2' 'git')
-checkdepends=('lib32-glibc' 'python2-twisted' 'python2-tornado')
-source=("git+https://github.com/Anorov/PySocks.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a PySocks{,-py2}
-}
-
-build() {
- cd "$srcdir"/PySocks
- python setup.py build
-
- cd "$srcdir"/PySocks-py2
- python2 setup.py build
-}
-
-# Tests disabled as it requires external services to run
-check_disabled() {
- cd "$srcdir"/PySocks-py2/test
- python2 socks4server.py &
- _SOCKS4SERVER=$!
- python2 httpproxy.py &
- _HTTPPROXY=$1
-
- ./mocks start
-
- sleep 1
-
- python2 sockstest.py
-
- cd "$srcdir"/PySocks/test
- python sockstest.py
-
- ./mocks shutdown
-
- kill $_SOCKS4SERVER $_HTTPPROXY
-}
-
-package_python-pysocks() {
- depends=('python')
-
- cd PySocks
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
-
-package_python2-pysocks() {
- depends=('python2')
-
- cd PySocks-py2
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-}
Copied: python-pysocks/repos/community-any/PKGBUILD (from rev 197406, python-pysocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-30 03:47:48 UTC (rev 197407)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Schubert <mschu.dev at gmail>
+
+pkgbase=python-pysocks
+pkgname=(python-pysocks python2-pysocks)
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy)"
+arch=('any')
+license=('BSD')
+url="https://github.com/Anorov/PySocks"
+makedepends=('python' 'python2' 'git')
+checkdepends=('lib32-glibc' 'python2-twisted' 'python2-tornado')
+source=("git+https://github.com/Anorov/PySocks.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a PySocks{,-py2}
+}
+
+build() {
+ cd "$srcdir"/PySocks
+ python setup.py build
+
+ cd "$srcdir"/PySocks-py2
+ python2 setup.py build
+}
+
+# Tests disabled as it requires external services to run
+check_disabled() {
+ cd "$srcdir"/PySocks-py2/test
+ python2 socks4server.py &
+ _SOCKS4SERVER=$!
+ python2 httpproxy.py &
+ _HTTPPROXY=$1
+
+ ./mocks start
+
+ sleep 1
+
+ python2 sockstest.py
+
+ cd "$srcdir"/PySocks/test
+ python sockstest.py
+
+ ./mocks shutdown
+
+ kill $_SOCKS4SERVER $_HTTPPROXY
+}
+
+package_python-pysocks() {
+ depends=('python')
+
+ cd PySocks
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+package_python2-pysocks() {
+ depends=('python2')
+
+ cd PySocks-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list