void-packages/srcpkgs/python-pysocks/template

30 lines
741 B
Bash

# Template file for 'python-pysocks'
pkgname=python-pysocks
version=1.7.0
revision=1
archs=noarch
wrksrc="PySocks-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 SOCKS client module"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/Anorov/PySocks"
distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz"
checksum=b6dbd9daf8ebe75c9f76b54c9747d3d1f1d5ac54d540e44b7eb93936ae38b01a
post_install() {
vlicense LICENSE
}
python3-pysocks_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}