diff --git a/srcpkgs/python-pysocks/template b/srcpkgs/python-pysocks/template new file mode 100644 index 00000000000..64f16df1d05 --- /dev/null +++ b/srcpkgs/python-pysocks/template @@ -0,0 +1,29 @@ +# Template file for 'python-pysocks' +pkgname=python-pysocks +version=1.6.7 +revision=1 +wrksrc=PySocks-${version} +noarch=yes +build_style=python-module +depends="python" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="A Python2 SOCKS and HTTP proxy wrapper" +maintainer="Sir_Boops " +license="Custom" +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" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vlicense LICENSE + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-pysocks b/srcpkgs/python3-pysocks new file mode 120000 index 00000000000..5700cac8fb7 --- /dev/null +++ b/srcpkgs/python3-pysocks @@ -0,0 +1 @@ +python-pysocks \ No newline at end of file