diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest new file mode 100644 index 000000000..83cb7350c --- /dev/null +++ b/net-libs/libsearpc/Manifest @@ -0,0 +1 @@ +DIST libsearpc-3.1.tar.gz 51768 BLAKE2B c58d82ac5a798d8730cd72935a07ae85c4b66b1833caa5bd48a8a545c17e48d7785ad589fd25b05d8ac607d386c8722e95b136812b7586dcedbef18991921236 SHA512 d5453399d4ca7579f8500204db183350b75eebe31580f0c7b19c967ea937b8faf35a448738f6e2dc1250f46d4f291d3596b94b40d3f26bf7e6877546d68a61b2 diff --git a/net-libs/libsearpc/libsearpc-3.1.ebuild b/net-libs/libsearpc/libsearpc-3.1.ebuild new file mode 100644 index 000000000..23605ce88 --- /dev/null +++ b/net-libs/libsearpc/libsearpc-3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 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/" +#TODO: Use commit hash tarball on next version bump. +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 +} + +src_install() { + default + # Remove unnecessary .la files, as recommended by ltprune.eclass + find "${ED}" -name '*.la' -delete || die + python_fix_shebang "${ED}"usr/bin +} diff --git a/net-libs/libsearpc/metadata.xml b/net-libs/libsearpc/metadata.xml new file mode 100644 index 000000000..e6eeb61c2 --- /dev/null +++ b/net-libs/libsearpc/metadata.xml @@ -0,0 +1,14 @@ + + + + + moschlar@metalabs.de + + + proxy-maint@gentoo.org + Proxy Maintainers + + + haiwen/libsearpc + + diff --git a/net-misc/seafile/seafile-7.0.1.ebuild b/net-misc/seafile/seafile-7.0.1.ebuild index 2d7f5c030..3a0b5480d 100644 --- a/net-misc/seafile/seafile-7.0.1.ebuild +++ b/net-misc/seafile/seafile-7.0.1.ebuild @@ -16,7 +16,7 @@ IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} - net-libs/libsearpc[${PYTHON_USEDEP}] + >=net-libs/libsearpc-3.1[${PYTHON_USEDEP}] ~net-libs/ccnet-6.1.7[${PYTHON_USEDEP}] dev-libs/glib:2 dev-libs/libevent:0 diff --git a/profiles/pentoo/base/package.accept_keywords/net-misc b/profiles/pentoo/base/package.accept_keywords/net-misc index 84e573fe6..e9c00ac22 100644 --- a/profiles/pentoo/base/package.accept_keywords/net-misc +++ b/profiles/pentoo/base/package.accept_keywords/net-misc @@ -117,5 +117,5 @@ net-misc/karma net-misc/voipong ~net-misc/seafile-7.0.1 -~net-libs/libsearpc-3.0.8 +~net-libs/libsearpc-3.1 ~net-libs/ccnet-6.1.7