From: 0x5c <0x5c@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-importlib_metadata: remove.
Date: Tue, 02 Aug 2022 05:14:51 +0200 [thread overview]
Message-ID: <20220802031451.tVU6ZfQGt9h2Aw7-14qJsgpKReZJc3r7NlM_dPE5gXk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38287@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1877 bytes --]
There is an updated pull request by 0x5c against master on the void-packages repository
https://github.com/0x5c/void-packages remove-importlib_metadata
https://github.com/void-linux/void-packages/pull/38287
python3-importlib_metadata: remove.
python3-importlib_metadata is a backport of new-ish importlib APIs for python
versions under 3.10 (3.8 in some cases). Since Void already has python 3.10,
the backport is completely unused.
The only packages depending on this were `python3-pymediainfo` (before #38205) and `python3-keyring` (before 051838657f2d7f1fb6674588ebe192e2db170eb7).
~~This package is also the only thing using `python3-zipp`, a similar backport of `zipfile.Path` from py3.11. Since nothing in the repos is using it, I'd be tempted to remove it as well but I am not sure if I should.~~ `python3-zipp` is now also removed by this PR.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### 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 add ci skip tag as described in
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/38287.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-remove-importlib_metadata-38287.patch --]
[-- Type: text/x-diff, Size: 3969 bytes --]
From 1b6253eee35d4edc1d3e1a3f185f7937405ae459 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Tue, 26 Jul 2022 14:01:01 -0400
Subject: [PATCH 1/2] python3-importlib_metadata: remove.
python3-importlib_metadata is a backport of new-ish importlib APIs for python
versions under 3.10 (3.8 in some cases). Since Void already has python 3.10,
the backport is completely unused.
---
srcpkgs/python3-importlib_metadata/template | 16 ----------------
srcpkgs/removed-packages/template | 1 +
2 files changed, 1 insertion(+), 16 deletions(-)
delete mode 100644 srcpkgs/python3-importlib_metadata/template
diff --git a/srcpkgs/python3-importlib_metadata/template b/srcpkgs/python3-importlib_metadata/template
deleted file mode 100644
index 95f75fa66350..000000000000
--- a/srcpkgs/python3-importlib_metadata/template
+++ /dev/null
@@ -1,16 +0,0 @@
-# Template file for 'python3-importlib_metadata'
-pkgname=python3-importlib_metadata
-version=4.8.1
-revision=2
-wrksrc="importlib_metadata-${version}"
-build_style=python3-module
-hostmakedepends="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"
-distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
-checksum=f284b3e11256ad1e5d03ab86bb2ccd6f5339688ff17a4d797a0fe7df326f23b1
-# Needs unpackaged "pyfakefs"
-make_check=no
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index bd079be17aef..0dd6bd5f0ec3 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -341,6 +341,7 @@ replaces="
python3-docker-pycreds<=0.4.0_4
python3-grako<=3.99.9_7
python3-idna-ssl<=1.1.0_3
+ python3-importlib_metadata<=4.8.1_2
python3-jaraco<=1.0_4
python3-jsonrpc-server<=0.4.0_2
python3-keepalive<=0.5_6
From 2abe7fd9ebafd4569a7cc725f44e2b18395fca6a Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 1 Aug 2022 22:05:38 -0400
Subject: [PATCH 2/2] python3-zipp: remove.
This unused package is a backport of zipfile.path for python versions
before 3.10
---
srcpkgs/python3-zipp/template | 21 ---------------------
srcpkgs/removed-packages/template | 3 ++-
2 files changed, 2 insertions(+), 22 deletions(-)
delete mode 100644 srcpkgs/python3-zipp/template
diff --git a/srcpkgs/python3-zipp/template b/srcpkgs/python3-zipp/template
deleted file mode 100644
index 3ee5592a36d8..000000000000
--- a/srcpkgs/python3-zipp/template
+++ /dev/null
@@ -1,21 +0,0 @@
-# Template file for 'python3-zipp'
-pkgname=python3-zipp
-version=3.6.0
-revision=1
-wrksrc="zipp-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
-depends="python3"
-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
-# Needs unpackaged "jaraco.itertools"
-make_check=no
-
-post_install() {
- vlicense LICENSE
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 0dd6bd5f0ec3..881748f76100 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1
-revision=71
+revision=72
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -353,6 +353,7 @@ replaces="
python3-pyside<=5.15.0_2
python3-shiboken<=5.15.0_3
python3-txacme<=0.9.3_3
+ python3-zipp<=3.6.0_1
qimageblitz<=0.0.6_4
qt-designer-devel<=4.8.7_29
qt-designer-libs<=4.8.7_29
next prev parent reply other threads:[~2022-08-02 3:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 19:44 [PR PATCH] " 0x5c
2022-08-01 18:14 ` ahesford
2022-08-02 2:49 ` [PR PATCH] [Updated] " 0x5c
2022-08-02 3:07 ` 0x5c
2022-08-02 3:14 ` 0x5c [this message]
2022-08-02 3:16 ` [PR PATCH] [Merged]: " classabbyamp
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=20220802031451.tVU6ZfQGt9h2Aw7-14qJsgpKReZJc3r7NlM_dPE5gXk@z \
--to=0x5c@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).