Sync with portage [Tue Apr 22 19:35:36 MSK 2014].

mhiretskiy
root 10 years ago
parent 0de05f80d8
commit 6645caf91f

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.27.ebuild,v 1.4 2014/04/21 10:44:31 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.27.ebuild,v 1.5 2014/04/22 12:28:03 ago Exp $
EAPI="4"
inherit flag-o-matic eutils
@ -11,7 +11,7 @@ SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="ssl"
RESTRICT="test"

@ -1,3 +1,2 @@
DIST xfburn-0.4.3_p20121021.tar.xz 464084 SHA256 3c3541765da9263e435562188ec2c137fb31d19591dd169b6fb2ef2fefa01bc9 SHA512 5c7cf0e14f632769bc0e249c104207dbf3f2bbd9b9836e9aa409b55f44df735a6ddcf4cb41ab71072ab020b1be51f81e2f2b68ed5b04b52907df216bb68acf7d WHIRLPOOL 75bc723699a862e1a243b3bf0ab1a99b49607c25862da412a74d65bede95170e42a3917ca211cabbaf24c2f30ea37540eb7578cbcbd5817180b720b65ee7d16b
DIST xfburn-0.5.0.tar.bz2 745720 SHA256 76fad0d4256481830d22d4c3d0da9feb1c26c93ad3ed31ab77b9ffdd9eb02ecb SHA512 f0d3fe7adeac280f2023f9a75129d48889f88c39c1e18695a9792f7181f34223f276974b14faa3cd5e08187d665be2b70ec4f2a365c043daba282734b911cf29 WHIRLPOOL 4499ed88be1fa1b82bbc118e9efdc7358534a4d72e67fb6c1eeb508cfa68f2ed069d0c7914ca726d3e1d8a3a1a443e7f07f4752a51eacf6dc3bf0c5ab7a33ee1
DIST xfburn-0.5.2.tar.bz2 760833 SHA256 63682aab3c30c77e464b2b3b84606d1e1dcefc98e7042072fa09b729d6f84412 SHA512 3c6f27e2c8e5200d620bf32f938a1fb044b371a9fe0b5474ba8c1a487c79a7761e144ec8490f04c2389c96bc980b9f2bdfebce9d24dea30c5caae451bb9dcf5e WHIRLPOOL a88f482d899ecaf89666f34b583b90b02f080ec2dc074f4809b98c8e65a824f3f229dd006c8ccbcd3c580e3c3885bea0a0c9fa04ef8871071b6bc9e237029164

@ -1,61 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/xfburn/xfburn-0.4.3_p20121021.ebuild,v 1.7 2013/12/26 14:47:28 maekke Exp $
EAPI=5
#EAUTORECONF=yes
inherit autotools xfconf
DESCRIPTION="GTK+ based CD and DVD burning application"
HOMEPAGE="http://goodies.xfce.org/projects/applications/xfburn"
SRC_URI="mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc x86"
IUSE="debug gstreamer +udev"
RDEPEND=">=dev-libs/glib-2.30
>=dev-libs/libburn-0.4.2
>=dev-libs/libisofs-0.6.2
>=x11-libs/gtk+-2.24:2
>=xfce-base/exo-0.6
>=xfce-base/libxfce4ui-4.10
gstreamer? ( >=media-libs/gst-plugins-base-0.10.20:0.10 )
udev? ( virtual/udev[gudev] )"
# dev-libs/libxslt -> xsltproc -> --enable-maintainer-mode -> docs/Makefile.am
DEPEND="${RDEPEND}
dev-libs/libxslt
dev-util/intltool
>=dev-util/xfce4-dev-tools-4.10
sys-devel/gettext
virtual/pkgconfig"
pkg_setup() {
XFCONF=(
--enable-maintainer-mode
$(use_enable udev gudev)
$(use_enable gstreamer)
$(xfconf_use_debug)
)
DOCS=( AUTHORS ChangeLog NEWS README TODO )
}
src_prepare() {
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in.in || die #467558
# .in.in -> .in
sed -i -e '/^exec.*xdt-autogen/d' autogen.sh || die
./autogen.sh
# Prevent glib-gettextize from running wrt #420639
intltoolize --automake --copy --force
_elibtoolize --copy --force --install
AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eaclocal
eautoconf
eautoheader
eautomake
xfconf_src_prepare
}

@ -1,19 +1,18 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/flim/flim-1.14.9-r2.ebuild,v 1.6 2011/05/10 10:25:02 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/flim/flim-1.14.9-r2.ebuild,v 1.7 2014/04/21 13:21:01 ulm Exp $
EAPI=3
EAPI=5
inherit elisp
DESCRIPTION="A library to provide basic features about message representation or encoding"
HOMEPAGE="http://cvs.m17n.org/elisp/FLIM/"
SRC_URI="http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/flim/${P%.*}/${P}.tar.gz"
HOMEPAGE="http://git.chise.org/elisp/flim/"
SRC_URI="http://git.chise.org/elisp/dist/${PN}/${P%.*}/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
DEPEND=">=app-emacs/apel-10.3"
RDEPEND="${DEPEND}
@ -25,16 +24,15 @@ SITEFILE="60${PN}-gentoo.el"
src_compile() {
emake PREFIX="${ED}/usr" \
LISPDIR="${ED}/${SITELISP}" \
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" || die "emake failed"
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}"
}
src_install() {
emake PREFIX="${ED}/usr" \
LISPDIR="${ED}/${SITELISP}" \
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install \
|| die "emake install failed"
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc FLIM-API.en NEWS VERSION README* ChangeLog || die "dodoc failed"
dodoc FLIM-API.en NEWS VERSION README* ChangeLog
}

@ -1,4 +1 @@
;;; mailcrypt site-lisp configuration
(add-to-list 'load-path "@SITELISP@")

@ -1,19 +1,18 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild,v 1.5 2010/10/14 16:49:05 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild,v 1.6 2014/04/21 13:09:38 ulm Exp $
EAPI=3
EAPI=5
inherit elisp autotools
inherit readme.gentoo elisp autotools
DESCRIPTION="Provides a simple interface to public key cryptography with OpenPGP"
HOMEPAGE="http://mailcrypt.sourceforge.net/"
SRC_URI="mirror://sourceforge/mailcrypt/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE=""
RESTRICT="test"
RDEPEND="app-crypt/gnupg"
@ -26,19 +25,15 @@ src_prepare() {
src_configure() {
export EMACS=/usr/bin/emacs
econf || die
econf
}
src_install() {
einstall lispdir="${D}/${SITELISP}/${PN}" || die "einstall failed"
einstall lispdir="${D}/${SITELISP}/${PN}"
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc ANNOUNCE ChangeLog* INSTALL LCD-entry NEWS ONEWS README* || die
}
dodoc ANNOUNCE ChangeLog* INSTALL LCD-entry NEWS ONEWS README*
pkg_postinst() {
elisp-site-regen
elog
elog "See the INSTALL file in /usr/share/doc/${PF} for how to"
elog "customize mailcrypt"
elog
DOC_CONTENTS="See the INSTALL file in /usr/share/doc/${PF} for how
to customize mailcrypt."
readme.gentoo_create_doc
}

@ -1,5 +1,2 @@
;;; SEMI site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(require 'mime-setup)

@ -1,16 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/semi/semi-1.14.6-r2.ebuild,v 1.6 2010/06/07 10:44:25 angelos Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/semi/semi-1.14.6-r2.ebuild,v 1.7 2014/04/21 13:29:34 ulm Exp $
EAPI=3
EAPI=5
inherit elisp eutils
DESCRIPTION="A library to provide MIME feature for GNU Emacs"
HOMEPAGE="http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/SEMI/"
SRC_URI="http://kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/semi/semi-1.14-for-flim-1.14/${P}.tar.gz"
HOMEPAGE="http://git.chise.org/elisp/semi/"
SRC_URI="http://git.chise.org/elisp/dist/${PN}/${P%.*}-for-flim-1.14/${P}.tar.gz"
LICENSE="GPL-2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="linguas_ja"
@ -25,7 +25,7 @@ SITEFILE="65${PN}-gentoo.el"
src_compile() {
emake PREFIX="${ED}"/usr \
LISPDIR="${ED}/${SITELISP}" \
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" || die "emake failed"
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}"
${EMACS} ${EMACSFLAGS} --visit mime-ui-en.texi -f texi2info \
|| die "texi2info failed"
@ -40,15 +40,14 @@ src_compile() {
src_install() {
emake PREFIX="${ED}/usr" \
LISPDIR="${ED}/${SITELISP}" \
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install \
|| die "emake install failed"
VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
doinfo mime-ui-en.info || die "doinfo failed"
doinfo mime-ui-en.info
dodoc README.en ChangeLog VERSION NEWS
if use linguas_ja; then
doinfo mime-ui-ja.info || die "doinfo failed"
doinfo mime-ui-ja.info
dodoc README.ja
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.2 2014/04/20 02:04:18 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.0.0.ebuild,v 1.3 2014/04/22 00:22:43 vapier Exp $
EAPI=5
@ -36,8 +36,9 @@ rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.66 2014/04/20 02:04:18 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-9999.ebuild,v 1.67 2014/04/22 00:22:43 vapier Exp $
EAPI=5
@ -36,8 +36,9 @@ rbd sasl +seccomp sdl selinux smartcard spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
mipsel mips64 mips64el or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.1.ebuild,v 1.1 2014/04/08 14:16:31 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.1.ebuild,v 1.2 2014/04/21 13:45:37 johu Exp $
EAPI=5
@ -22,13 +22,12 @@ HOMEPAGE="http://pim.kde.org/akonadi"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="+mysql postgres +qt4 qt5 sqlite test"
IUSE="+mysql postgres +qt4 qt5 soprano sqlite test"
REQUIRED_USE="^^ ( qt4 qt5 ) || ( sqlite mysql postgres )"
CDEPEND="
dev-libs/boost:=
>=dev-libs/soprano-2.6.51
x11-misc/shared-mime-info
qt4? (
>=dev-qt/qtcore-4.8.5:4
@ -38,7 +37,6 @@ CDEPEND="
>=dev-qt/qttest-4.8.5:4
)
qt5? (
>=dev-libs/soprano-2.6.51[-qt4,qt5]
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
@ -47,7 +45,9 @@ CDEPEND="
dev-qt/qttest:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
soprano? ( dev-libs/soprano[-qt4,qt5] )
)
soprano? ( dev-libs/soprano )
sqlite? ( dev-db/sqlite:3 )
"
DEPEND="${CDEPEND}
@ -94,6 +94,7 @@ src_configure() {
local mycmakeargs=(
-DINSTALL_QSQLITE_IN_QT_PREFIX=ON
$(cmake-utils_use test AKONADI_BUILD_TESTS)
$(cmake-utils_use_with soprano)
$(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
$(cmake-utils_use qt5 QT5_BUILD)
)

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
<herd>kde</herd>
<use>
<flag name="soprano">Enable deprecated <pkg>dev-libs/soprano</pkg>, needed for nepomuk search</flag>
</use>
</pkgmetadata>

@ -1,4 +1 @@
DIST orage-4.10.0.tar.bz2 2513559 SHA256 6cb854f3437e31bab23abfce97bd10afa1636a9a1480d80e14e26c85d06be7c0 SHA512 860d26ecf32e4efd9bd39dde206aac5c60bd10f1154ec7d348d2ec8e5516cc3dd98314e56d496f153a89764f2c46b2ed7cec49b6edd8d05a62265558721c9889 WHIRLPOOL 0ad86bb0d2a6afeba39957159757b9094faf0711207f6c9dacfacdd02a2a565ab2d44fb164a194550343daee81a0394138e3c981e9e5b562793d09b5851724ec
DIST orage-4.8.4-nn.po.xz 17512 SHA256 900c2df31f170fc7c82f5dfd87414910285d0dc5543ed5807e945a770eb74e33 SHA512 fcc285c99bbf0d4997c7b781c31a5981d6f5491fe7d6b8e6bd92ffa98b1e7eddd1f8a89ea26527784b456e34701f6f642517352627d3e24c2961eb8d216949b8 WHIRLPOOL cce117dea4c80dbbeaff7cc3f3707d2c241c0451f6b3a0c13f266b4f00fcc953cdd7edf8446add5c62e4e8bc5a880322f1dc7196b9a4c1f5171123c6878dfcb0
DIST orage-4.8.4-sr.po.xz 20244 SHA256 c681970f8007adb5e5f404d2d4ddca448579d7dcc96fcaf708fc4615b7542520 SHA512 2e7b8def262916f38074548069ceec1fdc98e0e95de67be0d92968b7b0d4e1af70961a4b7a6e2bc14d029d03f1388a4207be90eb35d7381737d282512cd44df5 WHIRLPOOL 4169b23144839de4f8f2d0825746629af2916f4983b70b94885ff074e03618d2afddd43630f24c9adcb82a19d302f55333fb6df96df7c275b7c596588954f1c7
DIST orage-4.8.4.tar.bz2 2516021 SHA256 b19df727da9da48b979e238ac7113c803976de80bd1e2dadf6d84b864956dfd5 SHA512 a3dc10f16d9a002a95de0fa993b69a86dac174207f4ed1fbcf90030146a57b3a124e66e18a21b6fdd77673cb78ecadc9a618a1f755d8d9e4bf8aafa12926b38f WHIRLPOOL c019e6203ff079be4760002c24c978412f260221966c7a76eabe31c15d23ab069d30d58341d3fc6796d02e4507d197a0a4e2cbd71eebfe181aac249782cddc68

@ -1,64 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/orage/orage-4.8.4.ebuild,v 1.8 2013/04/12 15:06:59 ago Exp $
EAPI=5
inherit multilib xfconf
DESCRIPTION="A time managing application (and panel plug-in) for the Xfce desktop environment"
HOMEPAGE="http://www.xfce.org/projects/"
SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2
http://dev.gentoo.org/~ssuominen/${P}-nn.po.xz
http://dev.gentoo.org/~ssuominen/${P}-sr.po.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="berkdb dbus debug libnotify +xfce_plugins_clock"
RDEPEND=">=dev-libs/libical-0.48:=
dev-libs/popt:=
>=x11-libs/gtk+-2.10:2
berkdb? ( >=sys-libs/db-4 )
dbus? ( >=dev-libs/dbus-glib-0.100 )
libnotify? ( >=x11-libs/libnotify-0.7:= )
xfce_plugins_clock? ( >=xfce-base/xfce4-panel-4.10 )"
DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
pkg_setup() {
XFCONF=(
--libexecdir="${EPREFIX}"/usr/$(get_libdir)
--docdir="${EPREFIX}"/usr/share/doc/${PF}/html
$(use_enable xfce_plugins_clock libxfce4panel)
$(use_enable dbus)
$(use_enable libnotify)
$(use_with berkdb bdb4)
$(xfconf_use_debug)
)
DOCS=( AUTHORS ChangeLog NEWS README TODO )
# PM doesn't let directory to be replaced by a symlink, see src_install()
rm -rf "${EROOT}"/usr/share/${PN}/doc
}
src_prepare() {
# http://bugzilla.xfce.org/show_bug.cgi?id=9990
local lang
for lang in nn sr; do
mv "${WORKDIR}"/${P}-${lang}.po po/${lang}.po || die
done
xfconf_src_prepare
}
src_install() {
xfconf_src_install \
docdir="${EPREFIX}"/usr/share/doc/${PF}/html \
imagesdir="${EPREFIX}"/usr/share/doc/${PF}/html/images
# Create compability symlink for retarded path hardcoding in src/{mainbox,parameters}.c
dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc/C
}

@ -10,3 +10,4 @@ DIST icu4j-4_4_1_1-src.jar 14821020 SHA256 a42c7db617c04f031a41bb66fa5d211f2fa2e
DIST icu4j-4_4_2-docs.jar 1783887 SHA256 aa364c9e353e05e428112b05f9a9fda8e1c7d2b3404862e6df08a73f7f8b187a SHA512 212d042ca27e442525a1dcd4f69a6668535d57e49a1302b97e32bfc7ed216146eedff52633770bb01f32f560fb6d7c00774b34385a7d87cab9f0b68188a37203 WHIRLPOOL 804ac774e6e9e4b06f1d06795ea70ecb68ee23ed7689d4b603682ca1271c2d18d258faf3c23e99ff8269275774b4ba0e1b605b2b7288b51e9ae5445d25c32d7c
DIST icu4j-4_4_2-src.jar 14844670 SHA256 c29fbf1464ad7fb88e8651953144884eea37adf36914e38a518774a99cf33b0d SHA512 90949f007e073c0e78510c66c2a1644985367921550f61976af61089ffc8a08e34a51c36c21f241f3073c7b3c5329d1ba7234043790db8dd8eef7eaf3edff79d WHIRLPOOL 82727e4e95ef662f9c6689bf5cd1d5c16f4238b682d2d88689ee561aae9c8ecc846f2bbb0adcfd125c7353b9ba160abc0c76d0d11af78047a59fd4504a39a720
DIST icu4j-52_1.tgz 22584166 SHA256 0d720ee63ec3976a0280bc5f42ef347a5823c0debe15bd42369316433f32ae05 SHA512 4546daa126410c21ec65acc75581831c139873e2465b9fd898215cc52ebfbd6441c0a260bd449aa3d0753fe0584c02d1bd033de46904aef9e27aaa3266b78738 WHIRLPOOL 9bd5b5085289c776c221a0a85edca11185fed77874e5520627ba60b9f2772c63aa078a765ba5b228570062d063fc3077b2cbe2417d4c241b4f6940f59206bd57
DIST icu4j-53_1.tgz 21619483 SHA256 dc1e4ab121769ced059b0b79ad1ec607ffe8e4b39950c6de83ea21656df173eb SHA512 0a5689a1f5762130f02e37fd844c9ac2f03d176fa3b49904227e6a38fdc62a6b371d3674b8f06ee2e30589f5d71578841e84d554dadc86ec7b049ff2d39e5250 WHIRLPOOL 030c7378e67017512f4762fd75b9851a62a26b4b954f10b51573ff0d029768b8fe96b159328946609c864ad273c7b7ab6bdd1d694bd4aed37af318e5ccefd558

@ -0,0 +1,48 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-53.1.ebuild,v 1.1 2014/04/22 00:00:28 tomwij Exp $
EAPI="5"
# testdata.jar, icudata.jar and icutzdata.jar do not contain *.class files
# but *.res files. These *.res data files are needed to build the final jar.
JAVA_PKG_IUSE="doc examples source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A set of Java libraries providing Unicode and Globalization support."
HOMEPAGE="http://www.icu-project.org/"
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
LICENSE="icu"
SLOT="52"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# Beware of jdk version dependant code #361593
DEPEND=">=virtual/jdk-1.6"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}"
JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
EANT_DOC_TARGET="docs"
EANT_TEST_TARGET="check"
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_dojar ${PN}.jar
java-pkg_dojar ${PN}-charset.jar
java-pkg_dojar ${PN}-localespi.jar
dohtml readme.html
use doc && java-pkg_dojavadoc doc
use examples && java-pkg_doexamples demos samples
use source && java-pkg_dosrc main/classes/*/src/com
}

@ -8,4 +8,5 @@ DIST elixir-0.12.1.tar.gz 873034 SHA256 edefb36495a4ebb559d5fbb1ac54a6778a902d8c
DIST elixir-0.12.2.tar.gz 877428 SHA256 9d574f9bfd92ccdea6aeea056b139518996d28e8a2ee53e0ea03e34d739b3c7c SHA512 a71b1fc5921a2251a1b8360909074d785d043825d04dea2bc503b3b70d551b2fe221a2ed1a72e5b8a6962e1e687980dc1bb62750e4f08ae17a892b8b6253f605 WHIRLPOOL d0dff5ba2a4e1e752e3cfe64399ea97be5cbc828bbac2bf0971955400c5217be6fcd7b79fd13feb71981cdd187130619bcbdb014712e6089d9e3275b841c7343
DIST elixir-0.12.4.tar.gz 876744 SHA256 3454eaa197db236d1a6bb3c7ad7183ef02eb4566d685ed93e55421bf645c3239 SHA512 f6fcff53b2736885b0a28218be188eb002cb5b530ef13269e26e985222f0d1147435fb1c017e4862cb3e6fbd07fdef925a694c601e3623388ed706477a61d311 WHIRLPOOL 812c07d6c02f632e44cf7b11b2b6fadc69ae3fcf5d7567caaea9bb7f45775293e5742422328405a1b1580b06f9177200c5d671fa97a9ae5be5dbe832de3b5673
DIST elixir-0.12.5.tar.gz 876886 SHA256 8b6ad20decb0a71240d00005daca2e2145a721552455896e091477f53d26a47c SHA512 63e436938deec9916c11598af24897d80a3c3dcda983e5ff281a595b2ef02d4605fb13f9cbef442653fd4e461db77e6588589c280f9425ee9163970ca8752532 WHIRLPOOL 9e59cc1a4e683882d78e16cf266422b193e95f58cf3cc705ba41af20b9cc376e432bfc45b69a98a15cd0494dee72ea1eba443e69d4ca2bf5a250bb42cdf786fb
DIST elixir-0.13.0.tar.gz 902936 SHA256 ab7c5843cceba712c63237cf47ad2c8968b647fff351621f49c69586c686121c SHA512 4003d67f1f9dc857c8f4b90a57bbd4ce142292ef800fa8f63926e6278cb5b48d37848083e0616f57518dc446c4af8fe70c107f376a242ac26a676a1302a93735 WHIRLPOOL 2509aee74c4fdb3cbd3fa480c6126ad93d7ba1878e3b6d019af8c9bf0a25c9b40a5808d5789470a2b48de26e6c351ceb094707f62c498e8ef7c9ac29a8e499d7
DIST elixir-0.9.3.tar.gz 712024 SHA256 220b842271545b1f4b11a69a1a20dc826f2e8587d225d72927307c1a6d8faefe SHA512 7e5584be12d5ba063a88db9284316a18b254cdc0da873677d05bcd19e723cd3635c2f41017aa4f54ba62a99c692246d8e70acf49f190e6f801f612bab43782e5 WHIRLPOOL 70ea93e72caf4a84a36c6826e0749b1d4763da546230d3f443a3943e031a3dfed7100ce4aff666712f1be84c441d2a9b713b7ffbe30749e0de92a53ae71e2063

@ -0,0 +1,28 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-0.13.0.ebuild,v 1.1 2014/04/21 22:17:02 hasufell Exp $
EAPI=5
inherit multilib
DESCRIPTION="Elixir programming language"
HOMEPAGE="http://elixir-lang.org"
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 ErlPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/erlang-17"
RDEPEND="${DEPEND}"
src_compile() {
emake Q=""
}
src_install() {
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
dodoc README.md CHANGELOG.md CONTRIBUTING.md
}

@ -1,9 +1,12 @@
DIST otp_doc_html_17.0.tar.gz 33168721 SHA256 4a9edba2e5b8ca2e35e5080c1c30a2674aafa39b51d7268383b6e326d397f8dd SHA512 f475d88d75009a409d65f0cd45f7bdbc918acd68b99238fd519166d713d4642fbf696efce30a8db8374358ad329bd85fc26b84145af9b9ffc7a2de7dd65edf19 WHIRLPOOL 47c00587d1568f48575abe4814debc8b3b7d8428bc770e3f18f3917a5528491a4f9748f264c8eaed3daf71d87ab3d2982f2901bfe5b59e6583b04242f42485de
DIST otp_doc_html_R15B03-1.tar.gz 30436303 SHA256 d06f580f11d1303217a5c1cf8d68a98d7e01c535be934dcd430ecdc254f7572e SHA512 8a22ad702d50f40162f7d6051dbbc0226af449f7a1dcfb087e952dd7eb7213257940933441cfb68f055746450e3e5aa2c5ed8107ac67af7c3a940afb195af8c7 WHIRLPOOL ac10f9ce0ffd4cbd98617e4018e5a4729ce83f0ace6a4db219e7beef2f3a626a8c9a419c7f7772c934ca50310f55486df7eb24955ba845a9230c69c93e183d33
DIST otp_doc_html_R16B02.tar.gz 33241266 SHA256 2d54119b30c4d905b6b1298865309c3392fefb1580ad69725e997644bed04b7f SHA512 135557ee5ecd50487526712af52e3523317ce6cf0e6ea26d8c1bfcd11d55c113d378a64e6867fcc5fe45f9d02aa60d2de2839b904e6ec8909f050752207b63d9 WHIRLPOOL e0fa173a64800a268b4bac59137819cd241efe8aee72d857cddbf3270c57a6d3e810f64691961a8eb6569a4ec281de4c7e28233a6a97f25990b0b8d476462d4b
DIST otp_doc_html_R16B03-1.tar.gz 33294165 SHA256 5381d4ffe654e3e943f004e2b91870bd83f0e46e261bb405c1cdf7de81bc0507 SHA512 8f13bdda6a6732c5bee292b4f378539e5fc707be8822e660be9f851faff483b1fc06e612a5eaa843d71c22cec45943bd14aa20ad2323b8683861904d78aec403 WHIRLPOOL 163d2f5b7bac6363ad6ae5c1a083d8894a990f056b6cb27f3cc9923965fd2f0202a2de2248a2ed0fe6fc4afb1d6b096d94c2c141573f0c9439a5e19d5abe5dcb
DIST otp_doc_man_17.0.tar.gz 1353215 SHA256 acf72b5876c6f505191a3fb57b7e672733f911141929c4cef050111cf8f8b399 SHA512 a4b0e4503ef0c31636bc6d24cf09f5e61245d1ddf261e1515a6083df8379336335bc003a1e2d89b38049cf7299e1e2e0e7bce8924a1fd3429634f735ed2dd7ff WHIRLPOOL 95eda4570c58a8e6ffc4c4223f28e902a7d154e6ab8f61ffaea326595564cc068e9cc73a64bd48f01942580fcaa2a714bbf7e8783b08ff0a844f6c1ebea442b4
DIST otp_doc_man_R15B03-1.tar.gz 1305001 SHA256 07980d8014c7cf8194b7078c137353f5083992add4663ced3dcba2ff91f228d8 SHA512 eb07552c83a942c1e7f1960b45edfab97b0628a1e08c7c827a07d77797901b4b60a6719b35d0f92a49eb04ada924e9263df70968a5920efc6ccf8e4e966933c6 WHIRLPOOL 764495a8bb67e2c67493452c83ff890d959aa5cd3bd711fce75b3c756dbacb913e50f7d92aab14dc33d6839daaac5a37dc7bcc11fc6392af11dd506a8d99076c
DIST otp_doc_man_R16B02.tar.gz 1318271 SHA256 b79ceb0383415088b5f040f2f3705632b425cb3f29c3955ef2219556abec5789 SHA512 958fa91c9fd59f4cf5c08e9b1cab433e53e9a267d7078e5a6603d6e9f68bcd36a1fb50ab12e29c958dc0673c370b191cbb5114d7a9ea0ff91de56bc13f053736 WHIRLPOOL eebe34bb53bb942f9e2145ee2c7756ec3059f4706fd157b275056a594e7a1d2aca2ccf457b9201b9bb9c8a1dfc7dc61b0eb3e70b172c5e18f8694742845bb684
DIST otp_doc_man_R16B03-1.tar.gz 1322516 SHA256 0f31bc7d7215aa4b6834b1a565cd7d6e3173e3b392fb870254bae5136499c39d SHA512 b54771e853d2580be6303cdf20e17348360b60359e6e2b3d98a109f892088fb0071a245649afaca48dd98fe00ce9bb8bf3030535132db842e9a7d7c11880c155 WHIRLPOOL 53d12fa03905698b027e4df2e2a28b3f0df0adc41d6d98c4389cea8d9bf84f7de54ef2f8f00603141e68e65bf071890fd24e442bacab6790e62356cdedb4ee59
DIST otp_src_17.0.tar.gz 66640875 SHA256 297f2baaa65e5ed1c2492c500fe191bff852217ad57af5da2470a3218c9acadb SHA512 deddadac35ff10b1441c5a96b0ae776b3989b952f1d2ea33796d4c0300f00538ad5effb099750b41ce8111bb15ccab5479a25b105722ed54daf8c2b05759274e WHIRLPOOL fd5ea04779d143a1a51671b7185b8f158bf24107ce81ebe63f083c48dc749a4aa4094b52da4349d5154773fa286fcb8fd974d7ff47b6cb4e0ebe6f93d78f9cb2
DIST otp_src_R15B03-1.tar.gz 76123810 SHA256 4bccac86dd76aec050252e44276a0283a0df9218e6470cf042a9b9f9dfc9476c SHA512 baa8f388bd56bbdf1d3818802d011970fb51d38d14434532b1e4f04c1b8203e5a0cd9cc870f93a993cce750cd1af6e4b7df40dffc44e455353bce9d7c46c8e34 WHIRLPOOL ce76d01dfd17e0bc70e3daa7eab218000d1e802f55b0892e2e9654d2ea262f214f3bd006c0988885e787a1cfe782e8b61d5d1ee3a1d05cbced465b5a28e2de2e
DIST otp_src_R16B02.tar.gz 66023455 SHA256 6ab8ad1df8185345554a4b80e10fd8be06c4f2b71b69dcfb8528352787b32f85 SHA512 35c4dfe4f7de04a44cc4e2eabd796b53fa3c4104ced144f0b2060a66adf1e400b65eb1c94c19c5f83baa7f1f31bdc73b36f2ac1df9dfac7cc6e253b52702287d WHIRLPOOL fcb4e90874d2eabfa025786ed6e98ab7e1f1932b75f5d72fe7291c96ee955bc62c0faca2a3f7e51e24e2c74ca4b82e43b89f7bb0e430b6aa8c8b0d599d9ad506
DIST otp_src_R16B03-1.tar.gz 66253556 SHA256 17ce53459bc5ceb34fc2da412e15ac8c23835a15fbd84e62c8d1852704747ee7 SHA512 c2d26d6e1ae85abb8195c7171a0693388b507be760710f3afdfbcfa776e31508ab9e2a58010d55a95ba4a5075edc1e7c18fcefa196129fa672ccc40a945f7e44 WHIRLPOOL c6e1e6bfef7249e3350ff0e3c5cbad40cb2ef80fff774ca46871a37943d8f4e92af8a5e0c3eaa3a97c18fc47b87ace9477536cf0a251d325165bea869d26b85f

@ -0,0 +1,164 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-17.0.ebuild,v 1.1 2014/04/21 12:35:11 djc Exp $
EAPI=4
WX_GTK_VER="2.8"
inherit autotools elisp-common eutils java-pkg-opt-2 multilib systemd versionator wxwidgets
# NOTE: If you need symlinks for binaries please tell maintainers or
# open up a bug to let it be created.
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
HOMEPAGE="http://www.erlang.org/"
SRC_URI="http://www.erlang.org/download/otp_src_${PV}.tar.gz
http://erlang.org/download/otp_doc_man_${PV}.tar.gz
doc? ( http://erlang.org/download/otp_doc_html_${PV}.tar.gz )"
LICENSE="ErlPL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
RDEPEND=">=dev-lang/perl-5.6.1
ssl? ( >=dev-libs/openssl-0.9.7d )
emacs? ( virtual/emacs )
java? ( >=virtual/jdk-1.2 )
odbc? ( dev-db/unixODBC )"
DEPEND="${RDEPEND}
wxwidgets? ( x11-libs/wxGTK:2.8[X,opengl] virtual/glu )
sctp? ( net-misc/lksctp-tools )
tk? ( dev-lang/tk )"
S="${WORKDIR}/otp_src_${PV}"
SITEFILE=50${PN}-gentoo.el
pkg_setup() {
if use halfword ; then
use amd64 || die "halfword support is limited to amd64"
fi
}
src_prepare() {
use odbc || sed -i 's: odbc : :' lib/Makefile
# bug 263129, don't ignore LDFLAGS, reported upstream
sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in
# don't ignore LDFLAGS, reported upstream
sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in
if ! use wxwidgets; then
sed -i 's: wx : :' lib/Makefile
rm -rf lib/wx
fi
# Nasty workaround, reported upstream
cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in
# bug 383697
sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c
cd erts && eautoreconf
}
src_configure() {
use java || export JAVAC=false
econf \
--enable-threads \
$(use_enable sctp) \
$(use_enable halfword halfword-emulator) \
$(use_enable hipe) \
$(use_with ssl ssl "${EPREFIX}"/usr) \
$(use_enable ssl dynamic-ssl-lib) \
$(use_enable kpoll kernel-poll) \
$(use_enable smp smp-support) \
$(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
$(use x64-macos && echo "--enable-darwin-64bit")
}
src_compile() {
use java || export JAVAC=false
emake
if use emacs ; then
pushd lib/tools/emacs
elisp-compile *.el
popd
fi
}
extract_version() {
sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
}
src_install() {
local ERL_LIBDIR=/usr/$(get_libdir)/erlang
local ERL_INTERFACE_VER=$(extract_version lib/erl_interface EI_VSN)
local ERL_ERTS_VER=$(extract_version erts VSN)
emake INSTALL_PREFIX="${D}" install
dodoc AUTHORS README.md
dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
dosym \
"${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
/usr/bin/erl_call
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
## Remove ${D} from the following files
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl"
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start"
grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
## Clean up the no longer needed files
rm "${ED}/${ERL_LIBDIR}/Install"
for i in "${WORKDIR}"/man/man* ; do
dodir "${ERL_LIBDIR}/${i##${WORKDIR}}"
done
for file in "${WORKDIR}"/man/man*/*.[1-9]; do
# doman sucks so we can't use it
cp ${file} "${ED}/${ERL_LIBDIR}"/man/man${file##*.}/
done
# extend MANPATH, so the normal man command can find it
# see bug 189639
dodir /etc/env.d/
echo "MANPATH=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
if use doc ; then
dohtml -A README,erl,hrl,c,h,kwc,info -r \
"${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
fi
if use emacs ; then
pushd "${S}"
elisp-install erlang lib/tools/emacs/*.{el,elc}
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
"${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
elisp-site-file-install "${T}"/${SITEFILE}
popd
fi
newinitd "${FILESDIR}"/epmd.init epmd
systemd_dounit "${FILESDIR}"/epmd.service
}
pkg_postinst() {
use emacs && elisp-site-regen
elog
elog "If you need a symlink to one of Erlang's binaries,"
elog "please open a bug on http://bugs.gentoo.org/"
elog
elog "Gentoo's versioning scheme differs from the author's, so please refer to this version as ${MY_PV}"
elog
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -9,6 +9,6 @@
<flag name='binary'>Install the binary version directly, rather than using it to build the source version.</flag>
<flag name='ghcbootstrap'>Bootstrap from an existing GHC installation.</flag>
<flag name='ghcmakebinary'>Build with less runtime depends (bundle libffi for building bootstrap binaries).</flag>
<flag name='llvm'>Enable llvm code geenrator for ghc (-fllvm).</flag>
<flag name='llvm'>Enable llvm code generator for ghc (-fllvm).</flag>
</use>
</pkgmetadata>

@ -1 +1,2 @@
DIST hy-0.10.0.tar.gz 340981 SHA256 524c9f2a2e0e789fe8896e9c7bea16c9f42e99d5b662080ec95e94de564523b9 SHA512 4f994289a00f16ed9c914fe8f37332d1bea9ddf3d2f42c30793da1030983d66d368d4bf75853dd76be14e440fca72aa3cccd3ddb5544e1db2b892a543bb1093b WHIRLPOOL 063ab5cf8e4f687a6bbbed9728e38e6ede0d1d7aa08e761175132428120ba31ed5ac39eaed9321b61b4a0f6a208cb69af6dc187c85d6de0139e1ff59f8d0153e
DIST hy-0.9.12.tar.gz 166882 SHA256 d9e6341132144f11fa53f4601de052b14cca276d52968b31bb7ca23b1cd2cfd5 SHA512 2791e0f0640b1b20a57de1e60dcffc67e73b81010a25139cab9cb84a396f238ae369eb585f107280cb0f9b1abd75af558a4e896bc9970477458cdfa5618ca3f7 WHIRLPOOL d27fa19e34b27d130c7d50f7d8f9c4824dc20ea51552105ce676b10b58e3790839af96dc1486d7165a072a9837675fd9a709b25b9a96793b33a3918bea09eabb

@ -0,0 +1,32 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/hy/hy-0.10.0.ebuild,v 1.1 2014/04/22 03:36:45 patrick Exp $
EAPI=5
RESTRICT="test" # needs some pointy sticks. Seriously.
PYTHON_COMPAT=(python2_7 python3_3)
inherit distutils-r1
DESCRIPTION="A LISP dialect running in python"
HOMEPAGE="http://hylang.org/"
SRC_URI="https://github.com/hylang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]
>=dev-python/rply-0.7.0[${PYTHON_USEDEP}]
dev-python/astor[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/tox[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
python_test() {
nosetests || die "Tests failed under ${EPYTHON}"
}

@ -2,14 +2,9 @@ DIST ruby-1.9.3-p484.tar.bz2 10041514 SHA256 0fdc6e860d0023ba7b94c7a0cf1f7d32908
DIST ruby-1.9.3-p545.tar.bz2 10038164 SHA256 2533de9f56d62f11c06a02dd32b5ab6d22a8f268c94b8e1e1ade6536adfd1aab SHA512 7fbdaac5950abcb3cc9a2f99f441eced5f2a7d0c9107a41fb4b6caf299e372edab2be24a294ec1a6d6863b865f9cb5511ca1c15ec6bb1f45e60ffa7ab5480e04 WHIRLPOOL 9da723998cc64b55fb3ea6df922d75997f47f1c89f1f3154c893389d4403f0e590597d1e724a6adf9f2545f0645cb6312f58717af0cec4f59a2ce710bd6b46ed
DIST ruby-2.0.0-p353.tar.bz2 10730412 SHA256 3de4e4d9aff4682fa4f8ed2b70bd0d746fae17452fc3d3a8e8f505ead9105ad9 SHA512 52aa64c5991e61cc49c2062672554353bc88ab563da93a1d1591257153c2f6d8de02417a33d7a585eb0102f1079a993e46671fb6c97c62eac8615de567b575f2 WHIRLPOOL 8d3b616838290095ab389d32caa48941e9146676730975f2868d42cf43dd5f6ff6a26bb6ca1499a164a5c743e4f5c3ad122c1bed18556d85da98b821d66caf89
DIST ruby-2.0.0-p451.tar.bz2 10725438 SHA256 5bf8a1c7616286b9dbc962912c3f58e67bc3a70306ca90b0882ef0bd442e02f5 SHA512 d8011c9c049d62df9b5a60182b52a0aa04fb29d84521de634564eb61d02b71eaf17141e23bcc48dc8272647fd3c126af75b90a354418da996bfb51d22840fd7b WHIRLPOOL c8ee41ffcc5f54541e5b73f3a39d8092922236d7140c004dd312eb62c037f424e177541388047e2b173756a4f78f2ab3fa1acaf27246618fbb2792a784b7fd59
DIST ruby-2.1.0.tar.bz2 12007442 SHA256 1d3f4ad5f619ec15229206b6667586dcec7cc986672c8fbb8558161ecf07e277 SHA512 61ff65af074f3df937914431b6d4cb9f6e1d99d3079e41c8bf10b3fb505f1f644a5a7f7620310a01838925816e8a9b6d8f9a5d8b75e977741b05d5dbd6961ef8 WHIRLPOOL e16b40cb834c55b6dccbfca63dba58ba8e27119055b7cf994dae4ea942262769d6c1cfbe865c9172bed02127d694ca7dfa7ccbf5fd072ea7def87f97f3afca4d
DIST ruby-2.1.1.tar.bz2 11990697 SHA256 96aabab4dd4a2e57dd0d28052650e6fcdc8f133fa8980d9b936814b1e93f6cfc SHA512 9850bdb785e87705e72f302822a530d8552fbeb739d59a408786e892d007ee0077271bf148e3928d85d30570dfae951142434ada6cc238e208d0cb12de32c21f WHIRLPOOL 5bf45ae3ddb56db3a9931601cd7c66e23765170055af719c1b51bb03c5ae53698ab0c67ffd3e9b4d014bce44c69e9eabd01fa0c99d3884b5d8cf66ed5d3d701e
DIST ruby-patches-1.9.3_p484.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
DIST ruby-patches-1.9.3_p545.tar.bz2 2154 SHA256 c1c40f2b1f186a05774fd15c3566d722a5ab1af5b93a7c73f2d3c247d604fd73 SHA512 fdb07393439dfcc97e5d4ecd12059ef69983b23588079e1292cec1c93544524a67265e4f61f75d20ac540ee9f9ace730a584462f94bea4919124a3264e6f0ae1 WHIRLPOOL 422b7bfcbdb564fd89ae9536c15d78442ad5597c7728f84f2523a751a862807a92a77779cfdd42fcdd20569726f401e391e33c1666b0455432ddff228ea674fc
DIST ruby-patches-2.0.0_p353-r1.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
DIST ruby-patches-2.0.0_p353-r2.tar.bz2 2540 SHA256 016270a6128aa4354bcc13ebca039595bd12abad123bc1a7339d8d8ae636567c SHA512 d4b4185fc37bfe1576c3b9dd22401ad776111736e6c9274b108e198f85677af413d4ffe6e56610574d0f87fdf1c3fee8af5c6a5e19d6337e420f5d7f59c28766 WHIRLPOOL 9ff5f67be16e70dc285c6c35a8d50b59447257112f0e87f319326fc4e45ee6a5534fb515d0adda8d197755e13c4105482860588456c55565a5855383f7d9fc7e
DIST ruby-patches-2.0.0_p353.tar.bz2 1929 SHA256 4feee409319dbcac7525fb9c1c76c36888a62ee0623c117ae532bf765845f0f9 SHA512 95cf20e26e43a1515843d74c558e3344ae33b7383362c1742a115c1b3e6d09e1ed947df8ab7fee6275e96c920bd0ef880647da70165ddccd40d0995ff43aae64 WHIRLPOOL 869055dd0e14af0dc285a11d95a891ab4686e1d16960d46728ddf680eee58d42570f64d058b88d30805b732b082c354a36dac5a816a7ce5f3034d1b22237aa5a
DIST ruby-patches-2.0.0_p451.tar.bz2 2931 SHA256 7ed87d7eae176a7b164a2d11fdcc5ff98acf477f56e8030667c0e5ac3fd68781 SHA512 c477919b57ca2a0b3285bccc783887909245249d7c0a99430fa5e8ca6a01390ea4e87b3426fbde9ec811adbceedaedc9e1bb9c078a363b7c0cf4c679393d4b77 WHIRLPOOL 272093c06bd1109bc6ee91c014364373d3af68b4c26afdd90e1f3ce11eb206287655225d60c308e3c7e62070611a7fccbb2d4174d2726ee126ce9494c30cb7dc
DIST ruby-patches-2.1.0.tar.bz2 1929 SHA256 9bc6cf595c274038a6e6945ee254c687fbc273d14746f9e887a3815d6b52897f SHA512 02007b7de38bb845b69b6d3e6363ef61ebbf8a8fcda56f9d66c384822ca58c8794fe47675353824120c66ac02ab460b739851ef33136fbb527ea4c5d7ed68ffb WHIRLPOOL e1e3335b3d17e9a22f84a77fe52954a4e71cac2125e5c7ceee76690b1b9351020156ed085a429d689d7ac58a394985d66f2ed3a67d71cc35cb791a98b1d10264
DIST ruby-patches-2.1.1-r1.tar.bz2 2657 SHA256 fac8364861b27c00903642004535bfd14aa797e7d400517193ec685c5d155165 SHA512 09065614a3515ef37ec273d95571b4f54b5b5e2febb27e66b679433b5d673aa390494b4eaebaf43b328d4ef60d14b0eb0b044b1fdd43c81a8ee6ac12a74a064a WHIRLPOOL 9e3aa245a8c7f0ac985a8c3c5d51bb57102e9a13ea45700e0708568e564af45e95bec41aff91bdc8842258f6517556de5db7aaa76bfab6ab473af79554e02c9f
DIST ruby-patches-2.1.1.tar.bz2 2351 SHA256 de72517ec72e681072f029b266ebb3947e91c1fcd81835217e794151fa026d05 SHA512 8b140046e2e2a6d19caebfd36a41b278b55ffa2fab7d4c959307b1af0c119ead6c27416f3582d1db02b1e47397f46e2e837508477f45b0c2c7b8dfb4f2f13314 WHIRLPOOL 388056522f88e3c0827fa3610d76a304b292c21eab9237118e5ac44a0969e3ae70b44b9e56bbfa39c926b16d49b4276dd230517caa453bee4add3dd928590a12

@ -1,229 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p353-r1.ebuild,v 1.4 2014/04/09 08:57:36 graaff Exp $
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
RUBYPL=$(get_version_component_range 4)
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.0.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.0/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
<dev-lang/tcl-8.6[threads]
<dev-lang/tk-8.6[threads]
)
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-admin/eselect-ruby-20100402
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
PDEPEND="
>=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20]
>=dev-ruby/json-1.7.7[ruby_targets_ruby20]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby20]
rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# 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
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# 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
myconf="${myconf} $(use_with readline)"
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--enable-psych \
--disable-rpath \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
$(use_with ncurses curses) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 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() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# 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)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
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
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || 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
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,229 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p353-r2.ebuild,v 1.2 2014/04/09 08:57:36 graaff Exp $
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
RUBYPL=$(get_version_component_range 4)
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.0.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.0/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
<dev-lang/tcl-8.6[threads]
<dev-lang/tk-8.6[threads]
)
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-admin/eselect-ruby-20100402
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
PDEPEND="
>=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20]
>=dev-ruby/json-1.7.7[ruby_targets_ruby20]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby20]
rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# 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
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# 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
myconf="${myconf} $(use_with readline)"
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--enable-psych \
--disable-rpath \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
$(use_with ncurses curses) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 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() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# 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)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
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
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || 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
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p451.ebuild,v 1.2 2014/04/09 08:57:37 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p451.ebuild,v 1.3 2014/04/21 12:55:35 graaff Exp $
EAPI=5
@ -200,11 +200,6 @@ src_install() {
doins -r sample
fi
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then

@ -1,230 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.0.ebuild,v 1.5 2014/04/09 08:57:37 graaff Exp $
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
RUBYPL=$(get_version_component_range 4)
MY_P="${PN}-$(get_version_component_range 1-3)"
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.1.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
tk? (
<dev-lang/tcl-8.6[threads]
<dev-lang/tk-8.6[threads]
)
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-admin/eselect-ruby-20100402
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
PDEPEND="
>=dev-ruby/rubygems-2.0.14[ruby_targets_ruby21]
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# 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
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# 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
myconf="${myconf} $(use_with readline)"
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--enable-psych \
--disable-rpath \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
$(use_with berkdb dbm) \
$(use_with gdbm) \
$(use_with ssl openssl) \
$(use_with tk) \
$(use_with ncurses curses) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 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() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# 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)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
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
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || 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
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.1-r1.ebuild,v 1.1 2014/04/14 18:51:55 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.1-r1.ebuild,v 1.2 2014/04/21 12:55:35 graaff Exp $
EAPI=5
@ -201,11 +201,6 @@ src_install() {
doins -r sample
fi
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || die
if use rubytests; then

@ -1,232 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.1.ebuild,v 1.2 2014/04/09 08:57:36 graaff Exp $
EAPI=5
#PATCHSET=1
inherit autotools eutils flag-o-matic multilib versionator
RUBYPL=$(get_version_component_range 4)
MY_P="${PN}-$(get_version_component_range 1-3)"
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
S=${WORKDIR}/${MY_P}
SLOT=$(get_version_component_range 1-2)
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
RUBYVERSION=2.1.0
if [[ -n ${PATCHSET} ]]; then
if [[ ${PVR} == ${PV} ]]; then
PATCHSET="${PV}-r0.${PATCHSET}"
else
PATCHSET="${PVR}.${PATCHSET}"
fi
else
PATCHSET="${PVR}"
fi
DESCRIPTION="An object-oriented scripting language"
HOMEPAGE="http://www.ruby-lang.org/"
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
RDEPEND="
berkdb? ( sys-libs/db )
gdbm? ( sys-libs/gdbm )
ssl? ( dev-libs/openssl )
socks5? ( >=net-proxy/dante-1.1.13 )
ncurses? ( sys-libs/ncurses )
readline? ( sys-libs/readline )
dev-libs/libyaml
virtual/libffi
sys-libs/zlib
>=app-admin/eselect-ruby-20100402
!<dev-ruby/rdoc-3.9.4
!<dev-ruby/rubygems-1.8.10-r1"
DEPEND="${RDEPEND}"
PDEPEND="
>=dev-ruby/rubygems-2.0.14[ruby_targets_ruby21]
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
xemacs? ( app-xemacs/ruby-modes )"
src_prepare() {
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
epatch "${WORKDIR}/patches"
# We can no longer unbundle all of rake because rubygems now depends
# on this. We leave the actual rake code around to bootstrap
# rubygems, but remove the bits that would cause a file collision.
einfo "Unbundling gems..."
cd "$S"
rm -r \
{bin,lib}/rake lib/rake.rb man/rake.1 \
bin/gem || die "removal failed"
# 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=
# The Tk module can no longer be built because the module code is no
# longer compatible with newer stable versions.
# https://bugs.gentoo.org/show_bug.cgi?id=500894
local modules="tk"
# -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
# SuperH needs this
use sh && append-flags -mieee
# Socks support via dante
if use socks5 ; then
# Socks support can't be disabled as long as SOCKS_SERVER is
# set and socks library is present, so need to unset
# SOCKS_SERVER in that case.
unset SOCKS_SERVER
fi
# 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"
# Determine which modules *not* to build depending in the USE flags.
if ! use readline ; then
modules="${modules},readline"
fi
if ! use berkdb ; then
modules="${modules},dbm"
fi
if ! use gdbm ; then
modules="${modules},gdbm"
fi
if ! use ssl ; then
modules="${modules},openssl"
fi
if ! use ncurses ; then
modules="${modules},curses"
fi
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
--program-suffix=${MY_SUFFIX} \
--with-soname=ruby${MY_SUFFIX} \
--docdir=${EPREFIX}/usr/share/doc/${P} \
--enable-shared \
--enable-pthread \
--disable-rpath \
--with-out-ext="${modules}" \
$(use_enable socks5 socks) \
$(use_enable doc install-doc) \
--enable-ipv6 \
$(use_enable debug) \
${myconf} \
--enable-option-checking=no \
|| die "econf failed"
}
src_compile() {
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_test() {
emake -j1 V=1 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() {
# Remove the remaining bundled gems. We do this late in the process
# since they are used during the build to e.g. create the
# documentation.
rm -rf ext/json || die
# 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)/ruby/${RUBYVERSION}"
for d in $(find "${S}/ext" -type d) ; do
RUBYLIB="${RUBYLIB}:$d"
done
export LD_LIBRARY_PATH RUBYLIB
emake V=1 DESTDIR="${D}" install || die "make install failed"
# Remove installed rubygems copy
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
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
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
dodoc ChangeLog NEWS doc/NEWS* README* || 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
elog
elog "To switch between available Ruby profiles, execute as root:"
elog "\teselect ruby set ruby(19|20|...)"
elog
}
pkg_postrm() {
eselect ruby cleanup
}

@ -1 +1,2 @@
DIST libuv-0.11.22.tar.gz 384631 SHA256 0067beb126db780e297d8c5e580f31903e6465064252d09e6c35ee06aca5cd4a SHA512 a97886dcb4da4d7e770cbe70a998895a56a95a43cb5f0792b1bdd63c0f9b54b26df750619d4d44afc573695a77b3a3ea6a5ec9c4b9b65c6988178967fb0222c2 WHIRLPOOL dc619448254a25d1a71321da25902b44d45ed0e84b3bfb08cd5bc01f347f88d618b8a68b0c9f5ee29a56db6e7d59c23d3f2dc59a9d66586c7ab953adfcdc9514
DIST libuv-0.11.24.tar.gz 393289 SHA256 8e23517d37a8c820fc68fa250b7398f520c76e40250b8da2a2eca230eb7f3ab8 SHA512 94de4ee02c267627f9be7371b24cf7b7a281e2bd7a0201fc3a365f18e6ef5914f7f65bcce074feee7fc51148133f6dec9ffd31d0b81009375b84c177eed5e997 WHIRLPOOL 6c90f713ca3f52210f8f8f8711e35cb50e0688fbb857d5a20e1c82841a108441106628cf6fa50b3ea561d4cc650174fa6bb2b30ca17ce22e7038da9e6e931d74

@ -0,0 +1,41 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/libuv-0.11.24.ebuild,v 1.1 2014/04/22 13:22:56 hasufell Exp $
EAPI=5
inherit eutils autotools multilib-minimal
DESCRIPTION="A new platform layer for Node"
HOMEPAGE="https://github.com/joyent/libuv"
SRC_URI="https://github.com/joyent/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD BSD-2 ISC MIT"
SLOT="0/11"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
DEPEND="virtual/pkgconfig"
src_prepare() {
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
> m4/libuv-extra-automake-flags.m4 || die
eautoreconf
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable static-libs static)
}
multilib_src_test() {
mkdir "${BUILD_DIR}"/test || die
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
default
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files
}

@ -1,2 +1,3 @@
DIST html2text-2014.4.5.tar.gz 30177 SHA256 b6f37556650a32cd625c56f2db3fa2ca2d57a7ff0a4be7a3b9118dd911c8efd6 SHA512 740750f838f0370c6b05bb1538d3de99cfd074acc95923440b14818b934e49df1ad0864bfe1a4fcf0b8fd3c9c402a4b2edaeabe992aa0870acc7ce3b6cd3924a WHIRLPOOL 502c08327cbd98ac08e19ff42b633cb7f08204123aa4a8d15826c4137976367cd7e7073660aa61788301d1817ade02be93a014caeb2ca6c53311df5fcf8adc55
DIST html2text-3.02.tar.gz 5067 SHA256 8a440067b95569ac705e2ea056bb6dfebaedf7992cbb6b4e4b830811368f8111 SHA512 3962b848a77b727036ece8879b8d533aaeef1ac4795bd946bdc36906d4c3d8b433cd192f6773e71c2620aa590b007aaa112723e23a2c829b1bc1baf7d20513de WHIRLPOOL 3160d5314496879c05267b787dd1702a4857e19d769f6c7bf1c992f0f9cee028a7d8526f7efa63587c26e2bb5726d8a37ed5e9306c89e3e92395783c36bbd4c6
DIST html2text-3.200.3.tar.gz 21446 SHA256 040a4ace61446ab1e323e71e95e8ce16a5f0cc889027f17974ef8be1391721df SHA512 4e0d4a422c9aeae92431180ad3fb86ff37adf4dfb3d6bfff288a653b18f20d1b596fb201da0c60637d186700ca6cc84caf705f390bd3260e79a18938d81a93f1 WHIRLPOOL 0bac76c72f4d6cc233e9b8f938560b45df40c0ba891fc9f2bfcc83491d0cca77e12d31626c8e34735f1a3ce09683d6ea72e5833448af68918392275e0794b0cb

@ -0,0 +1,33 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/html2text/html2text-2014.4.5.ebuild,v 1.1 2014/04/21 21:24:08 sping Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_{2,3}} pypy pypy2_0 )
inherit python-utils-r1 distutils-r1
DESCRIPTION="Turn HTML into equivalent Markdown-structured text."
HOMEPAGE="https://github.com/html2text/html2text
https://github.com/Alir3z4/html2text http://pypi.python.org/pypi/html2text"
SRC_URI="https://github.com/Alir3z4/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" # PyPI one missing test data files
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]
dev-python/feedparser[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-rename.patch" )
src_test() {
impl_specific() {
python_export PYTHON_SITEDIR
PYTHONPATH="${D}${PYTHON_SITEDIR}" "${PYTHON}" test/test_html2text.py -v || die
}
python_foreach_impl impl_specific
}

@ -0,0 +1,16 @@
https://github.com/nose-devs/nose/commit/43c35e49106916f51f676455888fe7a39d030113.diff
diff --git a/nose/pyversion.py b/nose/pyversion.py
index fba5ada..8b56614 100644
--- a/nose/pyversion.py
+++ b/nose/pyversion.py
@@ -89,7 +89,8 @@ def __init__(self, cls, func):
self.__dict__ = func.__dict__.copy()
self._func = func
self.__self__ = UnboundSelf(cls)
- self.im_class = cls
+ if sys.version_info < (3, 0):
+ self.im_class = cls
def address(self):
cls = self.__self__.cls

@ -0,0 +1,90 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-1.3.1-r1.ebuild,v 1.1 2014/04/22 08:30:33 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy )
inherit distutils-r1 eutils
DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring"
HOMEPAGE="http://pypi.python.org/pypi/nose http://readthedocs.org/docs/nose/ https://bitbucket.org/jpellerin/nose"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples test"
RDEPEND="dev-python/coverage[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
doc? ( >=dev-python/sphinx-0.6 )
test? ( dev-python/twisted-core
dev-python/unittest2 )"
DOCS=( AUTHORS )
PATCHES=(
"${FILESDIR}"/${PN}-1.2.1-skiptest.patch
"${FILESDIR}"/${PN}-1.3.1-python3.4.patch
"${FILESDIR}"/${P}-doctest.patch
"${FILESDIR}"/${P}-pypy-test.patch
"${FILESDIR}"/${P}-version.patch )
python_prepare_all() {
# Tests need to be converted, and they don't respect BUILD_DIR.
use test && DISTUTILS_IN_SOURCE_BUILD=1
# Disable tests requiring network connection.
sed \
-e "s/test_resolve/_&/g" \
-e "s/test_raises_bad_return/_&/g" \
-e "s/test_raises_twisted_error/_&/g" \
-i unit_tests/test_twisted.py || die "sed failed"
# Disable versioning of nosetests script to avoid collision with
# versioning performed by the eclass.
sed -e "/'nosetests%s = nose:run_exit' % py_vers_tag,/d" \
-i setup.py || die "sed2 failed"
distutils-r1_python_prepare_all
}
python_compile() {
local add_targets=()
if use test; then
add_targets+=( egg_info )
python_is_python3 && add_targets+=( build_tests )
fi
distutils-r1_python_compile ${add_targets[@]}
}
python_compile_all() {
use doc && emake -C doc html
}
src_test() {
# nosetests use heavy multiprocessing during the tests.
# this shall make them less likely to kill your system or timeout.
local DISTUTILS_NO_PARALLEL_BUILD=1
distutils-r1_src_test
}
python_test() {
"${PYTHON}" selftest.py || die "Tests fail with ${EPYTHON}"
}
python_install() {
distutils-r1_python_install --install-data "${EPREFIX}/usr/share"
}
python_install_all() {
local EXAMPLES=( examples/. )
distutils-r1_python_install_all
if use doc; then
dohtml -r -A txt doc/.build/html/.
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pillow/pillow-2.4.0.ebuild,v 1.5 2014/04/21 10:50:14 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pillow/pillow-2.4.0.ebuild,v 1.6 2014/04/22 12:28:12 ago Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
LICENSE="HPND"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="doc examples jpeg jpeg2k lcms scanner test tiff tk truetype webp zlib"
REQUIRED_USE="test? ( jpeg )"

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygui/pygui-2.2-r1.ebuild,v 1.3 2010/07/23 21:29:41 arfrever Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygui/pygui-2.2-r1.ebuild,v 1.4 2014/04/21 12:46:21 ulm Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -15,7 +15,7 @@ DESCRIPTION="A cross-platform pythonic GUI API"
HOMEPAGE="http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/"
SRC_URI="http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/${MY_P}.tar.gz"
LICENSE="as-is"
LICENSE="PyGUI"
SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygui/pygui-2.5.3.ebuild,v 1.3 2011/08/06 16:22:08 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygui/pygui-2.5.3.ebuild,v 1.4 2014/04/21 12:46:21 ulm Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -15,7 +15,7 @@ DESCRIPTION="A cross-platform pythonic GUI API"
HOMEPAGE="http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/"
SRC_URI="http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/${MY_P}.tar.gz"
LICENSE="as-is"
LICENSE="PyGUI"
SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"

@ -0,0 +1 @@
DIST python-saharaclient-0.7.0.tar.gz 72542 SHA256 7c83fb7709a870101539bd25d76225dc7a65e3848e2d698403e0a410c67fe388 SHA512 788d6a0586b00dc6d367f34ede74109d787c4cf4abd8dd2d7ef11bebe7440add42da54c3c9aaa8bdf201444d1c5fd38e5da41b327cc166b396978e85608120e9 WHIRLPOOL f5e4ab52eda75b626c8d8a722869eb9914f6a8e29ea9c6815e510e42c93f912dda8e7887fe0342faac4fdf0baf4ce727fb7fbc133281b98d2586b258a65e3799

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>openstack</herd>
<maintainer>
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<longdescription lang="en">
This is a client for the OpenStack Sahara API, aka HADOOP
</longdescription>
</pkgmetadata>

@ -0,0 +1,42 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-saharaclient/python-saharaclient-0.7.0.ebuild,v 1.2 2014/04/22 03:32:52 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="This is a client for the OpenStack Sahara API, aka HADOOP"
HOMEPAGE="https://github.com/openstack/python-saharaclient"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
dev-python/oslo-sphinx[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] )"
RDEPEND=">=dev-python/Babel-1.3[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-0.6.0[${PYTHON_USEDEP}]
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]"
python_test() {
testr init
testr run --parallel || die "testsuite failed under python2.7"
}

@ -5,3 +5,4 @@ DIST rdflib-3.2.3.tar.gz 449077 SHA256 a3cab51c14fa6fe379261e0157c110d94e2f75ef6
DIST rdflib-4.0.1.tar.gz 903633 SHA256 5e8cd9b9f09d69116add36229e05d7d2fbececee1ae65dc17713c57e823a9813 SHA512 a2050a127039c8e6959ce087ff3d0a663ec0e9b7891e253a1c66be8e04dd99aa203e34c0026d227cdaffb8a203a385a8c42abee073b420df0e11ca138fb459b0 WHIRLPOOL 86f4f3b52ff08bca9698a5257bd32f861506b498fb6febfddfd09ff42c580f30314079d781ea56bec242e0bf4dfe57473d029e66fca49ff88078ff390bc1fe08
DIST rdflib-4.0.tar.gz 838730 SHA256 eea954733aca41783abd9a960c84e3c32a51cb3cb620bdf995552cc7195f70c6 SHA512 d49ced6c4e23cd231b5266b2e6de09a1cdb7e59d14dbcce4b669a626f59cfc71cc7b0b9ddb465adb50cd8228fc456f98846f09e653bb1fba572c05a6f5dd18cd WHIRLPOOL e419c3d63fa768e639aeb5ee304cfbada93263abad7c55d0ac4731c4d24ccef4284a132b7f0aa054cbfb693b2cdb2423e4d46c54b9726cfd9684ae888abab5ec
DIST rdflib-4.1.0.tar.gz 865610 SHA256 ee9f523c840564f0a370b5a1c6b0b494c689df69fb8bc7a77010b407cba71972 SHA512 82afd54ec974794c8aa0a17f62ca63a7eeb9b2ad61e715e19a6492130b2da30deed6e17319028ab5ffd83990c8b90edf61576bd602076ed4566d1cfea0d752a3 WHIRLPOOL 4cb85e394d21ea90875f39545df90d0b47eac4d696d24d455f1240646e694a08d0461b39b0bc804f2cdb41f2eaaf9ca519fd7ef15c86eed4856bed9ad3ec19e9
DIST rdflib-4.1.1.tar.gz 866422 SHA256 3b5e6c09cae3a2c2fb77ff636837c6d1551651984f2d29e299ed88370e9c4b98 SHA512 5c0006f9652bf73cf18e848f8239e732e44333b0b866b5ca07b14c9b2ae8aff73980bba20725c6c5f2152aae2e3f741f6d060eb0ce080afc3b6639c3309e8849 WHIRLPOOL c801ed5c45a1b75cd69a0067b7607d466fbae12eb25e1c61bfeb6019916607cc4e2a8e02a246ea9b7433e0e33ad5b72b059678bfb603b07963493fdbb767cbc5

@ -0,0 +1,55 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/rdflib/rdflib-4.1.1.ebuild,v 1.1 2014/04/22 09:23:00 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
PYTHON_REQ_USE="sqlite?"
DISTUTILS_NO_PARALLEL_BUILD=true
# The usual required for tests
DISTUTILS_IN_SOURCE_BUILD=1
inherit distutils-r1
DESCRIPTION="RDF library containing a triple store and parser/serializer"
HOMEPAGE="https://github.com/RDFLib/rdflib http://pypi.python.org/pypi/rdflib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="berkdb examples mysql redland sqlite test"
RDEPEND="
dev-python/isodate[${PYTHON_USEDEP}]
dev-python/html5lib[$(python_gen_usedep 'python2*')]
dev-python/pyparsing[${PYTHON_USEDEP}]
berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
redland? ( dev-libs/redland-bindings[python] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/sparql-wrapper[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.1-r1[${PYTHON_USEDEP}] )"
python_prepare_all() {
# Upstream manufactured .pyc files which promptly break distutils' src_test
find -name "*.py[oc~]" -delete || die
distutils-r1_python_prepare_all
}
python_test() {
if python_is_python3; then
pushd "${BUILD_DIR}/src/" > /dev/null
"${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
popd > /dev/null
else
"${PYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}"
fi
}
python_install_all() {
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sparql-wrapper/sparql-wrapper-1.5.2.ebuild,v 1.2 2013/05/22 10:04:06 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sparql-wrapper/sparql-wrapper-1.5.2.ebuild,v 1.3 2014/04/22 04:14:49 idella4 Exp $
EAPI=5
@ -18,7 +18,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/rdflib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_PN}-${PV}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx-better-theme/sphinx-better-theme-0.1.5.ebuild,v 1.6 2014/04/21 10:50:17 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx-better-theme/sphinx-better-theme-0.1.5.ebuild,v 1.7 2014/04/22 12:28:14 ago Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
@ -14,5 +14,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,41 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.2.16.ebuild,v 1.1 2013/12/04 08:05:48 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Framework for designing email-service layers"
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
>=dev-ruby/mail-2.5.4:2.5"
ruby_add_bdepend "test? (
dev-ruby/test-unit:2
dev-ruby/mocha:0.13
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
# Make sure we use the test-unit gem since ruby18 does not provide
# all the test-unit features needed.
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
}

@ -1,41 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.2.ebuild,v 1.2 2014/03/11 20:24:29 johu Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Framework for designing email-service layers"
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
>=dev-ruby/mail-2.5.3:2.5"
ruby_add_bdepend "test? (
dev-ruby/test-unit:2
dev-ruby/mocha:0.13
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
# Make sure we use the test-unit gem since ruby18 does not provide
# all the test-unit features needed.
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
}

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,74 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.16.ebuild,v 1.1 2013/12/04 08:05:27 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
# The default test task tries to test activerecord with SQLite as well.
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Eases web-request routing, handling, and response."
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
~dev-ruby/activemodel-${PV}
~dev-ruby/activesupport-${PV}
>=dev-ruby/rack-cache-1.2
>=dev-ruby/builder-3.0.0:3
>=dev-ruby/rack-1.4.5:1.4
>=dev-ruby/rack-test-0.6.1:0.6
>=dev-ruby/journey-1.0.4:1.0
>=dev-ruby/sprockets-2.2.1:2.2
>=dev-ruby/erubis-2.7.0"
ruby_add_bdepend "
test? (
dev-ruby/mocha:0.13
dev-ruby/bundler
~dev-ruby/activerecord-${PV}
~dev-ruby/actionmailer-${PV}
>=dev-ruby/tzinfo-0.3.29:0
>=dev-ruby/uglifier-1.0.3
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
# Avoid fragile tests depending on hash ordering
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
# Avoid fragile test that gets more output than it expects.
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
# Avoid test broken by security updates in i18n.
sed -i -e '/test_number_to_i18n_currency/,/end/ s:^:#:' test/template/number_helper_i18n_test.rb || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.17.ebuild,v 1.1 2014/02/19 07:19:19 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.17.ebuild,v 1.2 2014/04/21 12:23:35 graaff Exp $
EAPI=5
@ -52,7 +52,7 @@ ruby_add_bdepend "
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die

@ -1,74 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.2.ebuild,v 1.2 2014/03/11 20:09:13 johu Exp $
EAPI=5
USE_RUBY="ruby19"
# The default test task tries to test activerecord with SQLite as well.
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Eases web-request routing, handling, and response."
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
>=dev-ruby/builder-3.1.0:3.1
>=dev-ruby/rack-1.5.2:1.5
>=dev-ruby/rack-test-0.6.2:0.6
>=dev-ruby/sprockets-2.2.1:2.2
>=dev-ruby/erubis-2.7.0"
ruby_add_bdepend "
test? (
dev-ruby/mocha:0.13
dev-ruby/bundler
~dev-ruby/activemodel-${PV}
~dev-ruby/activerecord-${PV}
~dev-ruby/actionmailer-${PV}
dev-ruby/sprockets-rails:2.0
>=dev-ruby/tzinfo-0.3.29:0
>=dev-ruby/uglifier-1.0.3
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
# Add back json in the Gemfile because we dropped some dependencies
# earlier that implicitly required it.
sed -i -e '$agem "json"' ../Gemfile || die
# Avoid fragile tests depending on hash ordering
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
# Avoid fragile test that gets more output than it expects.
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
}

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,50 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.2.16.ebuild,v 1.1 2013/12/04 08:04:37 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
HOMEPAGE="http://github.com/rails/rails"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
>=dev-ruby/builder-3.0.0:3
>=dev-ruby/bcrypt-ruby-3.0.0"
ruby_add_bdepend "
test? (
dev-ruby/test-unit:2
>=dev-ruby/mocha-0.13.0:0.13
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
# Make sure we use the test-unit gem since ruby18 does not provide
# all the test-unit features needed.
sed -i -e '1igem "test-unit"' test/cases/helper.rb || die
# Fix bcrypt dependency since bcrypt uses semantic versioning.
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
}

@ -1,46 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.0.2.ebuild,v 1.2 2014/03/11 20:07:58 johu Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
HOMEPAGE="http://github.com/rails/rails"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
>=dev-ruby/builder-3.1.0:3.1
>=dev-ruby/bcrypt-ruby-3.0.0"
ruby_add_bdepend "
test? (
>=dev-ruby/railties-4.0.0
dev-ruby/test-unit:2
>=dev-ruby/mocha-0.13.0:0.13
)"
all_ruby_prepare() {
# Set test environment to our hand.
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
# Fix bcrypt dependency since bcrypt uses semantic versioning.
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
}

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,76 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.16.ebuild,v 1.3 2014/01/02 07:59:23 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
# this is not null so that the dependencies will actually be filled
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="mysql postgres sqlite3"
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
>=dev-ruby/arel-3.0.2:3.0
>=dev-ruby/tzinfo-0.3.29:0
sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
postgres? ( >=dev-ruby/pg-0.11.0 )"
ruby_add_bdepend "
test? (
dev-ruby/bundler
~dev-ruby/actionpack-${PV}
>=dev-ruby/sqlite3-1.3.5
dev-ruby/mocha:0.13
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
# Avoid tests depending on hash ordering
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
# Avoid test depending on mysql adapter which we don't support for
# this Rails version to simplify our dependencies.
rm test/cases/connection_specification/resolver_test.rb || die
}
each_ruby_test() {
case ${RUBY} in
*jruby)
;;
*rubyee18)
# Turn on travis support to avoid tripping bugs in ree18.
TRAVIS=true ${RUBY} -S rake test_sqlite3
;;
*)
if use sqlite3; then
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
fi
;;
esac
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.17.ebuild,v 1.1 2014/02/19 07:26:51 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.17.ebuild,v 1.2 2014/04/21 12:14:22 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
@ -45,7 +45,7 @@ ruby_add_bdepend "
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die

@ -1,83 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.2.ebuild,v 1.2 2014/03/11 20:24:05 johu Exp $
EAPI=5
USE_RUBY="ruby19"
# this is not null so that the dependencies will actually be filled
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="mysql postgres sqlite3"
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}
>=dev-ruby/activerecord-deprecated_finders-1.0.2:1.0
>=dev-ruby/arel-4.0.0:4.0
sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
postgres? ( >=dev-ruby/pg-0.11.0 )"
ruby_add_bdepend "
test? (
dev-ruby/bundler
~dev-ruby/actionpack-${PV}
>=dev-ruby/sqlite3-1.3.5
dev-ruby/mocha:0.13
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\)/d" ../Gemfile || die
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
# Add back json in the Gemfile because we dropped some dependencies
# earlier that implicitly required it.
sed -i -e '$agem "json"' ../Gemfile || die
# Avoid tests depending on hash ordering
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
# Avoid test depending on mysql adapter which we don't support for
# this Rails version to simplify our dependencies.
rm test/cases/connection_specification/resolver_test.rb || die
# Avoid single test using mysql dependencies.
rm test/cases/invalid_connection_test.rb || die
}
each_ruby_test() {
case ${RUBY} in
*jruby)
;;
*rubyee18)
# Turn on travis support to avoid tripping bugs in ree18.
TRAVIS=true ${RUBY} -S rake test_sqlite3
;;
*)
if use sqlite3; then
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
fi
;;
esac
}

@ -1,3 +1,2 @@
DIST activeresource-4.0.0.tgz 69142 SHA256 b2f8094b56c589193fa9c275e4a970fdcd4eb7e7885c8a7a12c86eda6c8d2f37 SHA512 bad94922b7125f79988fb8c6694d6a0370ff1271b47d031e1c249441079e98f75a8069602c1eebf2ec8d7e28aab21b0ca42502c79fe06f46dfa5d42659ff79ab WHIRLPOOL 04120c0a81e140435194ae28a98b4c2ba69e3ef663b7fbf02783839b842c92db70742e4c5d204168dfe4a28caac8d3a8d4c2aea81842959819590544b648d867
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68

@ -1,44 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.2.16.ebuild,v 1.1 2013/12/04 08:04:58 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Think Active Record for web resources.."
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
dev-ruby/builder:3"
ruby_add_bdepend "
test? (
dev-ruby/test-unit:2
>=dev-ruby/mocha-0.13.0:0.13
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
# Make sure we use the test-unit gem since ruby18 does not provide
# all the test-unit features needed.
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
}

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,75 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.2.16.ebuild,v 1.1 2013/12/04 08:03:23 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 jruby"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem versionator
DESCRIPTION="Utility Classes and Extension to the Standard Library"
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
>=dev-ruby/multi_json-1.0
>=dev-ruby/i18n-0.6.4:0.6
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
# memcache-client, nokogiri, and builder are not strictly
# needed, but there are tests using this code.
ruby_add_bdepend "test? (
dev-ruby/test-unit:2
>=dev-ruby/memcache-client-1.5.8
dev-ruby/nokogiri
>=dev-ruby/builder-3.0.3:3
>=dev-ruby/tzinfo-0.3.29
)"
# libxml is not strictly needed, there are tests using this code. jruby
# uses a different xml implementation.
USE_RUBY=${USE_RUBY/jruby/} ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 )"
all_ruby_prepare() {
# Set test environment to our hand.
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
# Make sure we use the test-unit gem since ruby18 does not provide
# all the test-unit features needed.
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
}
each_ruby_prepare() {
case ${RUBY} in
*ruby18)
# Skip failing ruby18 tests related to JSON serialization
rm test/message_encryptor_test.rb test/message_verifier_test.rb || die
;;
*jruby)
# Ignore failing tests on jruby in the interest of a security update
sed -i -e '/test_not_allowed_to_expand_parameter_entities_to_files/,/^ end/ s:^:#:' \
-e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \
test/xml_mini/jdom_engine_test.rb || die
sed -i \
-e '/test_exception_thrown_on_expansion_attack/,/^ end/ s:^:#:' \
test/xml_mini/nokogiri_engine_test.rb || die
;;
esac
}

@ -1,58 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-4.0.2.ebuild,v 1.3 2014/03/11 20:23:08 johu Exp $
EAPI=5
USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem versionator
DESCRIPTION="Utility Classes and Extension to the Standard Library"
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
ruby_add_rdepend "
>=dev-ruby/multi_json-1.3:0
>=dev-ruby/i18n-0.6.4:0.6
>=dev-ruby/tzinfo-0.3.37:0
>=dev-ruby/minitest-4.2:0
>=dev-ruby/thread_safe-0.1:0
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
# memcache-client, nokogiri, and builder are not strictly
# needed, but there are tests using this code.
ruby_add_bdepend "test? (
>=dev-ruby/dalli-2.2.1
>=dev-ruby/nokogiri-1.4.5
>=dev-ruby/builder-3.1.0
>=dev-ruby/libxml-2.0.0
)"
all_ruby_prepare() {
# Set the secure permissions that tests expect.
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
# Set test environment to our hand.
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
# Make sure a compatible version of minitest is used everywhere.
sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 4.2'/" lib/active_support/test_case.rb || die
sed -i -e "1igem 'minitest', '~> 4.2'" test/abstract_unit.rb || die
}

@ -0,0 +1 @@
DIST charlock_holmes-0.6.9.4.gem 651776 SHA256 e52db7af0f7a652f55244455f84b4f1c09144f0d5e416f677a912f9147d6dfef SHA512 00a1d920418a1ebaf43245f8f94de831de15f29d972eac9e69ae9bcccc88140282c3a57f4f1a35ad49cb336df82589c19f7852bc60f9debfb1253b7111c36d32 WHIRLPOOL 1e743109f32ed81890f6e6f4ef771afc32299836e6e0eefe9ac6546b63cafcc61713601a774c11bd253489f6f51399f9decd157e53953d80d7f7f729ba0cb9a7

@ -0,0 +1,46 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/charlock_holmes/charlock_holmes-0.6.9.4.ebuild,v 1.1 2014/04/22 12:59:54 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="Character encoding detecting library for Ruby using ICU"
HOMEPAGE="http://github.com/brianmario/charlock_holmes"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/rake-compiler
dev-ruby/minitest )"
RUBY_PATCHES=( "${FILESDIR}"/${P}-extconf.patch )
CDEPEND="dev-libs/icu
sys-apps/file
sys-libs/zlib"
DEPEND+=" ${CDEPEND}"
RDEPEND+=" ${CDEPEND}"
all_ruby_prepare() {
sed -i -e '/bundler/d' test/helper.rb || die
}
each_ruby_configure() {
${RUBY} -Cext/${PN} extconf.rb || die
}
each_ruby_compile() {
emake V=1 -Cext/${PN}
cp ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
}
each_ruby_test() {
${RUBY} -Ilib test/*.rb || die
}

@ -0,0 +1,44 @@
--- ext/charlock_holmes/extconf.rb.old 2014-04-19 04:10:03.261265135 +0200
+++ ext/charlock_holmes/extconf.rb 2014-04-19 04:11:01.717266700 +0200
@@ -45,40 +45,5 @@
exit(1)
end
-##
-# libmagic dependency
-#
-
-src = File.basename('file-5.08.tar.gz')
-dir = File.basename(src, '.tar.gz')
-
-Dir.chdir("#{CWD}/src") do
- FileUtils.rm_rf(dir) if File.exists?(dir)
-
- sys("tar zxvf #{src}")
- Dir.chdir(dir) do
- sys("./configure --prefix=#{CWD}/dst/ --disable-shared --enable-static --with-pic")
- sys("patch -p0 < ../file-soft-check.patch")
- sys("make -C src install")
- sys("make -C magic install")
- end
-end
-
-FileUtils.cp "#{CWD}/dst/lib/libmagic.a", "#{CWD}/libmagic_ext.a"
-
-$INCFLAGS[0,0] = " -I#{CWD}/dst/include "
-$LDFLAGS << " -L#{CWD} "
-
-dir_config 'magic'
-unless have_library 'magic_ext' and have_header 'magic.h'
- STDERR.puts "\n\n"
- STDERR.puts "***************************************************************************************"
- STDERR.puts "********* error compiling and linking libmagic. please report issue on github *********"
- STDERR.puts "***************************************************************************************"
- exit(1)
-end
-
-$CFLAGS << ' -Wall -funroll-loops'
-$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']
-
+$LIBS << " -lz -lmagic -licuuc -licudata "
create_makefile 'charlock_holmes/charlock_holmes'

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
</pkgmetadata>

@ -0,0 +1,2 @@
DIST fivemat-1.2.1.gem 8704 SHA256 69a67030658d14891824586fe306280094139974732a25df8de49cb41d55424a SHA512 7316014883dad3884d6ef70152e0bc5c32378ea829a6f3adfb2d29b77fed494e0879d4716ebb2ca0f82443b5a56cfe0604d530f12b923bb27a461d0c91d08058 WHIRLPOOL d22e64340b472e2f7dd3ea8681f118f7ee8b58754378eb3b27b36c26b780671b35aa226dbfaf1f7524c62ecafff029603e9afc6dde5310d931896b0f0bf25784
DIST fivemat-1.3.0.gem 9216 SHA256 b8bd5409d35b9013b5f447904b8c12ca05574aed932e94321426e3d16759c57d SHA512 6ca73228129a3d3d3da8ce8d57d3717a6bbf7c0c4dfa24d39480264261e476cc98a59e336006046936f77388f148540ae8ab167eeb07e926e205486376767300 WHIRLPOOL 2177d695f7418232f09aac76e1d29d6f77abffe746d4101d6f20acfaece97f8538b0e61a77e442571120c8f0fa21725cbe0dec820f6dd99bc28b99a3fa957f6d

@ -0,0 +1,23 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fivemat/fivemat-1.2.1.ebuild,v 1.1 2014/04/21 17:49:47 zerochaos Exp $
EAPI=5
USE_RUBY="ruby19"
#RUBY_FAKEGEM_RECIPE_DOC="rdoc"
#RUBY_FAKEGEM_DOCDIR="doc"
#RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
inherit ruby-fakegem
DESCRIPTION="MiniTest/RSpec/Cucumber formatter that gives each test file its own line of dots"
HOMEPAGE="https://github.com/tpope/fivemat"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#tests fail missing .git directory
RESTRICT=test

@ -0,0 +1,23 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fivemat/fivemat-1.3.0.ebuild,v 1.1 2014/04/21 17:49:47 zerochaos Exp $
EAPI=5
USE_RUBY="ruby19"
#RUBY_FAKEGEM_RECIPE_DOC="rdoc"
#RUBY_FAKEGEM_DOCDIR="doc"
#RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
inherit ruby-fakegem
DESCRIPTION="MiniTest/RSpec/Cucumber formatter that gives each test file its own line of dots"
HOMEPAGE="https://github.com/tpope/fivemat"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
#tests fail missing .git directory
RESTRICT=test

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
<maintainer>
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
<longdescription lang="en">
</longdescription>
</pkgmetadata>

@ -0,0 +1 @@
DIST forgery-0.6.0.tar.gz 40185 SHA256 adc53336f958d3ebf6e8cb73bf17e72f579c8529f08a185b07fc22671e43d057 SHA512 8cafc3e91c87ddaadffee1d887a8993595aea9499d8db21e18374db62596fac35e9ca868e6d8d3bd3284c9ee43f398a5bc986737440c7a5b70bdd795ba04ae97 WHIRLPOOL 7570aa36bedc924237d43614cecf03d290637611e39a67f223ea656707307469f5867088982537e7cd86b85932612c48e8490ce189dbc90d8f97f612cdad7ac6

@ -0,0 +1,23 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/forgery/forgery-0.6.0.ebuild,v 1.1 2014/04/22 13:02:31 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_EXTRADOC="README.markdown"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
inherit ruby-fakegem
DESCRIPTION="Easy and customizable generation of forged data"
HOMEPAGE="https://github.com/sevenwire/forgery"
SRC_URI="https://github.com/sevenwire/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
all_ruby_prepare() {
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
}

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
</pkgmetadata>

@ -1 +1,2 @@
DIST http-0.5.0.gem 20992 SHA256 0d45a571564a5fa79600095e29535976903a1d65628d4e41b2f344a07b0781ef SHA512 aca100010ed0629636f49ddddf9617f014a6eba6628c8be9ccb281653a8e7932c6c5509746df2ee039f42d4526944f68a33767017d11ee6397dd935cd9b4d9d6 WHIRLPOOL 856345f78226f3fd51d888a97e589b27d5b1e5ee7d2510ac5ba728b8a19e36f4bb5169b5c8c59b5c4a5750e7c8d745554fc4525a4b567256254cb5828bd6b080
DIST http-0.6.0.gem 65024 SHA256 7a63691edfe48cd1fe5a006c7163b3c9a244ced3778adb1769f631d5665a9d28 SHA512 31bbd7d2375cdd88bf3e2425ad8298c52d35e00b84c48ce6ef8dcb902512fcf1534f8bf7a90536e3bd2767812dd937e130208b68f1e946e87330a6dae1958e47 WHIRLPOOL 27cbaf5d55fe9bcf50bfb10f8b833a07b4f6388366cd75d9996f4e824eb3c628b9940204dbbc420ce09952529b4afb15ed587156f5a49dc3af3ce21ff162ddd0

@ -0,0 +1,28 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http/http-0.6.0.ebuild,v 1.1 2014/04/22 06:09:41 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
inherit ruby-fakegem
DESCRIPTION="An easy-to-use client library for making requests from Ruby."
HOMEPAGE="https://github.com/tarcieri/http"
LICENSE="MIT"
SLOT="5"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend ">=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*"
all_ruby_prepare() {
sed -i -e '/simplecov/,/end/ s:^:#:' \
-e '1irequire "cgi"' spec/spec_helper.rb || die
}

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild,v 1.1 2014/02/21 15:17:24 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http_parser_rb/http_parser_rb-0.6.0.ebuild,v 1.2 2014/04/22 06:10:45 graaff Exp $
EAPI=5
USE_RUBY="ruby19 ruby20"
USE_RUBY="ruby19 ruby20 ruby21"
RUBY_FAKEGEM_RECIPE_TEST="rspec"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5-r1.ebuild,v 1.1 2014/03/02 22:58:36 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5-r1.ebuild,v 1.2 2014/04/22 03:29:30 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 jruby"
USE_RUBY="ruby19 ruby20 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5.ebuild,v 1.15 2014/03/02 22:58:36 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5.ebuild,v 1.16 2014/04/22 03:29:30 mrueg Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 jruby"
USE_RUBY="ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.11.4.ebuild,v 1.16 2014/03/02 22:58:36 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.11.4.ebuild,v 1.17 2014/04/22 03:29:30 mrueg Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 jruby"
USE_RUBY="ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.12.7.ebuild,v 1.13 2014/03/02 22:58:36 mrueg Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.12.7.ebuild,v 1.14 2014/04/22 03:29:30 mrueg Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 jruby"
USE_RUBY="ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.13.3.ebuild,v 1.10 2013/12/24 16:12:17 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.13.3.ebuild,v 1.11 2014/04/22 03:29:30 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 jruby"
USE_RUBY="ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.14.0.ebuild,v 1.4 2014/02/25 20:48:57 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.14.0.ebuild,v 1.5 2014/04/22 03:29:30 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 jruby"
USE_RUBY="ruby19 ruby20 jruby"
RUBY_FAKEGEM_TASK_TEST="test:units"

@ -0,0 +1,25 @@
From 0a74380d2e5157d94c7e9141242af33e5c0bf951 Mon Sep 17 00:00:00 2001
From: Santiago Pastorino <santiago@wyeworks.com>
Date: Sat, 29 Dec 2012 17:36:08 -0200
Subject: [PATCH] Fix Ruby 2.0 build
---
test/spec_chunked.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/spec_chunked.rb b/test/spec_chunked.rb
index c81409f..12f2158 100644
--- a/test/spec_chunked.rb
+++ b/test/spec_chunked.rb
@@ -41,7 +41,7 @@ def chunked(app)
response.headers.should.not.include 'Content-Length'
response.headers['Transfer-Encoding'].should.equal 'chunked'
response.body.encoding.to_s.should.equal "ASCII-8BIT"
- response.body.should.equal "c\r\n\xFE\xFFH\x00e\x00l\x00l\x00o\x00\r\n2\r\n \x00\r\na\r\nW\x00o\x00r\x00l\x00d\x00\r\n0\r\n\r\n"
+ response.body.should.equal "c\r\n\xFE\xFFH\x00e\x00l\x00l\x00o\x00\r\n2\r\n \x00\r\na\r\nW\x00o\x00r\x00l\x00d\x00\r\n0\r\n\r\n".force_encoding("BINARY")
end if RUBY_VERSION >= "1.9"
should 'not modify response when Content-Length header present' do
--
1.9.1

@ -0,0 +1,44 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.4.5-r2.ebuild,v 1.1 2014/04/22 03:17:48 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20 jruby"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem eutils versionator
DESCRIPTION="A modular Ruby webserver interface"
HOMEPAGE="http://rack.github.com/"
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch ${P}-fix-test-ruby20.patch )
ruby_add_rdepend "virtual/ruby-ssl"
# The gem has automagic dependencies over mongrel, ruby-openid,
# memcache-client, thin, mongrel and camping; not sure if we should
# make them dependencies at all. We do add the fcgi dependency because
# that spec isn't optional.
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/fcgi )"
# Block against versions in older slots that also try to install a binary.
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2 !<dev-ruby/rack-1.3.6-r1:1.3"
each_ruby_test() {
# Since the Rakefile calls specrb directly rather than loading it, we
# cannot use it to launch the tests or only the currently-selected
# RUBY interpreter will be tested.
${RUBY} -S bacon -Ilib -w -a \
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
|| die "test failed for ${RUBY}"
}

@ -1,5 +1,3 @@
DIST rails-3.2.16.gem 4608 SHA256 fc470010d70c7628e9e6c4bd535f85571a24cdfadf9b58560e6b2d5f3d396ab0 SHA512 b51706922426c6f5f7bf531dca4f0d0c45f60cf1a2ac0b7cd9f1a39d38f27018bc46931c6ba041c31268a7616294d81c91f93fc0663047a80a92b00a71a16e28 WHIRLPOOL 27a069a2fdcd3cac99f086d9c5ab31fa0b67f3caffc845dd52fe28a755ca58fb1ffc7b94e03b4cbb56736839e2b4494bba70d6fb3ba9945588dc86d8541bacbc
DIST rails-3.2.17.gem 3584 SHA256 8eff1bbf9f22fa943e58e9b71c6bdbe5d5d95caf022bec38ce083599961cb984 SHA512 cd8ebfbd78f4ee415121d24f490024bcbab0e1b18f4ed5572ba7be7c27409055e3d233e26aa7e10cdc919b310be5ac85409d3f0371144b21913a772c958543e3 WHIRLPOOL 92ebf09cb682185e5bbec7af6d2da6c6397a1f31d94b41c9482b0ad060b4dbef5f1d5dcb74d181be7befd72bbb5536faccc5491cbed94c59aebc20b22e55bdce
DIST rails-4.0.2.gem 1548800 SHA256 b7485afabce7c526eee714f7daf020cc7f18be66567a55ad806b81294cc19ffa SHA512 98e07f98ca457ccba7f26d486712a5f6a8ce4c0d2b134a19278e354ea7bb152c175418425a2ff3c502b7ae47e7daa16e0ee3233c9463492f493de8b49f67eb6d WHIRLPOOL ee701680cbaa833e5082c51a18709f9ba0d44b17be7f2cc70aacab875816fccc936ca186c6bee09c08dd22edcf470af778c6e6a5c0c6ee6850bed4b9c5dae1ac
DIST rails-4.0.3.gem 1549824 SHA256 649f8ca0cdc10d47e6bef73e098937a2a61f5aabbcf2fde930d28675021e81be SHA512 5c5addf2cc136300befee1e021f71936e3719f88047d390ec6e338efe0aa475bc4f18a0a1de1f5f2ed6c7fe49d9e0b4eacff154054210a77239784e6a49a994e WHIRLPOOL 312d934851c83f6181c45301af21a4d17287252def045fdeddd32b970199db06e3673defe203e12e1df3f9c6206ba687953b0169239357206a991aaf3bf3d2e5
DIST rails-4.0.4.gem 1550336 SHA256 ead3f37942b32496cd07837a01c40acc4f8c8df72e839f3d087a2c3543d760bc SHA512 18aacdd84093a06a8cae6ad22f48620b742922a6ce0f6b1bd45887acdcb8d46b21dad7100d0aa5a4134d5ab6e81e19bfd894df75b190b9a59ef557030f4716d8 WHIRLPOOL 1e53c83d3740632eb60bc0600f5403c377744562b0dd982a36c92aa728357e0d1877d872e4489a574802a284989581f2300d8aff72e273c36e778faf0fa4287e

@ -1,37 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.2.16.ebuild,v 1.1 2013/12/04 08:08:00 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
inherit ruby-fakegem versionator
DESCRIPTION="ruby on rails is a web-application and persistance framework"
HOMEPAGE="http://www.rubyonrails.org"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+asset-pipeline"
ruby_add_rdepend "
~dev-ruby/actionmailer-${PV}
~dev-ruby/actionpack-${PV}
~dev-ruby/activerecord-${PV}
~dev-ruby/activeresource-${PV}
~dev-ruby/activesupport-${PV}
=dev-ruby/bundler-1*
~dev-ruby/railties-${PV}
asset-pipeline? (
dev-ruby/jquery-rails
>=dev-ruby/sass-rails-3.2.3:3.2
>=dev-ruby/uglifier-1.0.3
>=dev-ruby/coffee-rails-3.2.1:3.2
)"

@ -1,42 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-4.0.2.ebuild,v 1.2 2014/03/11 20:24:55 johu Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_BINWRAP=""
# The guides are now here but we'd need to rebuilt them first.
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="README.md guides/CHANGELOG.md"
inherit ruby-fakegem versionator
DESCRIPTION="ruby on rails is a web-application and persistance framework"
HOMEPAGE="http://www.rubyonrails.org"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="+asset-pipeline"
ruby_add_rdepend "
~dev-ruby/actionmailer-${PV}
~dev-ruby/actionpack-${PV}
~dev-ruby/activerecord-${PV}
~dev-ruby/activesupport-${PV}
~dev-ruby/railties-${PV}
>=dev-ruby/bundler-1.3 =dev-ruby/bundler-1*
>=dev-ruby/sprockets-rails-2.0.0:2.0
asset-pipeline? (
dev-ruby/jquery-rails
>=dev-ruby/sass-rails-4.0.0:4.0
>=dev-ruby/uglifier-1.3.0
>=dev-ruby/coffee-rails-4.0.0:4.0
)"
# also: turbolinks, >=jbuilder-1.2:1

@ -1,5 +1,3 @@
DIST rails-3.2.16.tgz 3566631 SHA256 8fe61b98496e40d8aaef5f8db217f2aad56c9add1bf8417c37a0cbd24f74a57e SHA512 304ef964c33eccfdd4dc1a1c47d43b05e7498d869c64a2ba7a62e8356a07d03cd3f48e1edb9b80d2de1cafc8d91f6ac491df9b0abf3c30d6d22f34f39571965e WHIRLPOOL 5a6ba360c741a7aa3979722ae20790df65e05347a4bad77eea805a9601de2e4cc50a02b8f75d7b7e827da8bef62e8e4e72bb4d4c1de9e783f8f5b95d156bceac
DIST rails-3.2.17.tgz 3566537 SHA256 f94972ed71c005ae1f7520d8840852872fbdf6c834bb2eaf1516fe63e406d609 SHA512 4ad32d71108d444bd791ffb2fded25deed69a304a4d6497fb12a586e07348bf4cd1a453614eb932a907063ad6166b89f4778742cb5c2c420f17a116e11b964f6 WHIRLPOOL 0b0911120202e3152a74d31f3b7f8a24261f8e163577ad88c12fd85be088871a0f8ed46b305325250bb830f786231ff349e847b2f642cba02905a95a9a022d68
DIST rails-4.0.2.tgz 3720518 SHA256 cd973b85cfff735da80d8ed4e11421e2242be735d96cbe4d83ac0c4b6ca7c8d1 SHA512 67d7580c0081deeec4271f96caca6d6db8f65864c876a237e7e3f0e8c6e495d299f103dcbe7627385fa4fd3699dac5015e20be90187ef3b2af49352ad9c8d6af WHIRLPOOL 5b496df36ca4de6a4b55951fab2403bd8b31b3505d17d450bf2edf084429a7689c4fdeb8d19d0be40b2d4d0ada8cefd6c3fc104c2428769d2ca8e434d97c6465
DIST rails-4.0.3.tgz 3721788 SHA256 deed80da9b800789a718f95dde5a0a13f18fe6d0169987165a54e7b6d8edd4f8 SHA512 4ac37e5f2c3992aa33020cb7287c9415a014c475dc176b2b51e6112da8bef3b8626216134c5495a8643a9452c7bd78af9a4e2bc77e9c098f8908335d4a27a918 WHIRLPOOL 52bdd5ad2cfe74976b2565963cddc6cefd51ec95fa4f6ca6cc81fe7444271e734caa0800b3cc7a425be0f7dfa47298079b10cacc5909925072935661cfc78974
DIST rails-4.0.4.tgz 3742294 SHA256 301c7320cf2609a52c230b72f694a669637e39625bbbc42286903b1ebcbc9816 SHA512 781fc5b19ff20da39793ee99761db476de30d55c6b82af040a8f6c69ee608780c14fb91047cd5dbc1d0ba44d2f1b3e862de45210a2373d98fc9bd2beb526e282 WHIRLPOOL 9535db2609e56e0c161beaf50e798334b6619ffc90c09b7dd54cd7b1e0a04b7095d8a21da99a4c6978390f09f1a43341e9e810d13e0eeb2ee54dfaf04f07a139

@ -1,82 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.16.ebuild,v 1.1 2013/12/04 08:07:27 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_TASK_TEST="test:regular"
RUBY_FAKEGEM_TASK_DOC="generate_guides"
RUBY_FAKEGEM_DOCDIR="guides/output"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem versionator
DESCRIPTION="Tools for creating, working with, and running Rails applications."
HOMEPAGE="http://github.com/rails/rails"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
# The test suite has many failures, most likely due to a mismatch in
# exact dependencies or environment specifics. Needs further
# investigation.
RESTRICT="test"
RDEPEND+=">=app-admin/eselect-rails-0.18"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
~dev-ruby/actionpack-${PV}
>=dev-ruby/rdoc-3.4
>=dev-ruby/thor-0.14.6
>=dev-ruby/rack-ssl-1.3.2:1.3
>=dev-ruby/rake-0.8.7"
ruby_add_bdepend "
test? (
dev-ruby/mocha:0.13
)
doc? (
>=dev-ruby/redcloth-4.1.1
)"
all_ruby_prepare() {
# Remove items from the common Gemfile that we don't need for this
# test run. This also requires handling some gemspecs.
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
# Also allow rdoc 4.x
sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
}
all_ruby_install() {
all_fakegem_install
if use doc ; then
mv guides/output guides/guides || die
dohtml -r guides/guides
fi
ruby_fakegem_binwrapper rails rails-${PV}
}
pkg_postinst() {
elog "To select between slots of rails, use:"
elog "\teselect rails"
eselect rails update
}
pkg_postrm() {
eselect rails update
}

@ -1,71 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-4.0.2.ebuild,v 1.2 2014/03/11 20:07:25 johu Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_TEST="test:regular"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem versionator
DESCRIPTION="Tools for creating, working with, and running Rails applications."
HOMEPAGE="http://github.com/rails/rails"
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RUBY_S="rails-${PV}/${PN}"
# The test suite has many failures, most likely due to a mismatch in
# exact dependencies or environment specifics. Needs further
# investigation.
RESTRICT="test"
RDEPEND+=">=app-admin/eselect-rails-0.19"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
~dev-ruby/actionpack-${PV}
>=dev-ruby/thor-0.18.1
>=dev-ruby/rake-0.8.7"
ruby_add_bdepend "
test? (
dev-ruby/mocha:0.13
)"
all_ruby_prepare() {
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
# Also allow rdoc 4.x
sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
}
all_ruby_install() {
all_fakegem_install
ruby_fakegem_binwrapper rails rails-${PV}
}
pkg_postinst() {
elog "To select between slots of rails, use:"
elog "\teselect rails"
eselect rails update
}
pkg_postrm() {
eselect rails update
}

@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.37-r1.ebuild,v 1.1 2013/11/05 19:29:14 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.37-r1.ebuild,v 1.2 2014/04/22 03:20:18 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 jruby"
USE_RUBY="ruby19 ruby20 jruby"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"

@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.37.ebuild,v 1.5 2013/12/22 13:54:53 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.37.ebuild,v 1.6 2014/04/22 03:20:18 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 jruby"
USE_RUBY="ruby19 jruby"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.38.ebuild,v 1.1 2014/02/28 11:19:56 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.38.ebuild,v 1.2 2014/04/22 03:20:18 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
USE_RUBY="ruby19 ruby20 ruby21 jruby"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild,v 1.4 2013/12/08 16:26:32 johu Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild,v 1.5 2014/04/22 03:20:18 mrueg Exp $
EAPI=5
USE_RUBY="ruby19 ruby20"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.18 2014/03/19 00:55:48 hasufell Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.19 2014/04/22 02:00:28 jmbsvicetto Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@ -12,10 +12,10 @@
# @DESCRIPTION:
# The mysql-cmake.eclass provides the support to build the mysql
# ebuilds using the cmake build system. This eclass provides
# the src_unpack, src_prepare, src_configure, src_compile, scr_install,
# pkg_preinst, pkg_postinst, pkg_config and pkg_postrm phase hooks.
# the src_prepare, src_configure, src_compile, and src_install
# phase hooks.
inherit cmake-utils flag-o-matic multilib prefix
inherit cmake-utils flag-o-matic multilib prefix eutils
#
# HELPER FUNCTIONS:
@ -34,7 +34,7 @@ mysql-cmake_disable_test() {
testsuite="${rawtestname/.*}"
testname="${rawtestname/*.}"
for mysql_disabled_file in \
${S}/mysql-test/disabled.def \
${S}/mysql-test/disabled.def \
${S}/mysql-test/t/disabled.def ; do
[[ -f ${mysql_disabled_file} ]] && break
done
@ -44,8 +44,8 @@ mysql-cmake_disable_test() {
if [[ ( -n ${testsuite} ) && ( ${testsuite} != "main" ) ]]; then
for mysql_disabled_file in \
${S}/mysql-test/suite/${testsuite}/disabled.def \
${S}/mysql-test/suite/${testsuite}/t/disabled.def \
${S}/mysql-test/suite/${testsuite}/disabled.def \
${S}/mysql-test/suite/${testsuite}/t/disabled.def \
FAILED ; do
[[ -f ${mysql_disabled_file} ]] && break
done
@ -54,7 +54,7 @@ mysql-cmake_disable_test() {
else
for mysql_disabled_dir in \
${S}/mysql-test/suite/${testsuite} \
${S}/mysql-test/suite/${testsuite}/t \
${S}/mysql-test/suite/${testsuite}/t \
FAILED ; do
[[ -d ${mysql_disabled_dir} ]] && break
done
@ -67,6 +67,20 @@ mysql-cmake_disable_test() {
fi
}
# @FUNCTION: mysql-cmake_use_plugin
# @DESCRIPTION:
# Helper function to enable/disable plugins by use flags
# cmake-utils_use_with is not enough as some references check WITH_ (0|1)
# and some check WITHOUT_. Also, this can easily extend to non-storage plugins.
mysql-cmake_use_plugin() {
[[ -z $2 ]] && die "mysql-cmake_use_plugin <USE flag> <flag name>"
if use_if_iuse $1 ; then
echo "-DWITH_$2=1"
else
echo "-DWITHOUT_$2=1 -DWITH_$2=0"
fi
}
# @FUNCTION: configure_cmake_locale
# @DESCRIPTION:
# Helper function to configure locale cmake options
@ -103,14 +117,8 @@ configure_cmake_minimal() {
mycmakeargs+=(
-DWITHOUT_SERVER=1
-DWITHOUT_EMBEDDED_SERVER=1
-DENABLED_LOCAL_INFILE=1
-DEXTRA_CHARSETS=none
-DINSTALL_SQLBENCHDIR=
-DWITH_SSL=system
-DWITH_ZLIB=system
-DWITHOUT_LIBWRAP=1
-DWITH_READLINE=0
-DWITH_LIBEDIT=0
-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1
-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1
-DWITHOUT_CSV_STORAGE_ENGINE=1
@ -130,36 +138,27 @@ configure_cmake_minimal() {
configure_cmake_standard() {
mycmakeargs+=(
-DENABLED_LOCAL_INFILE=1
-DEXTRA_CHARSETS=all
-DMYSQL_USER=mysql
-DMYSQL_UNIX_ADDR=${EPREFIX}/var/run/mysqld/mysqld.sock
-DWITH_READLINE=0
-DWITH_LIBEDIT=0
-DWITH_ZLIB=system
-DWITHOUT_LIBWRAP=1
)
mycmakeargs+=(
$(cmake-utils_use_disable !static SHARED)
$(cmake-utils_use_with debug)
$(cmake-utils_use_with embedded EMBEDDED_SERVER)
$(cmake-utils_use_with profiling)
$(cmake-utils_use_enable systemtap DTRACE)
$(cmake-utils_use_enable static-libs STATIC_LIBS)
)
if use ssl; then
mycmakeargs+=( -DWITH_SSL=system )
else
mycmakeargs+=( -DWITH_SSL=bundled )
if use static; then
mycmakeargs+=( -DWITH_PIC=1 )
fi
if mysql_version_is_at_least "5.5" && use jemalloc; then
mycmakeargs+=( -DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' -DWITH_SAFEMALLOC=OFF )
if use jemalloc; then
mycmakeargs+=( -DWITH_SAFEMALLOC=OFF )
fi
if mysql_version_is_at_least "5.5" && use tcmalloc; then
mycmakeargs+=( -DCMAKE_EXE_LINKER_FLAGS='-ltcmalloc' -DWITH_SAFEMALLOC=OFF )
if use tcmalloc; then
mycmakeargs+=( -DWITH_SAFEMALLOC=OFF )
fi
# Storage engines
@ -175,19 +174,31 @@ configure_cmake_standard() {
$(cmake-utils_use_with extraengine FEDERATED_STORAGE_ENGINE)
)
if pbxt_available ; then
if in_iuse pbxt ; then
mycmakeargs+=( $(cmake-utils_use_with pbxt PBXT_STORAGE_ENGINE) )
fi
if [[ ${PN} == "mariadb" ]]; then
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]; then
mycmakeargs+=(
$(cmake-utils_use_with oqgraph OQGRAPH_STORAGE_ENGINE)
$(cmake-utils_use_with sphinx SPHINX_STORAGE_ENGINE)
$(cmake-utils_use_with extraengine FEDERATEDX_STORAGE_ENGINE)
$(mysql-cmake_use_plugin oqgraph OQGRAPH)
$(mysql-cmake_use_plugin sphinx SPHINX)
$(mysql-cmake_use_plugin extraengine FEDERATEDX)
$(mysql-cmake_use_plugin tokudb TOKUDB)
$(mysql-cmake_use_plugin pam AUTH_PAM)
)
if ! use pam ; then
mycmakeargs+=( -DAUTH_PAM_DISABLED=1 )
if mysql_version_is_at_least 10.0.5 ; then
# CassandraSE needs Apache Thrift which is not in portage
# TODO: Add use and deps for Connect SE external deps
mycmakeargs+=(
-DWITHOUT_CASSANDRA=1 -DWITH_CASSANDRA=0
$(mysql-cmake_use_plugin extraengine SEQUENCE)
$(mysql-cmake_use_plugin extraengine SPIDER)
$(mysql-cmake_use_plugin extraengine CONNECT)
-DCONNECT_WITH_MYSQL=1
$(cmake-utils_use xml CONNECT_WITH_LIBXML2)
$(cmake-utils_use odbc CONNECT_WITH_ODBC)
)
fi
fi
@ -196,6 +207,17 @@ configure_cmake_standard() {
$(cmake-utils_use_with pam)
)
fi
if [[ ${PN} == "mysql-cluster" ]]; then
# TODO: This really should include the following options,
# but the memcached package doesn't install the files it seeks.
# -DWITH_BUNDLED_MEMCACHED=OFF
# -DMEMCACHED_HOME=${EPREFIX}/usr
mycmakeargs+=(
-DWITH_BUNDLED_LIBEVENT=OFF
$(cmake-utils_use_with java NDB_JAVA)
)
fi
}
#
@ -211,21 +233,38 @@ mysql-cmake_src_prepare() {
cd "${S}"
# Apply the patches for this MySQL version
EPATCH_SUFFIX="patch"
mkdir -p "${EPATCH_SOURCE}" || die "Unable to create epatch directory"
# Clean out old items
rm -f "${EPATCH_SOURCE}"/*
# Now link in right patches
mysql_mv_patches
# And apply
epatch
if [[ ${MY_EXTRAS_VER} != none ]]; then
# Apply the patches for this MySQL version
EPATCH_SUFFIX="patch"
mkdir -p "${EPATCH_SOURCE}" || die "Unable to create epatch directory"
# Clean out old items
rm -f "${EPATCH_SOURCE}"/*
# Now link in right patches
mysql_mv_patches
# And apply
epatch
fi
# last -fPIC fixup, per bug #305873
i="${S}"/storage/innodb_plugin/plug.in
[[ -f ${i} ]] && sed -i -e '/CFLAGS/s,-prefer-non-pic,,g' "${i}"
rm -f "scripts/mysqlbug"
if use jemalloc && ! ( [[ ${PN} == "mariadb" ]] && mysql_version_is_at_least "5.5.33" ); then
echo "TARGET_LINK_LIBRARIES(mysqld jemalloc)" >> "${S}/sql/CMakeLists.txt"
fi
if use tcmalloc; then
echo "TARGET_LINK_LIBRARIES(mysqld tcmalloc)" >> "${S}/sql/CMakeLists.txt"
fi
if in_iuse tokudb ; then
# Don't build bundled xz-utils
rm -f "${S}/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake"
touch "${S}/storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake"
fi
epatch_user
}
@ -250,7 +289,8 @@ mysql-cmake_src_configure() {
-DINSTALL_DOCREADMEDIR=share/doc/${P}
-DINSTALL_INCLUDEDIR=include/mysql
-DINSTALL_INFODIR=share/info
-DINSTALL_LIBDIR=$(get_libdir)/mysql
-DINSTALL_LIBDIR=$(get_libdir)
-DINSTALL_ELIBDIR=$(get_libdir)/mysql
-DINSTALL_MANDIR=share/man
-DINSTALL_MYSQLDATADIR=${EPREFIX}/var/lib/mysql
-DINSTALL_MYSQLSHAREDIR=share/mysql
@ -262,15 +302,39 @@ mysql-cmake_src_configure() {
-DINSTALL_SUPPORTFILESDIR=${EPREFIX}/usr/share/mysql
-DWITH_COMMENT="Gentoo Linux ${PF}"
$(cmake-utils_use_with test UNIT_TESTS)
-DWITH_READLINE=0
-DWITH_LIBEDIT=0
-DWITH_ZLIB=system
-DWITHOUT_LIBWRAP=1
-DENABLED_LOCAL_INFILE=1
)
if [[ ${PN} == "mysql" || ${PN} == "percona-server" ]] && mysql_version_is_at_least "5.6.12" ; then
mycmakeargs+=( -DWITH_EDITLINE=system )
fi
if use ssl; then
mycmakeargs+=( -DWITH_SSL=system )
else
mycmakeargs+=( -DWITH_SSL=bundled )
fi
# Bug 412851
# MariaDB requires this flag to compile with GPLv3 readline linked
# Adds a warning about redistribution to configure
if [[ ${PN} == "mariadb" ]] ; then
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
mycmakeargs+=( -DNOT_FOR_DISTRIBUTION=1 )
fi
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]; then
if use jemalloc ; then
mycmakeargs+=( -DWITH_JEMALLOC="system" )
else
mycmakeargs+=( -DWITH_JEMALLOC=no )
fi
mysql_version_is_at_least "10.0.9" && mycmakeargs+=( -DWITH_PCRE=system )
fi
configure_cmake_locale
if use minimal ; then
@ -283,14 +347,14 @@ mysql-cmake_src_configure() {
filter-flags "-O" "-O[01]"
CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
# Causes linkage failures. Upstream bug #59607 removes it
CXXFLAGS="${CXXFLAGS} -felide-constructors"
# Causes linkage failures. Upstream bug #59607 removes it
if ! mysql_version_is_at_least "5.6" ; then
CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
fi
# As of 5.7, exceptions are used!
# As of 5.7, exceptions and rtti are used!
if ! mysql_version_is_at_least "5.7" ; then
CXXFLAGS="${CXXFLAGS} -fno-exceptions"
CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-rtti"
fi
export CXXFLAGS
@ -329,7 +393,7 @@ mysql-cmake_src_install() {
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqloptimize"
# Create a mariadb_config symlink
[[ ${PN} == "mariadb" ]] && dosym "/usr/bin/mysql_config" "/usr/bin/mariadb_config"
[[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] && dosym "/usr/bin/mysql_config" "/usr/bin/mariadb_config"
# INSTALL_LAYOUT=STANDALONE causes cmake to create a /usr/data dir
rm -Rf "${ED}/usr/data"
@ -337,15 +401,6 @@ mysql-cmake_src_install() {
# Various junk (my-*.cnf moved elsewhere)
einfo "Removing duplicate /usr/share/mysql files"
# Clean up stuff for a minimal build
# if use minimal ; then
# einfo "Remove all extra content for minimal build"
# rm -Rf "${D}${MY_SHAREDSTATEDIR}"/{mysql-test,sql-bench}
# rm -f "${ED}"/usr/bin/{mysql{_install_db,manager*,_secure_installation,_fix_privilege_tables,hotcopy,_convert_table_format,d_multi,_fix_extensions,_zap,_explain_log,_tableinfo,d_safe,_install,_waitpid,binlog,test},myisam*,isam*,pack_isam}
# rm -f "${ED}/usr/sbin/mysqld"
# rm -f "${D}${MY_LIBDIR}"/lib{heap,merge,nisam,my{sys,strings,sqld,isammrg,isam},vio,dbug}.a
# fi
# Unless they explicitly specific USE=test, then do not install the
# testsuite. It DOES have a use to be installed, esp. when you want to do a
# validation of your database configuration after tuning it.
@ -385,7 +440,7 @@ mysql-cmake_src_install() {
fi
diropts "-m0755"
for folder in "${MY_LOGDIR#${EPREFIX}}" "/var/run/mysqld" ; do
for folder in "${MY_LOGDIR#${EPREFIX}}" ; do
dodir "${folder}"
keepdir "${folder}"
chown -R mysql:mysql "${ED}/${folder}"
@ -410,12 +465,7 @@ mysql-cmake_src_install() {
done
fi
cat <<-EOF > "${T}"/80mysql-libdir
LDPATH="${EPREFIX}/usr/$(get_libdir)/mysql"
EOF
doenvd "${T}"/80mysql-libdir
#Remove mytop if perl is not selected
[[ ${PN} == "mariadb" ]] && ! use perl \
[[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] && ! use perl \
&& rm -f "${ED}/usr/bin/mytop"
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.26 2014/01/08 06:20:29 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.27 2014/04/22 02:00:28 jmbsvicetto Exp $
# @ECLASS: mysql-v2.eclass
# @MAINTAINER:
@ -71,6 +71,7 @@ S="${WORKDIR}/mysql"
if [[ ${MY_EXTRAS_VER} == "live" ]]; then
EGIT_PROJECT=mysql-extras
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
RESTRICT="userpriv"
fi
# @ECLASS-VARIABLE: MYSQL_PV_MAJOR
@ -80,6 +81,14 @@ fi
# mysql_upgrade.
MYSQL_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
# Cluster is a special case...
if [[ "${PN}" == "mysql-cluster" ]]; then
case $PV in
6.1*|7.0*|7.1*) MYSQL_PV_MAJOR=5.1 ;;
7.2*|7.3*) MYSQL_PV_MAJOR=5.5 ;;
esac
fi
# @ECLASS-VARIABLE: MYSQL_VERSION_ID
# @DESCRIPTION:
# MYSQL_VERSION_ID will be:
@ -116,15 +125,17 @@ mysql_version_is_at_least "5.1.50" || die "This eclass should only be used with
if [[ -z ${SERVER_URI} ]]; then
[[ -z ${MY_PV} ]] && MY_PV="${PV//_/-}"
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]; then
MARIA_FULL_PV=$(replace_version_separator 3 '-' ${MY_PV})
# Beginning with 5.5, MariaDB stopped putting beta, alpha or rc on their tarball names
mysql_version_is_at_least "5.5" && MARIA_FULL_PV=$(get_version_component_range 1-3) || \
MARIA_FULL_PV=$(replace_version_separator 3 '-' ${MY_PV})
MARIA_FULL_P="${PN}-${MARIA_FULL_PV}"
SERVER_URI="
http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://ftp.rediris.es/mirror/MariaDB/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://maria.llarian.net/download/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://launchpad.net/maria/${MYSQL_PV_MAJOR}/ongoing/+download/${MARIA_FULL_P}.tar.gz
http://mirrors.fe.up.pt/pub/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://ftp-stud.hs-esslingen.de/pub/Mirrors/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirror.jmu.edu/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirrors.coreix.net/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirrors.syringanetworks.net/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirrors.fe.up.pt/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
http://mirror2.hs-esslingen.de/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
"
if [[ ${PN} == "mariadb-galera" ]]; then
MY_SOURCEDIR="${PN%%-galera}-${MARIA_FULL_PV}"
@ -133,12 +144,19 @@ if [[ -z ${SERVER_URI} ]]; then
PERCONA_PN="Percona-Server"
MIRROR_PV=$(get_version_component_range 1-2 ${PV})
MY_PV=$(get_version_component_range 1-3 ${PV})
MY_PATCH=$(get_version_component_range 4 ${PV})
SERVER_URI="http://www.percona.com/redir/downloads/${PERCONA_PN}-${MIRROR_PV}/LATEST/source/${PERCONA_PN}-${MY_PV}-rel30.${MY_PATCH}.tar.gz"
# http://www.percona.com/redir/downloads/Percona-Server-5.5/LATEST/source/Percona-Server-5.5.30-rel30.2.tar.gz
PERCONA_RELEASE=$(get_version_component_range 4-5 ${PV})
PERCONA_RC=$(get_version_component_range 6 ${PV})
SERVER_URI="http://www.percona.com/redir/downloads/${PERCONA_PN}-${MIRROR_PV}/${PERCONA_PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}/source/tarball/${PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}.tar.gz"
# http://www.percona.com/redir/downloads/Percona-Server-5.5/LATEST/source/tarball/Percona-Server-5.5.30-30.2.tar.gz
# http://www.percona.com/redir/downloads/Percona-Server-5.6/Percona-Server-5.6.13-rc60.5/source/tarball/Percona-Server-5.6.13-rc60.5.tar.gz
else
URI_DIR="MySQL"
URI_FILE="mysql"
if [[ "${PN}" == "mysql-cluster" ]] ; then
URI_DIR="MySQL-Cluster"
URI_FILE="mysql-cluster-gpl"
else
URI_DIR="MySQL"
URI_FILE="mysql"
fi
URI_A="${URI_FILE}-${MY_PV}.tar.gz"
MIRROR_PV=$(get_version_component_range 1-2 ${PV})
# Recently upstream switched to an archive site, and not on mirrors
@ -181,27 +199,29 @@ case "${BUILD}" in
IUSE="big-tables debug embedded minimal +perl selinux ssl static test"
;;
"cmake")
IUSE="debug embedded minimal +perl selinux ssl static test"
IUSE="debug embedded minimal +perl selinux ssl static static-libs test"
;;
esac
IUSE="${IUSE} latin1"
IUSE="${IUSE} extraengine"
IUSE="${IUSE} cluster"
IUSE="${IUSE} max-idx-128"
IUSE="${IUSE} +community profiling"
# Common IUSE
IUSE="${IUSE} latin1 extraengine cluster max-idx-128 +community profiling"
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]; then
mysql_check_version_range "5.1.38 to 5.3.99" && IUSE="${IUSE} libevent"
mysql_version_is_at_least "5.2" && IUSE="${IUSE} oqgraph"
mysql_version_is_at_least "5.2.5" && IUSE="${IUSE} sphinx"
mysql_version_is_at_least "5.2" && IUSE="${IUSE} oqgraph" && \
REQUIRED_USE="${REQUIRED_USE} minimal? ( !oqgraph )"
mysql_version_is_at_least "5.2.5" && IUSE="${IUSE} sphinx" && \
REQUIRED_USE="${REQUIRED_USE} minimal? ( !sphinx )"
mysql_version_is_at_least "5.2.10" && IUSE="${IUSE} pam"
# 5.5.33 and 10.0.5 add TokuDB. Authors strongly recommend jemalloc or perfomance suffers
mysql_version_is_at_least "10.0.5" && IUSE="${IUSE} tokudb odbc xml" && \
REQUIRED_USE="${REQUIRED_USE} odbc? ( extraengine ) xml? ( extraengine ) tokudb? ( jemalloc )"
mysql_check_version_range "5.5.33 to 5.5.99" && IUSE="${IUSE} tokudb" && \
REQUIRED_USE="${REQUIRED_USE} tokudb? ( jemalloc )"
fi
if mysql_version_is_at_least "5.5"; then
REQUIRED_USE="tcmalloc? ( !jemalloc ) jemalloc? ( !tcmalloc )"
REQUIRED_USE="${REQUIRED_USE} tcmalloc? ( !jemalloc ) jemalloc? ( !tcmalloc )"
IUSE="${IUSE} jemalloc tcmalloc"
fi
@ -226,9 +246,17 @@ DEPEND="
kernel_linux? ( sys-process/procps )
>=sys-apps/sed-4
>=sys-apps/texinfo-4.7-r1
>=sys-libs/readline-4.1
>=sys-libs/zlib-1.2.3
"
# TODO: add this as a dep if it is moved from the overlay
# !dev-db/mariadb-native-client[mysqlcompat]
# dev-db/mysql-5.6.12+ only works with dev-libs/libedit
if [[ ${PN} == "mysql" || ${PN} == "percona-server" ]] && mysql_version_is_at_least "5.6.12" ; then
DEPEND="${DEPEND} dev-libs/libedit"
else
DEPEND="${DEPEND} >=sys-libs/readline-4.1"
fi
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
mysql_check_version_range "5.1.38 to 5.3.99" && DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )"
@ -237,22 +265,41 @@ if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
mysql_version_is_at_least "5.2.10" && DEPEND="${DEPEND} !minimal? ( pam? ( virtual/pam ) )"
# Bug 441700 MariaDB >=5.3 include custom mytop
mysql_version_is_at_least "5.3" && DEPEND="${DEPEND} perl? ( !dev-db/mytop )"
if mysql_version_is_at_least "10.0.5" ; then
DEPEND="${DEPEND}
odbc? ( dev-db/unixODBC )
xml? ( dev-libs/libxml2 )
"
fi
mysql_version_is_at_least "10.0.7" && DEPEND="${DEPEND} oqgraph? ( dev-libs/judy )"
if mysql_version_is_at_least "10.0.9" ; then
use embedded && DEPEND="${DEPEND} >=dev-libs/libpcre-8.35[static-libs]" || \
DEPEND="${DEPEND} >=dev-libs/libpcre-8.35"
fi
fi
# Having different flavours at the same time is not a good idea
for i in "mysql" "mariadb" "mariadb-galera" "percona-server"; do
for i in "mysql" "mariadb" "mariadb-galera" "percona-server" "mysql-cluster" ; do
[[ ${i} == ${PN} ]] ||
DEPEND="${DEPEND} !dev-db/${i}"
done
if mysql_version_is_at_least "5.5" ; then
DEPEND="${DEPEND} jemalloc? ( dev-libs/jemalloc )"
DEPEND="${DEPEND} tcmalloc? ( dev-util/google-perftools )"
if mysql_version_is_at_least "5.5.7" ; then
DEPEND="${DEPEND}
jemalloc? ( dev-libs/jemalloc[static-libs?] )
tcmalloc? ( dev-util/google-perftools )
>=sys-libs/zlib-1.2.3[static-libs?]
ssl? ( >=dev-libs/openssl-0.9.6d[static-libs?] )
systemtap? ( >=dev-util/systemtap-1.3 )
kernel_linux? ( dev-libs/libaio )
"
fi
if mysql_version_is_at_least "5.5.7" ; then
DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )"
DEPEND="${DEPEND} kernel_linux? ( dev-libs/libaio )"
if [[ ${PN} == "mysql-cluster" ]] ; then
# TODO: This really should include net-misc/memcached
# but the package does not install the files it seeks.
mysql_version_is_at_least "7.2.3" && \
DEPEND="${DEPEND} dev-libs/libevent"
fi
# prefix: first need to implement something for #196294
@ -264,14 +311,31 @@ RDEPEND="${DEPEND}
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
# Bug 455016 Add dependencies of mytop
if mysql_version_is_at_least "5.3" ; then
RDEPEND="${RDEPEND} perl? (
virtual/perl-Getopt-Long
dev-perl/TermReadKey
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes ) "
RDEPEND="${RDEPEND}
perl? (
virtual/perl-Getopt-Long
dev-perl/TermReadKey
virtual/perl-Term-ANSIColor
virtual/perl-Time-HiRes
)
"
fi
fi
if [[ ${PN} == "mariadb-galera" ]] ; then
# The wsrep API version must match between the ebuild and sys-cluster/galera.
# This will be indicated by WSREP_REVISION in the ebuild and the first number
# in the version of sys-cluster/galera
RDEPEND="${RDEPEND}
=sys-cluster/galera-${WSREP_REVISION}*
"
fi
if [[ ${PN} == "mysql-cluster" ]] ; then
mysql_version_is_at_least "7.2.9" && RDEPEND="${RDEPEND} java? ( >=virtual/jre-1.6 )" && \
DEPEND="${DEPEND} java? ( >=virtual/jdk-1.6 )"
fi
DEPEND="${DEPEND}
virtual/yacc
"
@ -290,13 +354,13 @@ fi
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
# For other stuff to bring us in
PDEPEND="${PDEPEND} =virtual/mysql-${MYSQL_PV_MAJOR}"
PDEPEND="${PDEPEND} ~virtual/mysql-${MYSQL_PV_MAJOR}"
#
# External patches
#
# MariaDB has integrated PBXT
# MariaDB has integrated PBXT until it was dropped in version 5.5.33
# PBXT_VERSION means that we have a PBXT patch for this PV
# PBXT was only introduced after 5.1.12
pbxt_patch_available() {
@ -305,7 +369,7 @@ pbxt_patch_available() {
}
pbxt_available() {
pbxt_patch_available || [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]
pbxt_patch_available || [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] && mysql_check_version_range "5.1 to 5.5.32"
return $?
}
@ -380,10 +444,10 @@ configure_common() {
# @FUNCTION: mysql-v2_pkg_setup
# @DESCRIPTION:
# Perform some basic tests and tasks during pkg_setup phase:
# die if FEATURES="test", USE="-minimal" and not using FEATURES="userpriv"
# check for conflicting use flags
# create new user and group for mysql
# warn about deprecated features
# die if FEATURES="test", USE="-minimal" and not using FEATURES="userpriv"
# check for conflicting use flags
# create new user and group for mysql
# warn about deprecated features
mysql-v2_pkg_setup() {
if has test ${FEATURES} ; then
@ -404,11 +468,22 @@ mysql-v2_pkg_setup() {
enewgroup mysql 60 || die "problem adding 'mysql' group"
enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
if use cluster; then
if use cluster && [[ "${PN}" != "mysql-cluster" ]]; then
ewarn "Upstream has noted that the NDB cluster support in the 5.0 and"
ewarn "5.1 series should NOT be put into production. In the near"
ewarn "future, it will be disabled from building."
fi
if [[ ${PN} == "mysql-cluster" ]] ; then
mysql_version_is_at_least "7.2.9" && java-pkg-opt-2_pkg_setup
fi
if use_if_iuse tokudb && [[ $(gcc-version) < 4.7 ]] ; then
eerror "${PN} with tokudb needs to be built with gcc-4.7 or later."
eerror "Please use gcc-config to switch to gcc-4.7 or later version."
die
fi
}
# @FUNCTION: mysql-v2_src_unpack
@ -431,6 +506,9 @@ mysql-v2_src_unpack() {
# Apply patches to the source code and remove unneeded bundled libs.
mysql-v2_src_prepare() {
${BUILD_INHERIT}_src_prepare "$@"
if [[ ${PN} == "mysql-cluster" ]] ; then
mysql_version_is_at_least "7.2.9" && java-pkg-opt-2_src_prepare
fi
}
# @FUNCTION: mysql-v2_src_configure
@ -458,6 +536,9 @@ mysql-v2_src_install() {
# @DESCRIPTION:
# Create the user and groups for mysql - die if that fails.
mysql-v2_pkg_preinst() {
if [[ ${PN} == "mysql-cluster" ]] ; then
mysql_version_is_at_least "7.2.9" && java-pkg-opt-2_pkg_preinst
fi
enewgroup mysql 60 || die "problem adding 'mysql' group"
enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
}
@ -465,11 +546,11 @@ mysql-v2_pkg_preinst() {
# @FUNCTION: mysql-v2_pkg_postinst
# @DESCRIPTION:
# Run post-installation tasks:
# create the dir for logfiles if non-existant
# touch the logfiles and secure them
# install scripts
# issue required steps for optional features
# issue deprecation warnings
# create the dir for logfiles if non-existant
# touch the logfiles and secure them
# install scripts
# issue required steps for optional features
# issue deprecation warnings
mysql-v2_pkg_postinst() {
# Make sure the vars are correctly initialized
@ -502,13 +583,14 @@ mysql-v2_pkg_postinst() {
fi
done
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] \
&& mysql_version_is_at_least "5.2.10" && use pam ; then
einfo
elog "This install includes the PAM authentication plugin."
elog "To activate and configure the PAM plugin, please read:"
elog "https://kb.askmonty.org/en/pam-authentication-plugin/"
einfo
if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then
if use_if_iuse pam ; then
einfo
elog "This install includes the PAM authentication plugin."
elog "To activate and configure the PAM plugin, please read:"
elog "https://kb.askmonty.org/en/pam-authentication-plugin/"
einfo
fi
fi
einfo
@ -521,9 +603,19 @@ mysql-v2_pkg_postinst() {
elog "If you are upgrading major versions, you should run the"
elog "mysql_upgrade tool."
einfo
if [[ ${PN} == "mariadb-galera" ]] ; then
einfo
elog "Be sure to edit the my.cnf file to activate your cluster settings."
elog "This should be done after running \"emerge --config =${CATEGORY}/${PF}\""
elog "The first time the cluster is activated, you should add"
elog "--wsrep-new-cluster to the options in /etc/conf.d/mysql for one node."
elog "This option should then be removed for subsequent starts."
einfo
fi
fi
if pbxt_available && use pbxt ; then
if use_if_iuse pbxt ; then
elog "Note: PBXT is now statically built when enabled."
elog ""
elog "If, you previously installed as a plugin and "
@ -531,11 +623,11 @@ mysql-v2_pkg_postinst() {
elog "remove the ${MY_DATADIR}/mysql/plugin.* files, then"
elog "use the MySQL upgrade script to restore the table"
elog "or execute the following SQL command:"
elog " CREATE TABLE IF NOT EXISTS plugin ("
elog " name char(64) binary DEFAULT '' NOT NULL,"
elog " dl char(128) DEFAULT '' NOT NULL,"
elog " PRIMARY KEY (name)"
elog " ) CHARACTER SET utf8 COLLATE utf8_bin;"
elog " CREATE TABLE IF NOT EXISTS plugin ("
elog " name char(64) binary DEFAULT '' NOT NULL,"
elog " dl char(128) DEFAULT '' NOT NULL,"
elog " PRIMARY KEY (name)"
elog " ) CHARACTER SET utf8 COLLATE utf8_bin;"
fi
}
@ -599,7 +691,7 @@ mysql-v2_pkg_config() {
ewarn "Attempting to use ${MY_DATADIR_s}"
else
eerror "New MY_DATADIR (${MY_DATADIR_s}) does not exist"
die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}"
die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}"
fi
fi
fi
@ -684,6 +776,10 @@ mysql-v2_pkg_config() {
use prefix || options="${options} --user=mysql"
# Fix bug 446200. Don't reference host my.cnf
use prefix && [[ -f "${MY_SYSCONFDIR}/my.cnf" ]] \
&& options="${options} '--defaults-file=${MY_SYSCONFDIR}/my.cnf'"
pushd "${TMPDIR}" &>/dev/null
#cmd="'${EROOT}/usr/share/mysql/scripts/mysql_install_db' '--basedir=${EPREFIX}/usr' ${options}"
cmd=${EROOT}usr/share/mysql/scripts/mysql_install_db

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.38 2013/12/30 08:25:35 dirtyepic Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.39 2014/04/21 21:55:31 ottxor Exp $
# @ECLASS: wxwidgets.eclass
# @MAINTAINER:
@ -59,7 +59,7 @@ inherit eutils multilib
# inheriting.
if [[ -z ${WX_CONFIG} ]]; then
if [[ -n ${WX_GTK_VER} ]]; then
for wxtoolkit in gtk2 base; do
for wxtoolkit in mac gtk2 base; do
# newer versions don't have a seperate debug profile
for wxdebug in xxx release- debug-; do
wxconf="${wxtoolkit}-unicode-${wxdebug/xxx/}${WX_GTK_VER}"
@ -109,7 +109,9 @@ need-wxwidgets() {
esac
# wxbase is provided by both gtk2 and base installations
if has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
if has_version "x11-libs/wxGTK:${WX_GTK_VER}[aqua]"; then
wxtoolkit="mac"
elif has_version "x11-libs/wxGTK:${WX_GTK_VER}[X]"; then
wxtoolkit="gtk2"
else
wxtoolkit="base"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save