Github messages for voidlinux
 help / color / mirror / Atom feed
From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-{jaraco*,portend,tempora}: update and switch to python-pep517
Date: Wed, 23 Mar 2022 22:08:56 +0100	[thread overview]
Message-ID: <20220323210856.suW8RtaW85-WqhIuCRxuEFNB6YVgsBWv8fG5u085cv4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36303@inbox.vuxu.org>

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

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages python3-jaraco
https://github.com/void-linux/void-packages/pull/36303

python3-{jaraco*,portend,tempora}: update and switch to python-pep517
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

Needs to be tested with:
- [ ] python3-CherryPy (depends on python3-portend and python3-jaraco.collections)
- [ ] python3-Cheroot (depends on python3-jaraco.functools)
- [ ] sabnzbd (depends on python3-portend)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 5c71c117560c88f61214b715bb0779c403257d85 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 19:30:47 +0100
Subject: [PATCH 01/10] python3-zipp: update to 3.7.0.

---
 srcpkgs/python3-zipp/template | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-zipp/template b/srcpkgs/python3-zipp/template
index ab7b82af8842..ba031f5a751e 100644
--- a/srcpkgs/python3-zipp/template
+++ b/srcpkgs/python3-zipp/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-zipp'
 pkgname=python3-zipp
-version=3.6.0
+version=3.7.0
 revision=1
 wrksrc="zipp-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="python3"
-checkdepends="python3-jaraco"
 short_desc="Pathlib-compatible Zipfile object wrapper (Python 3)"
 maintainer="Lorem <notloremipsum@protonmail.com>"
 license="MIT"
 homepage="https://github.com/jaraco/zipp"
 changelog="https://raw.githubusercontent.com/jaraco/zipp/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/z/zipp/zipp-${version}.tar.gz"
-checksum=71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832
+checksum=9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d
 # Needs unpackaged "jaraco.itertools"
 make_check=no
 

From 61907b6ff86c74c46b85959c2182aeba19ad0666 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 18:35:43 +0100
Subject: [PATCH 02/10] python3-importlib_metadata: update to 4.11.3.

---
 srcpkgs/python3-importlib_metadata/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-importlib_metadata/template b/srcpkgs/python3-importlib_metadata/template
index 95f75fa66350..9a21b1733f4d 100644
--- a/srcpkgs/python3-importlib_metadata/template
+++ b/srcpkgs/python3-importlib_metadata/template
@@ -1,16 +1,17 @@
 # Template file for 'python3-importlib_metadata'
 pkgname=python3-importlib_metadata
-version=4.8.1
-revision=2
+version=4.11.3
+revision=1
 wrksrc="importlib_metadata-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
 depends="python3-zipp"
 short_desc="Read metadata from Python packages (Python 3)"
 maintainer="Lorem <notloremipsum@protonmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/python/importlib_metadata"
+changelog="https://raw.githubusercontent.com/python/importlib_metadata/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
-checksum=f284b3e11256ad1e5d03ab86bb2ccd6f5339688ff17a4d797a0fe7df326f23b1
+checksum=ea4c597ebf37142f827b8f39299579e31685c31d3a438b59f469406afd0f2539
 # Needs unpackaged "pyfakefs"
 make_check=no

From 2104be9a7b05fa5bf249812930e87f5e9fe08251 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:03 +0100
Subject: [PATCH 03/10] python3-jaraco.classes: update to 3.2.1.

---
 srcpkgs/python3-jaraco.classes/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-jaraco.classes/template b/srcpkgs/python3-jaraco.classes/template
index 1c0f76247a63..bcfad68459eb 100644
--- a/srcpkgs/python3-jaraco.classes/template
+++ b/srcpkgs/python3-jaraco.classes/template
@@ -1,20 +1,19 @@
 # Template file for 'python3-jaraco.classes'
 pkgname=python3-jaraco.classes
-version=3.1.0
-revision=4
+version=3.2.1
+revision=1
 wrksrc="jaraco.classes-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3-jaraco python3-more-itertools"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-more-itertools"
 short_desc="Utility functions for Python class constructs (Python3)"
 maintainer="bra1nwave <bra1nwave@protonmail.com>"
 license="MIT"
 homepage="https://github.com/jaraco/jaraco.classes"
 changelog="https://raw.githubusercontent.com/jaraco/jaraco.classes/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/j/jaraco.classes/jaraco.classes-${version}.tar.gz"
-checksum=c38698ff8ef932eb33d91c0e8fc192ad7c44ecee03f7f585afd4f35aeaef7aab
+checksum=ed54b728af1937dc16b7236fbaf34ba561ba1ace572b03fffa5486ed363ecf34
 
 post_install() {
-	rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py
 	vlicense LICENSE
 }

From c596aa3be3e43b796ca2bcea09248ddef0cbb0fc Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:07 +0100
Subject: [PATCH 04/10] python3-jaraco.collections: update to 3.5.1.

---
 srcpkgs/python3-jaraco.collections/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-jaraco.collections/template b/srcpkgs/python3-jaraco.collections/template
index b82e8908866a..c7d643a4f92f 100644
--- a/srcpkgs/python3-jaraco.collections/template
+++ b/srcpkgs/python3-jaraco.collections/template
@@ -1,20 +1,19 @@
 # Template file for 'python3-jaraco.collections'
 pkgname=python3-jaraco.collections
-version=3.0.0
-revision=4
+version=3.5.1
+revision=1
 wrksrc="jaraco.collections-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3-jaraco.classes python3-jaraco.text python3-six"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-jaraco.classes python3-jaraco.text"
 short_desc="Collection of objects similar to stdlib by jaraco (Python3)"
 maintainer="bra1nwave <bra1nwave@protonmail.com>"
 license="MIT"
 homepage="https://github.com/jaraco/jaraco.collections"
 changelog="https://raw.githubusercontent.com/jaraco/jaraco.collections/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/j/jaraco.collections/jaraco.collections-${version}.tar.gz"
-checksum=be570ef4f2e7290b757449395238fa63d70a9255574624e73c5ff9f1ee554721
+checksum=b04f00bd4b3c4fc4ba5fe1baf8042c0efd192b13e386830ea23fff77bb69dc88
 
 post_install() {
-	rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py
 	vlicense LICENSE
 }

From 51576ff5aed94115abfb7c42227199fe74bc411e Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:11 +0100
Subject: [PATCH 05/10] python3-jaraco.functools: update to 3.5.0.

---
 srcpkgs/python3-jaraco.functools/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-jaraco.functools/template b/srcpkgs/python3-jaraco.functools/template
index 543cd11ec3b8..da6c540ba7a2 100644
--- a/srcpkgs/python3-jaraco.functools/template
+++ b/srcpkgs/python3-jaraco.functools/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-jaraco.functools'
 pkgname=python3-jaraco.functools
-version=3.3.0
-revision=2
+version=3.5.0
+revision=1
 wrksrc="jaraco.functools-${version}"
-build_style=python3-module
+build_style=python3-pep517
 make_check_args="--override-ini='addopts=--doctest-modules'"
-hostmakedepends="python3-setuptools_scm python3-more-itertools"
-depends="python3-more-itertools python3-jaraco"
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-more-itertools"
 checkdepends="${depends} python3-pytest python3-jaraco.classes"
 short_desc="Functools like those found in stdlib (Python3)"
 maintainer="bra1nwave <bra1nwave@protonmail.com>"
@@ -14,7 +14,7 @@ license="MIT"
 homepage="https://github.com/jaraco/jaraco.functools"
 changelog="https://raw.githubusercontent.com/jaraco/jaraco.functools/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/j/jaraco.functools/jaraco.functools-${version}.tar.gz"
-checksum=bfcf7da71e2a0e980189b0744b59dba6c1dcf66dcd7a30f8a4413e478046b314
+checksum=31e0e93d1027592b7b0bec6ad468db850338981ebee76ba5e212e235f4c7dda0
 
 post_install() {
 	vlicense LICENSE

From 47e6246849d30192d7d6df8d7a23d5c7cc9a846b Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 21:16:37 +0100
Subject: [PATCH 06/10] New package: python3-jaraco.context-4.1.1

---
 srcpkgs/python3-jaraco.context/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jaraco.context/template

diff --git a/srcpkgs/python3-jaraco.context/template b/srcpkgs/python3-jaraco.context/template
new file mode 100644
index 000000000000..dcd72f5723dd
--- /dev/null
+++ b/srcpkgs/python3-jaraco.context/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jaraco.context'
+pkgname=python3-jaraco.context
+version=4.1.1
+revision=1
+wrksrc="jaraco.context-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+short_desc="Context managers by jaraco"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/jaraco/jaraco.context"
+changelog="https://raw.githubusercontent.com/jaraco/jaraco.context/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/j/jaraco.context/jaraco.context-${version}.tar.gz"
+checksum=f0d4d82ffbbbff680384eba48a32a3167f12a91a30a7db56fd97b87e73a87241
+
+post_install() {
+	vlicense LICENSE
+}

From 14a954fe7649bc4bce39e5f0f5a25b653f7d4191 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:16 +0100
Subject: [PATCH 07/10] python3-jaraco.text: update to 3.7.0.

---
 srcpkgs/python3-jaraco.text/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-jaraco.text/template b/srcpkgs/python3-jaraco.text/template
index bc551cdabe7f..cba91bbe6237 100644
--- a/srcpkgs/python3-jaraco.text/template
+++ b/srcpkgs/python3-jaraco.text/template
@@ -1,20 +1,20 @@
 # Template file for 'python3-jaraco.text'
 pkgname=python3-jaraco.text
-version=3.2.0
-revision=4
+version=3.7.0
+revision=1
 wrksrc="jaraco.text-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3-jaraco.functools python3-six"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-jaraco.functools python3-six python3-jaraco.context"
+checkdepends="$depends python3-pytest"
 short_desc="Module for text manipulation (Python3)"
 maintainer="bra1nwave <bra1nwave@protonmail.com>"
 license="MIT"
 homepage="https://github.com/jaraco/jaraco.text"
 changelog="https://raw.githubusercontent.com/jaraco/jaraco.text/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/j/jaraco.text/jaraco.text-${version}.tar.gz"
-checksum=e5078b1126cc0f166c7859aa75103a56c0d0f39ebcafc21695615472e0f810ec
+checksum=a7f9cc1b44a5f3096a216cbd130b650c7a6b2c9f8005b000ae97f329239a7c00
 
 post_install() {
-	rm -r ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py
 	vlicense LICENSE
 }

From 324733990ffabaae81a94c761b13f58f676b93a9 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:24 +0100
Subject: [PATCH 08/10] python3-portend: update to 3.1.0.

---
 srcpkgs/python3-portend/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-portend/template b/srcpkgs/python3-portend/template
index 5766db04cbef..297fb02a49ef 100644
--- a/srcpkgs/python3-portend/template
+++ b/srcpkgs/python3-portend/template
@@ -1,11 +1,11 @@
 # Template file for 'python3-portend'
 pkgname=python3-portend
-version=2.7.1
-revision=2
+version=3.1.0
+revision=1
 wrksrc="portend-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3-tempora python3-jaraco.functools"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-tempora"
 checkdepends="python3-pytest $depends"
 short_desc="TCP port monitoring utilities (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://github.com/jaraco/portend"
 changelog="https://github.com/jaraco/portend/blob/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/p/portend/portend-${version}.tar.gz"
-checksum=986ed9a278e64a87b5b5f4c21e61c25bebdce9919a92238d9c14c37a7416482b
+checksum=239e3116045ea823f6df87d6168107ad75ccc0590e37242af0cc1e98c5d224e4
 
 post_install() {
 	vlicense LICENSE

From ed6c319a2d9bc440d7b87848293fb8b8e29b2102 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 20:47:29 +0100
Subject: [PATCH 09/10] python3-tempora: update to 5.0.1.

---
 srcpkgs/python3-tempora/template | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-tempora/template b/srcpkgs/python3-tempora/template
index 2b9efced6fd2..3fb249bf2b1f 100644
--- a/srcpkgs/python3-tempora/template
+++ b/srcpkgs/python3-tempora/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-tempora'
 pkgname=python3-tempora
-version=4.1.1
-revision=2
+version=5.0.1
+revision=1
 wrksrc="tempora-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3-setuptools python3-six python3-pytz"
-checkdepends="python3-pytest python3-freezegun
- python3-jaraco python3-jaraco.functools $depends"
+build_style=python3-pep517
+hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3-setuptools python3-pytz python3-jaraco.functools"
+checkdepends="python3-pytest python3-freezegun $depends"
 short_desc="Objects and routines pertaining to date and time (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/jaraco/tempora"
 distfiles="${PYPI_SITE}/t/tempora/tempora-${version}.tar.gz"
-checksum=c54da0f05405f04eb67abbb1dff4448fd91428b58cb00f0f645ea36f6a927950
+checksum=cba0f197a64883bf3e73657efbc0324d5bf17179e7769b1385b4d75d26cd9127
 alternatives="tempora:calc-prorate:/usr/bin/calc-prorate3"
 
 do_check() {

From 32fe1fddfbb3eedbf0d3f2ef14b2d943e3a31caa Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Wed, 23 Mar 2022 22:01:39 +0100
Subject: [PATCH 10/10] python3-jaraco: remove package

---
 srcpkgs/python3-jaraco/template | 17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100644 srcpkgs/python3-jaraco/template

diff --git a/srcpkgs/python3-jaraco/template b/srcpkgs/python3-jaraco/template
deleted file mode 100644
index ce4eca455d0d..000000000000
--- a/srcpkgs/python3-jaraco/template
+++ /dev/null
@@ -1,17 +0,0 @@
-# Template file for 'python3-jaraco'
-pkgname=python3-jaraco
-version=1.0
-revision=4
-create_wrksrc=yes
-depends="python3"
-short_desc="Namespace package declaration for jaraco (Python3)"
-maintainer="bra1nwave <bra1nwave@protonmail.com>"
-license="Public Domain"
-homepage="https://www.voidlinux.org/"
-
-do_install() {
-	vmkdir ${py3_sitelib}/jaraco
-	cat > ${DESTDIR}/${py3_sitelib}/jaraco/__init__.py <<-EOF
-		__path__ = __import__('pkgutil').extend_path(__path__, __name__)
-	EOF
-}

  parent reply	other threads:[~2022-03-23 21:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 19:57 [PR PATCH] python3-{jaraco*,portend,tempora} " tibequadorian
2022-03-23 20:19 ` [PR PATCH] [Updated] python3-{jaraco*,portend,tempora}: " tibequadorian
2022-03-23 21:00 ` tibequadorian
2022-03-23 21:08 ` tibequadorian [this message]
2022-03-23 21:31 ` tibequadorian
2022-03-23 21:32 ` tibequadorian
2022-03-24 11:29 ` tibequadorian
2022-03-24 11:44 ` tibequadorian
2022-05-03 13:29 ` ahesford
2022-05-04 11:52 ` [PR PATCH] [Updated] " tibequadorian
2022-05-22 11:36 ` [PR PATCH] [Merged]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220323210856.suW8RtaW85-WqhIuCRxuEFNB6YVgsBWv8fG5u085cv4@z \
    --to=tibequadorian@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).