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@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43439
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu 2025-08-14 08:24:49 +00:00 committed by Sam James
parent e9360ad16d
commit e4986c1289
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 39 additions and 0 deletions

View File

@ -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 DIST libsearpc-3.3.0.tar.gz 54140 BLAKE2B 6645a7e4c14c9d50b59ce8ebaecd13bb247d16d66449b0d251d27d12d46507cc2e4b8468e87f6f1b222da2243b59fc01b69349eb06e96b5cd0d6aabd1aeff72b SHA512 0fd07dcd417b540cb8ed53f1103a03bc6b1a2b9bbb8ca0858aef44a352e3d5d2b6ad51901a29ac6be27acfe25f93233530003982315d0f6e268fa43992f04240

View File

@ -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
}