commit:     db8a3c8e771639ffcf1781355b696497cb6ee021
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Thu Jan 29 17:37:14 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 03:27:11 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8a3c8e

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

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/45572
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/signxml/Manifest             |  1 +
 dev-python/signxml/metadata.xml         | 17 ++++++++++++++
 dev-python/signxml/signxml-4.2.2.ebuild | 40 +++++++++++++++++++++++++++++++++
 dev-python/signxml/signxml-9999.ebuild  | 40 +++++++++++++++++++++++++++++++++
 4 files changed, 98 insertions(+)

diff --git a/dev-python/signxml/Manifest b/dev-python/signxml/Manifest
new file mode 100644
index 000000000000..91fb65b117ff
--- /dev/null
+++ b/dev-python/signxml/Manifest
@@ -0,0 +1 @@
+DIST signxml-4.2.2.tar.gz 1611966 BLAKE2B 
65249e3ed854ae1a45bf625a7965d66c41eee524e303f550f4835953afdc61e4d3140450b8a2876edc796ca87b5c19bac5230792a003e29ad7315d955ea95ff9
 SHA512 
60c955e8bb53f958cf3b28ced816d34f5182adbe1b7a27eee4717af3b04426c0353219e07d5277f78a7bdb30c7f0d5ff29d90503d0f53f6d334396f8d26e995b

diff --git a/dev-python/signxml/metadata.xml b/dev-python/signxml/metadata.xml
new file mode 100644
index 000000000000..90092922a0c8
--- /dev/null
+++ b/dev-python/signxml/metadata.xml
@@ -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>[email protected]</email>
+               <name>Mario Haustein</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</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>

diff --git a/dev-python/signxml/signxml-4.2.2.ebuild 
b/dev-python/signxml/signxml-4.2.2.ebuild
new file mode 100644
index 000000000000..783c9d12fc26
--- /dev/null
+++ b/dev-python/signxml/signxml-4.2.2.ebuild
@@ -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
+}

diff --git a/dev-python/signxml/signxml-9999.ebuild 
b/dev-python/signxml/signxml-9999.ebuild
new file mode 100644
index 000000000000..852f9fda9ddd
--- /dev/null
+++ b/dev-python/signxml/signxml-9999.ebuild
@@ -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
+}

Reply via email to