commit:     e4986c1289c71bad5e8980cdbdbf1e6ea2bb1bc6
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Thu Aug 14 08:24:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 04:56:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4986c12

net-libs/libsearpc: bump to latest commit of v3.3

remove clang-16.patch which is included in upstream

Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43439
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libsearpc/Manifest                  |  1 +
 net-libs/libsearpc/libsearpc-3.3.0-r4.ebuild | 38 ++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest
index fa45366215bb..6496f5e45d90 100644
--- a/net-libs/libsearpc/Manifest
+++ b/net-libs/libsearpc/Manifest
@@ -1 +1,2 @@
+DIST libsearpc-3.3.0-r4.tar.gz 55814 BLAKE2B 
207ee5dd1ec124c87faf81ae7fe69020b61dbffcfd0539a7894c1c48ff92494c141de0b5d84c0c9318fd055f1654da588cc64abcc48e7da97197c01f280f2e94
 SHA512 
95ad10f85c5f11db4cf160ac4baacb1b2267e31e0f53554b2358238483609403fc4fe03181424fd72ca8b58c6fc12da5166e371e6ad4219f3a0dc796ea4568b5
 DIST libsearpc-3.3.0.tar.gz 54140 BLAKE2B 
6645a7e4c14c9d50b59ce8ebaecd13bb247d16d66449b0d251d27d12d46507cc2e4b8468e87f6f1b222da2243b59fc01b69349eb06e96b5cd0d6aabd1aeff72b
 SHA512 
0fd07dcd417b540cb8ed53f1103a03bc6b1a2b9bbb8ca0858aef44a352e3d5d2b6ad51901a29ac6be27acfe25f93233530003982315d0f6e268fa43992f04240

diff --git a/net-libs/libsearpc/libsearpc-3.3.0-r4.ebuild 
b/net-libs/libsearpc/libsearpc-3.3.0-r4.ebuild
new file mode 100644
index 000000000000..5baa25be0878
--- /dev/null
+++ b/net-libs/libsearpc/libsearpc-3.3.0-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+# Upstream is moving tags repeatedly, then we use commit hash.
+RELEASE_COMMIT="d799dff145e18a61520c4d8cd16407cfd37fe128" #tag v3.3-latest
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Simple C language RPC framework"
+HOMEPAGE="https://github.com/haiwen/libsearpc/ https://seafile.com/";
+SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> 
${P}-r4.tar.gz"
+S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+       >=dev-libs/glib-2.26.0
+       >=dev-libs/jansson-2.2.1:="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die
+       eautoreconf
+}
+
+src_install() {
+       default
+       # Remove unnecessary .la files
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to