summaryrefslogtreecommitdiff
path: root/dev-python/signxml/signxml-5.2.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/signxml/signxml-5.2.0.ebuild')
-rw-r--r--dev-python/signxml/signxml-5.2.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/signxml/signxml-5.2.0.ebuild b/dev-python/signxml/signxml-5.2.0.ebuild
new file mode 100644
index 000000000000..88be6abb68ae
--- /dev/null
+++ b/dev-python/signxml/signxml-5.2.0.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
+PYPI_VERIFY_REPO=https://github.com/XML-Security/signxml
+PYTHON_COMPAT=( python3_{13..14} )
+
+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"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/lxml-5[${PYTHON_USEDEP}]
+ <dev-python/lxml-7[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-45[${PYTHON_USEDEP}]
+ >=dev-python/certifi-2023.11.17[${PYTHON_USEDEP}]
+"
+
+python_test() {
+ "${EPYTHON}" test/test.py -v || die
+}