summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-12-15 17:03:02 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-12-18 18:32:37 +0200
commitb1a96d37620f232140d45d712d4fce393f37c4a4 (patch)
treeab55d067470b6e8442bd1db95b5136b49fc26ac3 /net-libs/libsearpc
parentnet-dialup/freeradius: Bump v.3.0.19 (diff)
downloadgentoo-b1a96d37620f232140d45d712d4fce393f37c4a4.tar.gz
gentoo-b1a96d37620f232140d45d712d4fce393f37c4a4.tar.bz2
gentoo-b1a96d37620f232140d45d712d4fce393f37c4a4.zip
net-libs/libsearpc: version bump to 3.2.0
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/libsearpc')
-rw-r--r--net-libs/libsearpc/Manifest1
-rw-r--r--net-libs/libsearpc/libsearpc-3.2.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest
index f1c47429d79d..5a67eb0453ed 100644
--- a/net-libs/libsearpc/Manifest
+++ b/net-libs/libsearpc/Manifest
@@ -1 +1,2 @@
DIST libsearpc-3.0.8.tar.gz 48740 BLAKE2B c2743d7f03001dd971821ef72f403ad2c26aa8e2e8350e2c751e7aa3ffc2be2bcdec0adc75ef5dd23b12b31a866ff9b590f8a279616a5f5c76db0eacf225b2f2 SHA512 1f2cf9a15a004b6ddf8fc0b6a436a5db09a514cea4cec94ce9fa6ce973cd71dfc4a112e948a36ab0be61d736f1021622e46429d07de70b23c25b886d1e51c02a
+DIST libsearpc-3.2.0.tar.gz 52303 BLAKE2B 34707b504b4e63017549e5ed04e8e1e8d1e98b873aebe2ad3f675fe88e209bb73d8b56d1aef137bc4bead2a2fbcf7410dfdf1d02a92a8f37efbaaf0d56d79a4c SHA512 071784b6d34f6ddf947748474c210f0f803e3451373e351b6a768b0cf4a17ddcdaf415ff4ce5f020f1a68df3f6f0a0e53a78ad9e2df286fafea870e303c8f6dd
diff --git a/net-libs/libsearpc/libsearpc-3.2.0.ebuild b/net-libs/libsearpc/libsearpc-3.2.0.ebuild
new file mode 100644
index 000000000000..ff7238860b02
--- /dev/null
+++ b/net-libs/libsearpc/libsearpc-3.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python{2_7,3_5,3_6})
+
+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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ >=dev-libs/glib-2.26.0
+ >=dev-libs/jansson-2.2.1
+ >=sys-devel/automake-1.16.1-r2:1.16"
+RDEPEND="${DEPEND}
+ dev-python/simplejson[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ default
+ sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ # Remove unnecessary .la files, as recommended by ltprune.eclass
+ find "${ED}" -name '*.la' -delete || die
+}