dev-python/xmlsec: Bump to 1.3.16

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-07-11 06:12:45 +02:00
parent 90e8dcd1fc
commit 5adfa93992
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 60 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST python-xmlsec-1.3.15.gh.tar.gz 80101 BLAKE2B a810fa8cb16c55ac01ca360b70519bebc4c709bbf48c03560b85f149b3e70fd4b9d81f4b4aefc229dbcfa8ed2e80f0967fe46bccc9c3bf085e92464ecfcb6476 SHA512 7b55661499050ccf46c51703c9730f3c1ee0f483daec74dd7f8a97dfcf1bdc693f052ea0324165a70dadc2810d330488f6878d0423e32740f7553b04d665acdf
DIST python-xmlsec-1.3.16.gh.tar.gz 80406 BLAKE2B 1be23867ae44a108dc0596698b712a4d2c8cff4206a9518cab3960368f5242981b8c4e4ba70b9183c298e5a35d2ab823d926019d7292d0a697e7bd3127f88bcc SHA512 1ed39d613c8c656b8d6898730212a3c990f1ab5b807dfdacc0a1c9db1ffaf79cbcc403e771d19faebdf170de7dc886df5582ee8589b6d0d72e3cb9ddc193012a

View File

@ -0,0 +1,59 @@
# 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_{11..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/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
}