Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/redland-bindings: ChangeLog redland-bindings-1.0.13.1.ebuild
Date: Fri, 29 Jul 2011 12:02:46
Message-Id: 20110729111405.00D4F2004B@flycatcher.gentoo.org
1 ssuominen 11/07/29 11:14:04
2
3 Modified: ChangeLog
4 Added: redland-bindings-1.0.13.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 dev-libs/redland-bindings/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 27 Mar 2011 15:46:36 -0000 1.22
24 +++ ChangeLog 29 Jul 2011 11:14:04 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/redland-bindings
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.22 2011/03/27 15:46:36 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.23 2011/07/29 11:14:04 ssuominen Exp $
30 +
31 +*redland-bindings-1.0.13.1 (29 Jul 2011)
32 +
33 + 29 Jul 2011; Samuli Suominen <ssuominen@g.o>
34 + +redland-bindings-1.0.13.1.ebuild:
35 + Version bump wrt #360671 by Arfrever Frehtes Taifersar Arahesis
36
37 27 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
38 redland-bindings-1.0.10.1-r1.ebuild:
39
40
41
42 1.1 dev-libs/redland-bindings/redland-bindings-1.0.13.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.13.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.13.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: redland-bindings-1.0.13.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.13.1.ebuild,v 1.1 2011/07/29 11:14:04 ssuominen Exp $
52
53 EAPI=3
54 PYTHON_DEPEND="python? 2:2.7"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-jython"
57
58 inherit multilib python
59
60 DESCRIPTION="Language bindings for Redland"
61 HOMEPAGE="http://librdf.org/bindings/"
62 SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
63
64 LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos"
67 IUSE="lua perl python php ruby"
68
69 RDEPEND=">=dev-libs/redland-1.0.10-r2
70 lua? ( >=dev-lang/lua-5.1 )
71 perl? ( dev-lang/perl )
72 php? ( dev-lang/php )
73 ruby? ( dev-lang/ruby dev-ruby/log4r )"
74 DEPEND="${RDEPEND}
75 >=dev-lang/swig-1.3.26
76 dev-util/pkgconfig
77 sys-apps/sed"
78
79 pkg_setup() {
80 use python && python_pkg_setup
81 }
82
83 src_configure() {
84 econf \
85 --disable-dependency-tracking \
86 $(use_with lua) \
87 $(use_with perl) \
88 $(use_with python) \
89 $(use_with php) \
90 $(use_with ruby)
91
92 # Python bindings are built/tested/installed manually.
93 sed -e "/^SUBDIRS =/s/ python//" -i Makefile
94 }
95
96 src_compile() {
97 default
98
99 if use python; then
100 python_copy_sources python
101
102 building() {
103 emake \
104 PYTHON_INCLUDES="-I$(python_get_includedir)" \
105 pythondir="$(python_get_sitedir)"
106 }
107 python_execute_function -s --source-dir python building
108 fi
109 }
110
111 src_test() {
112 default
113
114 if use python; then
115 testing() {
116 emake \
117 PYTHON="$(PYTHON)" \
118 check
119 }
120 python_execute_function -s --source-dir python testing
121 fi
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" INSTALLDIRS=vendor luadir=/usr/$(get_libdir)/lua/5.1 install || die
126
127 if use perl; then
128 find "${ED}" -type f -name perllocal.pod -delete
129 find "${ED}" -depth -mindepth 1 -type d -empty -delete
130 fi
131
132 if use python; then
133 installation() {
134 emake \
135 DESTDIR="${D}" \
136 pythondir="$(python_get_sitedir)" \
137 install
138 }
139 python_execute_function -s --source-dir python installation
140 fi
141
142 dodoc AUTHORS ChangeLog NEWS README TODO
143 dohtml {NEWS,README,RELEASE,TODO}.html
144 }
145
146 pkg_postinst() {
147 use python && python_mod_optimize RDF.py
148 }
149
150 pkg_postrm() {
151 use python && python_mod_cleanup RDF.py
152 }