29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'xml2rfc'
|
|
pkgname=xml2rfc
|
|
version=3.19.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 python3-wcwidth python3-platformdirs"
|
|
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=8844bc6c90474217a8789fc3b749dd0a5e7871e3a3132e833847aad4c39b696e
|
|
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
|
|
}
|