From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/redland-bindings/
Date: Sun, 3 Jul 2022 03:57:10 +0000 (UTC) [thread overview]
Message-ID: <1656820623.8dbab2a27aec9cd35c2b848959850aef0ac7f46c.fordfrog@gentoo> (raw)
commit: 8dbab2a27aec9cd35c2b848959850aef0ac7f46c
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 03:57:03 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 03:57:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dbab2a2
dev-libs/redland-bindings: removed obsolete 1.0.17.1-r100
Bug: https://bugs.gentoo.org/855518
Closes: https://bugs.gentoo.org/845669
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../redland-bindings-1.0.17.1-r100.ebuild | 190 ---------------------
1 file changed, 190 deletions(-)
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
deleted file mode 100644
index e5c4cde5b39a..000000000000
--- a/dev-libs/redland-bindings/redland-bindings-1.0.17.1-r100.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-PYTHON_COMPAT=( python3_{7..9} )
-
-USE_PHP="php7-2 php7-3 php7-4"
-PHP_EXT_ECONF_ARGS="--with-php=yes --without-lua --without-perl --without-python --without-ruby"
-PHP_EXT_NAME="redland"
-PHP_EXT_OPTIONAL_USE="php"
-PHP_EXT_SKIP_PATCHES="yes"
-PHP_EXT_SKIP_PHPIZE="yes"
-
-inherit lua php-ext-source-r3 python-single-r1 autotools
-
-DESCRIPTION="Language bindings for Redland"
-HOMEPAGE="http://librdf.org/bindings/"
-SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
-
-LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 sparc x86 ~x86-linux"
-IUSE="lua perl python php ruby test"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="sys-apps/sed
- virtual/pkgconfig"
-
-RDEPEND=">=dev-libs/redland-1.0.14
- lua? ( ${LUA_DEPS} )
- perl? ( dev-lang/perl:= )
- python? ( ${PYTHON_DEPS} )
- ruby? ( dev-lang/ruby:* dev-ruby/log4r )
- php? (
- php_targets_php7-2? ( dev-lang/php:7.2[-threads] )
- php_targets_php7-3? ( dev-lang/php:7.3[-threads] )
- php_targets_php7-4? ( dev-lang/php:7.4[-threads] )
- )"
-
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2
- test? (
- >=dev-libs/redland-1.0.14[berkdb]
- )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-bool.patch
- "${FILESDIR}"/${PN}-1.0.17.1-php-config-r1.patch
- "${FILESDIR}"/${PN}-1.0.17.1-add-PHP7-support.patch
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- eautoreconf
-
- # As of version 1.0.17.1, out-of-tree builds fail with:
- # "error: redland_wrap.c: No such file or directory",
- # have to copy the sources.
- use lua && lua_copy_sources
-
- use php && php-ext-source-r3_src_prepare
-}
-
-lua_src_configure() {
- pushd "${BUILD_DIR}" > /dev/null || die
-
- econf \
- --with-lua="${ELUA}" \
- --without-perl \
- --without-php \
- --without-python \
- --without-ruby
-
- popd > /dev/null || die
-}
-
-src_configure() {
- if use perl || use python || use ruby ; then
- econf \
- $(use_with lua) \
- $(use_with perl) \
- $(use_with python) \
- --without-php \
- $(use_with ruby)
- fi
-
- if use lua; then
- lua_foreach_impl lua_src_configure
- fi
-
- use php && php-ext-source-r3_src_configure
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" > /dev/null || die
-
- default_src_compile
-
- popd > /dev/null || die
-}
-
-src_compile() {
- if use perl || use python || use ruby ; then
- default
- fi
-
- if use lua; then
- lua_foreach_impl lua_src_compile
- fi
-
- use php && php-ext-source-r3_src_compile
-}
-
-lua_src_test() {
- pushd "${BUILD_DIR}" > /dev/null || die
-
- default_src_test
-
- popd > /dev/null || die
-}
-
-src_test() {
- if use perl || use python || use ruby ; then
- default
- fi
-
- if use lua; then
- lua_foreach_impl lua_src_test
- fi
-
- if use php ; then
- local slot
- for slot in $(php_get_slots) ; do
- php_init_slot_env "${slot}"
- cd php || die
- ${PHPCLI} -v
- ${PHPCLI} -d "extension=./${PHP_EXT_NAME}.so" -f test.php || die "PHP tests for ${slot} failed!"
- cd "${S}" || die
- done
- fi
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" > /dev/null || die
-
- emake DESTDIR="${D}" INSTALLDIRS=vendor luadir="$(lua_get_cmod_dir)" install
-
- popd > /dev/null || die
-}
-
-src_install() {
- if use perl || use python || use ruby ; then
- emake DESTDIR="${D}" INSTALLDIRS=vendor install
- fi
-
- if use lua; then
- lua_foreach_impl lua_src_install
- fi
-
- if use perl; then
- find "${ED}" -type f -name perllocal.pod -delete
- find "${ED}" -depth -mindepth 1 -type d -empty -delete
- fi
-
- use python && python_optimize
-
- if use php; then
- local slot
- for slot in $(php_get_slots); do
- php_init_slot_env "${slot}"
- exeinto "${EXT_DIR#$EPREFIX}"
- doexe "php/${PHP_EXT_NAME}.so"
- done
-
- php-ext-source-r3_createinifiles
- fi
-
- local DOCS=( AUTHORS ChangeLog NEWS README TODO )
- local HTML_DOCS=( {NEWS,README,RELEASE,TODO}.html )
- einstalldocs
-}
next reply other threads:[~2022-07-03 3:57 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-03 3:57 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-27 15:03 [gentoo-commits] repo/gentoo:master commit in: dev-libs/redland-bindings/ Sam James
2023-07-04 22:17 Conrad Kostecki
2022-12-07 13:52 David Seifert
2022-07-02 12:23 Agostino Sarubbo
2022-07-02 12:21 Agostino Sarubbo
2022-07-02 12:20 Agostino Sarubbo
2022-07-02 12:08 Arthur Zamarin
2022-07-02 7:18 Jakov Smolić
2022-07-02 7:18 Jakov Smolić
2022-06-28 9:05 Miroslav Šulc
2022-03-03 21:22 David Seifert
2021-03-26 19:46 Conrad Kostecki
2021-01-23 22:42 Sam James
2020-12-21 17:28 Marek Szuba
2020-09-13 11:25 Miroslav Šulc
2020-09-07 8:47 Sergei Trofimovich
2020-08-30 1:13 Sam James
2020-08-18 11:16 Agostino Sarubbo
2020-08-17 14:52 Agostino Sarubbo
2020-08-17 14:52 Agostino Sarubbo
2020-08-17 12:20 Sam James
2020-07-23 8:04 Kent Fredric
2020-06-18 12:22 Michał Górny
2020-06-18 12:22 Michał Górny
2020-05-07 14:23 Michał Górny
2020-04-13 13:05 Sergei Trofimovich
2020-01-17 5:26 Andreas K. Hüttel
2019-06-18 18:17 Sergei Trofimovich
2019-05-21 22:43 Aaron Bauman
2019-02-18 19:18 Alexis Ballier
2018-05-01 11:47 Jeroen Roovers
2016-10-18 19:26 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1656820623.8dbab2a27aec9cd35c2b848959850aef0ac7f46c.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox