forked from ports/contrib
18 lines
529 B
Plaintext
18 lines
529 B
Plaintext
|
# Description: SOCKS4, SOCKS5 or HTTP proxy (Anorov fork PySocks replaces socksipy).
|
||
|
# URL: https://github.com/Anorov/PySocks
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Packager: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: python3-setuptools
|
||
|
|
||
|
name=python3-pysocks
|
||
|
_name=PySocks
|
||
|
version=1.6.7
|
||
|
release=1
|
||
|
source=(https://github.com/Anorov/$_name/archive/$version/$_name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $_name-$version
|
||
|
/usr/bin/python3 setup.py build
|
||
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
|
||
|
}
|