1 |
commit: 8dbab2a27aec9cd35c2b848959850aef0ac7f46c |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 3 03:57:03 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 3 03:57:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dbab2a2 |
7 |
|
8 |
dev-libs/redland-bindings: removed obsolete 1.0.17.1-r100 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/855518 |
11 |
Closes: https://bugs.gentoo.org/845669 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
.../redland-bindings-1.0.17.1-r100.ebuild | 190 --------------------- |
15 |
1 file changed, 190 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r100.ebuild b/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r100.ebuild |
18 |
deleted file mode 100644 |
19 |
index e5c4cde5b39a..000000000000 |
20 |
--- a/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r100.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,190 +0,0 @@ |
23 |
-# Copyright 1999-2022 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
29 |
-PYTHON_COMPAT=( python3_{7..9} ) |
30 |
- |
31 |
-USE_PHP="php7-2 php7-3 php7-4" |
32 |
-PHP_EXT_ECONF_ARGS="--with-php=yes --without-lua --without-perl --without-python --without-ruby" |
33 |
-PHP_EXT_NAME="redland" |
34 |
-PHP_EXT_OPTIONAL_USE="php" |
35 |
-PHP_EXT_SKIP_PATCHES="yes" |
36 |
-PHP_EXT_SKIP_PHPIZE="yes" |
37 |
- |
38 |
-inherit lua php-ext-source-r3 python-single-r1 autotools |
39 |
- |
40 |
-DESCRIPTION="Language bindings for Redland" |
41 |
-HOMEPAGE="http://librdf.org/bindings/" |
42 |
-SRC_URI="http://download.librdf.org/source/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="Apache-2.0 GPL-2 LGPL-2.1" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 sparc x86 ~x86-linux" |
47 |
-IUSE="lua perl python php ruby test" |
48 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) |
49 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-BDEPEND="sys-apps/sed |
53 |
- virtual/pkgconfig" |
54 |
- |
55 |
-RDEPEND=">=dev-libs/redland-1.0.14 |
56 |
- lua? ( ${LUA_DEPS} ) |
57 |
- perl? ( dev-lang/perl:= ) |
58 |
- python? ( ${PYTHON_DEPS} ) |
59 |
- ruby? ( dev-lang/ruby:* dev-ruby/log4r ) |
60 |
- php? ( |
61 |
- php_targets_php7-2? ( dev-lang/php:7.2[-threads] ) |
62 |
- php_targets_php7-3? ( dev-lang/php:7.3[-threads] ) |
63 |
- php_targets_php7-4? ( dev-lang/php:7.4[-threads] ) |
64 |
- )" |
65 |
- |
66 |
-DEPEND="${RDEPEND} |
67 |
- >=dev-lang/swig-2 |
68 |
- test? ( |
69 |
- >=dev-libs/redland-1.0.14[berkdb] |
70 |
- )" |
71 |
- |
72 |
-PATCHES=( |
73 |
- "${FILESDIR}"/${P}-bool.patch |
74 |
- "${FILESDIR}"/${PN}-1.0.17.1-php-config-r1.patch |
75 |
- "${FILESDIR}"/${PN}-1.0.17.1-add-PHP7-support.patch |
76 |
-) |
77 |
- |
78 |
-pkg_setup() { |
79 |
- use python && python-single-r1_pkg_setup |
80 |
-} |
81 |
- |
82 |
-src_prepare() { |
83 |
- default |
84 |
- |
85 |
- eautoreconf |
86 |
- |
87 |
- # As of version 1.0.17.1, out-of-tree builds fail with: |
88 |
- # "error: redland_wrap.c: No such file or directory", |
89 |
- # have to copy the sources. |
90 |
- use lua && lua_copy_sources |
91 |
- |
92 |
- use php && php-ext-source-r3_src_prepare |
93 |
-} |
94 |
- |
95 |
-lua_src_configure() { |
96 |
- pushd "${BUILD_DIR}" > /dev/null || die |
97 |
- |
98 |
- econf \ |
99 |
- --with-lua="${ELUA}" \ |
100 |
- --without-perl \ |
101 |
- --without-php \ |
102 |
- --without-python \ |
103 |
- --without-ruby |
104 |
- |
105 |
- popd > /dev/null || die |
106 |
-} |
107 |
- |
108 |
-src_configure() { |
109 |
- if use perl || use python || use ruby ; then |
110 |
- econf \ |
111 |
- $(use_with lua) \ |
112 |
- $(use_with perl) \ |
113 |
- $(use_with python) \ |
114 |
- --without-php \ |
115 |
- $(use_with ruby) |
116 |
- fi |
117 |
- |
118 |
- if use lua; then |
119 |
- lua_foreach_impl lua_src_configure |
120 |
- fi |
121 |
- |
122 |
- use php && php-ext-source-r3_src_configure |
123 |
-} |
124 |
- |
125 |
-lua_src_compile() { |
126 |
- pushd "${BUILD_DIR}" > /dev/null || die |
127 |
- |
128 |
- default_src_compile |
129 |
- |
130 |
- popd > /dev/null || die |
131 |
-} |
132 |
- |
133 |
-src_compile() { |
134 |
- if use perl || use python || use ruby ; then |
135 |
- default |
136 |
- fi |
137 |
- |
138 |
- if use lua; then |
139 |
- lua_foreach_impl lua_src_compile |
140 |
- fi |
141 |
- |
142 |
- use php && php-ext-source-r3_src_compile |
143 |
-} |
144 |
- |
145 |
-lua_src_test() { |
146 |
- pushd "${BUILD_DIR}" > /dev/null || die |
147 |
- |
148 |
- default_src_test |
149 |
- |
150 |
- popd > /dev/null || die |
151 |
-} |
152 |
- |
153 |
-src_test() { |
154 |
- if use perl || use python || use ruby ; then |
155 |
- default |
156 |
- fi |
157 |
- |
158 |
- if use lua; then |
159 |
- lua_foreach_impl lua_src_test |
160 |
- fi |
161 |
- |
162 |
- if use php ; then |
163 |
- local slot |
164 |
- for slot in $(php_get_slots) ; do |
165 |
- php_init_slot_env "${slot}" |
166 |
- cd php || die |
167 |
- ${PHPCLI} -v |
168 |
- ${PHPCLI} -d "extension=./${PHP_EXT_NAME}.so" -f test.php || die "PHP tests for ${slot} failed!" |
169 |
- cd "${S}" || die |
170 |
- done |
171 |
- fi |
172 |
-} |
173 |
- |
174 |
-lua_src_install() { |
175 |
- pushd "${BUILD_DIR}" > /dev/null || die |
176 |
- |
177 |
- emake DESTDIR="${D}" INSTALLDIRS=vendor luadir="$(lua_get_cmod_dir)" install |
178 |
- |
179 |
- popd > /dev/null || die |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- if use perl || use python || use ruby ; then |
184 |
- emake DESTDIR="${D}" INSTALLDIRS=vendor install |
185 |
- fi |
186 |
- |
187 |
- if use lua; then |
188 |
- lua_foreach_impl lua_src_install |
189 |
- fi |
190 |
- |
191 |
- if use perl; then |
192 |
- find "${ED}" -type f -name perllocal.pod -delete |
193 |
- find "${ED}" -depth -mindepth 1 -type d -empty -delete |
194 |
- fi |
195 |
- |
196 |
- use python && python_optimize |
197 |
- |
198 |
- if use php; then |
199 |
- local slot |
200 |
- for slot in $(php_get_slots); do |
201 |
- php_init_slot_env "${slot}" |
202 |
- exeinto "${EXT_DIR#$EPREFIX}" |
203 |
- doexe "php/${PHP_EXT_NAME}.so" |
204 |
- done |
205 |
- |
206 |
- php-ext-source-r3_createinifiles |
207 |
- fi |
208 |
- |
209 |
- local DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
210 |
- local HTML_DOCS=( {NEWS,README,RELEASE,TODO}.html ) |
211 |
- einstalldocs |
212 |
-} |