Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: xml2rfc-3.15.0
@ 2022-10-10 20:04 abenson
  2022-10-10 20:16 ` [PR PATCH] [Updated] " abenson
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: abenson @ 2022-10-10 20:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

[WIP] New package: xml2rfc-3.15.0

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_
-->


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

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

From 41c5dc61eb5a19ca552bb1013a5ee7be9bd220d9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/12] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 82733a105516daf7920514711e7cc81affe3b5ce Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/12] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..aabbbb02be3f
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From 3b1a19d997d148344be6deea81b51db99d06b57b Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:36 -0500
Subject: [PATCH 03/12] New package: python3-pytest-isort-3.0.0

---
 .../patches/fix-masonry-backend.patch         | 24 +++++++++++++++++++
 srcpkgs/python3-pytest-isort/template         | 14 +++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
new file mode 100644
index 000000000000..23589900491d
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
@@ -0,0 +1,24 @@
+From a36c16ecbf454cc25f8564aa39fe652808f56d3f Mon Sep 17 00:00:00 2001
+From: Fabian Affolter <mail@fabian-affolter.ch>
+Date: Fri, 4 Mar 2022 08:42:48 +0100
+Subject: [PATCH] Switch to poetry-core (#44)
+
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e86b450..ecb092a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -44,8 +44,8 @@ pytest-flake8 = ">=1.0"
+ pytest-black = ">=0.3"
+ 
+ [build-system]
+-requires = ["poetry>=1.1"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ [tool.black]
+ line-length = 96
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..fb2081ef2eea
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+build_style=python3-pep517
+wrksrc="pytest-isort-${version}"
+hostmakedepends="python3-poetry-core"
+depends="python3-isort"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
+checksum=07ceeaaf0f3804132545d4d2f9af43cb1e41721573801838baf45fc75c95df32

From 2523251858277754c4d53bc6d3b3e292a36631c8 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 04/12] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..f66d3fa88c7c
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+build_style=python3-pep517
+wrksrc="tinycss2-${version}"
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From d9432884d3fd3e0daf883557fabbd1f4184d30bb Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 05/12] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..3de38ab2a573
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+build_style=python3-pep517
+wrksrc="cssselect2-${version}"
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf

From a6d157ddf87d418a9c9c5c0eed4011be1c9f0f88 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 06/12] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..1d478057c2b7
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+build_style=python3-pep517
+wrksrc="Pyphen-${version}"
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later; LGPL-2.1-or-later; MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From fc10a3daf36217e444b77bb41f934598bbb78970 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 07/12] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..9480f3126c56
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+build_style=python3-pep517
+wrksrc="pydyf-${version}"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From ca3f4ddec253a58e0c6280d517d8043c5192e09e Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 08/12] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..781e348c64c4
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+build_style=python3-pep517
+wrksrc="WeasyPrint-${version}"
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango" 
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From 436b4250b3d482e6fab6110b9ca303ad82096f66 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 09/12] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index ab364f365741..08bd13005995 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=4
+version=22.3.5
+revision=1
 wrksrc="pycountry-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,4 +11,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From 22b6e86f60ac132d6a971c50043f467a35b90c8d Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:06:51 -0500
Subject: [PATCH 10/12] python3-Jinja2: update to 3.1.2.

This will be dropped from the PR when #39346 is merged.
---
 srcpkgs/python3-Jinja2/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-Jinja2/template b/srcpkgs/python3-Jinja2/template
index fb6d7e585a92..332159a4de42 100644
--- a/srcpkgs/python3-Jinja2/template
+++ b/srcpkgs/python3-Jinja2/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-Jinja2'
 pkgname=python3-Jinja2
-reverts="3.1.1_1 3.1.1_2"
-version=3.0.3
-revision=3
+version=3.1.2
+revision=1
 wrksrc="Jinja2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -14,7 +13,7 @@ license="BSD-3-Clause"
 homepage="http://jinja.pocoo.org/"
 changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
-checksum=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7
+checksum=31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
 
 post_install() {
 	vlicense LICENSE.rst

From 6d981e53bb969f223a3a1fb4e7ccf02bfd28fb8a Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 11/12] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 0b2f369bd21d..162e9117e183 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
+version=4.9.0
 revision=1
 wrksrc="lxml-lxml-${version}"
 build_style=python3-module
@@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 17e5d1d5076d22e69ac9c45f5998075d65dec2ca Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 12/12] [WIP] New package: xml2rfc-3.15.0

This and all depedencies are currently works in progress.
---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..fa3cf1c6edbf
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,29 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
@ 2022-10-10 20:16 ` abenson
  2022-10-10 20:25 ` abenson
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-10-10 20:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

[WIP] New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From cf2d37890029667f190dbdc804bf878d6fe31253 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/12] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 3b9dda5aab9974e3b1b66efa80a7763875c58d37 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/12] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..aabbbb02be3f
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From e39c410e7472810d82a08cf5603e5816eb06b05c Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:36 -0500
Subject: [PATCH 03/12] New package: python3-pytest-isort-3.0.0

---
 .../patches/fix-masonry-backend.patch         | 24 +++++++++++++++++++
 srcpkgs/python3-pytest-isort/template         | 14 +++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
new file mode 100644
index 000000000000..23589900491d
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
@@ -0,0 +1,24 @@
+From a36c16ecbf454cc25f8564aa39fe652808f56d3f Mon Sep 17 00:00:00 2001
+From: Fabian Affolter <mail@fabian-affolter.ch>
+Date: Fri, 4 Mar 2022 08:42:48 +0100
+Subject: [PATCH] Switch to poetry-core (#44)
+
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e86b450..ecb092a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -44,8 +44,8 @@ pytest-flake8 = ">=1.0"
+ pytest-black = ">=0.3"
+ 
+ [build-system]
+-requires = ["poetry>=1.1"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ [tool.black]
+ line-length = 96
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..fb2081ef2eea
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+build_style=python3-pep517
+wrksrc="pytest-isort-${version}"
+hostmakedepends="python3-poetry-core"
+depends="python3-isort"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
+checksum=07ceeaaf0f3804132545d4d2f9af43cb1e41721573801838baf45fc75c95df32

From 73fe1fca986af99ced41defcfbf674d2721303d4 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 04/12] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..a719a879a845
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 51c7c5649695e0f8a1ef886c5ad46af6b91e0efd Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 05/12] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..bbd7a4f61981
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+build_style=python3-pep517
+wrksrc="cssselect2-${version}"
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From cc68cc49ea37a77fb407b40384dff8d3a23e9980 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 06/12] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..6d484b3551ea
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+wrksrc="Pyphen-${version}"
+build_style=python3-pep517
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From 8e9524ead6f8da9f581395f770c3a6f74a131787 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 07/12] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..b861522b3b9b
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+wrksrc="pydyf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 4b64cd0e9cd106243fb3136fdfe1faa2f0bfa3bb Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 08/12] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..3dcd5926998b
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+wrksrc="WeasyPrint-${version}"
+build_style=python3-pep517
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From 3500772deb5e081aeedc081721d5925a1725d2ae Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 09/12] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index ab364f365741..08bd13005995 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=4
+version=22.3.5
+revision=1
 wrksrc="pycountry-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,4 +11,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From eaa04ec4826f527d6210de3146580b05abd388b2 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:06:51 -0500
Subject: [PATCH 10/12] python3-Jinja2: update to 3.1.2.

This will be dropped from the PR when #39346 is merged.
---
 srcpkgs/python3-Jinja2/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-Jinja2/template b/srcpkgs/python3-Jinja2/template
index fb6d7e585a92..332159a4de42 100644
--- a/srcpkgs/python3-Jinja2/template
+++ b/srcpkgs/python3-Jinja2/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-Jinja2'
 pkgname=python3-Jinja2
-reverts="3.1.1_1 3.1.1_2"
-version=3.0.3
-revision=3
+version=3.1.2
+revision=1
 wrksrc="Jinja2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -14,7 +13,7 @@ license="BSD-3-Clause"
 homepage="http://jinja.pocoo.org/"
 changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
-checksum=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7
+checksum=31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
 
 post_install() {
 	vlicense LICENSE.rst

From e71256105fcece7646ccf0a2669049573bb9883d Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 11/12] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 0b2f369bd21d..162e9117e183 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
+version=4.9.0
 revision=1
 wrksrc="lxml-lxml-${version}"
 build_style=python3-module
@@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 7b35a1ef193c2d0b1c53bce5932293b0695975f7 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 12/12] [WIP] New package: xml2rfc-3.15.0

This and all depedencies are currently works in progress.
---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
  2022-10-10 20:16 ` [PR PATCH] [Updated] " abenson
@ 2022-10-10 20:25 ` abenson
  2022-11-21 16:18 ` abenson
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-10-10 20:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

[WIP] New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From cf2d37890029667f190dbdc804bf878d6fe31253 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/12] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 3b9dda5aab9974e3b1b66efa80a7763875c58d37 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/12] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..aabbbb02be3f
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From 8dc2598894995ded751dfa7d4243c13f090adbe4 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:36 -0500
Subject: [PATCH 03/12] New package: python3-pytest-isort-3.0.0

---
 .../patches/fix-masonry-backend.patch         | 24 +++++++++++++++++++
 srcpkgs/python3-pytest-isort/template         | 18 ++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
new file mode 100644
index 000000000000..23589900491d
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
@@ -0,0 +1,24 @@
+From a36c16ecbf454cc25f8564aa39fe652808f56d3f Mon Sep 17 00:00:00 2001
+From: Fabian Affolter <mail@fabian-affolter.ch>
+Date: Fri, 4 Mar 2022 08:42:48 +0100
+Subject: [PATCH] Switch to poetry-core (#44)
+
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e86b450..ecb092a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -44,8 +44,8 @@ pytest-flake8 = ">=1.0"
+ pytest-black = ">=0.3"
+ 
+ [build-system]
+-requires = ["poetry>=1.1"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ [tool.black]
+ line-length = 96
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..921169ffff5a
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+wrksrc="pytest-isort-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isort"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
+checksum=07ceeaaf0f3804132545d4d2f9af43cb1e41721573801838baf45fc75c95df32
+
+post_install() {
+	vlicense LICENSE.rst LICENSE
+}

From 1c2d8210b730816932fbf91e87c5ce03b84336dc Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 04/12] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..a719a879a845
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From f615cdbbb8f2fd1c3fbfb12ae575321f5b302ddc Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 05/12] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..238ed16c986f
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From fe6989e946d1417522ab8edb787ce31dc5300480 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 06/12] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..6d484b3551ea
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+wrksrc="Pyphen-${version}"
+build_style=python3-pep517
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From ae9b073079188e1b0513442076dec09c53d6acbf Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 07/12] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..b861522b3b9b
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+wrksrc="pydyf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 82a7e467a10f212f2c609cfd8d07054dbd070892 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 08/12] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..3dcd5926998b
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+wrksrc="WeasyPrint-${version}"
+build_style=python3-pep517
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From e005163a4f87645308df6bd7efa213ba1014a927 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 09/12] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index ab364f365741..08bd13005995 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=4
+version=22.3.5
+revision=1
 wrksrc="pycountry-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,4 +11,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From c24f5dd8c833068738963ec615f0e91c6a4ff75d Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:06:51 -0500
Subject: [PATCH 10/12] python3-Jinja2: update to 3.1.2.

This will be dropped from the PR when #39346 is merged.
---
 srcpkgs/python3-Jinja2/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-Jinja2/template b/srcpkgs/python3-Jinja2/template
index fb6d7e585a92..332159a4de42 100644
--- a/srcpkgs/python3-Jinja2/template
+++ b/srcpkgs/python3-Jinja2/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-Jinja2'
 pkgname=python3-Jinja2
-reverts="3.1.1_1 3.1.1_2"
-version=3.0.3
-revision=3
+version=3.1.2
+revision=1
 wrksrc="Jinja2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -14,7 +13,7 @@ license="BSD-3-Clause"
 homepage="http://jinja.pocoo.org/"
 changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
-checksum=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7
+checksum=31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
 
 post_install() {
 	vlicense LICENSE.rst

From ec3c525c0e1d1adcf7bf3df268b9ef9a4cbc36dd Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 11/12] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 0b2f369bd21d..162e9117e183 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
+version=4.9.0
 revision=1
 wrksrc="lxml-lxml-${version}"
 build_style=python3-module
@@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 386dacd4471cbcaf5630b0282abe36ed96aa8183 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 12/12] [WIP] New package: xml2rfc-3.15.0

This and all depedencies are currently works in progress.
---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
  2022-10-10 20:16 ` [PR PATCH] [Updated] " abenson
  2022-10-10 20:25 ` abenson
@ 2022-11-21 16:18 ` abenson
  2022-11-21 16:54 ` abenson
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-11-21 16:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

[WIP] New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From 313ed8822a338275fa8894c28b7112e327282757 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/11] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From c0fb825f8a38c9dcf50aa343a1ec1d71aff6eb05 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/11] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..aabbbb02be3f
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From 195c53e9bac151deb552b5b0f6370f51cb9bfaf7 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:36 -0500
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.0.0

---
 .../patches/fix-masonry-backend.patch         | 24 +++++++++++++++++++
 srcpkgs/python3-pytest-isort/template         | 18 ++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
new file mode 100644
index 000000000000..23589900491d
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
@@ -0,0 +1,24 @@
+From a36c16ecbf454cc25f8564aa39fe652808f56d3f Mon Sep 17 00:00:00 2001
+From: Fabian Affolter <mail@fabian-affolter.ch>
+Date: Fri, 4 Mar 2022 08:42:48 +0100
+Subject: [PATCH] Switch to poetry-core (#44)
+
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e86b450..ecb092a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -44,8 +44,8 @@ pytest-flake8 = ">=1.0"
+ pytest-black = ">=0.3"
+ 
+ [build-system]
+-requires = ["poetry>=1.1"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ [tool.black]
+ line-length = 96
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..921169ffff5a
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+wrksrc="pytest-isort-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isort"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
+checksum=07ceeaaf0f3804132545d4d2f9af43cb1e41721573801838baf45fc75c95df32
+
+post_install() {
+	vlicense LICENSE.rst LICENSE
+}

From 3d34bd9f4a54c74070ff131c9a7c95abba82b241 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 04/11] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..a719a879a845
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 8481c72eb7747810492644666014f5af535853fb Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 05/11] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..238ed16c986f
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From ead0f0e713c97bf3425bab6a40dc46caf560d7ec Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 06/11] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..6d484b3551ea
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+wrksrc="Pyphen-${version}"
+build_style=python3-pep517
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From bf4fd8683ed11f8dc06780411bc93bc80da76d7e Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 07/11] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..b861522b3b9b
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+wrksrc="pydyf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From adc94b01ad3b62d15741d7af90901ba4d6fe8fbf Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 08/11] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..3dcd5926998b
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+wrksrc="WeasyPrint-${version}"
+build_style=python3-pep517
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From c0cf1228d44f2966e97191da262335ce38a88f13 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 09/11] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index f941c94263db..939bb43c1ddf 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=5
+version=22.3.5
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
@@ -10,4 +10,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From e2e429d7f3e2a325b7f12ab4e401381219f01827 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 10/11] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 9cede53ea703..eae0cd158a99 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
-revision=2
+version=4.9.0
+revision=1
 build_style=python3-module
 make_build_args="--with-cython"
 hostmakedepends="python3-Cython python3-setuptools"
@@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From c28fcc4f6bb795b5901cf733200a2b6b1fb41bb0 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 11/11] New package: xml2rfc-3.15.0

---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
                   ` (2 preceding siblings ...)
  2022-11-21 16:18 ` abenson
@ 2022-11-21 16:54 ` abenson
  2022-12-05 23:29 ` [PR PATCH] [Updated] " abenson
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-11-21 16:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

[WIP] New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From 313ed8822a338275fa8894c28b7112e327282757 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/11] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From f551b4afccb7aed3b179b6e57c94fccb3105ad2d Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/11] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..1161c2bb4ca1
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From f26d4dd4e22f8365147f51c2e8f64c9fce36189a Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:36 -0500
Subject: [PATCH 03/11] New package: python3-pytest-isort-3.0.0

---
 .../patches/fix-masonry-backend.patch         | 24 +++++++++++++++++++
 srcpkgs/python3-pytest-isort/template         | 17 +++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
 create mode 100644 srcpkgs/python3-pytest-isort/template

diff --git a/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
new file mode 100644
index 000000000000..23589900491d
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/patches/fix-masonry-backend.patch
@@ -0,0 +1,24 @@
+From a36c16ecbf454cc25f8564aa39fe652808f56d3f Mon Sep 17 00:00:00 2001
+From: Fabian Affolter <mail@fabian-affolter.ch>
+Date: Fri, 4 Mar 2022 08:42:48 +0100
+Subject: [PATCH] Switch to poetry-core (#44)
+
+---
+ pyproject.toml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index e86b450..ecb092a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -44,8 +44,8 @@ pytest-flake8 = ">=1.0"
+ pytest-black = ">=0.3"
+ 
+ [build-system]
+-requires = ["poetry>=1.1"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
+ 
+ [tool.black]
+ line-length = 96
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..d0633343cd27
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-isort"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/stephrdev/pytest-isort"
+distfiles="https://github.com/stephrdev/pytest-isort/archive/refs/tags/${version}.tar.gz"
+checksum=07ceeaaf0f3804132545d4d2f9af43cb1e41721573801838baf45fc75c95df32
+
+post_install() {
+	vlicense LICENSE.rst LICENSE
+}

From 9046f29f8d2c6421f5c66abf6e39ebde51c0bd01 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 04/11] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..c40618280afa
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 20c842ec744000d2e9dc45527f2d0b1400cb116f Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 05/11] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..ef571a9fad4a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From 4ef89f7d6b112671c965fb56b23f2a2d26b76dbe Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 06/11] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..4135cf9b24c9
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+build_style=python3-pep517
+make_install_target="dist/pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From 237a6c29cd57b44dec4b873b60380017d2a6f4b7 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 07/11] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..d2a1b0925731
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 42ba4ffb46ebac3bbe78e6e66563c1aa77cd6e53 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 08/11] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..7f9d069da924
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+build_style=python3-pep517
+make_install_target="dist/weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From 8a6810b6d3050d4a2bf32c94eb89ce64cc0bb75b Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 09/11] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index f941c94263db..939bb43c1ddf 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=5
+version=22.3.5
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
@@ -10,4 +10,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From ecef095b35760c67fc952b7e261852a16af71a17 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 10/11] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 9cede53ea703..eae0cd158a99 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
-revision=2
+version=4.9.0
+revision=1
 build_style=python3-module
 make_build_args="--with-cython"
 hostmakedepends="python3-Cython python3-setuptools"
@@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 3121f162f4feecddc53556e5d077bf1b649c4973 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 11/11] New package: xml2rfc-3.15.0

---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
                   ` (3 preceding siblings ...)
  2022-11-21 16:54 ` abenson
@ 2022-12-05 23:29 ` abenson
  2022-12-05 23:37 ` abenson
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-12-05 23:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From cf2d37890029667f190dbdc804bf878d6fe31253 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 01/11] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e3..a0cea83f59d90 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 3b9dda5aab9974e3b1b66efa80a7763875c58d37 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 02/11] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 0000000000000..aabbbb02be3f0
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From 1b4ccce92fd97f7f1603a12d0f2aadaf3dacccce Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 03/11] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 0000000000000..a719a879a8452
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From aecf5fb9e475674f8c48ae567d14057d4b89b47e Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 04/11] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 0000000000000..238ed16c986f3
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From e3420f297a90819d6261168e5ad93131639c3b01 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 05/11] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 0000000000000..6d484b3551ea8
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+wrksrc="Pyphen-${version}"
+build_style=python3-pep517
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From 1959df7d74dc06a6d4c84de47d8eaaf0633bfe70 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 06/11] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 0000000000000..b861522b3b9b9
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+wrksrc="pydyf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From ac7c31050ff0abd86847e71822caca4f6e3c3e0f Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 07/11] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 0000000000000..3dcd5926998b0
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+wrksrc="WeasyPrint-${version}"
+build_style=python3-pep517
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From 9507dc34aabc52b937c28032fcbd0df0120d624c Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 13:23:54 -0500
Subject: [PATCH 08/11] python3-pycountry: update to 22.3.5.

---
 srcpkgs/python3-pycountry/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pycountry/template b/srcpkgs/python3-pycountry/template
index ab364f3657415..08bd13005995e 100644
--- a/srcpkgs/python3-pycountry/template
+++ b/srcpkgs/python3-pycountry/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pycountry'
 pkgname=python3-pycountry
-version=19.8.18
-revision=4
+version=22.3.5
+revision=1
 wrksrc="pycountry-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -11,4 +11,4 @@ maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
 license="LGPL-2.1-or-later"
 homepage="https://pypi.org/project/pycountry/"
 distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
-checksum=3c57aa40adcf293d59bebaffbe60d8c39976fba78d846a018dc0c2ec9c6cb3cb
+checksum=b2163a246c585894d808f18783e19137cb70a0c18fb36748dc01fc6f109c1646

From a3f0bfc726d64d6ac6acbbb40d59ba8f4fcc2afc Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:06:51 -0500
Subject: [PATCH 09/11] python3-Jinja2: update to 3.1.2.

This will be dropped from the PR when #39346 is merged.
---
 srcpkgs/python3-Jinja2/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-Jinja2/template b/srcpkgs/python3-Jinja2/template
index fb6d7e585a92e..332159a4de426 100644
--- a/srcpkgs/python3-Jinja2/template
+++ b/srcpkgs/python3-Jinja2/template
@@ -1,8 +1,7 @@
 # Template file for 'python3-Jinja2'
 pkgname=python3-Jinja2
-reverts="3.1.1_1 3.1.1_2"
-version=3.0.3
-revision=3
+version=3.1.2
+revision=1
 wrksrc="Jinja2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -14,7 +13,7 @@ license="BSD-3-Clause"
 homepage="http://jinja.pocoo.org/"
 changelog="https://raw.githubusercontent.com/pallets/jinja/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/J/Jinja2/Jinja2-${version}.tar.gz"
-checksum=611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7
+checksum=31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852
 
 post_install() {
 	vlicense LICENSE.rst

From 63496ac9fda904532897c4d7c9a713baa809583b Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 10/11] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 0b2f369bd21d0..162e9117e1833 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
+version=4.9.0
 revision=1
 wrksrc="lxml-lxml-${version}"
 build_style=python3-module
@@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 27c603156b6f428e4a086f27f86080155fd65c59 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 11/11] New package: xml2rfc-3.15.0

---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 0000000000000..2e02a96be8703
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 0000000000000..8449177120e14
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
                   ` (4 preceding siblings ...)
  2022-12-05 23:29 ` [PR PATCH] [Updated] " abenson
@ 2022-12-05 23:37 ` abenson
  2022-12-05 23:55 ` abenson
  2022-12-06  2:45 ` [PR PATCH] [Merged]: " abenson
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-12-05 23:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From 790234f997b8fbc621e307f21221c1527c72a38e Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 1/9] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 1ac0d169e2d045d3f8bb5370f6cb62afea9e3960 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 2/9] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..aabbbb02be3f
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+wrksrc="google-i18n-address-${version}"
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From 3e3f776ddfe4836274d471ae7606682ec9d569f6 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 3/9] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..a719a879a845
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 8dc124f0a591c6a9430de21ca050dbfa30fc57ac Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 4/9] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..238ed16c986f
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From fd3dec9aee87a9639d51d8808d516509a839ff15 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 5/9] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..6d484b3551ea
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+wrksrc="Pyphen-${version}"
+build_style=python3-pep517
+make_install_target="pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From 6f9631dcadcd3c05b10a3185d685a550bd223651 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 6/9] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..b861522b3b9b
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+wrksrc="pydyf-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From ef696a766050e7e313b9b4d39fbaedebcdff2bd9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 7/9] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..3dcd5926998b
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+wrksrc="WeasyPrint-${version}"
+build_style=python3-pep517
+make_install_target="weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From 029a649e429291f914f01a2f8f121e9c66c0dd5a Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 8/9] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 9cede53ea703..eae0cd158a99 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
-revision=2
+version=4.9.0
+revision=1
 build_style=python3-module
 make_build_args="--with-cython"
 hostmakedepends="python3-Cython python3-setuptools"
@@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 8f80a21bebdf6b77e524827ea1e7d0a212acbc8d Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 9/9] New package: xml2rfc-3.15.0

---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Updated] New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
                   ` (5 preceding siblings ...)
  2022-12-05 23:37 ` abenson
@ 2022-12-05 23:55 ` abenson
  2022-12-06  2:45 ` [PR PATCH] [Merged]: " abenson
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-12-05 23:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages np_xml2rfc
https://github.com/void-linux/void-packages/pull/39873

New package: xml2rfc-3.15.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

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

From 790234f997b8fbc621e307f21221c1527c72a38e Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:10:47 -0500
Subject: [PATCH 1/9] mmark: update to 2.2.28.

---
 srcpkgs/mmark/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/mmark/template b/srcpkgs/mmark/template
index e3200e95c32e..a0cea83f59d9 100644
--- a/srcpkgs/mmark/template
+++ b/srcpkgs/mmark/template
@@ -1,6 +1,6 @@
 # Template file for 'mmark'
 pkgname=mmark
-version=2.2.23
+version=2.2.28
 revision=1
 build_style=go
 go_import_path=github.com/mmarkdown/mmark/v2
@@ -9,7 +9,7 @@ maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="BSD-2-Clause"
 homepage="https://github.com/mmarkdown/mmark/"
 distfiles="https://github.com/mmarkdown/mmark/archive/v${version}.tar.gz"
-checksum=8c4ebb780f86f17647de1d81532bf6900498ec48edcdf03de6ef6e68287ae510
+checksum=1797322e144bd914473bbe915c5b10a5d4eecf12792a4692471178687fe64a1f
 
 do_check() {
 	go test ./...

From 1eadd716d1b1e36c1de7626dd584bec24fb30be2 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 12:42:04 -0500
Subject: [PATCH 2/9] New package: python3-google-i18n-address-2.5.2

---
 srcpkgs/python3-google-i18n-address/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-google-i18n-address/template

diff --git a/srcpkgs/python3-google-i18n-address/template b/srcpkgs/python3-google-i18n-address/template
new file mode 100644
index 000000000000..1161c2bb4ca1
--- /dev/null
+++ b/srcpkgs/python3-google-i18n-address/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-google-i18n-address'
+pkgname=python3-google-i18n-address
+version=2.5.2
+revision=1
+build_style=python3-module
+make_check_target="tests/"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+checkdepends="python3-pytest-cov python3-pytest-cov $depends"
+short_desc="Address validation helpers for Google's i18n address database"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mirumee/google-i18n-address"
+distfiles="https://github.com/mirumee/google-i18n-address/archive/refs/tags/${version}.tar.gz"
+checksum=5ec8e92d71ffe4d889c439f7f55f698553b6d731cc5177276045a5bb436a6029

From c1e7ccd34fa5705d2a546991d60aa31ed959f07c Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:50:59 -0500
Subject: [PATCH 3/9] New package: python3-tinycss2-1.1.1

---
 srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tinycss2/template

diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..c40618280afa
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core python3-webencodings"
+depends="python3-webencodings"
+checkdepends="python3-pytest-cov python3-pytest-flake8 python3-toml
+ python3-pytest-isort"
+short_desc="Tiny CSS parser"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://www.courtbouillon.org/tinycss2"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+make_check=no # tests broken with flake8 >= v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From 71a8f07562e3b338fe745d5f3e60e9df2864dfe4 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:04:52 -0500
Subject: [PATCH 4/9] New package: python3-cssselect2-0.7.0

---
 srcpkgs/python3-cssselect2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-cssselect2/template

diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..ef571a9fad4a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.7.0
+revision=1
+build_style=python3-pep517
+_runtime_deps="python3-tinycss2 python3-webencodings"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest $depends"
+short_desc="CSS selectors for Python ElementTree"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://doc.courtbouillon.org/cssselect2/stable/"
+distfiles="https://github.com/Kozea/cssselect2/archive/refs/tags/${version}.tar.gz"
+checksum=4fffdffcb7d7e7784c337d75e14399a9af4d0b9d91addc66c869f9482aa6ceaf
+
+post_intall() {
+	vlicense LICENSE
+}

From 6b40231d494935deff6f5cb12ba1d2e473322bed Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 10:58:03 -0500
Subject: [PATCH 5/9] New package: python3-Pyphen-0.13.0

---
 srcpkgs/python3-Pyphen/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-Pyphen/template

diff --git a/srcpkgs/python3-Pyphen/template b/srcpkgs/python3-Pyphen/template
new file mode 100644
index 000000000000..4135cf9b24c9
--- /dev/null
+++ b/srcpkgs/python3-Pyphen/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-Pyphen'
+pkgname=python3-Pyphen
+version=0.13.0
+revision=1
+build_style=python3-pep517
+make_install_target="dist/pyphen-0.13.0-*-*-*.whl"
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-isort python3-pytest-cov python3-pytest-flake8
+ python3-pytest-xdist"
+short_desc="Hy-phen-ation made easy"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://www.courtbouillon.org/pyphen"
+distfiles="https://github.com/Kozea/Pyphen/archive/refs/tags/${version}.tar.gz"
+checksum=e591d26b455fb207b3a7ed000176ae71a671a3955520806fcb05842e3b3228fe
+make_check=no # Tests broken with flake8 v5.x and later
+              # https://github.com/Kozea/Pyphen/blob/master/pyproject.toml#L43

From 7398711b122760db2c3267c5e193292c00116dbb Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 11:15:06 -0500
Subject: [PATCH 6/9] New package: python3-pydyf-0.3.0

---
 srcpkgs/python3-pydyf/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pydyf/template

diff --git a/srcpkgs/python3-pydyf/template b/srcpkgs/python3-pydyf/template
new file mode 100644
index 000000000000..d2a1b0925731
--- /dev/null
+++ b/srcpkgs/python3-pydyf/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pydyf'
+pkgname=python3-pydyf
+version=0.3.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-flit_core"
+checkdepends="python3-pytest-cov python3-pytest-isort python3-pytest-flake8
+ python3-pytest-xdist python3-Pillow ghostscript"
+short_desc="Low-level PDF creator"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://courtbouillon.org/pydyf"
+distfiles="https://github.com/CourtBouillon/pydyf/archive/refs/tags/v${version}.tar.gz"
+checksum=a67fda91fc85e500ba49394ec7fa485239b5a21c28074e75cbfb70cdd8614aa9
+make_check=no # Tests do not work with flake8 > v5.x
+
+post_install() {
+	vlicense LICENSE
+}

From ed80333e85f6f6ac9080ba0cc15b6e44290ba7ad Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:23 -0500
Subject: [PATCH 7/9] New package: python3-WeasyPrint-56.1

---
 srcpkgs/python3-WeasyPrint/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-WeasyPrint/template

diff --git a/srcpkgs/python3-WeasyPrint/template b/srcpkgs/python3-WeasyPrint/template
new file mode 100644
index 000000000000..7f9d069da924
--- /dev/null
+++ b/srcpkgs/python3-WeasyPrint/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-WeasyPrint'
+pkgname=python3-WeasyPrint
+version=56.1
+revision=1
+build_style=python3-pep517
+make_install_target="dist/weasyprint-${version}-py3-none-any.whl"
+_runtime_deps="fonttools python3-Pillow python3-cssselect2 python3-html5lib python3-cffi
+ python3-Pyphen python3-pydyf glib pango"
+hostmakedepends="python3-poetry-core python3-flit_core ${_runtime_deps}"
+depends="${_runtime_deps}"
+checkdepends="python3-pytest-flake8 python3-pytest-xdist python3-pytest-isort
+ $depends"
+short_desc="Awesome document factory"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://weasyprint.org "
+distfiles="https://github.com/Kozea/WeasyPrint/archive/refs/tags/v${version}.tar.gz"
+checksum=9abe105b149f52dc8569b0a409ced64cfb01aece1461ce13cfcf9c347834b7bc
+make_check=no # Tests are broken on flake8 >= v5.x

From f013addd375b5a94ba92a13d57f6cea14df0f269 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 10 Oct 2022 14:12:14 -0500
Subject: [PATCH 8/9] python3-lxml: update to 4.9.0.

---
 srcpkgs/python3-lxml/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template
index 9cede53ea703..eae0cd158a99 100644
--- a/srcpkgs/python3-lxml/template
+++ b/srcpkgs/python3-lxml/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-lxml'
 pkgname=python3-lxml
-version=4.8.0
-revision=2
+version=4.9.0
+revision=1
 build_style=python3-module
 make_build_args="--with-cython"
 hostmakedepends="python3-Cython python3-setuptools"
@@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
 license="BSD-3-Clause, custom:ElementTree"
 homepage="https://lxml.de/"
 distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
-checksum=8d2b999f5c8a8a70a28a3875e5d1bf27c0555c922bfa0af34dc46e07913f2a47
+checksum=9c7159b061c93e8658b4c4d9c4916ae493e771365512281c0e45ea4651262c7d
 
 do_check() {
 	make test3

From 0ca185c9ea31c91c0898b19066392c37742aa6d1 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sun, 9 Oct 2022 13:52:32 -0500
Subject: [PATCH 9/9] New package: xml2rfc-3.15.0

---
 srcpkgs/xml2rfc-pdf      |  1 +
 srcpkgs/xml2rfc/template | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/xml2rfc-pdf
 create mode 100644 srcpkgs/xml2rfc/template

diff --git a/srcpkgs/xml2rfc-pdf b/srcpkgs/xml2rfc-pdf
new file mode 120000
index 000000000000..2e02a96be870
--- /dev/null
+++ b/srcpkgs/xml2rfc-pdf
@@ -0,0 +1 @@
+xml2rfc
\ No newline at end of file
diff --git a/srcpkgs/xml2rfc/template b/srcpkgs/xml2rfc/template
new file mode 100644
index 000000000000..8449177120e1
--- /dev/null
+++ b/srcpkgs/xml2rfc/template
@@ -0,0 +1,28 @@
+# Template file for 'xml2rfc'
+pkgname=xml2rfc
+version=3.15.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-appdirs python3-ConfigArgParse python3-html5lib
+ python3-intervaltree python3-Jinja2 python3-MarkupSafe python3-kitchen
+ python3-lxml python3-pycountry python3-yaml python3-requests python3-six
+ python3-google-i18n-address"
+short_desc="Generate RFCs and IETF drafts from XML"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://ietf-tools.github.io/xml2rfc/"
+distfiles="https://github.com/ietf-tools/xml2rfc/releases/download/v${version}/xml2rfc-${version}.tar.gz"
+checksum=65dac6ad7e59cb296f00c53d5d18355d7cae23bc99706234f84d6c6c19ed61c5
+make_check=no # too many dependencies
+
+post_install() {
+	vlicense LICENSE
+}
+
+xml2rfc-pdf_package() {
+	short_desc+=" - PDF Support"
+	depends="${sourcepkg}-${version}_${revision} python3-WeasyPrint pango
+	 noto-fonts-ttf fonts-roboto-ttf"
+	build_style=meta
+}

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

* Re: [PR PATCH] [Merged]: New package: xml2rfc-3.15.0
  2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
                   ` (6 preceding siblings ...)
  2022-12-05 23:55 ` abenson
@ 2022-12-06  2:45 ` abenson
  7 siblings, 0 replies; 9+ messages in thread
From: abenson @ 2022-12-06  2:45 UTC (permalink / raw)
  To: ml

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

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

New package: xml2rfc-3.15.0
https://github.com/void-linux/void-packages/pull/39873

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl
  - aarch64 _cross_
  - amrv7l-musl _cross_



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

end of thread, other threads:[~2022-12-06  2:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 20:04 [PR PATCH] [WIP] New package: xml2rfc-3.15.0 abenson
2022-10-10 20:16 ` [PR PATCH] [Updated] " abenson
2022-10-10 20:25 ` abenson
2022-11-21 16:18 ` abenson
2022-11-21 16:54 ` abenson
2022-12-05 23:29 ` [PR PATCH] [Updated] " abenson
2022-12-05 23:37 ` abenson
2022-12-05 23:55 ` abenson
2022-12-06  2:45 ` [PR PATCH] [Merged]: " abenson

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