diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/xmlsec | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/xmlsec')
| -rw-r--r-- | dev-python/xmlsec/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/xmlsec/metadata.xml | 16 | ||||
| -rw-r--r-- | dev-python/xmlsec/xmlsec-1.3.17.ebuild | 60 |
3 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest new file mode 100644 index 000000000000..391c1f1fe16c --- /dev/null +++ b/dev-python/xmlsec/Manifest @@ -0,0 +1 @@ +DIST python-xmlsec-1.3.17.gh.tar.gz 81176 BLAKE2B 7f03b3b732751d89ef6c7765190eeb4add26d7f3332465f47e7faaae5007b0ab204c5df7d60fc6886e1cb199757b22a50b89757bf4ad6aba56fd02cce739f5fc SHA512 97404eb61442872f2ae745a5e2789d87227087b8ea47509e51b639b708bd5f4a0eeafb60dd0cecd6d63af740cff0035dd4bd66ae3d5bdd2803bad6e96226de69 diff --git a/dev-python/xmlsec/metadata.xml b/dev-python/xmlsec/metadata.xml new file mode 100644 index 000000000000..c75425b41ecf --- /dev/null +++ b/dev-python/xmlsec/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">xmlsec/python-xmlsec</remote-id> + <remote-id type="pypi">xmlsec</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/xmlsec/xmlsec-1.3.17.ebuild b/dev-python/xmlsec/xmlsec-1.3.17.ebuild new file mode 100644 index 000000000000..2a56e72709a9 --- /dev/null +++ b/dev-python/xmlsec/xmlsec-1.3.17.ebuild @@ -0,0 +1,60 @@ +# 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_{13..14} ) + +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/libxml2:= + 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}] +" + +EPYTEST_DESELECT=( + # Fragile based on black version? + tests/test_type_stubs.py::test_xmlsec_constants_stub +) + +EPYTEST_PLUGINS=() +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 +} |
