summaryrefslogtreecommitdiff
path: root/dev-python/xmlsec
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-13 00:28:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-13 00:28:24 +0000
commitb3f96499c112618ec301a4852f24b8b8be123d3a (patch)
tree90d1f3a681c108834f888ca502d93702f101fbce /dev-python/xmlsec
parentef0fedb39c21a343a3f316726f272bad9005b22c (diff)
gentoo auto-resync : 13:03:2025 - 00:28:24
Diffstat (limited to 'dev-python/xmlsec')
-rw-r--r--dev-python/xmlsec/Manifest2
-rw-r--r--dev-python/xmlsec/xmlsec-1.3.15.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest
index 848e63e43169..886f6f72cdab 100644
--- a/dev-python/xmlsec/Manifest
+++ b/dev-python/xmlsec/Manifest
@@ -1,4 +1,6 @@
AUX xmlsec-1.3.14-c99.patch 987 BLAKE2B 7e46eb064620ffd21dc85ac202d609e3fdecb1a29949faf52194f9b0206a5d4086685c6abfd149f07d295e9bcdf7e4f0a35c14e64c3555defc8c911e719517db SHA512 40f70c8816cbb3db7ce08939d6adfc1f095e75aff6415182d4796003e87a37bdf57cb96eb9e93c0b0417615d99a7b10b4852278800e423a2cf8870172b68a033
DIST python-xmlsec-1.3.14.gh.tar.gz 80643 BLAKE2B b256ad1aa18b5a746148ff4b2e8b3136a31105e1bb64d2dd686d5e62c16c183187432ee06f0f8b9da0bdba3b96c3c1e7fb6f51148bb5d5d60e54083841973399 SHA512 7a28695bf122a9c04ed20e4a6a09f9428372c908857b1dd983251a7b890cc50e92a6fbaa7f062cd58d86dda14257720e9c9554b2b54d840f9180110d93145335
+DIST python-xmlsec-1.3.15.gh.tar.gz 80101 BLAKE2B a810fa8cb16c55ac01ca360b70519bebc4c709bbf48c03560b85f149b3e70fd4b9d81f4b4aefc229dbcfa8ed2e80f0967fe46bccc9c3bf085e92464ecfcb6476 SHA512 7b55661499050ccf46c51703c9730f3c1ee0f483daec74dd7f8a97dfcf1bdc693f052ea0324165a70dadc2810d330488f6878d0423e32740f7553b04d665acdf
EBUILD xmlsec-1.3.14.ebuild 1342 BLAKE2B 44c22d5ec2f26f360fd8edcc82a011a539ab10c9457011622ef13b25c880f6e2f5844efce33642e2cf2436d9856c8ad11f36c82e996027a39169e9447eaed4ee SHA512 8b31dfeb7109980c3a819d74fb55da763f86af461c8f8a3364d3e7062a02af066a8bb0bb006013b00bd4301ace9e727f7e25d02e3fe011c4d1c3d3f70af2583c
+EBUILD xmlsec-1.3.15.ebuild 1302 BLAKE2B 57afaf98685d691b0998364f14e13b2d5f0786e30179165bdbb8461e7f745d21de0be700f5a3517a9401750a87930b47a0140677361e555a4f459dc8587d1dcf SHA512 7e3f400915363cf6c4209888d6e48a04f6f207168d6414d1d6476d51430b2ed8eccff48cc6434f81961461a72b40c6cd9d4cb20ef5e19d3eafc449a16a20895a
MISC metadata.xml 480 BLAKE2B 17abd324963ad808438f7c04a5785ab72e280a5ba8b132737d89c06fd17fc20e96478b4684ae84864bd03690bda6e865200a8eacf3bd0c23ceca4f0230bef1a5 SHA512 82d2b54886ba9d2eeba17aa04e2946c9dda8d30a5bea9a9ba7a5041b559971466c33ceb67ed35c9f865c052df09fb9fd057b46efd4d3d4314f456c8b1c0aaac7
diff --git a/dev-python/xmlsec/xmlsec-1.3.15.ebuild b/dev-python/xmlsec/xmlsec-1.3.15.ebuild
new file mode 100644
index 000000000000..544e6e75e786
--- /dev/null
+++ b/dev-python/xmlsec/xmlsec-1.3.15.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+MY_P=python-xmlsec-${PV}
+DESCRIPTION="Python bindings for the XML Security Library"
+HOMEPAGE="
+ https://github.com/xmlsec/python-xmlsec/
+ https://pypi.org/project/xmlsec/
+"
+SRC_URI="
+ https://github.com/xmlsec/python-xmlsec/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="
+ dev-libs/xmlsec:=[openssl]
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pkgconfig[${PYTHON_USEDEP}]
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ # Fragile based on black version?
+ tests/test_type_stubs.py::test_xmlsec_constants_stub
+)
+
+distutils_enable_tests pytest
+
+src_configure() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+ export PYXMLSEC_OPTIMIZE_SIZE=
+ if use debug; then
+ # we don't want to use PYXMLSEC_ENABLE_DEBUG envvar,
+ # as it forces -O0
+ export CPPFLAGS="${CPPFLAGS} -DPYXMLSEC_ENABLE_DEBUG=1"
+ fi
+}