Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: xml2rfc-3.15.0
Date: Mon, 21 Nov 2022 17:18:45 +0100	[thread overview]
Message-ID: <20221121161845.-7RRtcHVBEBO-cZCNKP5Ym3fRc-rS620Fg6OZlQOJfc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39873@inbox.vuxu.org>

[-- 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
+}

  parent reply	other threads:[~2022-11-21 16:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 20:04 [PR PATCH] " abenson
2022-10-10 20:16 ` [PR PATCH] [Updated] " abenson
2022-10-10 20:25 ` abenson
2022-11-21 16:18 ` abenson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221121161845.-7RRtcHVBEBO-cZCNKP5Ym3fRc-rS620Fg6OZlQOJfc@z \
    --to=abenson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).