New package: xml2rfc-3.15.0

This commit is contained in:
Andrew Benson 2022-10-09 13:52:32 -05:00 committed by Andrew Benson
parent 3b64a9baef
commit f499f27856
2 changed files with 29 additions and 0 deletions

1
srcpkgs/xml2rfc-pdf Symbolic link
View File

@ -0,0 +1 @@
xml2rfc

28
srcpkgs/xml2rfc/template Normal file
View File

@ -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
}