dev-python/signxml: new package, add 4.2.2, 9999

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/45572
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2026-02-11 03:27:11 +00:00
committed by Sam James
parent 5de110a9de
commit db8a3c8e77
4 changed files with 98 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST signxml-4.2.2.tar.gz 1611966 BLAKE2B 65249e3ed854ae1a45bf625a7965d66c41eee524e303f550f4835953afdc61e4d3140450b8a2876edc796ca87b5c19bac5230792a003e29ad7315d955ea95ff9 SHA512 60c955e8bb53f958cf3b28ced816d34f5182adbe1b7a27eee4717af3b04426c0353219e07d5277f78a7bdb30c7f0d5ff29d90503d0f53f6d334396f8d26e995b
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>mario.haustein@hrz.tu-chemnitz.de</email>
<name>Mario Haustein</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">XML-Security/signxml</remote-id>
<remote-id type="pypi">signxml</remote-id>
</upstream>
</pkgmetadata>
+40
View File
@@ -0,0 +1,40 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Python XML Signature and XAdES library"
HOMEPAGE="
https://pypi.org/project/signxml/
https://github.com/XML-Security/signxml
"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/XML-Security/signxml.git"
else
inherit pypi
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RDEPEND="
>=dev-python/lxml-5[${PYTHON_USEDEP}]
<dev-python/lxml-7[${PYTHON_USEDEP}]
>=dev-python/cryptography-43[${PYTHON_USEDEP}]
>=dev-python/certifi-2023.11.17[${PYTHON_USEDEP}]
"
RESTRICT="!test? ( test )"
python_test() {
"${EPYTHON}" test/test.py -v || die
}
+40
View File
@@ -0,0 +1,40 @@
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="Python XML Signature and XAdES library"
HOMEPAGE="
https://pypi.org/project/signxml/
https://github.com/XML-Security/signxml
"
if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/XML-Security/signxml.git"
else
inherit pypi
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
RDEPEND="
>=dev-python/lxml-5[${PYTHON_USEDEP}]
<dev-python/lxml-6[${PYTHON_USEDEP}]
>=dev-python/cryptography-43[${PYTHON_USEDEP}]
>=dev-python/certifi-2023.11.17[${PYTHON_USEDEP}]
"
RESTRICT="!test? ( test )"
python_test() {
"${EPYTHON}" test/test.py -v || die
}