public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libkdumpfile/
@ 2024-08-29  1:14 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-08-29  1:14 UTC (permalink / raw
  To: gentoo-commits

commit:     115f92066a228a599800d54b7f2cec768ea3bc9f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 01:12:35 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 01:13:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115f9206

dev-libs/libkdumpfile: drop Python bindings

The Python bindings in libkdumpfile itself are deprecated in favour
of a separate CFFI set of bindings, but it turns out drgn doesn't
even use the bindings at all, so we can drop these deprecated
ones which couldn't be built in PEP517 mode.

Closes: https://bugs.gentoo.org/938584
Fixes: 5fa70534e895c7a9b14bfca589fd862711a5cdff
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...e-0.5.4.ebuild => libkdumpfile-0.5.4-r1.ebuild} | 28 ++++++----------------
 1 file changed, 7 insertions(+), 21 deletions(-)

diff --git a/dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild b/dev-libs/libkdumpfile/libkdumpfile-0.5.4-r1.ebuild
similarity index 58%
rename from dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild
rename to dev-libs/libkdumpfile/libkdumpfile-0.5.4-r1.ebuild
index fe48a9f877fc..a0f045ef6f41 100644
--- a/dev-libs/libkdumpfile/libkdumpfile-0.5.4.ebuild
+++ b/dev-libs/libkdumpfile/libkdumpfile-0.5.4-r1.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
-inherit autotools python-r1
+inherit autotools
 
 DESCRIPTION="Kernel coredump file access"
 HOMEPAGE="https://github.com/ptesarik/libkdumpfile"
@@ -14,10 +13,8 @@ LICENSE="|| ( LGPL-3+ GPL-2+ )"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="lzo snappy zlib zstd"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
-	${PYTHON_DEPS}
 	lzo? ( dev-libs/lzo )
 	snappy? ( app-arch/snappy:= )
 	zlib? ( sys-libs/zlib )
@@ -40,32 +37,21 @@ src_prepare() {
 }
 
 src_configure() {
-	# We could make Python optional in future as libkdumpfile's
-	# builtin Python bindings appear deprecated in favour of another
-	# CFFI-based approach, but given we're adding libkdumpfile for
-	# dev-debug/drgn right now which uses *these*, let's not bother.
-	local ECONF_SOURCE=${S}
 	local myeconfargs=(
+		# The Python bindings within libkdumpfile are deprecated
+		# and don't work w/ PEP517. There's a new CFFI bindings
+		# project we can use if anyone asks for them.
+		--without-python
 		$(use_with lzo lzo2)
 		$(use_with snappy)
 		$(use_with zlib)
 		$(use_with zstd libzstd)
 	)
 
-	python_foreach_impl run_in_build_dir econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-	python_foreach_impl run_in_build_dir default
-}
-
-src_test() {
-	python_foreach_impl run_in_build_dir default
+	econf "${myeconfargs[@]}"
 }
 
 src_install() {
-	python_foreach_impl run_in_build_dir default
-	python_foreach_impl python_optimize
-	einstalldocs
+	default
 	find "${D}" -name '*.la' -delete || die
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libkdumpfile/
@ 2024-12-26  9:57 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-12-26  9:57 UTC (permalink / raw
  To: gentoo-commits

commit:     c94f85bf2ba02135d14b339824e96be4be832ee9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 08:58:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 09:53:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c94f85bf

dev-libs/libkdumpfile: add binutils-libs dep to 0.5.5

I forgot this depsite doing the patch for the header...

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{libkdumpfile-0.5.5.ebuild => libkdumpfile-0.5.5-r1.ebuild}          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libkdumpfile/libkdumpfile-0.5.5.ebuild b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild
similarity index 97%
rename from dev-libs/libkdumpfile/libkdumpfile-0.5.5.ebuild
rename to dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild
index 08115cc199a3..bb8034001c93 100644
--- a/dev-libs/libkdumpfile/libkdumpfile-0.5.5.ebuild
+++ b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild
@@ -13,6 +13,7 @@ KEYWORDS="~amd64"
 IUSE="lzo snappy zlib zstd"
 
 DEPEND="
+	sys-libs/binutils-libs:=
 	lzo? ( dev-libs/lzo )
 	snappy? ( app-arch/snappy:= )
 	zlib? ( sys-libs/zlib )


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libkdumpfile/
@ 2024-12-26 10:59 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-12-26 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b763891f702042df25091bc04fc31841487fb3d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 10:57:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 10:57:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b763891f

dev-libs/libkdumpfile: crank subslot for SONAME change

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{libkdumpfile-0.5.5-r1.ebuild => libkdumpfile-0.5.5-r2.ebuild}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild
similarity index 98%
rename from dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild
rename to dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild
index bb8034001c93..2c9c9ab35874 100644
--- a/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r1.ebuild
+++ b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://github.com/ptesarik/libkdumpfile"
 SRC_URI="https://github.com/ptesarik/libkdumpfile/releases/download/v${PV}/${P}.tar.bz2"
 
 LICENSE="|| ( LGPL-3+ GPL-2+ )"
-SLOT="0"
+SLOT="0/1"
 KEYWORDS="~amd64"
 IUSE="lzo snappy zlib zstd"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-26 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-26  9:57 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libkdumpfile/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-12-26 10:59 Sam James
2024-08-29  1:14 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox