From 9051a519f693270ee562a3d66b1590f2c8a38c1c Mon Sep 17 00:00:00 2001 From: Moritz Schlarb Date: Mon, 13 Mar 2017 15:00:10 +0100 Subject: [PATCH] net-libs/libsearpc: new ebuild. A simple C language RPC framework. Gentoo-Bug: https://bugs.gentoo.org/499698 Closes: https://github.com/gentoo/gentoo/pull/4198 --- net-libs/libsearpc/Manifest | 1 + net-libs/libsearpc/libsearpc-3.0.8.ebuild | 28 +++++++++++++++++++++++ net-libs/libsearpc/metadata.xml | 11 +++++++++ 3 files changed, 40 insertions(+) create mode 100644 net-libs/libsearpc/Manifest create mode 100644 net-libs/libsearpc/libsearpc-3.0.8.ebuild create mode 100644 net-libs/libsearpc/metadata.xml diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest new file mode 100644 index 000000000000..7d31a691c286 --- /dev/null +++ b/net-libs/libsearpc/Manifest @@ -0,0 +1 @@ +DIST libsearpc-3.0.8.tar.gz 48740 SHA256 83b45fa2f4b7d7ae6dd34ca04d430433551ef493cdaf3cbcc768bd6099377d90 SHA512 1f2cf9a15a004b6ddf8fc0b6a436a5db09a514cea4cec94ce9fa6ce973cd71dfc4a112e948a36ab0be61d736f1021622e46429d07de70b23c25b886d1e51c02a WHIRLPOOL 06f222a8247fb6683390617d34960dec0e9b2fb4b2cb19bb436a7dbb52fed0a008c449d4d37331d159cdea2a9a74543c09cb9a9e6ab491f776e56ade4235fab9 diff --git a/net-libs/libsearpc/libsearpc-3.0.8.ebuild b/net-libs/libsearpc/libsearpc-3.0.8.ebuild new file mode 100644 index 000000000000..e726c25bacbc --- /dev/null +++ b/net-libs/libsearpc/libsearpc-3.0.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +inherit autotools python-single-r1 vcs-snapshot + +DESCRIPTION="A simple C language RPC framework" +HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/" +SRC_URI="https://github.com/haiwen/${PN}/archive/v3.1-latest.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" +RDEPEND="${DEPEND} + dev-python/simplejson[${PYTHON_USEDEP}]" + +src_prepare() { + default + sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die + eautoreconf +} diff --git a/net-libs/libsearpc/metadata.xml b/net-libs/libsearpc/metadata.xml new file mode 100644 index 000000000000..5b95006282eb --- /dev/null +++ b/net-libs/libsearpc/metadata.xml @@ -0,0 +1,11 @@ + + + + + moschlar@metalabs.de + + + proxy-maint@gentoo.org + Proxy Maintainers + + -- 2.26.2