summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDion Moult <moult@gentoo.org>2013-03-24 11:02:21 +0000
committerDion Moult <moult@gentoo.org>2013-03-24 11:02:21 +0000
commit6cb3128856aaeb96e6cf74ba0adc22e8f9d8edc9 (patch)
treed5c41dfcd040e100bac7ba9992e3a2e96dc4db39 /dev-lang/ruby-enterprise
parentVersion bump. Drop old version (diff)
downloadgentoo-2-6cb3128856aaeb96e6cf74ba0adc22e8f9d8edc9.tar.gz
gentoo-2-6cb3128856aaeb96e6cf74ba0adc22e8f9d8edc9.tar.bz2
gentoo-2-6cb3128856aaeb96e6cf74ba0adc22e8f9d8edc9.zip
dev-lang/ruby-enterprise removal (pending 20 Jan 2013), see #453178 for reference
Diffstat (limited to 'dev-lang/ruby-enterprise')
-rw-r--r--dev-lang/ruby-enterprise/ChangeLog86
-rw-r--r--dev-lang/ruby-enterprise/Manifest11
-rw-r--r--dev-lang/ruby-enterprise/metadata.xml34
-rw-r--r--dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2010.02-r1.ebuild202
-rw-r--r--dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2011.03.ebuild202
-rw-r--r--dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2012.02.ebuild190
6 files changed, 0 insertions, 725 deletions
diff --git a/dev-lang/ruby-enterprise/ChangeLog b/dev-lang/ruby-enterprise/ChangeLog
deleted file mode 100644
index 7fbb3dd47ec8..000000000000
--- a/dev-lang/ruby-enterprise/ChangeLog
+++ /dev/null
@@ -1,86 +0,0 @@
-# ChangeLog for dev-lang/ruby-enterprise
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-enterprise/ChangeLog,v 1.14 2012/03/03 08:21:53 graaff Exp $
-
-*ruby-enterprise-1.8.7.2012.02 (03 Mar 2012)
-
- 03 Mar 2012; Hans de Graaff <graaff@gentoo.org>
- +ruby-enterprise-1.8.7.2012.02.ebuild:
- Version bump.
-
- 14 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> metadata.xml:
- tcmalloc is now global
-
-*ruby-enterprise-1.8.7.2011.03 (15 May 2011)
-
- 15 May 2011; Hans de Graaff <graaff@gentoo.org>
- +ruby-enterprise-1.8.7.2011.03.ebuild:
- Version bump. Currently masked because of thread-related crashes, tracked in
- bug 367423.
-
- 31 Dec 2010; Hans de Graaff <graaff@gentoo.org>
- ruby-enterprise-1.8.7.2010.02-r1.ebuild:
- Remove PROVIDE for old-style virtual/ruby per bug 265054.
-
- 20 Oct 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- ruby-enterprise-1.8.7.2010.02-r1.ebuild:
- x86 stable wrt bug #338223
-
- 06 Oct 2010; Markos Chandras <hwoarang@gentoo.org>
- ruby-enterprise-1.8.7.2010.02-r1.ebuild:
- Stable on amd64 wrt bug #338223
-
- 01 Sep 2010; Alex Legler <a3li@gentoo.org>
- -ruby-enterprise-1.8.7.2010.01-r2.ebuild,
- -ruby-enterprise-1.8.7.2010.02.ebuild:
- Remove old, and possibly crashing versions.
-
-*ruby-enterprise-1.8.7.2010.02-r1 (01 Sep 2010)
-
- 01 Sep 2010; Alex Legler <a3li@gentoo.org>
- +ruby-enterprise-1.8.7.2010.02-r1.ebuild, metadata.xml:
- Revision bump. Revert fast-threading.patch by default as it's experimental
- and disables callcc. Thanks to Scott M. Likens for reporting this in bug
- 224458. Fix CVE-2010-0541 (WEBRick XSS), bug 332957.
-
- 06 Aug 2010; Alex Legler <a3li@gentoo.org>
- -ruby-enterprise-1.8.7.2010.01-r1.ebuild,
- ruby-enterprise-1.8.7.2010.01-r2.ebuild:
- Adapting dev-libs/openssl dependency for older ebuild, fixing rubytests
- installation path. Cleaning up even older ebuild.
-
-*ruby-enterprise-1.8.7.2010.02 (06 Aug 2010)
-
- 06 Aug 2010; Alex Legler <a3li@gentoo.org>
- +ruby-enterprise-1.8.7.2010.02.ebuild:
- Version bump. Package now builds correctly against OpenSSL-1 (bug 326633).
- Fixing rubytests installation path. Adapting PATCHSET versioning setup
- from other ruby ebuilds.
-
- 20 May 2010; Alex Legler <a3li@gentoo.org>
- ruby-enterprise-1.8.7.2010.01-r2.ebuild:
- Remove useless comment, fix SRC_URI. Closes bug 320603
-
-*ruby-enterprise-1.8.7.2010.01-r2 (18 May 2010)
-
- 18 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
- -ruby-enterprise-1.8.7.2010.01.ebuild,
- +ruby-enterprise-1.8.7.2010.01-r2.ebuild, metadata.xml:
- Make ebuild consistent with Ruby (MRI) 1.8 and 1.9; add patch to build
- with BerkDB 5.0 (bug #319583) and add --no-undefined as well.
-
-*ruby-enterprise-1.8.7.2010.01-r1 (13 May 2010)
-
- 13 May 2010; Alex Legler <a3li@gentoo.org>
- +ruby-enterprise-1.8.7.2010.01-r1.ebuild:
- Revbump to new patchset including a patch for an OpenSSL function name
- typo. Upstream bug:
- http://code.google.com/p/rubyenterpriseedition/issues/detail?id=39
-
-*ruby-enterprise-1.8.7.2010.01 (03 Apr 2010)
-
- 03 Apr 2010; Alex Legler <a3li@gentoo.org>
- +ruby-enterprise-1.8.7.2010.01.ebuild, +metadata.xml:
- Initial import. Ebuild by Alex Legler <a3li@gentoo.org>. tcmalloc
- integration by Lance Albertson <ramereth@gentoo.org>.
-
diff --git a/dev-lang/ruby-enterprise/Manifest b/dev-lang/ruby-enterprise/Manifest
deleted file mode 100644
index 874d7f8f71c1..000000000000
--- a/dev-lang/ruby-enterprise/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-DIST ruby-enterprise-1.8.7-2010.02.tar.gz 7812593 SHA256 5e7268021aa30f9b79f3ed066989cffc8b31b17db9e2aca40c039ff017da4813 SHA512 97fb913e2783eacaf5ae76df229150c5f77d310a06bdd17cdf5e9000db151f73b7194ebea52134e5bd655e52a8c3e6a1ebc0853f36ecae4f12c5c57f23561810 WHIRLPOOL 40961a08ac1eb485df9d325df5cf1373239e3f4be96317981683cc19b1dd66b65c894ce2ef6e6b8602237b0681028834002ee9266ab8e44cd49a12df8673200c
-DIST ruby-enterprise-1.8.7-2011.03.tar.gz 7898840 SHA256 0c0ddbc43b3aef49686db27e761e55a23437f12e1f00b6fe55d94724637bff6b SHA512 31a2e261b4d86b40d759b4786ae0d0261033299b53ce6e06d91170a97e3fc6d3eb56e6ad423b4aee50806753a6f20c44a8e42c25b977389a58d65d1e0ed5f18c WHIRLPOOL 35b603022fc61767dd88a705495f3388b3f0bc4b07a6936a89d7c3b724c3757b86ead40184df22e826f2b5263eb6f3c9781d1c065299eb818d6ea585f289ce01
-DIST ruby-enterprise-1.8.7-2012.02.tar.gz 7918435 SHA256 ecf4a6d4c96b547b3bf4b6be14e082ddaa781e83ad7f69437cd3169fb7576e42 SHA512 f699fbf6eaff71c13f0a19cc14d07baa4dc7a174ea16cb7856d3ca2167b52a92a7e0147e41ab2b4465acbebff9c97d4aa99a889c7e2974e4b1e08a9547b6608e WHIRLPOOL 4e801b2c02ad933988d8722323499cd0548349bd46a168bd0dac0287ea8a0288f9e47d01db109a6a7f78878b33d0be636674bfcd2d42865a2da8cd16b859ecec
-DIST ruby-enterprise-patches-1.8.7.2010.02-r1.tar.bz2 26782 SHA256 d336ebb54d85014ffda4b15733ffdcb5f9faaee5a1633454b880743255c8fd9e SHA512 117bd658ef2791e788b43ca2586a8243085128c9b3ee0ca474b5d24760f890a8a45ca3a0e5e2fb212385f01ba0b8145903ce9f93bf702bd19957b14ff0b26516 WHIRLPOOL f3da3cfac0dcd766726a1089aa137bd9b2e1357465ead08db4abae07fb976e0fe770ea20e64b29bc8cae058e705d8d0a3192e69a46e12a62d468d328204b5dc1
-DIST ruby-enterprise-patches-1.8.7.2011.03.tar.bz2 13040 SHA256 2abceb883ead455e4262bf09dfa6f2a36d5dfa4d37775bac91e222f597c7de22 SHA512 02d2e93712c4f9bb69d9086802373073c61397db6f727d39d30d7201050db8c2f08f30b8097cbf45d0e6d05559648b4fc4482818f6baebf99fe527f5901c6076 WHIRLPOOL 4f5c4ab084ac0e92a9e9fc56a2d46eddde9f8cadf994937682b500a6868e01797b90b4442deefa8454728894488f7250de4307fe345eb67c4ca3db80228149c5
-DIST ruby-enterprise-patches-1.8.7.2012.02.tar.bz2 2013 SHA256 966a53cd7b5449321832166ea2f90bbbacab528f98c07b47fa1cbea2111e9558 SHA512 39202b84bc382f118ea419f1b63ffc76d9bb1c7aec46f45cf31a4935ab016de230d16f01b5f7081764f7aef91a93f790820dc62b8480e12f08fd09f1de654a85 WHIRLPOOL f25e86f40c68ecb647a9ea31eaaa0be327106720e49b8f41a9a482e699a950a1e45c6fdb4dc12d5c20f4b200d37c45c66b14bfbff1ab9a11742bfc14758f61b0
-EBUILD ruby-enterprise-1.8.7.2010.02-r1.ebuild 5879 SHA256 4936eab51f862e4a42b03d0340cdb6813fb1a7d94565a4469e93cd2f31227c9c SHA512 45aad033e8491393ec2a34aa5ac510f14cdd31f86d3e422a459ccac128af11d94f784eb51181f14212d8db4b4a34b4f974413a13142e4cea3db9320df3a550e2 WHIRLPOOL 74f2fbd06d3cfa02232b080877560df8636cd39301c699c3779e72927e13a82fa08caa0fa8e8f7754d076958e9e956f4b2ca072b7a839a5818551b09236d7496
-EBUILD ruby-enterprise-1.8.7.2011.03.ebuild 5900 SHA256 30dda8dcc68077eb7053ed3acd49e0422147d33491bd96b58d8e17597003d2ca SHA512 95b88789d1c4e8e5c5a4d1c4600afe4e708461a2f6fc02aa80afecfd76d48589d97e8036ceb5e1bcf0678bec71efee01f8d39fdddfeb57d981f125695952ff4a WHIRLPOOL 7266afe29d73816bc822ff113247aa0313e2c4900ab225c5570131aaec1ea89a6a75dc2ca52208faf708d521487df352e75963d8216180cb734c86e5a55da197
-EBUILD ruby-enterprise-1.8.7.2012.02.ebuild 5485 SHA256 395b1b2b4972af70152d6a5dcbfaf2d3a3cca645d50e8e7850a716083cb860c9 SHA512 21bf624a8faf2970590a91b23ca92dc1f42dce4ad53180fce2ccbaacd05f4b9308274d19ecd8404b22dc453922d639463578010b9466f3f95890e6355ee1ae82 WHIRLPOOL 486e34179b9df0c960c3ad2e756bd905d305aa7673ee3a00587170f7341c7e4e9c23e99f7ee0457495e9c95daced44f5e9dd7605b85f055bec303814f3798a0c
-MISC ChangeLog 3283 SHA256 2e8708658dada14166deb93af11b5349c64ef64dfeebf96f7e1018bf96c034c0 SHA512 84a18fbc2332e49f787fa7d3db83a01657c3a629301a231d08862b731a38ef46bc3fbd8bad486a0bf790bc2deb3b14a57a22e7415dfb24f86f9432e2c9f66a17 WHIRLPOOL e06a28988055baf49d2bf7cd0a8808b83e53c34eed0be6b4ef3d81058f44300916e986860a92fb59afc48d6809e8f9327e9713f408b076c64f0ead876f832b5e
-MISC metadata.xml 1206 SHA256 1e181c718a17729afbfda0b2fd7bc387668746d8a41c27a797ef7c7542e930f5 SHA512 3743393a2b4be9ae89c3fcb906bfe379a454ead5ee8b859e448ee51474a9aec4492973e4a0913b27ee343275403eb962aff426e3a23883dd20d1edc1bf437164 WHIRLPOOL acfaf0c56be0a82350c6614eb107d58ca64121c9c58f3af6a1b89f7e7d21a018dd0574e7482883bca7bf184ffee16a70ab26c559598f27f613f5bd668cc85112
diff --git a/dev-lang/ruby-enterprise/metadata.xml b/dev-lang/ruby-enterprise/metadata.xml
deleted file mode 100644
index e8c27ee8d566..000000000000
--- a/dev-lang/ruby-enterprise/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>ruby</herd>
- <use>
- <flag name='rubytests'>
- Install ruby tests that can only be run after ruby is installed
- </flag>
-
- <flag name='libedit'>
- Use the <pkg>dev-libs/libedit</pkg> library to provide the
- readline extension, used for instance by the irb tool. This flag
- will take precedence over the readline USE flag.
-
- If neither libedit nor readline USE flags are enabled, the
- readline extension will not be built (and irb will lose line
- editing functionality).
- </flag>
-
- <flag name='readline'>
- Use the <pkg>sys-libs/readline</pkg> library to provide the
- readline extension, used for instance by the irb tool. This flag
- is meaningful only if the libedit USE flag is disabled.
-
- If neither libedit nor readline USE flags are enabled, the
- readline extension will not be built (and irb will lose line
- editing functionality).
- </flag>
-
- <flag name="fastthreading">
- EXPERIMENTAL Enables fast threading routines. Removes support for callcc.
- </flag>
- </use>
-</pkgmetadata>
diff --git a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2010.02-r1.ebuild b/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2010.02-r1.ebuild
deleted file mode 100644
index 21950ed14708..000000000000
--- a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2010.02-r1.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2010.02-r1.ebuild,v 1.4 2010/12/31 15:03:33 graaff Exp $
-
-EAPI=2
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-MY_P="${PN}-$(replace_version_separator 3 '-')"
-S="${WORKDIR}/${MY_P}/source"
-
-SLOT=$(get_version_component_range 1-2)
-MY_SUFFIX="ee$(delete_version_separator 1 ${SLOT})"
-# 1.8 and 1.9 series disagree on this
-RUBYVERSION=$(get_version_component_range 1-2)
-
-if [[ -n ${PATCHSET} ]]; then
- if [[ ${PVR} == ${PV} ]]; then
- PATCHSET="${PV}-r0.${PATCHSET}"
- else
- PATCHSET="${PVR}.${PATCHSET}"
- fi
-else
- PATCHSET="${PVR}"
-fi
-
-DESCRIPTION="Ruby Enterprise Edition is a branch of Ruby including various enhancements"
-HOMEPAGE="http://www.rubyenterpriseedition.com/"
-SRC_URI="mirror://rubyforge/emm-ruby/${MY_P}.tar.gz
- http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
-
-LICENSE="|| ( Ruby GPL-2 )"
-KEYWORDS="amd64 x86"
-IUSE="+berkdb debug doc examples fastthreading +gdbm ipv6 rubytests ssl tcmalloc threads tk xemacs ncurses +readline libedit"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( sys-libs/gdbm )
- ssl? ( >=dev-libs/openssl-0.9.8m )
- tk? ( dev-lang/tk[threads=] )
- ncurses? ( sys-libs/ncurses )
- libedit? ( dev-libs/libedit )
- !libedit? ( readline? ( sys-libs/readline ) )
- sys-libs/zlib
- >=app-admin/eselect-ruby-20100402
- tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}"
-# TODO rubygems
-PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
-
-src_prepare() {
- EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
- epatch "${WORKDIR}/patches"
-
- if use fastthreading; then
- einfo
- elog "NOTE: The fast threading feature in dev-lang/ruby-enterprise is"
- elog "considered as EXPERIMENTAL. It also disables callcc. Use with care."
- einfo
- else
- einfo "Restoring vanilla threading..."
- EPATCH_OPTS="${EPATCH_OPTS} -R" \
- epatch "${WORKDIR}/patches/999-fast-threading-NOAPPLY.diff" \
- || die "Reverting the fast-threading patch failed"
- fi
-
- if use tcmalloc ; then
- sed -i 's:^EXTLIBS.*:EXTLIBS = -ltcmalloc_minimal:' Makefile.in
- fi
-
- # Fix a hardcoded lib path in configure script
- sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
- configure.in || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=
-
- # -fomit-frame-pointer makes ruby segfault, see bug #150413.
- filter-flags -fomit-frame-pointer
- # In many places aliasing rules are broken; play it safe
- # as it's risky with newer compilers to leave it as it is.
- append-flags -fno-strict-aliasing
-
- # Increase GC_MALLOC_LIMIT if set (default is 8000000)
- if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
- append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
- fi
-
- # ipv6 hack, bug 168939. Needs --enable-ipv6.
- use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
-
- if use libedit; then
- einfo "Using libedit to provide readline extension"
- myconf="${myconf} --enable-libedit --with-readline"
- elif use readline; then
- einfo "Using readline to provide readline extension"
- myconf="${myconf} --with-readline"
- else
- myconf="${myconf} --without-readline"
- fi
-
- econf \
- --program-suffix="${MY_SUFFIX}" \
- --enable-shared \
- $(use_enable doc install-doc) \
- $(use_enable threads pthread) \
- --enable-ipv6 \
- $(use_enable debug) \
- $(use_with berkdb dbm) \
- $(use_with gdbm) \
- $(use_with ssl openssl) \
- $(use_with tk) \
- $(use_with ncurses curses) \
- ${myconf} \
- --with-sitedir=/usr/$(get_libdir)/rubyee/site_ruby \
- --with-vendordir=/usr/$(get_libdir)/rubyee/vendor_ruby \
- --enable-option-checking=no \
- || die "econf failed"
-}
-
-src_compile() {
- emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
-}
-
-src_test() {
- emake -j1 test || die "make test failed"
-
- elog "Ruby's make test has been run. Ruby also ships with a make check"
- elog "that cannot be run until after ruby has been installed."
- elog
- if use rubytests; then
- elog "You have enabled rubytests, so they will be installed to"
- elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
- elog "than root, and you must place them into a writeable directory."
- elog "Then call: "
- elog
- elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
- else
- elog "Enable the rubytests USE flag to install the make check tests"
- fi
-}
-
-src_install() {
- # Ruby is involved in the install process, we don't want interference here.
- unset RUBYOPT
-
- local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
-
- LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- RUBYLIB="${S}:${D}/usr/$(get_libdir)/rubyee/${RUBYVERSION}"
- for d in $(find "${S}/ext" -type d) ; do
- RUBYLIB="${RUBYLIB}:$d"
- done
- export LD_LIBRARY_PATH RUBYLIB
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
-
- if use doc; then
- make DESTDIR="${D}" install-doc || die "make install-doc failed"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r sample
- fi
-
- dodoc ChangeLog NEWS README* ToDo || die
-
- if use rubytests; then
- pushd test
- insinto /usr/share/${PN}-${SLOT}/test
- doins -r .
- popd
- fi
-}
-
-pkg_postinst() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-
- ewarn
- ewarn "Ruby Enterprise Edition is not guaranteed to be binary-compatible to"
- ewarn "MRI (dev-lang/ruby). Exercise care especially with C extensions!"
- ewarn "Gentoo does *not* accept any bugs regarding such failures."
- ewarn
-
- elog
- elog "To switch between available Ruby profiles, execute as root:"
- elog "\teselect ruby set ruby(18|19|...)"
- elog
-}
-
-pkg_postrm() {
- eselect ruby cleanup
-}
diff --git a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2011.03.ebuild b/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2011.03.ebuild
deleted file mode 100644
index fa4d0a2e65c1..000000000000
--- a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2011.03.ebuild
+++ /dev/null
@@ -1,202 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2011.03.ebuild,v 1.1 2011/05/15 17:59:27 graaff Exp $
-
-EAPI=2
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-MY_P="${PN}-$(replace_version_separator 3 '-')"
-S="${WORKDIR}/${MY_P}/source"
-
-SLOT=$(get_version_component_range 1-2)
-MY_SUFFIX="ee$(delete_version_separator 1 ${SLOT})"
-# 1.8 and 1.9 series disagree on this
-RUBYVERSION=$(get_version_component_range 1-2)
-
-if [[ -n ${PATCHSET} ]]; then
- if [[ ${PVR} == ${PV} ]]; then
- PATCHSET="${PV}-r0.${PATCHSET}"
- else
- PATCHSET="${PVR}.${PATCHSET}"
- fi
-else
- PATCHSET="${PVR}"
-fi
-
-DESCRIPTION="Ruby Enterprise Edition is a branch of Ruby including various enhancements"
-HOMEPAGE="http://www.rubyenterpriseedition.com/"
-SRC_URI="http://rubyenterpriseedition.googlecode.com/files/${MY_P}.tar.gz
- http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
-
-LICENSE="|| ( Ruby GPL-2 )"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb debug doc examples fastthreading +gdbm ipv6 rubytests ssl tcmalloc threads tk xemacs ncurses +readline libedit"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( sys-libs/gdbm )
- ssl? ( >=dev-libs/openssl-0.9.8m )
- tk? ( dev-lang/tk[threads=] )
- ncurses? ( sys-libs/ncurses )
- libedit? ( dev-libs/libedit )
- !libedit? ( readline? ( sys-libs/readline ) )
- sys-libs/zlib
- >=app-admin/eselect-ruby-20100402
- tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}"
-# TODO rubygems
-PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
-
-src_prepare() {
- EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
- epatch "${WORKDIR}/patches"
-
- if use fastthreading; then
- einfo
- elog "NOTE: The fast threading feature in dev-lang/ruby-enterprise is"
- elog "considered as EXPERIMENTAL. It also disables callcc. Use with care."
- einfo
- else
- einfo "Restoring vanilla threading..."
- EPATCH_OPTS="${EPATCH_OPTS} -R" \
- epatch "${WORKDIR}/patches/999-fast-threading-NOAPPLY.diff" \
- || die "Reverting the fast-threading patch failed"
- fi
-
- if use tcmalloc ; then
- sed -i 's:^EXTLIBS.*:EXTLIBS = -ltcmalloc_minimal:' Makefile.in
- fi
-
- # Fix a hardcoded lib path in configure script
- sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
- configure.in || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=
-
- # -fomit-frame-pointer makes ruby segfault, see bug #150413.
- filter-flags -fomit-frame-pointer
- # In many places aliasing rules are broken; play it safe
- # as it's risky with newer compilers to leave it as it is.
- append-flags -fno-strict-aliasing
-
- # Increase GC_MALLOC_LIMIT if set (default is 8000000)
- if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
- append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
- fi
-
- # ipv6 hack, bug 168939. Needs --enable-ipv6.
- use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
-
- if use libedit; then
- einfo "Using libedit to provide readline extension"
- myconf="${myconf} --enable-libedit --with-readline"
- elif use readline; then
- einfo "Using readline to provide readline extension"
- myconf="${myconf} --with-readline"
- else
- myconf="${myconf} --without-readline"
- fi
-
- econf \
- --program-suffix="${MY_SUFFIX}" \
- --enable-shared \
- $(use_enable doc install-doc) \
- $(use_enable threads pthread) \
- --enable-ipv6 \
- $(use_enable debug) \
- $(use_with berkdb dbm) \
- $(use_with gdbm) \
- $(use_with ssl openssl) \
- $(use_with tk) \
- $(use_with ncurses curses) \
- ${myconf} \
- --with-sitedir=/usr/$(get_libdir)/rubyee/site_ruby \
- --with-vendordir=/usr/$(get_libdir)/rubyee/vendor_ruby \
- --enable-option-checking=no \
- || die "econf failed"
-}
-
-src_compile() {
- emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
-}
-
-src_test() {
- emake -j1 test || die "make test failed"
-
- elog "Ruby's make test has been run. Ruby also ships with a make check"
- elog "that cannot be run until after ruby has been installed."
- elog
- if use rubytests; then
- elog "You have enabled rubytests, so they will be installed to"
- elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
- elog "than root, and you must place them into a writeable directory."
- elog "Then call: "
- elog
- elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
- else
- elog "Enable the rubytests USE flag to install the make check tests"
- fi
-}
-
-src_install() {
- # Ruby is involved in the install process, we don't want interference here.
- unset RUBYOPT
-
- local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
-
- LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- RUBYLIB="${S}:${D}/usr/$(get_libdir)/rubyee/${RUBYVERSION}"
- for d in $(find "${S}/ext" -type d) ; do
- RUBYLIB="${RUBYLIB}:$d"
- done
- export LD_LIBRARY_PATH RUBYLIB
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
-
- if use doc; then
- make DESTDIR="${D}" install-doc || die "make install-doc failed"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r sample
- fi
-
- dodoc ChangeLog NEWS README* ToDo || die
-
- if use rubytests; then
- pushd test
- insinto /usr/share/${PN}-${SLOT}/test
- doins -r .
- popd
- fi
-}
-
-pkg_postinst() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-
- ewarn
- ewarn "Ruby Enterprise Edition is not guaranteed to be binary-compatible to"
- ewarn "MRI (dev-lang/ruby). Exercise care especially with C extensions!"
- ewarn "Gentoo does *not* accept any bugs regarding such failures."
- ewarn
-
- elog
- elog "To switch between available Ruby profiles, execute as root:"
- elog "\teselect ruby set ruby(18|19|...)"
- elog
-}
-
-pkg_postrm() {
- eselect ruby cleanup
-}
diff --git a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2012.02.ebuild b/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2012.02.ebuild
deleted file mode 100644
index 859ad7a9ee5e..000000000000
--- a/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2012.02.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby-enterprise/ruby-enterprise-1.8.7.2012.02.ebuild,v 1.1 2012/03/03 08:21:53 graaff Exp $
-
-EAPI=2
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-MY_P="${PN}-$(replace_version_separator 3 '-')"
-S="${WORKDIR}/${MY_P}/source"
-
-SLOT=$(get_version_component_range 1-2)
-MY_SUFFIX="ee$(delete_version_separator 1 ${SLOT})"
-# 1.8 and 1.9 series disagree on this
-RUBYVERSION=$(get_version_component_range 1-2)
-
-if [[ -n ${PATCHSET} ]]; then
- if [[ ${PVR} == ${PV} ]]; then
- PATCHSET="${PV}-r0.${PATCHSET}"
- else
- PATCHSET="${PVR}.${PATCHSET}"
- fi
-else
- PATCHSET="${PVR}"
-fi
-
-DESCRIPTION="Ruby Enterprise Edition is a branch of Ruby including various enhancements"
-HOMEPAGE="http://www.rubyenterpriseedition.com/"
-SRC_URI="http://rubyenterpriseedition.googlecode.com/files/${MY_P}.tar.gz
- http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
-
-LICENSE="|| ( Ruby GPL-2 )"
-KEYWORDS="~amd64 ~x86"
-IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests ssl tcmalloc threads tk xemacs ncurses +readline libedit"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( sys-libs/gdbm )
- ssl? ( >=dev-libs/openssl-0.9.8m )
- tk? ( dev-lang/tk[threads=] )
- ncurses? ( sys-libs/ncurses )
- libedit? ( dev-libs/libedit )
- !libedit? ( readline? ( sys-libs/readline ) )
- sys-libs/zlib
- >=app-admin/eselect-ruby-20100402
- tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}"
-# TODO rubygems
-PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
-
-src_prepare() {
- EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
- epatch "${WORKDIR}/patches"
-
- if use tcmalloc ; then
- sed -i 's:^EXTLIBS.*:EXTLIBS = -ltcmalloc_minimal:' Makefile.in
- fi
-
- # Fix a hardcoded lib path in configure script
- sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
- configure.in || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=
-
- # -fomit-frame-pointer makes ruby segfault, see bug #150413.
- filter-flags -fomit-frame-pointer
- # In many places aliasing rules are broken; play it safe
- # as it's risky with newer compilers to leave it as it is.
- append-flags -fno-strict-aliasing
-
- # Increase GC_MALLOC_LIMIT if set (default is 8000000)
- if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
- append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
- fi
-
- # ipv6 hack, bug 168939. Needs --enable-ipv6.
- use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
-
- if use libedit; then
- einfo "Using libedit to provide readline extension"
- myconf="${myconf} --enable-libedit --with-readline"
- elif use readline; then
- einfo "Using readline to provide readline extension"
- myconf="${myconf} --with-readline"
- else
- myconf="${myconf} --without-readline"
- fi
-
- econf \
- --program-suffix="${MY_SUFFIX}" \
- --enable-shared \
- $(use_enable doc install-doc) \
- $(use_enable threads pthread) \
- --enable-ipv6 \
- $(use_enable debug) \
- $(use_with berkdb dbm) \
- $(use_with gdbm) \
- $(use_with ssl openssl) \
- $(use_with tk) \
- $(use_with ncurses curses) \
- ${myconf} \
- --with-sitedir=/usr/$(get_libdir)/rubyee/site_ruby \
- --with-vendordir=/usr/$(get_libdir)/rubyee/vendor_ruby \
- --enable-option-checking=no \
- || die "econf failed"
-}
-
-src_compile() {
- emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
-}
-
-src_test() {
- emake -j1 test || die "make test failed"
-
- elog "Ruby's make test has been run. Ruby also ships with a make check"
- elog "that cannot be run until after ruby has been installed."
- elog
- if use rubytests; then
- elog "You have enabled rubytests, so they will be installed to"
- elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
- elog "than root, and you must place them into a writeable directory."
- elog "Then call: "
- elog
- elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
- else
- elog "Enable the rubytests USE flag to install the make check tests"
- fi
-}
-
-src_install() {
- # Ruby is involved in the install process, we don't want interference here.
- unset RUBYOPT
-
- local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
-
- LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
- RUBYLIB="${S}:${D}/usr/$(get_libdir)/rubyee/${RUBYVERSION}"
- for d in $(find "${S}/ext" -type d) ; do
- RUBYLIB="${RUBYLIB}:$d"
- done
- export LD_LIBRARY_PATH RUBYLIB
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
- keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
-
- if use doc; then
- make DESTDIR="${D}" install-doc || die "make install-doc failed"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r sample
- fi
-
- dodoc ChangeLog NEWS README* ToDo || die
-
- if use rubytests; then
- pushd test
- insinto /usr/share/${PN}-${SLOT}/test
- doins -r .
- popd
- fi
-}
-
-pkg_postinst() {
- if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
- eselect ruby set ruby${MY_SUFFIX}
- fi
-
- ewarn
- ewarn "Ruby Enterprise Edition is not guaranteed to be binary-compatible to"
- ewarn "MRI (dev-lang/ruby). Exercise care especially with C extensions!"
- ewarn "Gentoo does *not* accept any bugs regarding such failures."
- ewarn
-
- elog
- elog "To switch between available Ruby profiles, execute as root:"
- elog "\teselect ruby set ruby(18|19|...)"
- elog
-}
-
-pkg_postrm() {
- eselect ruby cleanup
-}