2017-06-09 22:16:14 +02:00
|
|
|
# Template file for 'python-pysocks'
|
|
|
|
pkgname=python-pysocks
|
|
|
|
version=1.6.7
|
2017-08-28 06:58:17 +02:00
|
|
|
revision=3
|
2017-06-09 22:16:14 +02:00
|
|
|
noarch=yes
|
2017-06-25 12:27:46 +02:00
|
|
|
wrksrc="PySocks-${version}"
|
2017-06-09 22:16:14 +02:00
|
|
|
build_style=python-module
|
2017-06-25 12:27:46 +02:00
|
|
|
pycompile_module="socks.py sockshandler.py"
|
2017-06-09 22:16:14 +02:00
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-06-25 12:27:46 +02:00
|
|
|
depends="python"
|
|
|
|
short_desc="Python2 SOCKS client module"
|
2017-06-09 22:16:14 +02:00
|
|
|
maintainer="Sir_Boops <admin@boops.me>"
|
2017-06-25 12:27:46 +02:00
|
|
|
license="3-clause-BSD"
|
2017-06-09 22:16:14 +02:00
|
|
|
homepage="https://github.com/Anorov/PySocks"
|
|
|
|
distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz"
|
|
|
|
checksum=267b0bf77c947a6209e9a5d55827da5e080305b5e69ac36f4ae8046e0a357da1
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-pysocks_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3"
|
2017-06-25 12:27:46 +02:00
|
|
|
pycompile_module="socks.py sockshandler.py"
|
2017-06-09 22:16:14 +02:00
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
}
|
|
|
|
}
|