commit:     52ad7989a203bed73787420e2aeaec6b8baf8974
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 29 10:17:50 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 29 10:23:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ad7989

dev-python/xmlsec: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xmlsec/Manifest                      |  1 -
 dev-python/xmlsec/files/xmlsec-1.3.14-c99.patch | 24 ---------
 dev-python/xmlsec/xmlsec-1.3.14.ebuild          | 65 -------------------------
 3 files changed, 90 deletions(-)

diff --git a/dev-python/xmlsec/Manifest b/dev-python/xmlsec/Manifest
index 88949007ab12..f90f5a629747 100644
--- a/dev-python/xmlsec/Manifest
+++ b/dev-python/xmlsec/Manifest
@@ -1,2 +1 @@
-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

diff --git a/dev-python/xmlsec/files/xmlsec-1.3.14-c99.patch 
b/dev-python/xmlsec/files/xmlsec-1.3.14-c99.patch
deleted file mode 100644
index 1cbdb717d9e9..000000000000
--- a/dev-python/xmlsec/files/xmlsec-1.3.14-c99.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://bugs.gentoo.org/920769
-https://github.com/xmlsec/python-xmlsec/issues/311
-https://github.com/xmlsec/python-xmlsec/pull/325
-https://github.com/xmlsec/python-xmlsec/commit/67cd4ac73e4fceac4b4eb6a320067cad33f79213
-
-From 67cd4ac73e4fceac4b4eb6a320067cad33f79213 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]>
-Date: Wed, 19 Jun 2024 17:43:07 +0200
-Subject: [PATCH] Explicitly cast the pointer type in
- PyXmlSec_ClearReplacedNodes
-
-Fixes https://github.com/xmlsec/python-xmlsec/issues/323
---- a/src/enc.c
-+++ b/src/enc.c
-@@ -204,7 +204,7 @@ static void PyXmlSec_ClearReplacedNodes(xmlSecEncCtxPtr 
ctx, PyXmlSec_LxmlDocume
-         PYXMLSEC_DEBUGF("clear replaced node %p", n);
-         nn = n->next;
-         // if n has references, it will not be deleted
--        elem = PyXmlSec_elementFactory(doc, n);
-+        elem = (PyXmlSec_LxmlElementPtr*)PyXmlSec_elementFactory(doc, n);
-         if (NULL == elem)
-             xmlFreeNode(n);
-         else
-

diff --git a/dev-python/xmlsec/xmlsec-1.3.14.ebuild 
b/dev-python/xmlsec/xmlsec-1.3.14.ebuild
deleted file mode 100644
index b986a5ef80e7..000000000000
--- a/dev-python/xmlsec/xmlsec-1.3.14.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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}]
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-c99.patch
-)
-
-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
-}

Reply via email to