diff --git a/srcpkgs/python-pysocks/template b/srcpkgs/python-pysocks/template deleted file mode 100644 index ca508a4a7cc..00000000000 --- a/srcpkgs/python-pysocks/template +++ /dev/null @@ -1,29 +0,0 @@ -# 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 " -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* - } -} diff --git a/srcpkgs/python3-pysocks b/srcpkgs/python3-pysocks deleted file mode 120000 index 5700cac8fb7..00000000000 --- a/srcpkgs/python3-pysocks +++ /dev/null @@ -1 +0,0 @@ -python-pysocks \ No newline at end of file diff --git a/srcpkgs/python3-pysocks/template b/srcpkgs/python3-pysocks/template new file mode 100644 index 00000000000..f7b3d4f57c3 --- /dev/null +++ b/srcpkgs/python3-pysocks/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pysocks' +pkgname=python3-pysocks +version=1.7.0 +revision=2 +wrksrc="PySocks-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 SOCKS client module" +maintainer="Benjamín Albiñana " +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 +}