Skip to content
Permalink
Browse files

seafile: dep fix

  • Loading branch information...
blshkv committed Jun 12, 2019
1 parent 1a6828a commit 9f9f3ffab59b67541eddf54377386afdd10ede7b
@@ -0,0 +1 @@
DIST libsearpc-3.1.tar.gz 51768 BLAKE2B c58d82ac5a798d8730cd72935a07ae85c4b66b1833caa5bd48a8a545c17e48d7785ad589fd25b05d8ac607d386c8722e95b136812b7586dcedbef18991921236 SHA512 d5453399d4ca7579f8500204db183350b75eebe31580f0c7b19c967ea937b8faf35a448738f6e2dc1250f46d4f291d3596b94b40d3f26bf7e6877546d68a61b2
@@ -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
}
@@ -0,0 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>moschlar@metalabs.de</email>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">haiwen/libsearpc</remote-id>
</upstream>
</pkgmetadata>
@@ -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
@@ -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

0 comments on commit 9f9f3ff

Please sign in to comment.
You can’t perform that action at this time.