32 lines
823 B
Bash
32 lines
823 B
Bash
# Template file for 'python-pysocks'
|
|
pkgname=python-pysocks
|
|
version=1.6.8
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="PySocks-${version}"
|
|
build_style=python-module
|
|
pycompile_module="socks.py sockshandler.py"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python2 SOCKS client module"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="3-clause-BSD"
|
|
homepage="https://github.com/Anorov/PySocks"
|
|
distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz"
|
|
checksum=a7f32ce1ac2b3467b793fdf14b23ad2b3ae139bcb10b6331fdecdae97ac6b821
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-pysocks_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="socks.py sockshandler.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|