1 |
commit: ba8d0af76670991b7279541bc0582d1d4885c09e |
2 |
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
3 |
AuthorDate: Thu Sep 1 00:08:51 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 06:27:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8d0af7 |
7 |
|
8 |
net-libs/libsearpc: version bump to 3.2.0_p1 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
net-libs/libsearpc/Manifest | 1 + |
15 |
net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild | 42 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest |
19 |
index 7198ca76ba6d..fb2501075b90 100644 |
20 |
--- a/net-libs/libsearpc/Manifest |
21 |
+++ b/net-libs/libsearpc/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libsearpc-3.2.0.tar.gz 52303 BLAKE2B 34707b504b4e63017549e5ed04e8e1e8d1e98b873aebe2ad3f675fe88e209bb73d8b56d1aef137bc4bead2a2fbcf7410dfdf1d02a92a8f37efbaaf0d56d79a4c SHA512 071784b6d34f6ddf947748474c210f0f803e3451373e351b6a768b0cf4a17ddcdaf415ff4ce5f020f1a68df3f6f0a0e53a78ad9e2df286fafea870e303c8f6dd |
24 |
+DIST libsearpc-3.2.0_p1.tar.gz 54011 BLAKE2B 9bdfa72b207eb57d1242384e5581eea9083f4f30616a9bc8da1255b281c0a847ec1fc6d23db7510dc7988a67d7c836762b8343ac4fdffe07ce6296b65d9cf8c8 SHA512 2e1580ffa54e233b078385a94d2d9a7e080bfb2f8ccbaf96645c94f86d0eda686bd84277341cff39840afa03fc67abd05cb2f57a81d117fff4773280f9da265a |
25 |
|
26 |
diff --git a/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild b/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..b9dac0542a45 |
29 |
--- /dev/null |
30 |
+++ b/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+# Upstream is moving tags repeatedly, then we use commit hash. |
40 |
+RELEASE_COMMIT="54145b03f4240222e336a9a2f402e93facefde65" #tag v3.2_latest |
41 |
+ |
42 |
+inherit autotools python-single-r1 |
43 |
+ |
44 |
+DESCRIPTION="A simple C language RPC framework" |
45 |
+HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/" |
46 |
+SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+DEPEND="${PYTHON_DEPS} |
54 |
+ >=dev-libs/glib-2.26.0 |
55 |
+ >=dev-libs/jansson-2.2.1:=" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
59 |
+ ')" |
60 |
+ |
61 |
+S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die |
66 |
+ eautoreconf |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ default |
71 |
+ # Remove unnecessary .la files |
72 |
+ find "${ED}" -name '*.la' -delete || die |
73 |
+} |