From 790234f997b8fbc621e307f21221c1527c72a38e Mon Sep 17 00:00:00 2001 From: Andrew Benson 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 " 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 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 " +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 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 " +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 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 " +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 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 " +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 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 " +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 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 " +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 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 " 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 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 " +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 +}