You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
2 months ago
|
# Copyright 2023-2024 Gentoo Authors
|
||
12 months ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
2 months ago
|
PYTHON_COMPAT=( python3_{11..12} )
|
||
12 months ago
|
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"
|
||
|
|
||
2 months ago
|
RDEPEND="
|
||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||
|
sys-apps/portage[${PYTHON_USEDEP}]
|
||
|
"
|
||
12 months ago
|
BDEPEND="
|
||
|
test? (
|
||
|
app-text/xmldiff[${PYTHON_USEDEP}]
|
||
2 months ago
|
dev-lang/perl
|
||
|
dev-lang/ruby:*
|
||
|
>=dev-python/build-1.2.0[${PYTHON_USEDEP}]
|
||
12 months ago
|
dev-python/pkginfo[${PYTHON_USEDEP}]
|
||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||
|
dev-python/rdflib[${PYTHON_USEDEP}]
|
||
|
)
|
||
|
"
|
||
|
|
||
|
distutils_enable_tests pytest
|
||
|
|
||
|
distutils_enable_sphinx docs \
|
||
|
dev-python/insipid-sphinx-theme \
|
||
|
dev-python/sphinx-prompt
|
||
|
|
||
2 months ago
|
python_test() {
|
||
|
epytest --with-perl --with-ruby
|
||
|
}
|
||
|
|
||
12 months ago
|
pkg_postinst() {
|
||
2 months ago
|
optfeature "python packaging support" dev-python/build
|
||
12 months ago
|
optfeature "PKG-INFO support" dev-python/pkginfo
|
||
|
optfeature "yaml support" dev-python/pyyaml
|
||
|
optfeature "rdf support" dev-python/rdflib
|
||
|
}
|