Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/redland-bindings: redland-bindings-1.0.14.1-r1.ebuild ChangeLog
Date: Sun, 30 Nov 2014 15:48:51
Message-Id: 20141130154848.3743BB3A8@oystercatcher.gentoo.org
1 mgorny 14/11/30 15:48:48
2
3 Modified: ChangeLog
4 Added: redland-bindings-1.0.14.1-r1.ebuild
5 Log:
6 Convert to python-single-r1.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.41 dev-libs/redland-bindings/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 15 Jan 2014 12:37:38 -0000 1.40
24 +++ ChangeLog 30 Nov 2014 15:48:48 -0000 1.41
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/redland-bindings
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.40 2014/01/15 12:37:38 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.41 2014/11/30 15:48:48 mgorny Exp $
30 +
31 +*redland-bindings-1.0.14.1-r1 (30 Nov 2014)
32 +
33 + 30 Nov 2014; Michał Górny <mgorny@g.o>
34 + +redland-bindings-1.0.14.1-r1.ebuild:
35 + Convert to python-single-r1.
36
37 15 Jan 2014; Agostino Sarubbo <ago@g.o>
38 redland-bindings-1.0.14.1.ebuild:
39
40
41
42 1.1 dev-libs/redland-bindings/redland-bindings-1.0.14.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.14.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.14.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: redland-bindings-1.0.14.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.14.1-r1.ebuild,v 1.1 2014/11/30 15:48:48 mgorny Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit multilib python-single-r1
58
59 DESCRIPTION="Language bindings for Redland"
60 HOMEPAGE="http://librdf.org/bindings/"
61 SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
62
63 LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux ~ppc-macos"
66 IUSE="lua perl python php ruby"
67
68 RDEPEND=">=dev-libs/redland-1.0.14
69 lua? ( >=dev-lang/lua-5.1 )
70 perl? ( dev-lang/perl )
71 php? ( dev-lang/php )
72 python? ( ${PYTHON_DEPS} )
73 ruby? ( dev-lang/ruby dev-ruby/log4r )"
74 DEPEND="${RDEPEND}
75 virtual/pkgconfig
76 >=dev-lang/swig-2
77 sys-apps/sed"
78
79 pkg_setup() {
80 use python && python-single-r1_pkg_setup
81 }
82
83 src_configure() {
84 econf \
85 $(use_with lua) \
86 $(use_with perl) \
87 $(use_with python) \
88 $(use_with php) \
89 $(use_with ruby)
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" INSTALLDIRS=vendor luadir=/usr/$(get_libdir)/lua/5.1 install
94
95 if use perl; then
96 find "${ED}" -type f -name perllocal.pod -delete
97 find "${ED}" -depth -mindepth 1 -type d -empty -delete
98 fi
99 use python && python_optimize
100
101 dodoc AUTHORS ChangeLog NEWS README TODO
102 dohtml {NEWS,README,RELEASE,TODO}.html
103 }