Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-feedparser: update to 6.0.1.
@ 2020-10-12 15:43 pbui
  2020-10-14 16:27 ` [PR PATCH] [Updated] " pbui
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pbui @ 2020-10-12 15:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pbui/void-packages python-feedparser
https://github.com/void-linux/void-packages/pull/25541

python3-feedparser: update to 6.0.1.
- Split off from python-feedparser.  Python2 version is now deprecated and unsupported by upstream:

    https://github.com/kurtmckee/feedparser/issues/228

  Since no other packages in void-packages now depend on python-feedparser, drop Python2 version.

- python3-feedparser now requires separate python3-sgmllib (which was provided in Python2 and bundled in Python3 module previously).

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

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

From 47684e24f127748966476b97da0313970ba1c344 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Mon, 12 Oct 2020 11:32:24 -0400
Subject: [PATCH 1/2] New package: python3-sgmllib

Needed for python3-feedparser >= 6.0
---
 srcpkgs/python3-sgmllib/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-sgmllib/template

diff --git a/srcpkgs/python3-sgmllib/template b/srcpkgs/python3-sgmllib/template
new file mode 100644
index 00000000000..fca40a2fb97
--- /dev/null
+++ b/srcpkgs/python3-sgmllib/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-sgmllib'
+pkgname=python3-sgmllib
+version=1.0.0
+revision=1
+wrksrc="sgmllib3k-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Port of sgmllib for Python3"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="PSF-2.0"
+homepage="https://pypi.org/project/sgmllib3k/"
+distfiles="${PYPI_SITE}/s/sgmllib3k/sgmllib3k-${version}.tar.gz"
+checksum=7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9

From cd592cc830bd8c1a999690ec6235235bcc9d5085 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Mon, 12 Oct 2020 11:34:16 -0400
Subject: [PATCH 2/2] python3-feedparser: update to 6.0.1.

- Split off from python-feedparser.  Python2 version is now deprecated
  and unsupported by upstream:

    https://github.com/kurtmckee/feedparser/issues/228

  Since no other packages in void-packages now depend on
  python-feedparser, drop Python2 version.

- python3-feedparser now requires separate python3-sgmllib (which was
  provided in Python2 and bundled in Python3 module previously).
---
 srcpkgs/python-feedparser/template  | 28 ----------------------------
 srcpkgs/python3-feedparser          |  1 -
 srcpkgs/python3-feedparser/template | 18 ++++++++++++++++++
 3 files changed, 18 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/python-feedparser/template
 delete mode 120000 srcpkgs/python3-feedparser
 create mode 100644 srcpkgs/python3-feedparser/template

diff --git a/srcpkgs/python-feedparser/template b/srcpkgs/python-feedparser/template
deleted file mode 100644
index 993e350e560..00000000000
--- a/srcpkgs/python-feedparser/template
+++ /dev/null
@@ -1,28 +0,0 @@
-# Template file for 'python-feedparser'
-pkgname=python-feedparser
-version=5.2.1
-revision=8
-wrksrc="feedparser-${version}"
-build_style=python-module
-pycompile_module="feedparser.py"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-2-Clause"
-homepage="https://pypi.org/project/feedparser/"
-short_desc="Parse Atom and RSS feeds in Python2"
-distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.bz2"
-checksum=ce875495c90ebd74b179855449040003a1beb40cd13d5f037a0654251e260b02
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-feedparser_package() {
-	depends="python3"
-	pycompile_module="feedparser.py"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-	}
-}
diff --git a/srcpkgs/python3-feedparser b/srcpkgs/python3-feedparser
deleted file mode 120000
index 1e305c4f3d7..00000000000
--- a/srcpkgs/python3-feedparser
+++ /dev/null
@@ -1 +0,0 @@
-python-feedparser
\ No newline at end of file
diff --git a/srcpkgs/python3-feedparser/template b/srcpkgs/python3-feedparser/template
new file mode 100644
index 00000000000..949f350665e
--- /dev/null
+++ b/srcpkgs/python3-feedparser/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-feedparser'
+pkgname=python3-feedparser
+version=6.0.1
+revision=1
+wrksrc="feedparser-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-sgmllib"
+short_desc="Parse Atom and RSS feeds in Python3"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/feedparser/"
+distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.gz"
+checksum=6ca88edcaa43f428345968df903a87f020843eda5e28d7ea24a612158d61e74c
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] python3-feedparser: update to 6.0.1.
  2020-10-12 15:43 [PR PATCH] python3-feedparser: update to 6.0.1 pbui
@ 2020-10-14 16:27 ` pbui
  2020-10-14 16:28 ` pbui
  2020-10-15  0:18 ` [PR PATCH] [Merged]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: pbui @ 2020-10-14 16:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pbui/void-packages python-feedparser
https://github.com/void-linux/void-packages/pull/25541

python3-feedparser: update to 6.0.1.
- Split off from python-feedparser.  Python2 version is now deprecated and unsupported by upstream:

    https://github.com/kurtmckee/feedparser/issues/228

  Since no other packages in void-packages now depend on python-feedparser, drop Python2 version.

- python3-feedparser now requires separate python3-sgmllib (which was provided in Python2 and bundled in Python3 module previously).

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

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

From 42973aaf0a918748c34e3e2843b65cf95cca1361 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Mon, 12 Oct 2020 11:32:24 -0400
Subject: [PATCH 1/2] New package: python3-sgmllib-1.0.0.

Needed for python3-feedparser >= 6.0
---
 srcpkgs/python3-sgmllib/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-sgmllib/template

diff --git a/srcpkgs/python3-sgmllib/template b/srcpkgs/python3-sgmllib/template
new file mode 100644
index 00000000000..fca40a2fb97
--- /dev/null
+++ b/srcpkgs/python3-sgmllib/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-sgmllib'
+pkgname=python3-sgmllib
+version=1.0.0
+revision=1
+wrksrc="sgmllib3k-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Port of sgmllib for Python3"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="PSF-2.0"
+homepage="https://pypi.org/project/sgmllib3k/"
+distfiles="${PYPI_SITE}/s/sgmllib3k/sgmllib3k-${version}.tar.gz"
+checksum=7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9

From cbde707e085d01ae5525e438c773439f05cca136 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Mon, 12 Oct 2020 11:34:16 -0400
Subject: [PATCH 2/2] python3-feedparser: update to 6.0.1.

- Split off from python-feedparser.  Python2 version is now deprecated
  and unsupported by upstream:

    https://github.com/kurtmckee/feedparser/issues/228

  Since no other packages in void-packages now depend on
  python-feedparser, drop Python2 version.

- python3-feedparser now requires separate python3-sgmllib (which was
  provided in Python2 and bundled in Python3 module previously).
---
 srcpkgs/python-feedparser/template  | 28 ----------------------------
 srcpkgs/python3-feedparser          |  1 -
 srcpkgs/python3-feedparser/template | 18 ++++++++++++++++++
 3 files changed, 18 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/python-feedparser/template
 delete mode 120000 srcpkgs/python3-feedparser
 create mode 100644 srcpkgs/python3-feedparser/template

diff --git a/srcpkgs/python-feedparser/template b/srcpkgs/python-feedparser/template
deleted file mode 100644
index 993e350e560..00000000000
--- a/srcpkgs/python-feedparser/template
+++ /dev/null
@@ -1,28 +0,0 @@
-# Template file for 'python-feedparser'
-pkgname=python-feedparser
-version=5.2.1
-revision=8
-wrksrc="feedparser-${version}"
-build_style=python-module
-pycompile_module="feedparser.py"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-2-Clause"
-homepage="https://pypi.org/project/feedparser/"
-short_desc="Parse Atom and RSS feeds in Python2"
-distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.bz2"
-checksum=ce875495c90ebd74b179855449040003a1beb40cd13d5f037a0654251e260b02
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-feedparser_package() {
-	depends="python3"
-	pycompile_module="feedparser.py"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-	}
-}
diff --git a/srcpkgs/python3-feedparser b/srcpkgs/python3-feedparser
deleted file mode 120000
index 1e305c4f3d7..00000000000
--- a/srcpkgs/python3-feedparser
+++ /dev/null
@@ -1 +0,0 @@
-python-feedparser
\ No newline at end of file
diff --git a/srcpkgs/python3-feedparser/template b/srcpkgs/python3-feedparser/template
new file mode 100644
index 00000000000..949f350665e
--- /dev/null
+++ b/srcpkgs/python3-feedparser/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-feedparser'
+pkgname=python3-feedparser
+version=6.0.1
+revision=1
+wrksrc="feedparser-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-sgmllib"
+short_desc="Parse Atom and RSS feeds in Python3"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="BSD-2-Clause"
+homepage="https://pypi.org/project/feedparser/"
+distfiles="${PYPI_SITE}/f/feedparser/feedparser-${version}.tar.gz"
+checksum=6ca88edcaa43f428345968df903a87f020843eda5e28d7ea24a612158d61e74c
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: python3-feedparser: update to 6.0.1.
  2020-10-12 15:43 [PR PATCH] python3-feedparser: update to 6.0.1 pbui
  2020-10-14 16:27 ` [PR PATCH] [Updated] " pbui
@ 2020-10-14 16:28 ` pbui
  2020-10-15  0:18 ` [PR PATCH] [Merged]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: pbui @ 2020-10-14 16:28 UTC (permalink / raw)
  To: ml

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

New comment by pbui on void-packages repository

https://github.com/void-linux/void-packages/pull/25541#issuecomment-708515906

Comment:
@ahesford I've updated the git commit message for python3-sgmllib.

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

* Re: [PR PATCH] [Merged]: python3-feedparser: update to 6.0.1.
  2020-10-12 15:43 [PR PATCH] python3-feedparser: update to 6.0.1 pbui
  2020-10-14 16:27 ` [PR PATCH] [Updated] " pbui
  2020-10-14 16:28 ` pbui
@ 2020-10-15  0:18 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2020-10-15  0:18 UTC (permalink / raw)
  To: ml

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

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

python3-feedparser: update to 6.0.1.
https://github.com/void-linux/void-packages/pull/25541

Description:
- Split off from python-feedparser.  Python2 version is now deprecated and unsupported by upstream:

    https://github.com/kurtmckee/feedparser/issues/228

  Since no other packages in void-packages now depend on python-feedparser, drop Python2 version.

- python3-feedparser now requires separate python3-sgmllib (which was provided in Python2 and bundled in Python3 module previously).

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

end of thread, other threads:[~2020-10-15  0:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-12 15:43 [PR PATCH] python3-feedparser: update to 6.0.1 pbui
2020-10-14 16:27 ` [PR PATCH] [Updated] " pbui
2020-10-14 16:28 ` pbui
2020-10-15  0:18 ` [PR PATCH] [Merged]: " ahesford

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).