Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Remove some leaf python dependencies
@ 2021-02-20  4:59 ericonr
  2021-02-20  5:06 ` [PR PATCH] [Updated] " ericonr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ericonr @ 2021-02-20  4:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages pyrm
https://github.com/void-linux/void-packages/pull/28909

Remove some leaf python dependencies
<!-- Mark items with [x] where applicable -->

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

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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/28909.patch is attached

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

From 392e09785ac3103430761a14aa54d68338cc05bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:46:10 -0300
Subject: [PATCH 1/4] python-sqlite: remove package.

Nothing depends on it.
---
 srcpkgs/python-sqlite/template | 20 --------------------
 srcpkgs/python-sqlite/update   |  1 -
 2 files changed, 21 deletions(-)
 delete mode 100644 srcpkgs/python-sqlite/template
 delete mode 100644 srcpkgs/python-sqlite/update

diff --git a/srcpkgs/python-sqlite/template b/srcpkgs/python-sqlite/template
deleted file mode 100644
index 0daaf989764..00000000000
--- a/srcpkgs/python-sqlite/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python-sqlite'
-pkgname=python-sqlite
-version=2.8.3
-revision=1
-wrksrc="pysqlite-${version}"
-build_style=python2-module
-hostmakedepends="python-devel"
-makedepends="sqlite-devel ${hostmakedepends}"
-pycompile_module="pysqlite2"
-short_desc="Python2 DB-API 2.0 interface for SQLite 3.x databases"
-homepage="https://github.com/ghaering/pysqlite"
-license="zlib"
-maintainer="Orphaned <orphan@voidlinux.org>"
-distfiles="${PYPI_SITE}/p/pysqlite/pysqlite-${version}.tar.gz"
-checksum=17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490
-
-post_install() {
-	rm -rf ${DESTDIR}/usr/pysqlite*
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python-sqlite/update b/srcpkgs/python-sqlite/update
deleted file mode 100644
index 9fd01974452..00000000000
--- a/srcpkgs/python-sqlite/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname="pysqlite"

From dd989d73ac7f1043f8191b12fe3e7d555a1badcf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:53:34 -0300
Subject: [PATCH 2/4] python-gntp: become python3-gntp.

Remove python2 version.
---
 srcpkgs/python-gntp/template  | 32 --------------------------------
 srcpkgs/python3-gntp          |  1 -
 srcpkgs/python3-gntp/template | 19 +++++++++++++++++++
 3 files changed, 19 insertions(+), 33 deletions(-)
 delete mode 100644 srcpkgs/python-gntp/template
 delete mode 120000 srcpkgs/python3-gntp
 create mode 100644 srcpkgs/python3-gntp/template

diff --git a/srcpkgs/python-gntp/template b/srcpkgs/python-gntp/template
deleted file mode 100644
index 516246a110b..00000000000
--- a/srcpkgs/python-gntp/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'python-gntp'
-pkgname=python-gntp
-version=1.0.3
-revision=7
-wrksrc="gntp-${version}"
-build_style=python-module
-pycompile_module="gntp"
-hostmakedepends="python-devel python3-devel"
-depends="python"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="https://github.com/kfdm/gntp"
-short_desc="Python2 library for the Growl Notification Transport Protocol"
-distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
-checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
-alternatives="gntp:gntp:/usr/bin/gntp2"
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-gntp_package() {
-	depends="python3"
-	pycompile_module="gntp"
-	short_desc="${short_desc/Python2/Python3}"
-	alternatives="gntp:gntp:/usr/bin/gntp3"
-	pkg_install() {
-		vmove usr/bin/gntp3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-gntp b/srcpkgs/python3-gntp
deleted file mode 120000
index 34e4aaa0fa9..00000000000
--- a/srcpkgs/python3-gntp
+++ /dev/null
@@ -1 +0,0 @@
-python-gntp
\ No newline at end of file
diff --git a/srcpkgs/python3-gntp/template b/srcpkgs/python3-gntp/template
new file mode 100644
index 00000000000..b8fa060e6ab
--- /dev/null
+++ b/srcpkgs/python3-gntp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gntp'
+pkgname=python3-gntp
+version=1.0.3
+revision=8
+wrksrc="gntp-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/kfdm/gntp"
+short_desc="Python3 library for the Growl Notification Transport Protocol"
+distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
+checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
+
+post_install() {
+	ln -s gntp3 $DESTDIR/usr/bin/gntp
+	vlicense LICENSE
+}

From 85a0559aa8e4383b44a0b8b3dd407d874021e90e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:55:06 -0300
Subject: [PATCH 3/4] python-netifaces: become python3-netifaces.

Remove python2 version.
---
 srcpkgs/python-netifaces/template  | 27 ---------------------------
 srcpkgs/python3-netifaces          |  1 -
 srcpkgs/python3-netifaces/template | 19 +++++++++++++++++++
 3 files changed, 19 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python-netifaces/template
 delete mode 120000 srcpkgs/python3-netifaces
 create mode 100644 srcpkgs/python3-netifaces/template

diff --git a/srcpkgs/python-netifaces/template b/srcpkgs/python-netifaces/template
deleted file mode 100644
index 4bca5a924ad..00000000000
--- a/srcpkgs/python-netifaces/template
+++ /dev/null
@@ -1,27 +0,0 @@
-# Template file for 'python-netifaces'
-pkgname=python-netifaces
-version=0.10.9
-revision=3
-wrksrc="netifaces-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-makedepends="python-devel python3-devel"
-short_desc="Python2 library to retrieve information about network interfaces"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="MIT"
-homepage="https://github.com/al45tair/netifaces"
-distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
-checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
-
-post_install() {
-	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
-	vlicense LICENSE
-}
-
-python3-netifaces_package() {
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-netifaces b/srcpkgs/python3-netifaces
deleted file mode 120000
index 7fd5df6f422..00000000000
--- a/srcpkgs/python3-netifaces
+++ /dev/null
@@ -1 +0,0 @@
-python-netifaces
\ No newline at end of file
diff --git a/srcpkgs/python3-netifaces/template b/srcpkgs/python3-netifaces/template
new file mode 100644
index 00000000000..85e9fc47bba
--- /dev/null
+++ b/srcpkgs/python3-netifaces/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-netifaces'
+pkgname=python3-netifaces
+version=0.10.9
+revision=4
+wrksrc="netifaces-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+short_desc="Python3 library to retrieve information about network interfaces"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="MIT"
+homepage="https://github.com/al45tair/netifaces"
+distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
+checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
+
+post_install() {
+	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
+	vlicense LICENSE
+}

From 7916ad171ffeb21f2ea5a905c69a9083adcc4ee4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:47:45 -0300
Subject: [PATCH 4/4] removed-packages: add some python2 packages.

---
 srcpkgs/removed-packages/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 2d2338a8b9b..0f06fbfefd8 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=30
+revision=31
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -194,13 +194,16 @@ replaces="
  python-SecretStorage<=2.3.1_4
  python-audit<=2.8.5_2
  python-enchant<=2.0.0_4
+ python-gntp<=1.0.3_7
  python-jellyfish<=0.6.1_2
  python-matplotlib<=2.2.4_2
  python-matplotlib-data<=2.2.4_2
+ python-netifaces<=0.10.9_3
  python-pivy<=0.6.4_2
  python-pyenet<=1.3.13.post7_2
  python-pyside<=1.2.2_7
  python-pytest-relaxed<=1.1.2_2
+ python-sqlite<=2.8.3_1
  python3-Django<=3.0.7_2
  python3-pyPEG2<=2.15.2_7
  qimageblitz<=0.0.6_4

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

* Re: [PR PATCH] [Updated] Remove some leaf python dependencies
  2021-02-20  4:59 [PR PATCH] Remove some leaf python dependencies ericonr
@ 2021-02-20  5:06 ` ericonr
  2021-02-21  3:09 ` ericonr
  2021-02-21 19:21 ` [PR PATCH] [Merged]: " ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-02-20  5:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages pyrm
https://github.com/void-linux/void-packages/pull/28909

Remove some leaf python dependencies
<!-- Mark items with [x] where applicable -->

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

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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/28909.patch is attached

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

From 392e09785ac3103430761a14aa54d68338cc05bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:46:10 -0300
Subject: [PATCH 1/4] python-sqlite: remove package.

Nothing depends on it.
---
 srcpkgs/python-sqlite/template | 20 --------------------
 srcpkgs/python-sqlite/update   |  1 -
 2 files changed, 21 deletions(-)
 delete mode 100644 srcpkgs/python-sqlite/template
 delete mode 100644 srcpkgs/python-sqlite/update

diff --git a/srcpkgs/python-sqlite/template b/srcpkgs/python-sqlite/template
deleted file mode 100644
index 0daaf989764..00000000000
--- a/srcpkgs/python-sqlite/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python-sqlite'
-pkgname=python-sqlite
-version=2.8.3
-revision=1
-wrksrc="pysqlite-${version}"
-build_style=python2-module
-hostmakedepends="python-devel"
-makedepends="sqlite-devel ${hostmakedepends}"
-pycompile_module="pysqlite2"
-short_desc="Python2 DB-API 2.0 interface for SQLite 3.x databases"
-homepage="https://github.com/ghaering/pysqlite"
-license="zlib"
-maintainer="Orphaned <orphan@voidlinux.org>"
-distfiles="${PYPI_SITE}/p/pysqlite/pysqlite-${version}.tar.gz"
-checksum=17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490
-
-post_install() {
-	rm -rf ${DESTDIR}/usr/pysqlite*
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python-sqlite/update b/srcpkgs/python-sqlite/update
deleted file mode 100644
index 9fd01974452..00000000000
--- a/srcpkgs/python-sqlite/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname="pysqlite"

From 870feeef4d7b49f51b1bdfcab7c29432b389d57e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:53:34 -0300
Subject: [PATCH 2/4] python-gntp: become python3-gntp.

Remove python2 version.
---
 srcpkgs/python-gntp/template  | 32 --------------------------------
 srcpkgs/python3-gntp          |  1 -
 srcpkgs/python3-gntp/template | 20 ++++++++++++++++++++
 3 files changed, 20 insertions(+), 33 deletions(-)
 delete mode 100644 srcpkgs/python-gntp/template
 delete mode 120000 srcpkgs/python3-gntp
 create mode 100644 srcpkgs/python3-gntp/template

diff --git a/srcpkgs/python-gntp/template b/srcpkgs/python-gntp/template
deleted file mode 100644
index 516246a110b..00000000000
--- a/srcpkgs/python-gntp/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'python-gntp'
-pkgname=python-gntp
-version=1.0.3
-revision=7
-wrksrc="gntp-${version}"
-build_style=python-module
-pycompile_module="gntp"
-hostmakedepends="python-devel python3-devel"
-depends="python"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="https://github.com/kfdm/gntp"
-short_desc="Python2 library for the Growl Notification Transport Protocol"
-distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
-checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
-alternatives="gntp:gntp:/usr/bin/gntp2"
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-gntp_package() {
-	depends="python3"
-	pycompile_module="gntp"
-	short_desc="${short_desc/Python2/Python3}"
-	alternatives="gntp:gntp:/usr/bin/gntp3"
-	pkg_install() {
-		vmove usr/bin/gntp3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-gntp b/srcpkgs/python3-gntp
deleted file mode 120000
index 34e4aaa0fa9..00000000000
--- a/srcpkgs/python3-gntp
+++ /dev/null
@@ -1 +0,0 @@
-python-gntp
\ No newline at end of file
diff --git a/srcpkgs/python3-gntp/template b/srcpkgs/python3-gntp/template
new file mode 100644
index 00000000000..c7edd779486
--- /dev/null
+++ b/srcpkgs/python3-gntp/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-gntp'
+pkgname=python3-gntp
+version=1.0.3
+revision=8
+wrksrc="gntp-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/kfdm/gntp"
+short_desc="Python3 library for the Growl Notification Transport Protocol"
+distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
+checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
+
+post_install() {
+	# keep versioned binary for compatibility
+	ln -s gntp $DESTDIR/usr/bin/gntp3
+	vlicense LICENSE
+}

From 449092b37be688c3b103389a3bd12946a94f5b2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:55:06 -0300
Subject: [PATCH 3/4] python-netifaces: become python3-netifaces.

Remove python2 version.
---
 srcpkgs/python-netifaces/template  | 27 ---------------------------
 srcpkgs/python3-netifaces          |  1 -
 srcpkgs/python3-netifaces/template | 19 +++++++++++++++++++
 3 files changed, 19 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python-netifaces/template
 delete mode 120000 srcpkgs/python3-netifaces
 create mode 100644 srcpkgs/python3-netifaces/template

diff --git a/srcpkgs/python-netifaces/template b/srcpkgs/python-netifaces/template
deleted file mode 100644
index 4bca5a924ad..00000000000
--- a/srcpkgs/python-netifaces/template
+++ /dev/null
@@ -1,27 +0,0 @@
-# Template file for 'python-netifaces'
-pkgname=python-netifaces
-version=0.10.9
-revision=3
-wrksrc="netifaces-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-makedepends="python-devel python3-devel"
-short_desc="Python2 library to retrieve information about network interfaces"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="MIT"
-homepage="https://github.com/al45tair/netifaces"
-distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
-checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
-
-post_install() {
-	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
-	vlicense LICENSE
-}
-
-python3-netifaces_package() {
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-netifaces b/srcpkgs/python3-netifaces
deleted file mode 120000
index 7fd5df6f422..00000000000
--- a/srcpkgs/python3-netifaces
+++ /dev/null
@@ -1 +0,0 @@
-python-netifaces
\ No newline at end of file
diff --git a/srcpkgs/python3-netifaces/template b/srcpkgs/python3-netifaces/template
new file mode 100644
index 00000000000..85e9fc47bba
--- /dev/null
+++ b/srcpkgs/python3-netifaces/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-netifaces'
+pkgname=python3-netifaces
+version=0.10.9
+revision=4
+wrksrc="netifaces-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+short_desc="Python3 library to retrieve information about network interfaces"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="MIT"
+homepage="https://github.com/al45tair/netifaces"
+distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
+checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
+
+post_install() {
+	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
+	vlicense LICENSE
+}

From 16a471d01148330564ee6c14df29404e99139373 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:47:45 -0300
Subject: [PATCH 4/4] removed-packages: add some python2 packages.

---
 srcpkgs/removed-packages/template | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 2d2338a8b9b..0f06fbfefd8 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=30
+revision=31
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -194,13 +194,16 @@ replaces="
  python-SecretStorage<=2.3.1_4
  python-audit<=2.8.5_2
  python-enchant<=2.0.0_4
+ python-gntp<=1.0.3_7
  python-jellyfish<=0.6.1_2
  python-matplotlib<=2.2.4_2
  python-matplotlib-data<=2.2.4_2
+ python-netifaces<=0.10.9_3
  python-pivy<=0.6.4_2
  python-pyenet<=1.3.13.post7_2
  python-pyside<=1.2.2_7
  python-pytest-relaxed<=1.1.2_2
+ python-sqlite<=2.8.3_1
  python3-Django<=3.0.7_2
  python3-pyPEG2<=2.15.2_7
  qimageblitz<=0.0.6_4

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

* Re: [PR PATCH] [Updated] Remove some leaf python dependencies
  2021-02-20  4:59 [PR PATCH] Remove some leaf python dependencies ericonr
  2021-02-20  5:06 ` [PR PATCH] [Updated] " ericonr
@ 2021-02-21  3:09 ` ericonr
  2021-02-21 19:21 ` [PR PATCH] [Merged]: " ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-02-21  3:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages pyrm
https://github.com/void-linux/void-packages/pull/28909

Remove some leaf python dependencies
<!-- Mark items with [x] where applicable -->

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

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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/28909.patch is attached

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

From d23792504f9e081120b9bd6c925448616b09651a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:46:10 -0300
Subject: [PATCH 1/4] python-sqlite: remove package.

Nothing depends on it.
---
 srcpkgs/python-sqlite/template | 20 --------------------
 srcpkgs/python-sqlite/update   |  1 -
 2 files changed, 21 deletions(-)
 delete mode 100644 srcpkgs/python-sqlite/template
 delete mode 100644 srcpkgs/python-sqlite/update

diff --git a/srcpkgs/python-sqlite/template b/srcpkgs/python-sqlite/template
deleted file mode 100644
index 0daaf989764..00000000000
--- a/srcpkgs/python-sqlite/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python-sqlite'
-pkgname=python-sqlite
-version=2.8.3
-revision=1
-wrksrc="pysqlite-${version}"
-build_style=python2-module
-hostmakedepends="python-devel"
-makedepends="sqlite-devel ${hostmakedepends}"
-pycompile_module="pysqlite2"
-short_desc="Python2 DB-API 2.0 interface for SQLite 3.x databases"
-homepage="https://github.com/ghaering/pysqlite"
-license="zlib"
-maintainer="Orphaned <orphan@voidlinux.org>"
-distfiles="${PYPI_SITE}/p/pysqlite/pysqlite-${version}.tar.gz"
-checksum=17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490
-
-post_install() {
-	rm -rf ${DESTDIR}/usr/pysqlite*
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python-sqlite/update b/srcpkgs/python-sqlite/update
deleted file mode 100644
index 9fd01974452..00000000000
--- a/srcpkgs/python-sqlite/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname="pysqlite"

From f3ac7488b96829bff65fd94d3e4476d0f0a99ca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:53:34 -0300
Subject: [PATCH 2/4] python-gntp: become python3-gntp.

Remove python2 version.
---
 srcpkgs/python-gntp/template  | 32 --------------------------------
 srcpkgs/python3-gntp          |  1 -
 srcpkgs/python3-gntp/template | 19 +++++++++++++++++++
 3 files changed, 19 insertions(+), 33 deletions(-)
 delete mode 100644 srcpkgs/python-gntp/template
 delete mode 120000 srcpkgs/python3-gntp
 create mode 100644 srcpkgs/python3-gntp/template

diff --git a/srcpkgs/python-gntp/template b/srcpkgs/python-gntp/template
deleted file mode 100644
index 516246a110b..00000000000
--- a/srcpkgs/python-gntp/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'python-gntp'
-pkgname=python-gntp
-version=1.0.3
-revision=7
-wrksrc="gntp-${version}"
-build_style=python-module
-pycompile_module="gntp"
-hostmakedepends="python-devel python3-devel"
-depends="python"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="MIT"
-homepage="https://github.com/kfdm/gntp"
-short_desc="Python2 library for the Growl Notification Transport Protocol"
-distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
-checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
-alternatives="gntp:gntp:/usr/bin/gntp2"
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-gntp_package() {
-	depends="python3"
-	pycompile_module="gntp"
-	short_desc="${short_desc/Python2/Python3}"
-	alternatives="gntp:gntp:/usr/bin/gntp3"
-	pkg_install() {
-		vmove usr/bin/gntp3
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-gntp b/srcpkgs/python3-gntp
deleted file mode 120000
index 34e4aaa0fa9..00000000000
--- a/srcpkgs/python3-gntp
+++ /dev/null
@@ -1 +0,0 @@
-python-gntp
\ No newline at end of file
diff --git a/srcpkgs/python3-gntp/template b/srcpkgs/python3-gntp/template
new file mode 100644
index 00000000000..db2fa5e0b6d
--- /dev/null
+++ b/srcpkgs/python3-gntp/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-gntp'
+pkgname=python3-gntp
+version=1.0.3
+revision=8
+wrksrc="gntp-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3"
+short_desc="Python3 library for the Growl Notification Transport Protocol"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/kfdm/gntp"
+distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
+checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
+conflicts="python-gntp>=0"
+
+post_install() {
+	vlicense LICENSE
+}

From 7465f4716b716d688ffba7c77d5e6beda3664b60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:55:06 -0300
Subject: [PATCH 3/4] python-netifaces: become python3-netifaces.

Remove python2 version.
---
 srcpkgs/python-netifaces/template  | 27 ---------------------------
 srcpkgs/python3-netifaces          |  1 -
 srcpkgs/python3-netifaces/template | 20 ++++++++++++++++++++
 3 files changed, 20 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/python-netifaces/template
 delete mode 120000 srcpkgs/python3-netifaces
 create mode 100644 srcpkgs/python3-netifaces/template

diff --git a/srcpkgs/python-netifaces/template b/srcpkgs/python-netifaces/template
deleted file mode 100644
index 4bca5a924ad..00000000000
--- a/srcpkgs/python-netifaces/template
+++ /dev/null
@@ -1,27 +0,0 @@
-# Template file for 'python-netifaces'
-pkgname=python-netifaces
-version=0.10.9
-revision=3
-wrksrc="netifaces-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
-makedepends="python-devel python3-devel"
-short_desc="Python2 library to retrieve information about network interfaces"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-license="MIT"
-homepage="https://github.com/al45tair/netifaces"
-distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
-checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
-
-post_install() {
-	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
-	vlicense LICENSE
-}
-
-python3-netifaces_package() {
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-netifaces b/srcpkgs/python3-netifaces
deleted file mode 120000
index 7fd5df6f422..00000000000
--- a/srcpkgs/python3-netifaces
+++ /dev/null
@@ -1 +0,0 @@
-python-netifaces
\ No newline at end of file
diff --git a/srcpkgs/python3-netifaces/template b/srcpkgs/python3-netifaces/template
new file mode 100644
index 00000000000..9bfd719ebb6
--- /dev/null
+++ b/srcpkgs/python3-netifaces/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-netifaces'
+pkgname=python3-netifaces
+version=0.10.9
+revision=4
+wrksrc="netifaces-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+short_desc="Python3 library to retrieve information about network interfaces"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="MIT"
+homepage="https://github.com/al45tair/netifaces"
+distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
+checksum=2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3
+conflicts="python-netifaces>=0"
+
+post_install() {
+	sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
+	vlicense LICENSE
+}

From 509b0366fadc6dc580d0659c825221016d8aaabd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sat, 20 Feb 2021 01:47:45 -0300
Subject: [PATCH 4/4] removed-packages: add some python2 packages.

---
 srcpkgs/removed-packages/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 2d2338a8b9b..1a8c45a3151 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -194,13 +194,16 @@ replaces="
  python-SecretStorage<=2.3.1_4
  python-audit<=2.8.5_2
  python-enchant<=2.0.0_4
+ python-gntp<=1.0.3_7
  python-jellyfish<=0.6.1_2
  python-matplotlib<=2.2.4_2
  python-matplotlib-data<=2.2.4_2
+ python-netifaces<=0.10.9_3
  python-pivy<=0.6.4_2
  python-pyenet<=1.3.13.post7_2
  python-pyside<=1.2.2_7
  python-pytest-relaxed<=1.1.2_2
+ python-sqlite<=2.8.3_1
  python3-Django<=3.0.7_2
  python3-pyPEG2<=2.15.2_7
  qimageblitz<=0.0.6_4

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

* Re: [PR PATCH] [Merged]: Remove some leaf python dependencies
  2021-02-20  4:59 [PR PATCH] Remove some leaf python dependencies ericonr
  2021-02-20  5:06 ` [PR PATCH] [Updated] " ericonr
  2021-02-21  3:09 ` ericonr
@ 2021-02-21 19:21 ` ericonr
  2 siblings, 0 replies; 4+ messages in thread
From: ericonr @ 2021-02-21 19:21 UTC (permalink / raw)
  To: ml

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

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

Remove some leaf python dependencies
https://github.com/void-linux/void-packages/pull/28909

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

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

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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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] 4+ messages in thread

end of thread, other threads:[~2021-02-21 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20  4:59 [PR PATCH] Remove some leaf python dependencies ericonr
2021-02-20  5:06 ` [PR PATCH] [Updated] " ericonr
2021-02-21  3:09 ` ericonr
2021-02-21 19:21 ` [PR PATCH] [Merged]: " ericonr

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