From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz}
Date: Sat, 05 Mar 2022 20:02:05 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35995@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages python-unused-rm
https://github.com/void-linux/void-packages/pull/35995
remove packages: python-{Pygments,pretend,Babel,pytz}
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### 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/35995.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-unused-rm-35995.patch --]
[-- Type: text/x-diff, Size: 11732 bytes --]
From be02dae172517c453bfd0833358ddf5d9db86be4 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 13:06:33 -0500
Subject: [PATCH 1/4] python-Pygments: remove package
---
srcpkgs/python-Pygments/template | 25 -------------------------
srcpkgs/python-Pygments/update | 2 --
srcpkgs/removed-packages/template | 1 +
3 files changed, 1 insertion(+), 27 deletions(-)
delete mode 100644 srcpkgs/python-Pygments/template
delete mode 100644 srcpkgs/python-Pygments/update
diff --git a/srcpkgs/python-Pygments/template b/srcpkgs/python-Pygments/template
deleted file mode 100644
index 51b6f977f847..000000000000
--- a/srcpkgs/python-Pygments/template
+++ /dev/null
@@ -1,25 +0,0 @@
-# Template file for 'python-Pygments'
-pkgname=python-Pygments
-version=2.5.2
-revision=4
-wrksrc="Pygments-${version}"
-build_style=python2-module
-hostmakedepends="python-setuptools"
-depends="python"
-checkdepends="python-pytest"
-short_desc="Python2 syntax highlighter"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="BSD-2-Clause"
-homepage="http://pygments.org/"
-distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz"
-checksum=98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe
-alternatives="pygments:pygmentize:/usr/bin/pygmentize2"
-
-do_check() {
- python2 -m pytest
-}
-
-post_install() {
- vlicense LICENSE
- mv ${DESTDIR}/usr/bin/pygmentize{,2}
-}
diff --git a/srcpkgs/python-Pygments/update b/srcpkgs/python-Pygments/update
deleted file mode 100644
index 542e7125fce2..000000000000
--- a/srcpkgs/python-Pygments/update
+++ /dev/null
@@ -1,2 +0,0 @@
-ignore="*rc*"
-pattern="Pygments-\K2\.5\.[0-9.]+(?=.tar)"
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index c9114fc0458e..73c0cf3f3628 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -263,6 +263,7 @@ replaces="
pystopwatch<=2019_2
python-M2Crypto<=0.35.2_7
python-Pillow<=6.2.2_3
+ python-Pygments<=2.5.2_4
python-PyQt4<=4.12.1_4
python-SecretStorage<=2.3.1_4
python-audit<=2.8.5_2
From 21a4957cb5e8bc143bac3452b51a7b65eca4554b Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 13:24:19 -0500
Subject: [PATCH 2/4] python-pretend: remove package
---
srcpkgs/python-pretend/template | 29 -----------------------------
srcpkgs/python3-pretend | 1 -
srcpkgs/python3-pretend/template | 19 +++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 20 insertions(+), 30 deletions(-)
delete mode 100644 srcpkgs/python-pretend/template
delete mode 120000 srcpkgs/python3-pretend
create mode 100644 srcpkgs/python3-pretend/template
diff --git a/srcpkgs/python-pretend/template b/srcpkgs/python-pretend/template
deleted file mode 100644
index be9054c5c481..000000000000
--- a/srcpkgs/python-pretend/template
+++ /dev/null
@@ -1,29 +0,0 @@
-# Template file for 'python-pretend'
-pkgname=python-pretend
-version=1.0.9
-revision=5
-wrksrc="pretend-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-short_desc="Make stubbing with Python2 easier"
-maintainer="Piotr Wójcik <chocimier@tlen.pl>"
-license="BSD-3-Clause"
-homepage="https://github.com/alex/pretend"
-distfiles="${PYPI_SITE}/p/pretend/pretend-${version}.tar.gz"
-checksum=c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10
-
-post_install() {
- vdoc README.rst
- vlicense LICENSE.rst
-}
-
-python3-pretend_package() {
- depends="python3"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vdoc README.rst
- vlicense LICENSE.rst
- }
-}
diff --git a/srcpkgs/python3-pretend b/srcpkgs/python3-pretend
deleted file mode 120000
index 50477566bea1..000000000000
--- a/srcpkgs/python3-pretend
+++ /dev/null
@@ -1 +0,0 @@
-python-pretend
\ No newline at end of file
diff --git a/srcpkgs/python3-pretend/template b/srcpkgs/python3-pretend/template
new file mode 100644
index 000000000000..591676f881b1
--- /dev/null
+++ b/srcpkgs/python3-pretend/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pretend'
+pkgname=python3-pretend
+version=1.0.9
+revision=5
+wrksrc="pretend-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Make stubbing with Python3 easier"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="BSD-3-Clause"
+homepage="https://github.com/alex/pretend"
+distfiles="${PYPI_SITE}/p/pretend/pretend-${version}.tar.gz"
+checksum=c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10
+
+post_install() {
+ vdoc README.rst
+ vlicense LICENSE.rst
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 73c0cf3f3628..92e675c84d65 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -283,6 +283,7 @@ replaces="
python-nose<=1.3.7_7
python-pgpdump<=1.5_10
python-pivy<=0.6.4_2
+ python-pretend<=1.0.9_5
python-pycryptodome<=3.9.7_3
python-pydns<=2.3.6_4
python-pyenet<=1.3.13.post7_2
From da595067e92c5eb3bc196a19ccb3600bcee2d7fe Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 13:51:41 -0500
Subject: [PATCH 3/4] python-Babel: remove package
---
srcpkgs/python-Babel/template | 30 ------------------------------
srcpkgs/python3-Babel | 1 -
srcpkgs/python3-Babel/template | 19 +++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 20 insertions(+), 31 deletions(-)
delete mode 100644 srcpkgs/python-Babel/template
delete mode 120000 srcpkgs/python3-Babel
create mode 100644 srcpkgs/python3-Babel/template
diff --git a/srcpkgs/python-Babel/template b/srcpkgs/python-Babel/template
deleted file mode 100644
index 4d110e70d474..000000000000
--- a/srcpkgs/python-Babel/template
+++ /dev/null
@@ -1,30 +0,0 @@
-# Template file for 'python-Babel'
-pkgname=python-Babel
-version=2.8.0
-revision=4
-wrksrc="${pkgname#*-}-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python-setuptools python-pytz"
-short_desc="Tools for internationalizing Python applications (Python2)"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="BSD-3-Clause"
-homepage="http://babel.pocoo.org/"
-distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
-checksum=1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38
-alternatives="babel:pybabel:/usr/bin/pybabel2"
-
-post_install() {
- vlicense LICENSE
-}
-
-python3-Babel_package() {
- depends="python3-setuptools python3-pytz"
- short_desc="${short_desc/Python2/Python3}"
- alternatives="babel:pybabel:/usr/bin/pybabel3"
- pkg_install() {
- vmove usr/bin/pybabel3
- vmove usr/lib/python3*
- vlicense LICENSE
- }
-}
diff --git a/srcpkgs/python3-Babel b/srcpkgs/python3-Babel
deleted file mode 120000
index d4dcb8aac70e..000000000000
--- a/srcpkgs/python3-Babel
+++ /dev/null
@@ -1 +0,0 @@
-python-Babel
\ No newline at end of file
diff --git a/srcpkgs/python3-Babel/template b/srcpkgs/python3-Babel/template
new file mode 100644
index 000000000000..9efd10a4e574
--- /dev/null
+++ b/srcpkgs/python3-Babel/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-Babel'
+pkgname=python3-Babel
+version=2.8.0
+revision=4
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools python3-pytz"
+short_desc="Tools for internationalizing Python applications (Python3)"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="http://babel.pocoo.org/"
+distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz"
+checksum=1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38
+
+post_install() {
+ vlicense LICENSE
+ ln -s /usr/bin/pybabel "${DESTDIR}/usr/bin/pybabel3"
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 92e675c84d65..ec1518d050f5 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -261,6 +261,7 @@ replaces="
pygtksourceview<=2.10.1_5
pyside-tools<=0.2.15_2
pystopwatch<=2019_2
+ python-Babel<=2.8.0_4
python-M2Crypto<=0.35.2_7
python-Pillow<=6.2.2_3
python-Pygments<=2.5.2_4
From 7443a25407d15a413e6856e2b7821cc5571e3156 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 13:59:52 -0500
Subject: [PATCH 4/4] python-pytz: remove package
---
srcpkgs/python-pytz/template | 38 -------------------------------
srcpkgs/python3-pytz | 1 -
srcpkgs/python3-pytz/template | 22 ++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 23 insertions(+), 39 deletions(-)
delete mode 100644 srcpkgs/python-pytz/template
delete mode 120000 srcpkgs/python3-pytz
create mode 100644 srcpkgs/python3-pytz/template
diff --git a/srcpkgs/python-pytz/template b/srcpkgs/python-pytz/template
deleted file mode 100644
index cc303c567518..000000000000
--- a/srcpkgs/python-pytz/template
+++ /dev/null
@@ -1,38 +0,0 @@
-# Template file for 'python-pytz'
-pkgname=python-pytz
-version=2021.3
-revision=2
-wrksrc="pytz-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python tzdata"
-checkdepends="python-pytest python3-pytest"
-short_desc="Python2 timezone library"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="MIT"
-homepage="https://pythonhosted.org/pytz/"
-distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
-checksum=acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326
-
-do_check() {
- PYTHONPATH=build-2.7/lib python2 -m pytest
- PYTHONPATh=build-${py3_ver}/lib python3 -m pytest
-}
-
-post_install() {
- # use system tz database
- for py_sitelib in $py2_sitelib $py3_sitelib; do
- rm -rf ${DESTDIR}/${py_sitelib}/pytz/zoneinfo
- ln -sf /usr/share/zoneinfo ${DESTDIR}/${py_sitelib}/pytz/zoneinfo
- done
- vlicense LICENSE.txt LICENSE
-}
-
-python3-pytz_package() {
- depends="python3 tzdata"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense LICENSE.txt LICENSE
- }
-}
diff --git a/srcpkgs/python3-pytz b/srcpkgs/python3-pytz
deleted file mode 120000
index 6a88c99e723a..000000000000
--- a/srcpkgs/python3-pytz
+++ /dev/null
@@ -1 +0,0 @@
-python-pytz
\ No newline at end of file
diff --git a/srcpkgs/python3-pytz/template b/srcpkgs/python3-pytz/template
new file mode 100644
index 000000000000..7bddbf1ddfd3
--- /dev/null
+++ b/srcpkgs/python3-pytz/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-pytz'
+pkgname=python3-pytz
+version=2021.3
+revision=2
+wrksrc="pytz-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3 tzdata"
+checkdepends="python3-pytest"
+short_desc="Python3 timezone library"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="MIT"
+homepage="https://pythonhosted.org/pytz/"
+distfiles="${PYPI_SITE}/p/pytz/pytz-${version}.tar.gz"
+checksum=acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326
+
+post_install() {
+ # use system tz database
+ rm -rf ${DESTDIR}/${py3_sitelib}/pytz/zoneinfo
+ ln -sf /usr/share/zoneinfo ${DESTDIR}/${py3_sitelib}/pytz/zoneinfo
+ vlicense LICENSE.txt LICENSE
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index ec1518d050f5..a912a733ef98 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -290,6 +290,7 @@ replaces="
python-pyenet<=1.3.13.post7_2
python-pyside<=1.2.2_7
python-pytest-relaxed<=1.1.2_2
+ python-pytz<=2021.3_2
python-reportlab<=3.5.42_3
python-requests<=2.26.0_2
python-spambayes<=1.1b3_3
next reply other threads:[~2022-03-05 19:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-05 19:02 classabbyamp [this message]
2022-03-05 19:03 ` classabbyamp
2022-03-05 19:33 ` [PR PATCH] [Updated] " classabbyamp
2022-03-05 19:43 ` classabbyamp
2022-03-05 19:51 ` classabbyamp
2022-03-05 20:30 ` [PR REVIEW] " paper42
2022-03-05 21:37 ` [PR PATCH] [Updated] " classabbyamp
2022-03-05 22:26 ` [PR PATCH] [Merged]: remove packages: python-{Pygments,pretend,Babel,pytz,pystache,configobj,cryptography_vectors} paper42
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35995@inbox.vuxu.org \
--to=classabbyamp@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).