commit:     b810a69f50796bf5ceec79185d4c50b5f5adfdf2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 20:26:32 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun  2 15:14:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b810a69f

sci-libs/libsigrokdecode: drop 0.5.3-r3

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/libsigrokdecode/Manifest                  |  1 -
 .../files/libsigrokdecode-0.5.3-py3.13.patch       | 37 --------------
 .../libsigrokdecode-0.5.3-r3.ebuild                | 58 ----------------------
 3 files changed, 96 deletions(-)

diff --git a/sci-libs/libsigrokdecode/Manifest 
b/sci-libs/libsigrokdecode/Manifest
index 5463cbab79e4..bb87ff5e33be 100644
--- a/sci-libs/libsigrokdecode/Manifest
+++ b/sci-libs/libsigrokdecode/Manifest
@@ -1,2 +1 @@
-DIST libsigrokdecode-0.5.3.tar.gz 892783 BLAKE2B 
45bae2488e4872be3bb891813083ed540617ac88558bb6c2d971fbb0c05585d3fcb74192fc83ce7d67ee466bc04c61fbccf6f475e549b80c86fe5f0cc191c7c1
 SHA512 
23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e
 DIST libsigrokdecode-71f4514.zip 846498 BLAKE2B 
5a44a51524ad5c2c476d32bd5dc5eaa8a20f4455d07318b3d388707985c3efde68bd5f9364ecf8faa60b245a8d04d61f2b87e584dc47161c15d8fda34f1996a2
 SHA512 
0e1fde37dc9579e7eaa4b917e63335d7bd3a9072a33dbc01ae23ebcd5bc0a20e1c30f2e0686e05210a887db4d1cf75a983aad38b8a29d132e7aa1f4c9083370f

diff --git a/sci-libs/libsigrokdecode/files/libsigrokdecode-0.5.3-py3.13.patch 
b/sci-libs/libsigrokdecode/files/libsigrokdecode-0.5.3-py3.13.patch
deleted file mode 100644
index 89078b3ba70e..000000000000
--- a/sci-libs/libsigrokdecode/files/libsigrokdecode-0.5.3-py3.13.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff;h=0c35c5c5845d05e5f624c99d58af992d2f004446
-
-From: Sascha Silbe <redacted>
-Date: Mon, 23 Oct 2023 20:21:38 +0000 (+0200)
-Subject: srd: drop deprecated PyEval_InitThreads() on Python 3.9+
-X-Git-Url: 
http://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff_plain;h=0c35c5c5845d05e5f624c99d58af992d2f004446
-
-srd: drop deprecated PyEval_InitThreads() on Python 3.9+
-
-`PyEval_InitThreads()` is called implicitly during `Py_InitializeEx()`
-since Python 3.7. It has been deprecated since 3.9 and dropped in
-3.13.
-
-[ gsi: touch up comment style ]
----
-
-diff --git a/srd.c b/srd.c
-index 35ec5f2..10dfaf6 100644
---- a/srd.c
-+++ b/srd.c
-@@ -302,8 +302,14 @@ SRD_API int srd_init(const char *path)
-               g_strfreev(dir_list);
-       }
- 
--      /* Initialize the Python GIL (this also happens to acquire it). */
-+#if PY_VERSION_HEX < 0x03090000
-+      /*
-+       * Initialize and acquire the Python GIL. In Python 3.7+ this
-+       * will be done implicitly as part of the Py_InitializeEx()
-+       * call above. PyEval_InitThreads() was deprecated in 3.9.
-+       */
-       PyEval_InitThreads();
-+#endif
- 
-       /* Release the GIL (ignore return value, we don't need it here). */
-       (void)PyEval_SaveThread();
-

diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r3.ebuild 
b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r3.ebuild
deleted file mode 100644
index 15fa35d024cd..000000000000
--- a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3-r3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit autotools python-single-r1
-
-if [[ ${PV} == *9999* ]]; then
-       EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git";
-       inherit git-r3
-else
-       SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Provide (streaming) protocol decoding functionality"
-HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode";
-
-LICENSE="GPL-3"
-SLOT="0/4"
-IUSE="static-libs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-       >=dev-libs/glib-2.34.0
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       virtual/pkgconfig
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-py3.13.patch
-)
-
-src_prepare() {
-       default
-
-       # bug #794592
-       sed -i -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], 
[python-${EPYTHON#python}],/" configure.ac || die
-
-       eautoreconf
-}
-
-src_configure() {
-       econf $(use_enable static-libs static) PYTHON3="${PYTHON}"
-}
-
-src_test() {
-       emake check
-}
-
-src_install() {
-       default
-       python_optimize "${D}"/usr/share/libsigrokdecode/decoders
-       find "${D}" -name '*.la' -type f -delete || die
-}

Reply via email to