* Re: remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
@ 2022-03-05 19:03 ` classabbyamp
2022-03-05 19:33 ` [PR PATCH] [Updated] " classabbyamp
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-03-05 19:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/35995#issuecomment-1059816244
Comment:
those xlints are ignorable, I think
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
2022-03-05 19:03 ` classabbyamp
@ 2022-03-05 19:33 ` classabbyamp
2022-03-05 19:43 ` classabbyamp
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-03-05 19:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
There is an updated 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: 11829 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 3cc58e08d5e6c3506994c934d818df65228809c1 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, python3-Babel: update to
2.9.1.
---
srcpkgs/python-Babel/template | 30 ------------------------------
srcpkgs/python3-Babel | 1 -
srcpkgs/python3-Babel/template | 20 ++++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 21 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..fd127a304861
--- /dev/null
+++ b/srcpkgs/python3-Babel/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Babel'
+pkgname=python3-Babel
+version=2.9.1
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools python3-pytz"
+checkdepends="python3-pytest python3-pytz python3-freezegun"
+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=bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0
+
+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 e7a558e611bef9e3e2f7d28670d740123fe643f9 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 14:32:59 -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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
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
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-03-05 19:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
There is an updated 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: 11953 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 bbf7ce1a2266fd8308d73ada0441340b785b8b1c 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, python3-Babel: update to
2.9.1.
---
srcpkgs/python-Babel/template | 30 ------------------------------
srcpkgs/python3-Babel | 1 -
srcpkgs/python3-Babel/template | 22 ++++++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 23 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..7b23a619a099
--- /dev/null
+++ b/srcpkgs/python3-Babel/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-Babel'
+pkgname=python3-Babel
+version=2.9.1
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools python3-pytz"
+checkdepends="python3-pytest python3-pytz python3-freezegun"
+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=bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0
+# test_extract_error_code fails: https://github.com/python-babel/babel/issues/802#issuecomment-1029132391
+make_check=no
+
+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 1a7fbda279b51c1f3ff20c51dca190aa1fa546b7 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 14:42:42 -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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
` (2 preceding siblings ...)
2022-03-05 19:43 ` classabbyamp
@ 2022-03-05 19:51 ` classabbyamp
2022-03-05 20:30 ` [PR REVIEW] " paper42
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-03-05 19:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/35995#issuecomment-1059822548
Comment:
@paper42 for review
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
` (3 preceding siblings ...)
2022-03-05 19:51 ` classabbyamp
@ 2022-03-05 20:30 ` 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
6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-03-05 20:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/35995#discussion_r820144646
Comment:
```suggestion
ln -s pybabel "${DESTDIR}/usr/bin/pybabel3"
```
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] remove packages: python-{Pygments,pretend,Babel,pytz}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
` (4 preceding siblings ...)
2022-03-05 20:30 ` [PR REVIEW] " paper42
@ 2022-03-05 21:37 ` classabbyamp
2022-03-05 22:26 ` [PR PATCH] [Merged]: remove packages: python-{Pygments,pretend,Babel,pytz,pystache,configobj,cryptography_vectors} paper42
6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2022-03-05 21:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
There is an updated 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: 21439 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/7] 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/7] 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 c6fb175fbf1a75f1d010b04281dbd49c50eed6f1 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 13:51:41 -0500
Subject: [PATCH 3/7] python-Babel: remove package, python3-Babel: update to
2.9.1.
---
srcpkgs/python-Babel/template | 30 ------------------------------
srcpkgs/python3-Babel | 1 -
srcpkgs/python3-Babel/template | 23 +++++++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 24 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..65cf87312348
--- /dev/null
+++ b/srcpkgs/python3-Babel/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-Babel'
+pkgname=python3-Babel
+version=2.9.1
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools python3-pytz"
+checkdepends="python3-pytest python3-pytz python3-freezegun"
+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=bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0
+# test_extract_error_code fails: https://github.com/python-babel/babel/issues/802#issuecomment-1029132391
+make_check=no
+
+post_install() {
+ vlicense LICENSE
+ # for compatibility
+ ln -s 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 d2505150255290c4740af17b8ad028020d7173ab Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 14:42:42 -0500
Subject: [PATCH 4/7] 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
From c9ae52de21a634e8c95c6ccde056ecbfb151538e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 16:05:40 -0500
Subject: [PATCH 5/7] python-pystache: remove package
---
srcpkgs/python-pystache/template | 41 -------------------
srcpkgs/python3-pystache | 1 -
.../patches/setup.patch | 0
srcpkgs/python3-pystache/template | 25 +++++++++++
srcpkgs/removed-packages/template | 1 +
5 files changed, 26 insertions(+), 42 deletions(-)
delete mode 100644 srcpkgs/python-pystache/template
delete mode 120000 srcpkgs/python3-pystache
rename srcpkgs/{python-pystache => python3-pystache}/patches/setup.patch (100%)
create mode 100644 srcpkgs/python3-pystache/template
diff --git a/srcpkgs/python-pystache/template b/srcpkgs/python-pystache/template
deleted file mode 100644
index 6c85b2d20d3a..000000000000
--- a/srcpkgs/python-pystache/template
+++ /dev/null
@@ -1,41 +0,0 @@
-# Template file for 'python-pystache'
-pkgname=python-pystache
-version=0.5.4
-revision=6
-wrksrc="pystache-${version}"
-build_style=python-module
-pycompile_module="pystache"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python-setuptools"
-short_desc="Python2 implementation of Mustache"
-maintainer="John <me@johnnynator.dev>"
-license="MIT"
-homepage="https://github.com/defunkt/pystache"
-distfiles="${PYPI_SITE}/p/pystache/pystache-${version}.tar.gz"
-checksum=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a
-alternatives="pystache:pystache:/usr/bin/pystache2"
-
-do_build() {
- # This is pure python, no need for cross antics
- python2.7 setup.py build --build-base=build-2.7
-
- # Convert py2 syntax to py3 since setuptools no longer does it
- 2to3-${py3_ver} -w pystache
- python3 setup.py build --build-base=build-${py3_ver}
-}
-
-post_install() {
- vlicense LICENSE
-}
-
-python3-pystache_package() {
- pycompile_module="pystache"
- depends="python3-setuptools"
- short_desc="${short_desc/Python2/Python3}"
- alternatives="pystache:pystache:/usr/bin/pystache2"
- pkg_install() {
- vmove "usr/lib/python3*"
- vmove "usr/bin/*3"
- vlicense LICENSE
- }
-}
diff --git a/srcpkgs/python3-pystache b/srcpkgs/python3-pystache
deleted file mode 120000
index 7663aaa10e82..000000000000
--- a/srcpkgs/python3-pystache
+++ /dev/null
@@ -1 +0,0 @@
-python-pystache
\ No newline at end of file
diff --git a/srcpkgs/python-pystache/patches/setup.patch b/srcpkgs/python3-pystache/patches/setup.patch
similarity index 100%
rename from srcpkgs/python-pystache/patches/setup.patch
rename to srcpkgs/python3-pystache/patches/setup.patch
diff --git a/srcpkgs/python3-pystache/template b/srcpkgs/python3-pystache/template
new file mode 100644
index 000000000000..f603b38cf2c1
--- /dev/null
+++ b/srcpkgs/python3-pystache/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pystache'
+pkgname=python3-pystache
+version=0.5.4
+revision=6
+wrksrc="pystache-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-setuptools"
+short_desc="Python3 implementation of Mustache"
+maintainer="John <me@johnnynator.dev>"
+license="MIT"
+homepage="https://github.com/defunkt/pystache"
+distfiles="${PYPI_SITE}/p/pystache/pystache-${version}.tar.gz"
+checksum=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a
+
+do_build() {
+ # Convert py2 syntax to py3 since setuptools no longer does it
+ 2to3-${py3_ver} -w pystache
+ python3 setup.py build --build-base=build-${py3_ver}
+}
+
+post_install() {
+ vlicense LICENSE
+ ln -s pystache "${DESTDIR}/usr/bin/pystache3"
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index a912a733ef98..020ca1661a05 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -289,6 +289,7 @@ replaces="
python-pydns<=2.3.6_4
python-pyenet<=1.3.13.post7_2
python-pyside<=1.2.2_7
+ python-pystache<=0.5.4_6
python-pytest-relaxed<=1.1.2_2
python-pytz<=2021.3_2
python-reportlab<=3.5.42_3
From 7a6e0d16a03b35b1637f5b02eba344b1562bda8e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 16:25:26 -0500
Subject: [PATCH 6/7] python-configobj: remove package
---
srcpkgs/python-configobj/template | 29 -----------------------------
srcpkgs/python3-configobj | 1 -
srcpkgs/python3-configobj/template | 18 ++++++++++++++++++
srcpkgs/removed-packages/template | 1 +
4 files changed, 19 insertions(+), 30 deletions(-)
delete mode 100644 srcpkgs/python-configobj/template
delete mode 120000 srcpkgs/python3-configobj
create mode 100644 srcpkgs/python3-configobj/template
diff --git a/srcpkgs/python-configobj/template b/srcpkgs/python-configobj/template
deleted file mode 100644
index ff80e29608cf..000000000000
--- a/srcpkgs/python-configobj/template
+++ /dev/null
@@ -1,29 +0,0 @@
-# Template file for 'python-configobj'
-pkgname=python-configobj
-version=5.0.6
-revision=9
-wrksrc="configobj-${version}"
-build_style=python-module
-pycompile_module="_version.py configobj.py validate.py"
-hostmakedepends="python-devel python3-devel"
-depends="python-six"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-3-Clause"
-homepage="https://github.com/DiffSK/configobj"
-short_desc="Simple but powerful config file reader and writer (Python2)"
-distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
-checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
-
-post_install() {
- vlicense LICENSE
-}
-
-python3-configobj_package() {
- short_desc="${short_desc/Python2/Python3}"
- pycompile_module="_version.py configobj.py validate.py"
- depends="python3-six"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense LICENSE
- }
-}
diff --git a/srcpkgs/python3-configobj b/srcpkgs/python3-configobj
deleted file mode 120000
index ea795c8535e0..000000000000
--- a/srcpkgs/python3-configobj
+++ /dev/null
@@ -1 +0,0 @@
-python-configobj
\ No newline at end of file
diff --git a/srcpkgs/python3-configobj/template b/srcpkgs/python3-configobj/template
new file mode 100644
index 000000000000..86d364862af8
--- /dev/null
+++ b/srcpkgs/python3-configobj/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-configobj'
+pkgname=python3-configobj
+version=5.0.6
+revision=9
+wrksrc="configobj-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3-six"
+short_desc="Simple but powerful config file reader and writer (Python3)"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/DiffSK/configobj"
+distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
+checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
+
+post_install() {
+ vlicense LICENSE
+}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 020ca1661a05..b30e88560809 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -269,6 +269,7 @@ replaces="
python-SecretStorage<=2.3.1_4
python-audit<=2.8.5_2
python-chardet<=4.0.0_3
+ python-configobj<=5.0.6_9
python-crypto<=3.9.7_3
python-docutils<=0.16_3
python-enchant<=2.0.0_4
From ee6474870cdb67fc106bd097fb9f62c5026d5daa Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sat, 5 Mar 2022 16:37:06 -0500
Subject: [PATCH 7/7] python-cryptography_vectors: remove package
---
srcpkgs/python-cryptography_vectors/template | 18 ------------------
srcpkgs/python-cryptography_vectors/update | 2 --
srcpkgs/removed-packages/template | 1 +
3 files changed, 1 insertion(+), 20 deletions(-)
delete mode 100644 srcpkgs/python-cryptography_vectors/template
delete mode 100644 srcpkgs/python-cryptography_vectors/update
diff --git a/srcpkgs/python-cryptography_vectors/template b/srcpkgs/python-cryptography_vectors/template
deleted file mode 100644
index 41152144236a..000000000000
--- a/srcpkgs/python-cryptography_vectors/template
+++ /dev/null
@@ -1,18 +0,0 @@
-# Template file for 'python-cryptography_vectors'
-pkgname=python-cryptography_vectors
-version=3.3.2
-revision=1
-wrksrc="cryptography_vectors-${version}"
-build_style=python2-module
-hostmakedepends="python-setuptools"
-short_desc="Test vectors for python-cryptography"
-maintainer="Piotr Wójcik <chocimier@tlen.pl>"
-license="BSD-3-Clause, Apache-2.0"
-homepage="https://github.com/pyca/cryptography"
-distfiles="${PYPI_SITE}/c/cryptography_vectors/cryptography_vectors-${version}.tar.gz"
-checksum=8c9d5afada647a6c937c6392c975f204b540c31f25fd4acd925ec0e180be0afa
-
-post_install() {
- vlicense LICENSE
- vlicense LICENSE.BSD
-}
diff --git a/srcpkgs/python-cryptography_vectors/update b/srcpkgs/python-cryptography_vectors/update
deleted file mode 100644
index 051a14b7a817..000000000000
--- a/srcpkgs/python-cryptography_vectors/update
+++ /dev/null
@@ -1,2 +0,0 @@
-# cryptography >= 3.4 does not support Python 2
-pattern="cryptography_vectors-\K3\.3\.[0-9.]+(?=.tar.gz)"
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index b30e88560809..8aef3321c955 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -271,6 +271,7 @@ replaces="
python-chardet<=4.0.0_3
python-configobj<=5.0.6_9
python-crypto<=3.9.7_3
+ python-cryptography_vectors<=3.3.2_1
python-docutils<=0.16_3
python-enchant<=2.0.0_4
python-evdev<=1.2.0_5
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Merged]: remove packages: python-{Pygments,pretend,Babel,pytz,pystache,configobj,cryptography_vectors}
2022-03-05 19:02 [PR PATCH] remove packages: python-{Pygments,pretend,Babel,pytz} classabbyamp
` (5 preceding siblings ...)
2022-03-05 21:37 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-03-05 22:26 ` paper42
6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2022-03-05 22:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]
There's a merged pull request on the void-packages repository
remove packages: python-{Pygments,pretend,Babel,pytz,pystache,configobj,cryptography_vectors}
https://github.com/void-linux/void-packages/pull/35995
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 8+ messages in thread