diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-04-05 09:56:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-04-05 10:15:57 +0200 |
commit | 6baa64108093c2bd39604f3f735cb91e6a6c1a3f (patch) | |
tree | d3291681460cde573a241aa323112466f4755931 /dev-libs | |
parent | Remove packages using old python eclasses (diff) | |
download | sunrise-6baa64108093c2bd39604f3f735cb91e6a6c1a3f.tar.gz sunrise-6baa64108093c2bd39604f3f735cb91e6a6c1a3f.tar.bz2 sunrise-6baa64108093c2bd39604f3f735cb91e6a6c1a3f.zip |
Remove multiple packages with unsatisfied deps
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/librets/ChangeLog | 103 | ||||
-rw-r--r-- | dev-libs/librets/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/librets/files/librets-1.6.1-extconf.rb.patch | 19 | ||||
-rw-r--r-- | dev-libs/librets/files/librets-1.6.1-fix-php-build-errors.patch | 77 | ||||
-rw-r--r-- | dev-libs/librets/files/librets-1.6.1-java.mk.patch | 18 | ||||
-rw-r--r-- | dev-libs/librets/files/librets.snk | bin | 596 -> 0 bytes | |||
-rw-r--r-- | dev-libs/librets/librets-1.6.1.ebuild | 307 | ||||
-rw-r--r-- | dev-libs/librets/metadata.xml | 16 |
8 files changed, 0 insertions, 548 deletions
diff --git a/dev-libs/librets/ChangeLog b/dev-libs/librets/ChangeLog deleted file mode 100644 index 69a4a1768..000000000 --- a/dev-libs/librets/ChangeLog +++ /dev/null @@ -1,103 +0,0 @@ -# ChangeLog for dev-libs/librets -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 09 May 2015; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> - librets-1.6.1.ebuild: - Remove useflag for php:5.3, which is no longer in main tree - - 18 Dec 2014; Andreas K. Huettel <dilfridge@gentoo.org> librets-1.6.1.ebuild: - Remove calls to obsolete, non-functional perl-module.eclass functions - -*librets-1.5.3-r3 (23 Oct 2013) - - 23 Oct 2013; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.3-r2.ebuild, +librets-1.5.3-r3.ebuild, - +files/librets-1.5.3-boost.patch, +files/librets-1.5.3-curl.patch: - Fixed boost build error and curl ssl error, added support for php 5.5 and - updated mono install to use the new mono-env eclass. - - 06 Aug 2013; Julian Ospald <hasufell@gentoo.org> librets-1.5.3-r2.ebuild: - remove deprecated ruby target ruby_targets_ree18 - -*librets-1.5.3-r2 (13 Mar 2013) - - 13 Mar 2013; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.3-r1.ebuild, +librets-1.5.3-r2.ebuild, - files/librets-1.5.3-build.patch, files/librets-1.5.3-extconf.rb.patch, - files/librets-1.5.3-java.mk.patch: - Added support for php 5.4. - -*librets-1.5.3-r1 (02 Jan 2013) - - 02 Jan 2013; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.3.ebuild, +librets-1.5.3-r1.ebuild, - +files/librets-1.5.3-build.patch, +files/librets-1.5.3-extconf.rb.patch, - +files/librets-1.5.3-java.mk.patch, -files/extconf.rb.patch, - -files/java.mk.patch, metadata.xml: - Revision bump for librets-1.5.3. Thanks hasufell and floppym for your help. - - 22 Jun 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> - librets-1.5.3.ebuild: - inherit missing autotools eclass for eautoreconf - -*librets-1.5.3 (23 Mar 2012) - - 23 Mar 2012; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.2-r4.ebuild, +librets-1.5.3.ebuild, -files/dotnet.patch, - -files/perl.mk.patch, -files/python.mk.patch, -files/swig.m4.patch, - files/java.mk.patch: - Version bump. - -*librets-1.5.2-r4 (12 Mar 2012) - - 12 Mar 2012; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.2-r3.ebuild, +librets-1.5.2-r4.ebuild, +files/extconf.rb.patch: - Upgraded to EAPI 4 and fixed ruby extension compilation failure if multiple - versions of boost were installed. - - 21 Dec 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> - librets-1.5.2-r3.ebuild: - remove php:5.2 target, masked for removal and unsupported - - 13 Oct 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.2-r2.ebuild, +librets-1.5.2-r3.ebuild: - Fixed building and linking bug with boost. - - 24 Aug 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.2-r1.ebuild, +librets-1.5.2-r2.ebuild: - Fixed problem with boost dependency so that it builds with the latest - compatible version. - - 23 Jul 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - -librets-1.5.2.ebuild, +librets-1.5.2-r1.ebuild: - Changed ruby dependency to use eclass function and removed custom - ruby_get_use_implementations since the functionality is now provided by the - ruby-ng eclass - - 02 Jul 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - librets-1.5.2.ebuild: - Removed unnecessary snk copy since the configure patch no longer requires this. - - 02 Jul 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - librets-1.5.2.ebuild, -files/dotnet.mk.patch, +files/dotnet.patch: - Replaced the dotnet patch with an upstream patch to allow passing a strong - name key file to the configure script so the mono dotnet dll can be signed. - - 29 Jun 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - librets-1.5.2.ebuild, +files/dotnet.mk.patch, +files/librets.snk, - +files/swig.m4.patch, metadata.xml: - Added support for mono. - - 28 Jun 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - librets-1.5.2.ebuild, files/python.mk.patch: - Added ruby slot implemention support. Updated python patch to upstream - patch. Fixed bug that caused build to fail if more than one binding was - enabled. Added disable threads for certain bindings dueo to segfaults. - Stopped dotnet from attempting to build if mono was installed. Thanks to - binki and mgorny for the reviews. - - 25 Jun 2011; Matthew Schultz (mschultz) <mattsch@gmail.com> - +librets-1.5.2.ebuild, +files/java.mk.patch, +files/perl.mk.patch, - +files/python.mk.patch, +metadata.xml: - New ebuild for bug 371707 thanks to mgorny for the review. diff --git a/dev-libs/librets/Manifest b/dev-libs/librets/Manifest deleted file mode 100644 index 2493e12a0..000000000 --- a/dev-libs/librets/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX librets-1.6.1-extconf.rb.patch 1064 SHA256 097a42eeb9f89865536c51a35cf1deed4df64f2144ffe21c15b03e6132708bf3 SHA512 cefc5bd953c3c4e36bb9899e0b828e069c624d14c9d8c93b75b04539f4e05e88cbbaa8e4b8557f7caa15dbca710241d473ed2ae64c622c645831e4b5137e5561 WHIRLPOOL 2171be43d5b08412e5f7603fa78f96632fccf0c1bc98dce26d6d7cd42ee1bdd68a2df9570093550a159042f7ae7df16e90bcd7b8c7a774c5a1b31f2b85b13b80 -AUX librets-1.6.1-fix-php-build-errors.patch 3062 SHA256 81a354bbc7c5556332e6511eed061c04d99376acf89029069c8aa6cddfe2b887 SHA512 2c08f8ea9c2f1fc4577e60278eb9e331688eaeee2d315ea5ce7488ce99f54f9c023bce1a0fd799cf961499e93aa19d43892fa80dc919cbf422672b29c1f879a7 WHIRLPOOL 308270a2999a5b74ec0c28b48b42c21c7b9d246bbdbaa9e2b27cf59a6f675d0abc1e1b3e715f19f169a9dec93c80348f720a00f0be6f1cc8cec3df842f06c85b -AUX librets-1.6.1-java.mk.patch 620 SHA256 1e18e6bf3c4b1cf3fc41ede276ee7f344fae0ee39a9e5683ab95df8926573adf SHA512 8ee91e24567034b44fa88e04026c50f3f91ec7849f604b03d6e2bf3d013200eb62f08ab2ebd4a6bb4a6c8ee52841ee8f40b3995cc47efa2462a91103d29e0127 WHIRLPOOL 62f3b4e779045c05bd1d81e3f0584cae76d8fa506a7f1f920b1df285a7671d507861dbaa4a649ecd9b742ee057db8fd7f326df9c6e5991adc0cd91b86c96e81e -AUX librets.snk 596 SHA256 6bf3c8c92df3bda29091d32608e402132516553b1591c9665f234305ed4f6d6f SHA512 6f3e9eecf17c30c0649e262d99d663c6604ded3bc51f2488b5518f710addc767cb0a045d944e386ad01054f2da101c014982950bca3d951d9eff3d50591b5b07 WHIRLPOOL fb319f74336e0058c5dfc7d8e819fc042a4673b5409b9bebcdb5c431be4e06498f876f874cd884d3108b030e33a53f6840ea4335158188d6f12fdd9cbee25a49 -DIST librets-1.6.1.tar.gz 1394134 SHA256 1d0cf82d8553266f6ff7246209c4d177bddacb2496800c3414eb4a5e56cb47a0 SHA512 6e24becdd9f14e0a4da7b2cf7aceac34185af26b8af5e828dfacfe3a6ebf94111978b5dcf515263822e6865e18bb1759807895aa5034d49a9ac25cb5f55b952b WHIRLPOOL 73601d40f863f78ede43d890e7ef759cb8df179c464765bf8b502fa85772173e75b0b64bbe6de53b4a1900e10c4fa9437e031da4aa313e735c0ded4cca553e81 -EBUILD librets-1.6.1.ebuild 9210 SHA256 1a5ae756da600c2c739547a46c63588a5a2128572da1a85e78f97d3c79c581d8 SHA512 05997436c469d659ae5520e9477b49626bed969dc86fce84a0277218637efb78b56e50bf4b84f56be80e7a8b2fea02b3edcbe7387704c7a32e4d49c91829e77f WHIRLPOOL f183240a5cc7868f513d2ac2cf8333f33f86159b5e5a96b7672f6716ea965efe1d6f2ad57442fb971806f80a789fc20c61c1c96e344ebe32a171c1a039fa39f8 -MISC ChangeLog 4403 SHA256 eb0152e43d856ec3c5e2bb69ac2e726db3fab0e44973006e1185cb18f1884c7a SHA512 6d6ed1ef87d976abb164d3a76bf7ad32afeaa2db2f714bfab149286473a41ae64d77ea95675855850e0873b20a1bcf8fb6ed4930ee1edb4ad5ab75cc3e35a1d0 WHIRLPOOL 9217410047b0ff545516051a6a4afadf24fa5c4a6d07a9b3e6072400b9b392a6c092c1e8ac92566c68e72a416ede1b922a8a87174a4c819a6830782e31cd9058 -MISC metadata.xml 774 SHA256 5b2aeaf3434f0c6ca946cb530fc822c8d54abde507e47eee513c473680126ffa SHA512 e0330367997c697881dd10980ad7b2b41700e65ad1cf8ddfc3fd879d933da3e3cfde676e35b645fb86550a32ec02702bc9a007c816446e7b1fbc3cd47fe0734c WHIRLPOOL f61f90404603e1162ce2917e641c1e66a566e10fef02c0e46e63f5210a50c0d8ce6ef438551ef5160b5037537456dc019260e3f3a16b5aae5bfccd1d5699436a diff --git a/dev-libs/librets/files/librets-1.6.1-extconf.rb.patch b/dev-libs/librets/files/librets-1.6.1-extconf.rb.patch deleted file mode 100644 index dbafc6220..000000000 --- a/dev-libs/librets/files/librets-1.6.1-extconf.rb.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 98dfabee1c528dd22d82d47f7c3397fb7096b91d -Author: Matthew Schultz <mattsch@gmail.com> -Date: Tue May 27 10:03:34 2014 -0500 - - Fixed compilation with ruby 2.0 by properly including the CFLAGS in CXXFLAGS. - -diff --git a/project/swig/ruby/extconf.rb b/project/swig/ruby/extconf.rb -index 494caa9..68e2920 100644 ---- a/project/swig/ruby/extconf.rb -+++ b/project/swig/ruby/extconf.rb -@@ -64,6 +64,8 @@ if RUBY_PLATFORM =~ /linux/ - # Make sure the proper version boost libraries are detected first by changing ruby's create_makefile library declaration order - orig_makefile.gsub!(/LIBS = \$\(LIBRUBYARG_SHARED\)(.+)/, "LIBS = \\1 \$\(LIBRUBYARG_SHARED\)"); - orig_makefile.gsub!(/(-o \$@ \$\(OBJS\))( \$\(LIBPATH\) \$\(DLDFLAGS\) \$\(LOCAL_LIBS\))( \$\(LIBS\))/, "\\1\\3\\2") -+ # Ruby 2.0 improperly generates CXXFLAGS without including CFLAGS which causes compilation to fail due to missing librets.h -+ orig_makefile.gsub!(/CXXFLAGS = \$\(CCDLFLAGS\)/, "CXXFLAGS = \$\(CFLAGS\)"); - end - File.open("Makefile", "w") do |mfile| - mfile << makefile_prefix diff --git a/dev-libs/librets/files/librets-1.6.1-fix-php-build-errors.patch b/dev-libs/librets/files/librets-1.6.1-fix-php-build-errors.patch deleted file mode 100644 index 0d63bc962..000000000 --- a/dev-libs/librets/files/librets-1.6.1-fix-php-build-errors.patch +++ /dev/null @@ -1,77 +0,0 @@ -commit 59e5e7af0e2c19ae2461e3eb071c2344629b8543 -Author: Keith T. Garner <kgarner@realtors.org> -Date: Wed Apr 9 11:20:17 2014 -0500 - - Rewrote the php configure test to use php-config. - -diff --git a/project/build/ac-macros/swig.m4 b/project/build/ac-macros/swig.m4 -index 4280d55..c267dc2 100644 ---- a/project/build/ac-macros/swig.m4 -+++ b/project/build/ac-macros/swig.m4 -@@ -168,25 +168,21 @@ EOF - dnl Check to see if we can build for php - dnl - if test "$my_use_php" = "yes"; then -- AC_CHECK_PROG(PHP, php, php, no) -- if test "$PHP" != "no"; then -- for php_prefix in $default_search_path -- do -- php_h="$php_prefix/php/main/php.h" -- zend_h="$php_prefix/php/Zend/zend.h" -- AC_CHECK_FILE([$php_h], [my_php_h=$php_h]) -- AC_CHECK_FILE([$zend_h], [my_zend_h=$zend_h]) -- test -n "$my_php_h" && break -- test -n "$my_zend_h" && break -- done -+ AC_CHECK_PROG(PHPCONFIG, php-config, php-config, no) -+ if test "$PHPCONFIG" != "no"; then -+ php_inc=`php-config --include-dir` -+ php_h="$php_inc/main/php.h" -+ zend_h="$php_inc/Zend/zend.h" -+ AC_CHECK_FILE([$php_h], [my_php_h=$php_h]) -+ AC_CHECK_FILE([$zend_h], [my_zend_h=$zend_h]) - if test -n "$my_php_h"; then - if test -n "$my_zend_h"; then - HAVE_PHP=1 - my_have_php=yes - fi -- fi -+ fi - fi -- fi -+ fi - - dnl - dnl Check to see if we can build for python3 - -commit fc3df0736cbea41b661979f91a400f12b397d02a -Author: Keith T. Garner <kgarner@realtors.org> -Date: Wed Apr 9 18:04:38 2014 -0500 - - Allow php to link with undefines as its a plugin and that's expected - -diff --git a/project/build/php.mk b/project/build/php.mk -index e031492..5b318cd 100644 ---- a/project/build/php.mk -+++ b/project/build/php.mk -@@ -18,7 +18,7 @@ ${PHP_WRAP}: ${SWIG_FILES} - -outdir ${PHP_OBJ_DIR} ${SWIG_DIR}/librets.i - - ${PHP_DLL}: ${PHP_WRAP} ${PHP_OBJ_DIR}/librets_wrap.o ${SWIG_BRIDGE_OBJ} ${LIBRETS_LIB} -- ${SWIG_LINK} -o ${PHP_DLL} ${PHP_OBJ_DIR}/librets_wrap.o ${SWIG_LIBRETS_LIBS} ${SWIG_BRIDGE_OBJ} -+ ${SWIG_LINK_UNDEFINED} -o ${PHP_DLL} ${PHP_OBJ_DIR}/librets_wrap.o ${SWIG_LIBRETS_LIBS} ${SWIG_BRIDGE_OBJ} - - ${PHP_OBJ_DIR}/librets_wrap.o: ${PHP_OBJ_DIR}/librets_wrap.cpp - ${CXX} ${CXXFLAGS} ${PHP_CXX_FLAGS} -g -DLIBRETS_VERSION='"$(VERSION)"' -I${LIBRETS_INC_DIR} -I${PHP_SRC_DIR} \ -diff --git a/project/build/swig.mk b/project/build/swig.mk -index 4dfa1fa..c853f3e 100644 ---- a/project/build/swig.mk -+++ b/project/build/swig.mk -@@ -20,6 +20,7 @@ SWIG_BRIDGE_OBJ = ${SWIG_OBJ_DIR}/librets_bridge.o - - DLL = so - SWIG_LINK = ${CXX} ${LDFLAGS} -shared -Wl,--no-undefined -+SWIG_LINK_UNDEFINED = ${CXX} ${LDFLAGS} -shared - - ifeq (${SWIG_OSNAME}, darwin) - SWIG_LINK = ${CXX} -bundle -undefined suppress -flat_namespace diff --git a/dev-libs/librets/files/librets-1.6.1-java.mk.patch b/dev-libs/librets/files/librets-1.6.1-java.mk.patch deleted file mode 100644 index a724e29b1..000000000 --- a/dev-libs/librets/files/librets-1.6.1-java.mk.patch +++ /dev/null @@ -1,18 +0,0 @@ -Patch to fix compilation errors by removing the java examples target when building for java - -Index: project/build/java.mk -=================================================================== ---- project/build/java.mk (revision 1551) -+++ project/build/java.mk (working copy) -@@ -2,7 +2,11 @@ - # java of swig - # - -+ifeq (${SWIG_OSNAME}, linux) -+JAVA_BUILD = ${JAVA_DLL} ${JAVA_OBJ_DIR}/${JAVA_JAR} -+else - JAVA_BUILD = ${JAVA_DLL} ${JAVA_OBJ_DIR}/${JAVA_JAR} ${JAVA_EXAMPLES_CLASSES} -+endif - - # Include/combine the follwoing source into the actual JAVA_BRIDGE - # line to enable the streams prototype for Java diff --git a/dev-libs/librets/files/librets.snk b/dev-libs/librets/files/librets.snk Binary files differdeleted file mode 100644 index 811bee4e8..000000000 --- a/dev-libs/librets/files/librets.snk +++ /dev/null diff --git a/dev-libs/librets/librets-1.6.1.ebuild b/dev-libs/librets/librets-1.6.1.ebuild deleted file mode 100644 index 55041c9c1..000000000 --- a/dev-libs/librets/librets-1.6.1.ebuild +++ /dev/null @@ -1,307 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" - -PHP_EXT_OPTIONAL_USE="php" -PHP_EXT_NAME="librets" -PHP_EXT_SKIP_PHPIZE="yes" -USE_PHP="php5-4 php5-5" - -PYTHON_COMPAT=( python2_7 python3_{2,3} ) - -USE_RUBY="ruby19 ruby20" -RUBY_OPTIONAL="yes" - -inherit autotools eutils java-pkg-opt-2 mono-env perl-module php-ext-source-r2 python-r1 ruby-ng toolchain-funcs - -DESCRIPTION="A library that implements the RETS 1.8, 1.7, 1.5 and 1.0 standards" -HOMEPAGE="http://www.crt.realtors.org/projects/rets/librets/" -SRC_URI="http://www.crt.realtors.org/projects/rets/${PN}/files/${P}.tar.gz" - -LICENSE="BSD-NAR" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc java mono perl php python ruby sql-compiler threads" -# Enabling thread safety for perl, php, python or ruby causes segmentation faults in cli scripts but not through apache -REQUIRED_USE="mono? ( sql-compiler ) - perl? ( !threads ) - php? ( !threads ) - python? ( !threads ) - ruby? ( !threads )" - -SWIG_RDEPEND="dev-libs/libgcrypt - dev-libs/libgpg-error - dev-libs/libtasn1 - net-dns/libidn - net-libs/gnutls" - -RDEPEND=">=dev-libs/boost-1.46 - dev-libs/expat - >=dev-util/boost-build-1.46 - net-misc/curl - sql-compiler? ( dev-java/antlr:0[script] ) - sys-libs/zlib - java? ( >=virtual/jdk-1.6.0 ${SWIG_RDEPEND} ) - mono? ( dev-lang/mono ${SWIG_RDEPEND} ) - php? ( ${SWIG_RDEPEND} ) - python? ( ${SWIG_RDEPEND} ${PYTHON_DEPS} ) - ruby? ( $(ruby_implementations_depend) ${SWIG_RDEPEND} )" - -DEPEND="java? ( >=dev-lang/swig-1.3.40-r1 ) - mono? ( >=dev-lang/swig-1.3.40-r1 ) - php? ( dev-lang/php[-threads] >=dev-lang/swig-1.3.40-r1 ) - python? ( >=dev-lang/swig-1.3.40-r1 ) - ruby_targets_ruby19? ( >=dev-lang/swig-2.0.4-r1 ) - ruby_targets_ruby20? ( >=dev-lang/swig-2.0.4-r1 ) - ${RDEPEND}" - -# Reset to the default $S since ruby-ng overrides it -S="${WORKDIR}/${P}" - -unset SWIG_RDEPEND - -# Since php-ext-source-r2_src_install tries to install non-existant headers -# and a bad emake fails on EAPI 4, a copied subset must be used instead (bug 404307). -my_php-ext-source-r2_src_install() { - local slot - for slot in $(php_get_slots); do - php_init_slot_env ${slot} - # Let's put the default module away - insinto "${EXT_DIR}" - newins "modules/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" - done - php-ext-source-r2_createinifiles -} - -my_php-move_swig_build_to_modules_dir() { - mkdir "${1}"/modules || die "Could not create directory for php slot" - mv build/swig/php5/* "${1}"/modules || die "Could not move php slot build" -} - -my_php-replace_config_with_selected_config() { - php_init_slot_env ${1} - cd "${S}" || die "cannot change to source directory" - # Replace the reference to php-config with the current slotted one - sed -i -e "s|${2}|${PHPCONFIG}|g" project/build/php.mk || die "sed php-config change failed" -} - -my_ruby-move_swig_build_to_impl_dir() { - mkdir -p "${1}"/${P} || die "Could not create directory for ruby implementation" - mv build/swig/ruby/* "${1}"/${P} || die "Could not move ruby implementation build" -} - -my_python3-move_swig_build_to_impl_dir() { - # Only move if something there are files in the python3 directory - if [ "$(ls -A build/swig/python3)" ]; then - mkdir -p build/swig/"${1}" || die "Could not create directory for python3 implementation" - cp -R build/swig/python3/* build/swig/"${1}" || die "Could not move python3 implementation build" - rm -r build/swig/python3/build || die "Could not remove python3 build" - fi -} - -pkg_setup() { - use java && java-pkg-opt-2_pkg_setup - use mono && mono-env_pkg_setup - use ruby && ruby-ng_pkg_setup -} - -src_unpack() { - use php && php-ext-source-r2_src_unpack - default -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-fix-php-build-errors.patch \ - "${FILESDIR}"/${P}-extconf.rb.patch \ - "${FILESDIR}"/${P}-java.mk.patch - epatch_user - eautoreconf - - if use python; then - # Change the path to librets-config-inplace for python slotted build support - sed -i -e "s|../../..|${S}|" project/swig/python/setup.py project/swig/python3/setup.py || die - # Remove the build-lib path for python slotted build support - sed -i -e "s| --build-lib=.||" project/build/python3.mk || die - fi - - use php && php-ext-source-r2_src_prepare -} - -src_configure() { - local myphpprefix - if use php; then - # Enable php extension when it finds the current selected slot - myphpprefix="${PHPPREFIX}/include" - fi - - # The build system just finds "python", which could be any version of python if EPYTHON is unset. - use python && python_export_best EPYTHON - - if use ruby; then - MYRUBYIMPLS=($(ruby_get_use_implementations)) - MYRUBYFIRSTIMPL=${MYRUBYIMPLS[0]} - # Set RUBY value in config to the first ruby implementation to build - RUBY=$(ruby_implementation_command ${MYRUBYFIRSTIMPL}) - MYRUBYIMPLS=(${MYRUBYIMPLS[@]:1}) - fi - - # Allow cross-compiling between operating systems since ar is not portable - tc-export AR - econf \ - --enable-shared_dependencies \ - --enable-depends \ - --enable-default-search-path="/usr /opt ${myphpprefix}" \ - --disable-examples \ - --disable-debug \ - $(usex doc "--enable-maintainer-documentation") \ - $(usex java "" "--disable-java") \ - $(usex mono "" "--disable-dotnet") \ - $(usex perl "" "--disable-perl") \ - $(usex php "" "--disable-php") \ - $(usex python "" "--disable-python") \ - $(usex threads "--enable-thread-safe") \ - $(use_enable sql-compiler) \ - $(use_with mono "snk-file" "${FILESDIR}"/${PN}.snk) \ - $(usex ruby " RUBY=${RUBY}" "--disable-ruby") -} - -src_compile() { - if use php; then - local slot myphpconfig="php-config" - # Shift off the first slot so it doesn't get built again - local myphpslots=($(php_get_slots)) myphpfirstslot="${myphpslots[@]:0:1}" myphpslots=(${myphpslots[@]:1}) - my_php-replace_config_with_selected_config ${myphpfirstslot} ${myphpconfig} - myphpconfig="${PHPCONFIG}" - fi - emake - if use php; then - # Move the current slotted build of php to another dir so other slots can be built - my_php-move_swig_build_to_modules_dir "${WORKDIR}/${myphpfirstslot}" - # Build the remaining slots - for slot in ${myphpslots[@]}; do - my_php-replace_config_with_selected_config ${slot} ${myphpconfig} - myphpconfig="${PHPCONFIG}" - # Build the current slot - emake build/swig/php5/${PN}.so - my_php-move_swig_build_to_modules_dir "${PHP_EXT_S}" - done - fi - - if use python; then - local selectedPython3=$(eselect python show --python3) - my_python3-move_swig_build_to_impl_dir ${selectedPython3} - building() { - # Skip python 2.7 and the selected python3 interpreter since it was already built when make ran the first time - if [ "${EPYTHON:6:1}" = "2" ] || [ "${EPYTHON}" = "${selectedPython3}" ]; then - return 0 - fi - - pushd "${S}"/build/swig/python3 || die - "${PYTHON}" setup.py build || die - popd - my_python3-move_swig_build_to_impl_dir ${EPYTHON} - } - python_foreach_impl building - fi - - if use ruby; then - # Move the current implementation build of ruby to another dir so other implementations can be built - my_ruby-move_swig_build_to_impl_dir "${WORKDIR}/${MYRUBYFIRSTIMPL}" - unset MYFIRSTRUBYIMPL - unset RUBY - local impl - MYRUBYIMPL="\${RUBY}" - # Build the remaining implementations - for impl in ${MYRUBYIMPLS[@]}; do - cd "${S}" || die "cannot change to source directory" - # Replace the reference to ${RUBY} with the current implementation - sed -i -e "s|${MYRUBYIMPL}|$(ruby_implementation_command ${impl})|g" \ - project/build/ruby.mk || die "sed ruby implementation change failed" - MYRUBYIMPL="$(ruby_implementation_command ${impl})" - # Build the current implementation - emake build/swig/ruby/${PN}_native.bundle - my_ruby-move_swig_build_to_impl_dir "${WORKDIR}/${impl}" - done - unset MYRUBYIMPL - unset MYRUBYIMPLS - unset impl - fi -} - -each_ruby_install() { - exeinto "$(ruby_rbconfig_value archdir)" - doexe "${S}"/librets_native.so - doruby "${S}"/librets.rb -} - -src_install() { - dolib.a build/${PN}/lib/${PN}.a - - insinto /usr/include - doins -r project/${PN}/include/${PN} - - dobin "${PN}-config" - - if use php; then - my_php-ext-source-r2_src_install - insinto /usr/share/php - doins "${WORKDIR}"/php"${PHP_CURRENTSLOT}"/modules/${PN}.php - fi - - if use perl; then - # Install manually since the package install has sandbox violations - insinto ${SITE_ARCH} - insopts "-m755" - doins -r "${S}"/build/swig/perl/blib/arch/auto - insopts "-m644" - doins "${S}"/build/swig/perl/${PN}.pm - fi - - if use java; then - java-pkg_dojar "${S}"/build/swig/java/${PN}.jar - LIBOPTIONS="-m755" java-pkg_doso "${S}"/build/swig/java/${PN}.so - fi - - use ruby && ruby-ng_src_install - - if use mono; then - local dll="${S}"/build/swig/csharp/${PN}-dotnet.dll - gacutil -i "${dll}" \ - -root "${ED}"/usr/$(get_libdir) \ - -gacdir /usr/$(get_libdir) \ - -package ${PN} \ - || die "installing ${dll} into the Global Assembly Cache failed" - fi - - if use python; then - python_install() { - local pythonversion - # build files for python 3 reside in folders with slot versions - if [ "${EPYTHON:6:1}" = "3" ]; then - pythonversion=${EPYTHON:6} - fi - pushd "${S}"/build/swig/python${pythonversion} || die - "${PYTHON}" setup.py install --root="${D}" || die - popd - } - python_foreach_impl python_install - fi -} - -pkg_preinst() { - : -} - -pkg_postinst() { - : -} - -pkg_prerm() { - : -} - -pkg_postrm() { - : -} diff --git a/dev-libs/librets/metadata.xml b/dev-libs/librets/metadata.xml deleted file mode 100644 index b4dca2f58..000000000 --- a/dev-libs/librets/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> - <use> - <flag name="doc">Add maintainer documentation</flag> - <flag name="java">Install java libraries</flag> - <flag name="mono">Install mono libraries</flag> - <flag name="perl">Install perl library extension</flag> - <flag name="php">Install php library extension</flag> - <flag name="python">Install python library extension</flag> - <flag name="ruby">Install ruby library extension</flag> - <flag name="sql-compiler">Enable SQL to DMQL compiler for java libraries</flag> - <flag name="threads">Enable thread safe support</flag> - </use> -</pkgmetadata> |