summaryrefslogtreecommitdiff
path: root/dev-python/signxml/signxml-5.0.0.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-21 00:28:19 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-21 00:28:19 -0500
commitad7cd142de34a8e6a6afe613cbc11479b59c68f2 (patch)
treeb6b78920b0f036f6ba5bbcb5d5e31a904e4ac47a /dev-python/signxml/signxml-5.0.0.ebuild
parentce49280022663bfa1d143ad0d34a0b44dc42986b (diff)
downloadsrcux-ad7cd142de34a8e6a6afe613cbc11479b59c68f2.tar.gz
srcux-ad7cd142de34a8e6a6afe613cbc11479b59c68f2.tar.xz
srcux-ad7cd142de34a8e6a6afe613cbc11479b59c68f2.zip
Adding metadata
Diffstat (limited to 'dev-python/signxml/signxml-5.0.0.ebuild')
-rw-r--r--dev-python/signxml/signxml-5.0.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/signxml/signxml-5.0.0.ebuild b/dev-python/signxml/signxml-5.0.0.ebuild
new file mode 100644
index 000000000000..0465556f7e5e
--- /dev/null
+++ b/dev-python/signxml/signxml-5.0.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-43[${PYTHON_USEDEP}]
+ >=dev-python/certifi-2023.11.17[${PYTHON_USEDEP}]
+"
+
+python_test() {
+ "${EPYTHON}" test/test.py -v || die
+}