From ddd3a7ea6cdfe8aa22b04694633cac1f9b3a808f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 25 Jun 2017 12:27:46 +0200 Subject: [PATCH] python-pysocks: add missing pycompile_module 'Custom' is not a license. License is 3-clause-BSD. --- srcpkgs/python-pysocks/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-pysocks/template b/srcpkgs/python-pysocks/template index 64f16df1d05..28cdce5e699 100644 --- a/srcpkgs/python-pysocks/template +++ b/srcpkgs/python-pysocks/template @@ -1,15 +1,16 @@ # Template file for 'python-pysocks' pkgname=python-pysocks version=1.6.7 -revision=1 -wrksrc=PySocks-${version} +revision=2 noarch=yes +wrksrc="PySocks-${version}" build_style=python-module -depends="python" +pycompile_module="socks.py sockshandler.py" hostmakedepends="python-setuptools python3-setuptools" -short_desc="A Python2 SOCKS and HTTP proxy wrapper" +depends="python" +short_desc="Python2 SOCKS client module" maintainer="Sir_Boops " -license="Custom" +license="3-clause-BSD" homepage="https://github.com/Anorov/PySocks" distfiles="https://github.com/Anorov/PySocks/archive/${version}.tar.gz" checksum=267b0bf77c947a6209e9a5d55827da5e080305b5e69ac36f4ae8046e0a357da1 @@ -21,6 +22,7 @@ post_install() { python3-pysocks_package() { noarch=yes depends="python3" + pycompile_module="socks.py sockshandler.py" short_desc="${short_desc/Python2/Python3}" pkg_install() { vlicense LICENSE