summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-11-26 13:48:10 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-11-26 13:48:31 +0100
commit65e626b10b13df4a48010018d16f12289dbb4525 (patch)
treeb7ce78654ad6d08d374fbce2743ecd8d537a479d /app-text/xml2rfc
parentdev-java/gradle-bin: add 7.6, drop 7.6_rc3 (diff)
downloadgentoo-65e626b10b13df4a48010018d16f12289dbb4525.tar.gz
gentoo-65e626b10b13df4a48010018d16f12289dbb4525.tar.bz2
gentoo-65e626b10b13df4a48010018d16f12289dbb4525.zip
app-text/xml2rfc: add 3.15.3
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text/xml2rfc')
-rw-r--r--app-text/xml2rfc/Manifest1
-rw-r--r--app-text/xml2rfc/xml2rfc-3.15.3.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-text/xml2rfc/Manifest b/app-text/xml2rfc/Manifest
index 2d450428dc8f..e001df972b15 100644
--- a/app-text/xml2rfc/Manifest
+++ b/app-text/xml2rfc/Manifest
@@ -1 +1,2 @@
DIST xml2rfc-3.15.2.gh.tar.gz 2849091 BLAKE2B e792d07a2c8123dc32f4c2cfe794420f98db13da1812a4a7e82a4f2a2e2e70fa0e6b7385e189e70eba47c9be7e0ac281d3858437103b828ea8dbaaf8cef73b87 SHA512 5953ae40ad479b0aa6ab90f08f235ceddfa9c7e1edd868ee43bfd261f4c4d0fdfbbe052ff8a3274c39d283efc1105a0be3b4578fa372269f3274a72acdc950e8
+DIST xml2rfc-3.15.3.gh.tar.gz 2857354 BLAKE2B 936c1f0c37d8de85b7a9966b6239da55dca090c3cb3e712a1198683244e436ccf6827fc6d00325e8c13a7be829af6954d311f690e4aa0367f2399c4d5cf9321f SHA512 3022bfc071e9bbef2e8e6b73c9c6539690e18f0935e3d22f99d1fc3faa642b75f998d6dfbd8d8c019f7fc789c38957994e06667870638dff8e907c928578c904
diff --git a/app-text/xml2rfc/xml2rfc-3.15.3.ebuild b/app-text/xml2rfc/xml2rfc-3.15.3.ebuild
new file mode 100644
index 000000000000..1c0c63b13130
--- /dev/null
+++ b/app-text/xml2rfc/xml2rfc-3.15.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Generates RFCs and IETF drafts from document source in XML"
+HOMEPAGE="https://ietf-tools.github.io/xml2rfc/ https://github.com/ietf-tools/xml2rfc"
+SRC_URI="https://github.com/ietf-tools/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+RESTRICT="!test? ( test )"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ test? (
+ dev-python/PyPDF2[${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/dict2xml[${PYTHON_USEDEP}]
+ dev-python/weasyprint[${PYTHON_USEDEP}]
+ media-fonts/noto[cjk]
+ )
+"
+
+RDEPEND="
+ dev-python/appdirs[${PYTHON_USEDEP}]
+ dev-python/ConfigArgParse[${PYTHON_USEDEP}]
+ dev-python/intervaltree[${PYTHON_USEDEP}]
+ dev-python/google-i18n-address[${PYTHON_USEDEP}]
+ >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}]
+ dev-python/pycountry[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/xml2rfc-Remove-broken-test.patch"
+)
+
+distutils_enable_tests setup.py
+
+#src_test() {
+ # https://github.com/ietf-tools/xml2rfc/issues/561
+# emake tests-no-network
+#}