From 54061e02c149acc35dd64f2c36c1754235eae59c Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 13:55:30 -0700 Subject: [PATCH 1/6] python-chardet: fix license, other lint --- srcpkgs/python-chardet/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-chardet/template b/srcpkgs/python-chardet/template index 276b8e949804..4af1148333f5 100644 --- a/srcpkgs/python-chardet/template +++ b/srcpkgs/python-chardet/template @@ -1,7 +1,7 @@ # Template file for 'python-chardet' pkgname=python-chardet version=4.0.0 -revision=1 +revision=2 wrksrc="chardet-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" @@ -9,8 +9,8 @@ depends="python-setuptools" checkdepends="python3-pytest python-pytest" short_desc="Universal encoding detector for Python 2 and 3 (Python2)" maintainer="Alessio Sergi " +license="LGPL-2.1-only" homepage="https://github.com/chardet/chardet" -license="LGPL-2.1" distfiles="${PYPI_SITE}/c/chardet/chardet-${version}.tar.gz" checksum=0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa alternatives="chardet:chardetect:/usr/bin/chardetect2" From b9404aa5ca94ff312ffc9463ca9f8ccfdb48b8d3 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 14:12:22 -0700 Subject: [PATCH 2/6] python-backports: fix license, update homepage --- srcpkgs/python-backports/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-backports/template b/srcpkgs/python-backports/template index 8bd3bb28526d..77409ecd82f1 100644 --- a/srcpkgs/python-backports/template +++ b/srcpkgs/python-backports/template @@ -1,15 +1,14 @@ # Template file for 'python-backports' pkgname=python-backports version=1.0 -revision=4 +revision=5 wrksrc="backports-${version}" build_style=python2-module -pycompile_module="backports" hostmakedepends="python" depends="python" short_desc="Namespace for backported Python features" maintainer="Alessio Sergi " -homepage="https://bitbucket.org/brandon/backports" -license="PSF" +license="PSF-2.0" +homepage="https://pypi.org/project/backports/" distfiles="https://dev.gentoo.org/~radhermit/dist/backports-${version}.tar.gz" checksum=ee43d5b7bf4e79e04fbab30a09421cb5cbf4f56e7c14769393a7d1c34ea5e740 From 6723d5ecc659f875fd7f4049f31cef901adca97d Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 14:19:20 -0700 Subject: [PATCH 3/6] python-distutils-extra: fix license, other lint --- srcpkgs/python-distutils-extra/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-distutils-extra/template b/srcpkgs/python-distutils-extra/template index 61648d80cedf..47d4c8cf11f7 100644 --- a/srcpkgs/python-distutils-extra/template +++ b/srcpkgs/python-distutils-extra/template @@ -1,21 +1,19 @@ # Template file for 'python-distutils-extra' pkgname=python-distutils-extra version=2.39 -revision=6 +revision=7 build_style=python-module -pycompile_module="DistUtilsExtra" hostmakedepends="intltool python-setuptools python3-setuptools" depends="python" short_desc="Enhancements to the Python2 build system" maintainer="Orphaned " +license="GPL-2.0-or-later" homepage="https://launchpad.net/python-distutils-extra" -license="GPL-2" distfiles="http://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz" checksum=723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af python3-distutils-extra_package() { depends="python3" - pycompile_module="DistUtilsExtra" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* From ff81b4cecdab421b656523f1a18f85d24106475e Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 15:16:37 -0700 Subject: [PATCH 4/6] python-pgpdump: fix license, other lint --- srcpkgs/python-pgpdump/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-pgpdump/template b/srcpkgs/python-pgpdump/template index 4c629009edb5..f43a49156374 100644 --- a/srcpkgs/python-pgpdump/template +++ b/srcpkgs/python-pgpdump/template @@ -1,21 +1,23 @@ # Template file for 'python-pgpdump' pkgname=python-pgpdump version=1.5 -revision=8 +revision=9 build_style=python-module -pycompile_module="pgpdump" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 library for parsing PGP packets" maintainer="Duncaen " -license="BSD" +license="BSD-3-Clause" homepage="https://github.com/toofishes/python-pgpdump" distfiles="https://github.com/toofishes/python-pgpdump/archive/${version}.tar.gz" checksum=05383f66e467e855299d1ed51161c6038ac338d9d10bd33476b574dc3bef64ff +post_install() { + vlicense COPYRIGHT +} + python3-pgpdump_package() { depends="python3" - pycompile_module="pgpdump" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* From 84b03541493a620df6bf547e1e7185a2216d761b Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 15:21:37 -0700 Subject: [PATCH 5/6] python-ply: fix license, other lint --- srcpkgs/python-ply/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python-ply/template b/srcpkgs/python-ply/template index 37282837f2fa..55a017a9b66c 100644 --- a/srcpkgs/python-ply/template +++ b/srcpkgs/python-ply/template @@ -1,16 +1,15 @@ # Template file for 'python-ply' pkgname=python-ply version=3.11 -revision=4 +revision=5 wrksrc="ply-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" -pycompile_module="ply" short_desc="Lex and Yacc for Python2" maintainer="Alessio Sergi " +license="BSD-3-Clause" homepage="http://www.dabeaz.com/ply/" -license="3-clause-BSD" distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz" checksum=00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 @@ -21,7 +20,6 @@ post_install() { python3-ply_package() { depends="python3" - pycompile_module="ply" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* From 39565bc86d8d9dee44a44263de32e696a7df5975 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Sat, 8 May 2021 15:24:38 -0700 Subject: [PATCH 6/6] python-spambayes: fix license --- srcpkgs/python-spambayes/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-spambayes/template b/srcpkgs/python-spambayes/template index b05815bf02ae..04386eb3942f 100644 --- a/srcpkgs/python-spambayes/template +++ b/srcpkgs/python-spambayes/template @@ -1,14 +1,14 @@ # Template file for 'python-spambayes' pkgname=python-spambayes version=1.1b3 -revision=2 +revision=3 wrksrc=${pkgname#*-}-${version} build_style=python2-module hostmakedepends="python-setuptools" depends="python-lockfile python-pydns" short_desc="Spam classification system" maintainer="Duncaen " -license="PSF" +license="PSF-2.0" homepage="http://spambayes.sourceforge.net/" distfiles="${PYPI_SITE}/s/spambayes/spambayes-${version}.tar.gz" checksum=188d650fa930b27f74c96233429bd48f96d304a22d401b34cde32839c81bd904