Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ccnet/
Date: Thu, 13 Apr 2017 21:20:49
Message-Id: 1492118434.8ef0296fa0aaf5bcdc894349747f2dd42c980ca9.monsieurp@gentoo
1 commit: 8ef0296fa0aaf5bcdc894349747f2dd42c980ca9
2 Author: Moritz Schlarb <schlarbm <AT> uni-mainz <DOT> de>
3 AuthorDate: Mon Mar 13 13:57:37 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 13 21:20:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef0296f
7
8 net-libs/ccnet: new ebuild.
9
10 Ccnet is a framework for writing networked applications in C
11
12 Gentoo-Bug: https://bugs.gentoo.org/499698
13 Closes: https://github.com/gentoo/gentoo/pull/4198
14
15 net-libs/ccnet/Manifest | 1 +
16 net-libs/ccnet/ccnet-6.0.4.ebuild | 33 +++++++++++++++++++++++++++++++++
17 net-libs/ccnet/metadata.xml | 11 +++++++++++
18 3 files changed, 45 insertions(+)
19
20 diff --git a/net-libs/ccnet/Manifest b/net-libs/ccnet/Manifest
21 new file mode 100644
22 index 00000000000..dbf9c8dc957
23 --- /dev/null
24 +++ b/net-libs/ccnet/Manifest
25 @@ -0,0 +1 @@
26 +DIST ccnet-6.0.4.tar.gz 178939 SHA256 2156787fc9ae1e4293493f0ce398aa8b97d84b9f0201d2fd6986b736bd249b04 SHA512 be44b1654ee641fdbd48b288b1b04f9aeb6f441225ddc52532e5f81145657f79241555132b848a57a241eacc4bb7149ad27b930ca532ab74615d4babb4027c2c WHIRLPOOL f49294b8c819a69cbbc9878e32382e2f3f65bf5e0af3da7a8590f206a9dc98e45ef9360f8044d021975c8b67a2d2d7c5ebe3f383855e5d0a98a8b6da3e4baa3e
27
28 diff --git a/net-libs/ccnet/ccnet-6.0.4.ebuild b/net-libs/ccnet/ccnet-6.0.4.ebuild
29 new file mode 100644
30 index 00000000000..bb48a189883
31 --- /dev/null
32 +++ b/net-libs/ccnet/ccnet-6.0.4.ebuild
33 @@ -0,0 +1,33 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +PYTHON_COMPAT=( python2_7 )
39 +inherit autotools python-single-r1 vala
40 +
41 +DESCRIPTION="Ccnet is a framework for writing networked applications in C"
42 +HOMEPAGE="https://github.com/haiwen/ccnet http://seafile.com/"
43 +SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE=""
49 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 +
51 +RDEPEND="${PYTHON_DEPS}
52 + net-libs/libsearpc[${PYTHON_USEDEP}]
53 + >=dev-libs/glib-2.16.0:2
54 + >=dev-libs/libevent-2.0
55 + dev-libs/openssl:0=
56 + dev-db/sqlite:3"
57 +DEPEND="${RDEPEND}
58 + $(vala_depend)"
59 +
60 +src_prepare() {
61 + default
62 + sed -i -e "s/(DESTDIR)//" libccnet.pc.in || die
63 + sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
64 + eautoreconf
65 + vala_src_prepare
66 +}
67
68 diff --git a/net-libs/ccnet/metadata.xml b/net-libs/ccnet/metadata.xml
69 new file mode 100644
70 index 00000000000..5b95006282e
71 --- /dev/null
72 +++ b/net-libs/ccnet/metadata.xml
73 @@ -0,0 +1,11 @@
74 +<?xml version="1.0" encoding="UTF-8"?>
75 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
76 +<pkgmetadata>
77 + <maintainer type="person">
78 + <email>moschlar@××××××××.de</email>
79 + </maintainer>
80 + <maintainer type="project">
81 + <email>proxy-maint@g.o</email>
82 + <name>Proxy Maintainers</name>
83 + </maintainer>
84 +</pkgmetadata>