Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Omnibus lint pass for SPDX errors - packages in the python-* family
@ 2021-05-08 22:46 heliocat
  2021-05-09 20:35 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: heliocat @ 2021-05-08 22:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

There is a new pull request by heliocat against master on the void-packages repository

https://github.com/heliocat/void-packages lint_python
https://github.com/void-linux/void-packages/pull/30753

Omnibus lint pass for SPDX errors - packages in the python-* family
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



A patch file from https://github.com/void-linux/void-packages/pull/30753.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lint_python-30753.patch --]
[-- Type: text/x-diff, Size: 7403 bytes --]

From 54061e02c149acc35dd64f2c36c1754235eae59c Mon Sep 17 00:00:00 2001
From: Colin Booth <colin@heliocat.net>
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 <al3hex@gmail.com>"
+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 <colin@heliocat.net>
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 <al3hex@gmail.com>"
-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 <colin@heliocat.net>
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 <orphan@voidlinux.org>"
+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 <colin@heliocat.net>
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 <mail@duncano.de>"
-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 <colin@heliocat.net>
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 <al3hex@gmail.com>"
+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 <colin@heliocat.net>
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 <duncaen@voidlinux.org>"
-license="PSF"
+license="PSF-2.0"
 homepage="http://spambayes.sourceforge.net/"
 distfiles="${PYPI_SITE}/s/spambayes/spambayes-${version}.tar.gz"
 checksum=188d650fa930b27f74c96233429bd48f96d304a22d401b34cde32839c81bd904

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: Omnibus lint pass for SPDX errors - packages in the python-* family
  2021-05-08 22:46 [PR PATCH] Omnibus lint pass for SPDX errors - packages in the python-* family heliocat
@ 2021-05-09 20:35 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-05-09 20:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

There's a merged pull request on the void-packages repository

Omnibus lint pass for SPDX errors - packages in the python-* family
https://github.com/void-linux/void-packages/pull/30753

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 22:46 [PR PATCH] Omnibus lint pass for SPDX errors - packages in the python-* family heliocat
2021-05-09 20:35 ` [PR PATCH] [Merged]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).