commit:     9051a519f693270ee562a3d66b1590f2c8a38c1c
Author:     Moritz Schlarb <schlarbm <AT> uni-mainz <DOT> de>
AuthorDate: Mon Mar 13 14:00:10 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 21:20:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9051a519

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(+)

diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest
new file mode 100644
index 00000000000..7d31a691c28
--- /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 00000000000..e726c25bacb
--- /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 00000000000..5b95006282e
--- /dev/null
+++ b/net-libs/libsearpc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mosch...@metalabs.de</email>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>

Reply via email to