diff options
Diffstat (limited to 'net-libs/libsearpc')
-rw-r--r-- | net-libs/libsearpc/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libsearpc/libsearpc-3.3.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest index 5c61d7df14f2..7ec456640253 100644 --- a/net-libs/libsearpc/Manifest +++ b/net-libs/libsearpc/Manifest @@ -1,5 +1,7 @@ DIST libsearpc-3.2.0.tar.gz 52303 BLAKE2B 34707b504b4e63017549e5ed04e8e1e8d1e98b873aebe2ad3f675fe88e209bb73d8b56d1aef137bc4bead2a2fbcf7410dfdf1d02a92a8f37efbaaf0d56d79a4c SHA512 071784b6d34f6ddf947748474c210f0f803e3451373e351b6a768b0cf4a17ddcdaf415ff4ce5f020f1a68df3f6f0a0e53a78ad9e2df286fafea870e303c8f6dd DIST libsearpc-3.2.0_p1.tar.gz 54011 BLAKE2B 9bdfa72b207eb57d1242384e5581eea9083f4f30616a9bc8da1255b281c0a847ec1fc6d23db7510dc7988a67d7c836762b8343ac4fdffe07ce6296b65d9cf8c8 SHA512 2e1580ffa54e233b078385a94d2d9a7e080bfb2f8ccbaf96645c94f86d0eda686bd84277341cff39840afa03fc67abd05cb2f57a81d117fff4773280f9da265a +DIST libsearpc-3.3.0.tar.gz 54140 BLAKE2B 6645a7e4c14c9d50b59ce8ebaecd13bb247d16d66449b0d251d27d12d46507cc2e4b8468e87f6f1b222da2243b59fc01b69349eb06e96b5cd0d6aabd1aeff72b SHA512 0fd07dcd417b540cb8ed53f1103a03bc6b1a2b9bbb8ca0858aef44a352e3d5d2b6ad51901a29ac6be27acfe25f93233530003982315d0f6e268fa43992f04240 EBUILD libsearpc-3.2.0-r2.ebuild 827 BLAKE2B 19d302e10a37bc5651e97a1e5de35eda616c7ccb1c3b1ef0cda2e8d18823c3fd7d3a53cc1f7b3b7ddb3b4277e898b66089293ad8aa8e7b37b334293edbde190c SHA512 7549e491fb03ab0391092d1d9e4640aad9bfedc35da61d4160a9174820d4e6ddf28d83761f4c6b60c4ca2c6c504a1b01b2c6e72c03e7d6e599d9721b1c4bba27 EBUILD libsearpc-3.2.0_p1.ebuild 1018 BLAKE2B cde2a376b7ac8b8455940864a5f0523aa2ddc04681577dc1d8e0b50d08c105ed9a0d0ab286155671fc6c55aabb7ba70700ce12c66c89310ff58d91c70360edf2 SHA512 7c96254b3a4eda869a83a1db1738bcc2b9390bf4fd9e95c3d257592364c498e857832183f5c3e4c038b8869420d758195ee723384bf059555ca6771774b08cf3 +EBUILD libsearpc-3.3.0.ebuild 1018 BLAKE2B a3c111b2c81e6249f52875e04576d9337f4735ec29e808ee9934366c2f3012a649df10720cc688c8449a0282c3254af1fdeca914eeef1a5615c283fb314ab434 SHA512 d0ffaff144443608edac42f54528134ae6abaa05d44698411130376d0e5e1849c5d8fa433245532d90f9c447a83b86879f256b9740ed555b2c875d277d1490a9 MISC metadata.xml 480 BLAKE2B 087b5283b9c24e54190f2d964757dc82df0b887fc0ed1c6f70669bd2ca96ff3b098a31558993b982e5427c2c0b7a5ed86fe7fe44159fd494d4a7665ad00b5c7a SHA512 8497088fc5dd29ca69b2100c293562dd5f07c06d37d8097448b1233c17328c17618b3a4259dbf82ad6c2c32add052f288ee15d54ee1ae3bb0dbf7fcfc3d93cfa diff --git a/net-libs/libsearpc/libsearpc-3.3.0.ebuild b/net-libs/libsearpc/libsearpc-3.3.0.ebuild new file mode 100644 index 000000000000..7702156b977b --- /dev/null +++ b/net-libs/libsearpc/libsearpc-3.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="15f6f0b9f451b9ecf99dedab72e9242e54e124eb" #tag v3.3-latest + +inherit autotools python-single-r1 + +DESCRIPTION="A simple C language RPC framework" +HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/" +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" + +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} + $(python_gen_cond_dep ' + dev-python/simplejson[${PYTHON_USEDEP}] + ')" + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +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 +} |