diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 11:28:04 +0100 |
commit | 47a1d2f184696819152c003a600beb058fbc4420 (patch) | |
tree | a85ea2840d8bb2bfaea292c4e2f363b663cc1ea1 /app-text/xml2rfc/xml2rfc-3.17.1.ebuild | |
parent | 42564959cad787b3e82c0ebd8a8a6a59958e1370 (diff) |
gentoo auto-resync : 04:05:2023 - 11:28:04
Diffstat (limited to 'app-text/xml2rfc/xml2rfc-3.17.1.ebuild')
-rw-r--r-- | app-text/xml2rfc/xml2rfc-3.17.1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-text/xml2rfc/xml2rfc-3.17.1.ebuild b/app-text/xml2rfc/xml2rfc-3.17.1.ebuild new file mode 100644 index 000000000000..495e49666d19 --- /dev/null +++ b/app-text/xml2rfc/xml2rfc-3.17.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..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/pypdf-3.2.1[${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}] +" + +distutils_enable_tests unittest + +src_prepare() { + default + # Disable broken PdfWriterTests. + sed -i 's/ PdfWriterTests(unittest.TestCase):/ PdfWriterTests:/' test.py || die +} |