diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-06 10:13:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-06 10:13:38 +0100 |
commit | 8e3281f71945b4cccca5a44f2f467f3bff4ac45c (patch) | |
tree | d6bd38c3450c8e1dc5e12e2891351079338c4753 /app-portage/gentle/gentle-0.4.0.ebuild | |
parent | 38d6f110ff1dfdd7c6f0b0baf0ed8b13191dcde3 (diff) |
gentoo auto-resync : 06:07:2023 - 10:13:38
Diffstat (limited to 'app-portage/gentle/gentle-0.4.0.ebuild')
-rw-r--r-- | app-portage/gentle/gentle-0.4.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-portage/gentle/gentle-0.4.0.ebuild b/app-portage/gentle/gentle-0.4.0.ebuild new file mode 100644 index 000000000000..b2f9beb6bc2b --- /dev/null +++ b/app-portage/gentle/gentle-0.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=flit +PYPI_PN="gentle-mxml" +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Gentoo Lazy Entry - a metadata.xml generator" +HOMEPAGE=" + https://gentle.sysrq.in + https://pypi.org/project/gentle-mxml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + app-text/xmldiff[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/pkginfo[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + $(python_gen_cond_dep \ + 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10) + ) +" + +EPYTEST_DESELECT=( + # require network + "tests/python/wheel/test_generator.py::test_pkg_empty[pyproject.toml]" + "tests/python/wheel/test_generator.py::test_pkg_empty[setup.py]" +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/insipid-sphinx-theme \ + dev-python/sphinx-prompt + +pkg_postinst() { + optfeature "python packaging support" dev-python/build + optfeature "PKG-INFO support" dev-python/pkginfo + optfeature "yaml support" dev-python/pyyaml + optfeature "rdf support" dev-python/rdflib + optfeature "toml support" dev-python/tomli +} |