parent
223f736ec8
commit
8b412ddf16
@ -1,3 +1,2 @@
|
||||
DIST ebuild-mode-1.24.tar.xz 28816 SHA256 366fa7602d32cda107b560e9a24540a3a5b90fdda58d84a1d108e8a4c6a488ff SHA512 0894ad452b64133c223a4f93755404657eed5cf86667e45ce5c808d2232755bcedd835f1bbab1bd719ce850d56c6d92e339c4262ab0d7cc8aa42e039023db99d WHIRLPOOL ff38c8736051a6f6c34d00103b8f1fa2fe40ce910cc14187e9d95b11d7aa665ba03497b52b324d2e7b0e7c29da1d99e267a1934d5e2434bf986e863afb925801
|
||||
DIST ebuild-mode-1.25.tar.xz 28860 SHA256 192aa733c74b198e9cfdb242920302a29ada1d8e0e9c7072edf28957df4f3cc1 SHA512 ce69e8141864e8f3b08301dc4566af38d4546f1d344d12bcec8450c3d4e3bf6c5d83ad9279dc6a15f6dcc685b7ffe70ae55d3cd246e8022174b399027a206822 WHIRLPOOL 0a907ed56899f44d099d4c57540599567b77a108e42eafb625e6f894e0493525db083e153cdc1a4eeb844e0d401034eeaf0d0e2931030aa98852b533438438e1
|
||||
DIST ebuild-mode-1.26.tar.xz 28636 SHA256 dbcf352575f478a2c68435863c9b14ebc2b4039608ec8af19905b649210fe45d SHA512 fa24435d5f7dca1bfb66478bbceefe2dc8f32aaeb03c7900da8d4c825e4a791c2186ac1ee44c401ff82d4a93fca718f3959318ab14bceb166c1794dd74dcd347 WHIRLPOOL fc510adbb071dae2855c34537c7ad726f35c6bfca9cbd480c407bb5461a23b2ec58f3502aaccaa1735398b6196aa98fbede8d6e6fca5da5b895583029ac8be1d
|
||||
DIST ebuild-mode-1.27.tar.xz 29040 SHA256 06b682c5132f513d1a22ad96beca8bbb7d632aa73b094cc79cd1109c7a5bcfe2 SHA512 7f8608f66bb5fd665059019cccbae4729e1fd3389628428c8c83d0a8694b3de78217da255b5858c91df40925c7c859d1cb1806adf98f97c2441c6e71444713ec WHIRLPOOL 364f35d89c8137f6c6c9c257a99780e69dce93cd077b9e12ef4944c924f042fb3bc1da9fddae08ede385f3faf13e5c22533c5a566ce891ff93d39bae758a7b62
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ebuild-mode/ebuild-mode-1.24.ebuild,v 1.11 2014/01/18 19:57:42 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOC_CONTENTS="Some optional features may require installation of additional
|
||||
packages, like app-portage/gentoolkit-dev for echangelog."
|
@ -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-emacs/ebuild-mode/ebuild-mode-1.25.ebuild,v 1.1 2014/01/23 14:49:03 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ebuild-mode/ebuild-mode-1.27.ebuild,v 1.1 2014/11/18 09:57:01 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,7 +0,0 @@
|
||||
./logos/gentoo.logo
|
||||
./logos/gentoo2.logo
|
||||
./logos/banner-simplified.logo
|
||||
./logos/banner.logo
|
||||
./logos/classic-no_periods.logo
|
||||
./logos/classic-no_periods_or_chars.logo
|
||||
./logos/classic.logo
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-5.11-r1.ebuild,v 1.6 2012/09/13 03:47:59 ottxor Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information"
|
||||
HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/"
|
||||
SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/logo_config "${S}/" || die
|
||||
cp "${FILESDIR}"/gentoo{,2}.logo "${S}"/logos/ \
|
||||
|| die "Unable to copy Gentoo logos"
|
||||
echo "NAME gentoo" >> "${S}"/logos/gentoo.logo
|
||||
# Remove warn_unused_result warning
|
||||
sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \
|
||||
-e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ARCH="" ./configure --prefix="${ED}"/usr || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${P}.conf ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos."
|
||||
elog ""
|
||||
elog "To display the first Gentoo logo type: linux_logo -L gentoo"
|
||||
elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt"
|
||||
elog "To display all the logos available type: linux_logo -L list."
|
||||
elog ""
|
||||
elog "To start linux_logo on boot, please type:"
|
||||
elog " rc-update add linux-logo default"
|
||||
elog "which uses the settings found in"
|
||||
elog " /etc/conf.d/linux-logo"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Restore issue files
|
||||
mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null
|
||||
mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/linux-logo/linux-logo-5.11-r2.ebuild,v 1.4 2014/01/11 09:37:52 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs systemd
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information"
|
||||
HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/"
|
||||
SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/logo_config "${S}/" || die
|
||||
cp "${FILESDIR}"/linux_logo_creator "${S}/" || die
|
||||
cp "${FILESDIR}"/linux-logo.service "${S}/" || die
|
||||
cp "${FILESDIR}"/gentoo{,2}.logo "${S}"/logos/ \
|
||||
|| die "Unable to copy Gentoo logos"
|
||||
echo "NAME gentoo" >> "${S}"/logos/gentoo.logo
|
||||
# Remove warn_unused_result warning
|
||||
sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \
|
||||
-e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ARCH="" ./configure --prefix="${ED}"/usr || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ
|
||||
|
||||
dobin "${FILESDIR}"/linux_logo_creator
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
newconfd "${FILESDIR}"/${P}.conf ${PN}
|
||||
|
||||
# systemd support
|
||||
systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos."
|
||||
elog ""
|
||||
elog "To display the first Gentoo logo type: linux_logo -L gentoo"
|
||||
elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt"
|
||||
elog "To display all the logos available type: linux_logo -L list."
|
||||
elog ""
|
||||
elog "To start linux_logo on boot, please type:"
|
||||
elog " rc-update add linux-logo default"
|
||||
elog "or for systemd"
|
||||
elog " systemctl enable linux-logo.service"
|
||||
elog "which uses the settings found in"
|
||||
elog " /etc/conf.d/linux-logo"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Restore issue files
|
||||
mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null
|
||||
mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST uptimed-0.3.17.tar.bz2 269102 SHA256 524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06 SHA512 d462fa435b07bc335738dfccddd374aaa94fe2671a652afb8cb85d5e69e2148c296dec2a575ef074675e64e5453cb2d0807f80b191d9aeb5233168a617e842c5 WHIRLPOOL 38ce1ec75a0a3b82d448d85f256dce4b77265e59dead4557c8a039056bd2f230355cffb90a776badc351315d072c10d227744905b8fcc6b3f6f32ac7d6492125
|
||||
DIST uptimed-0.3.18.tar.gz 397295 SHA256 fe9c0c78c8fca1ef9b61474f2039dc3634f2caf1c547b7ddc7a4eaa31238b2c9 SHA512 6ccc9eebec2ed1b4dd0cc11590ba277c7ed453c244207772c26d147682627e47e7265e1b599ed505fb8aae8b013c61e77889e9d5ed638f994b579142b85fed1f WHIRLPOOL 848ff159267bb71fa5b8a63f55a954d21c125306d1defb60c807921130c820c8576a050326ba0fe718805f34b17c4092a01b534ffdc852599da47ced0a754b19
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.18.ebuild,v 1.1 2014/11/18 10:36:09 polynomial-c Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils user systemd
|
||||
|
||||
DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes"
|
||||
HOMEPAGE="https://github.com/rpodgorny/uptimed/"
|
||||
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup uptimed
|
||||
enewuser uptimed -1 -1 -1 uptimed
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# respect DESTDIR
|
||||
sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
|
||||
# fix configure.ac for >=automake-1.13 (bug #467582)
|
||||
sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
keepdir /var/spool/uptimed
|
||||
fowners uptimed:uptimed /var/spool/uptimed
|
||||
dodoc ChangeLog README TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
|
||||
newinitd "${FILESDIR}"/uptimed.init uptimed
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Fixing permissions in /var/spool/${PN}"
|
||||
chown -R uptimed:uptimed /var/spool/${PN}
|
||||
echo
|
||||
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"
|
||||
elog "or systemctl start uptimed (for systemd)"
|
||||
elog "To view your uptime records, use the command 'uprecords'."
|
||||
echo
|
||||
}
|
@ -1,42 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit-dev/gentoolkit-dev-9999.ebuild,v 1.11 2014/02/01 20:42:08 vikraman Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit-dev/gentoolkit-dev-9999.ebuild,v 1.13 2014/11/18 08:53:38 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
PYTHON_USE_WITH="xml"
|
||||
|
||||
EGIT_MASTER="gentoolkit-dev"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit git-2 python
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit git-r3 python-r1
|
||||
|
||||
DESCRIPTION="Collection of developer scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/gentoolkit.git
|
||||
http://git.overlays.gentoo.org/gitroot/proj/gentoolkit.git"
|
||||
EGIT_BRANCH="gentoolkit-dev"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="sys-apps/portage
|
||||
CDEPEND="
|
||||
sys-apps/portage[${PYTHON_USEDEP}]
|
||||
dev-lang/perl
|
||||
sys-apps/diffutils"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
test? ( ${CDEPEND} )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
${CDEPEND}"
|
||||
|
||||
|
||||
src_test() {
|
||||
# echangelog test is not able to run as root
|
||||
# the EUID check may not work for everybody
|
||||
if [[ ${EUID} -ne 0 ]];
|
||||
then
|
||||
emake test || die
|
||||
python_foreach_impl emake test
|
||||
else
|
||||
ewarn "test skipped, please re-run as non-root if you wish to test ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" VERSION="${PV}" install || die
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
python_replicate_script "${ED}"/usr/bin/{ekeyword,imlate}
|
||||
}
|
||||
|
@ -1 +1,2 @@
|
||||
DIST async-0.6.1.tar.gz 36243 SHA256 41d14cc0456e03f34d13af284f65821d07d05c20e621bcaebd38f9ab5095d5d1 SHA512 1b144ecf6fa0683b5fcaef3a619a1324995150bf885c83c2d048e1cf691a64c0a627aff9501158615c900f7ad3a1954e1ce7bcea86703a34bf9a592f10d5eb38 WHIRLPOOL 59f7ea76842fb5118687f80bf89663fd2381f314fcaced62658b32721b484f81c74bf0d7096f0fa0f72ac149e1bd11f49c3922db28f4a04e48ac00e27e5ff7ea
|
||||
DIST async-0.6.2.tar.gz 30177 SHA256 ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051 SHA512 6d3376e2d40e07a402cdcc17d0b1789883d5aa5fa24931ed0bfd98bf32454fd126b3591e3c0dc3acea37c0bfe0d27cc65df42a44c92f0bd13e4bbb7a477ff69c WHIRLPOOL 553c9d18fd38daa9bd7e5f8246c181ba429e1a346be5e85ebd9a611c8ce61beab09db172705ee6afd58bf3cc5e6434ebe97924d7adcd7a6322b0e82d6a2dcd71
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/async/async-0.6.2.ebuild,v 1.1 2014/11/18 10:11:08 jlec Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Async Framework"
|
||||
HOMEPAGE="
|
||||
http://gitorious.org/git-python/async
|
||||
http://pypi.python.org/pypi/async"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">async</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">async</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST GitPython-0.1.7.tar.gz 18087 SHA256 03754bc7b256397c1b646e5048e2291590f5080171adb8b00f4e2d7384c76eee SHA512 e0721409fea009548773b7410051d4295be850683dbc45c692a142e3a8abebe12d3452b95384818170eef9a43ba1c3664f5ebe2702fcd7f6a9d8f1a46ab18083 WHIRLPOOL ab6017daea5b3e87d0ee58d7dfc9b40ad8f5434e8f7ec51df4ec5e6d680827dc2ea1225253b1ccff8855fd9cd9e6548f60d3b20be1de58c5560612cb8babddd6
|
||||
DIST GitPython-0.3.2.1.tar.gz 316777 SHA256 68a842b7f780863894c334ec0bc1315b7ba53142773f1fea6643f72c1f54046d SHA512 0361dcfa6d204f5c22ba7664f9522319934e702f54267723f3285a4a3f3a2ec238dbe6ddaf3a8d98f5bf5eaac3827aca3aeaa0c87bfba8b877ae4787c5996467 WHIRLPOOL fb384b9ba45c3edc35b8785fdd337eb2eecc9b9bb1fe4b671d45e73f875ffa1f06d65944552adcff3405e381aa96d53a40d1603eef6455f70a891dc048a78594
|
||||
DIST GitPython-0.3.2.tar.gz 314927 SHA256 094837061ed6d49f5f35fac36fb5885a73d267282d2aff0564e8705d2323e531 SHA512 8fede62d423a783c10dc305ec9aa3ba8f1b7f2cc9bc4ca0abaab7b01ec7f9f9afedc11600612c4aeaffe2e7e63f55deff56eeabf02010c83a930aa922ed165a4 WHIRLPOOL 10fbcb1f061268e0e7013e0536e4dd05fbff7c3dcbd88b2ee3715aeb9f991c0c77d587fed3ccfc1ac0da4843d3da3aba3f780466447d42dc4e083c723f6a9228
|
||||
|
@ -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-python/git-python/git-python-0.3.2.1.ebuild,v 1.1 2014/11/18 10:23:03 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#https://github.com/gitpython-developers/GitPython/issues/209
|
||||
#PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="GitPython"
|
||||
MY_PV="${PV/_rc/.RC}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Library used to interact with Git repositories"
|
||||
HOMEPAGE="http://gitorious.org/git-python http://pypi.python.org/pypi/GitPython"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
#Tests dont make sense without a git repo
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/git
|
||||
>=dev-python/gitdb-0.6.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1 +1,2 @@
|
||||
DIST gitdb-0.5.4.tar.gz 50258 SHA256 de5d2dac0daec4a9cd7bb1ae1cd42d53510dcf597397c608c12a154b69ad3783 SHA512 0ee1bb8c818ddb4c7801c62e4dcde4f4b39d0df9b344624c647f9b35cb7667e37bc6e0c61d163f4c4a6fb6e4c3da27ca088cba60d65ae0cf7e3473946bd2d353 WHIRLPOOL 2c00eda2a38e6d2621a9c079e726f5038460dd7b557da1b80a25c767e2e795a4eafd603f3db9d0c8b3b7ca48795782360e9223891b6b2c2ffbe78e371c1e5bf9
|
||||
DIST gitdb-0.6.0.tar.gz 51463 SHA256 f328b68e51d3b4edf0a9edfc34840cbb6a0f6e69c4cfaf58bbcfedc112192d77 SHA512 649dbc25181020ed34b699cbc3275248ed7f47110bc1bb331484c6faa5cacca92940d17881943fb7bae5127abba02721d79a105fdbd0b1da90c9155690b080c9 WHIRLPOOL 7d8cb27e5d05e36b90142df373431229c525e07ba47aa2bae065483ccd025a27440ed788f3c138290b2cf8f9e910a00c6b5a7b35a5f249dff85b764d51c0ece3
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gitdb/gitdb-0.6.0.ebuild,v 1.1 2014/11/18 10:11:54 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="GitDB is a pure-Python git object database"
|
||||
HOMEPAGE="
|
||||
https://github.com/gitpython-developers/gitdb
|
||||
http://pypi.python.org/pypi/gitdb"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/git
|
||||
>=dev-python/async-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/smmap-0.8.3[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">gitdb</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">gitdb</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST nosexcover-1.0.10.tar.gz 2744 SHA256 f5b3a7c936c4f703f15418c1f325775098184b69fa572f868edb8a99f8f144a8 SHA512 dbc3bc3379676d56711c96a4cf2d6b46ee77b5b04ac6a5fb2d58fee780ee547664738b9c6b248e3af64b3d0b7e6c9b44310c8e7025551df543c547da4239f52a WHIRLPOOL a7549547b9423ff32977dfea4dfd7babce05e637a3379b3b7e2d63c711608214ddd0495a09f5e7b5ef9560d46f82ef1727ec75e47f96a95245b0c0148093b4ad
|
||||
DIST nosexcover-1.0.7.tar.gz 2389 SHA256 2284c504e7ca9c5e36e5777f354b9224dff1f68d52f63aba62a0d50a241a824b SHA512 5f9934b3ab636e16edceec9f6b1a1558aca56934053474f3e0ef1bb557a5489756b3e764452840189a8c971fbab7e0a2f3d298c0b999d67ce280885486ea779d WHIRLPOOL 49124645a4232c8fc157460065e8ed4fc26dadb0e7de67cb3534c3c0e3cb6935ce467ec68b2215c787174bb70f9925e8590c05b21b44a815b0624a765b09e3f9
|
||||
DIST nosexcover-1.0.8.tar.gz 2463 SHA256 060d93ec8d5c302d6873866e3102af76ae2520b2e3b141fa6d610ff02b458ad4 SHA512 27b821bf56ab436276a2010972027510377fcfbc394b7cf759d0ba23039f0dcbf01e16e77a0d0cd1911ce2b86cce882a0e4334317286763986e38e8e786c29d2 WHIRLPOOL 76702f330fb0cc49ffbab650fb71bacfbfcb939afc382186c0bfdfc9312e087e4f4624be94ed9c8b105c7bda1acab9ad46c23c7b9a6cdc9c97d8360ef3e67ca3
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<herd>openstack</herd>
|
||||
<herd>python</herd>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/nosexcover/nosexcover-1.0.10.ebuild,v 1.1 2014/11/18 09:58:26 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Extends nose.plugins.cover to add Cobertura-style XML reports"
|
||||
HOMEPAGE="https://github.com/cmheisel/nose-xcover/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.4[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST smmap-0.8.1.tar.gz 19205 SHA256 6415a0f3bc98c8e1f287dfd35f758caee4cdcefbc9068e036a521267444b3e83 SHA512 0a54285b8fdc2d08316f3b990a38021916aa433158f627d3cb59207c9c3154944969276a893d1f2855454ac75f38fd3b67c719e9ea7f077e006d420e15f83fd3 WHIRLPOOL 3f3fa14e9ebc7703ebe009da39952793807ad25464c157144196ffe639aaabb53c547701379b64c8eab0735968a8366cfb94e5070bdd0a1749606a0c9be8d918
|
||||
DIST smmap-0.8.2.tar.gz 20942 SHA256 dea2955cc045ec5527da6b762f7e95a5be7f645c683b54ccce52d56b4d7e2d6f SHA512 b972cc4ec58db64d4d960480b4fa9ffd33997b16799789c392013e054841e1bae96465bf4debce5a8bd6714b1eb521994aa1e54d46c0191c02aed423c7d9be7c WHIRLPOOL 6c0993f40f9c3af32319ab68100ffa6da76bc799765c99df759f0ff4dff0d665212e8cebde5a8dfe6722c9712485bfb50f3498bd229b906564ceb8f7b96eb8c1
|
||||
DIST smmap-0.8.3.tar.gz 21787 SHA256 9b336afff785e8934afe22a520d2c88574ae716aaf3ce8290581af943ba6fdde SHA512 dff14f25487d83ac348d3f4c9556f6e972c4e1166ac70cc9ca0b70a7e210750a67f4ed85203bebdacc6e8f912cabf55135a0da26c7ae2b017caf2f1682b22608 WHIRLPOOL 3eb3979877ff43c1c518b9313228f52627621ac187c416b61e43f1be1dbb1efc5661ba62a4d3088ed8143a780404296d26b729dab9ff6e9432f78069dfb95b1a
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">smmap</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">smmap</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -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/smmap/smmap-0.8.3.ebuild,v 1.1 2014/11/18 10:03:12 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure git implementation of a sliding window memory map manager"
|
||||
HOMEPAGE="
|
||||
http://pypi.python.org/pypi/smmap
|
||||
https://github.com/Byron/smmap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nosexcover[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,55 +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/bluecloth/bluecloth-2.2.0.ebuild,v 1.18 2014/05/15 01:05:38 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A Ruby implementation of Markdown"
|
||||
HOMEPAGE="http://www.deveiate.org/projects/BlueCloth"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${DEPEND} doc? ( dev-lang/perl )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/hoe
|
||||
dev-ruby/rake-compiler
|
||||
test? (
|
||||
dev-ruby/diff-lcs
|
||||
dev-ruby/tidy-ext
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# for Ruby 1.9.2 compatibility
|
||||
sed -i -e '1i $: << "."' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
rake man/man1/bluecloth.1
|
||||
|
||||
all_fakegem_compile
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake compile || die "extension build failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
doman man/man1/bluecloth.1
|
||||
|
||||
all_fakegem_install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST diff-lcs-1.1.3.gem 41472 SHA256 fb8291deabeaacf9adbdcaf988db176ae461f833770ff2947191ead4ead09897 SHA512 672c59f8d14d8612e9fc60b55c69bcbc5c817a11e84da13b9b06e43a41ac9a87ae0c1ea095897bcb65aa92efa60b3f02a4ef75010980c2553f05546ac50e4a51 WHIRLPOOL cbb0dc7a07f39670e8f2e03bff29611c0d421e8c6c632e95de9e7d737d30a45562e3d786d0b7dea97cec796ccd1700a3db13c4d7927c82ca546853d101e96370
|
||||
DIST diff-lcs-1.2.5.gem 49152 SHA256 a1d3dde665292317a883d319066792e3f0e6a24cade4bc4cc47605d27664c9ed SHA512 ce15cb794a97f9af8585c46b7a2404e1ad6e24e4910b6aa6c5126ef5996d86700979a54a154bab1c0602f19021b287dc865db3eebdc901fb42056f1e2180d0fe WHIRLPOOL 10076561d9895a3cc3c880f21e34e17aacdfcb790dbad44eedf48644eef5e9e04e65d3e4e8c16353f8bbfaa4a1d848a827cd5c2e2d57b8b58eeea3441bce1d7d
|
||||
|
@ -1,29 +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/diff-lcs/diff-lcs-1.1.3.ebuild,v 1.16 2014/11/11 11:00:04 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Use the McIlroy-Hunt LCS algorithm to compute differences"
|
||||
HOMEPAGE="https://github.com/halostatue/diff-lcs"
|
||||
|
||||
LICENSE="|| ( MIT Ruby GPL-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.10 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove unneeded rspec require to avoid rspec with USE=doc.
|
||||
sed -i -e "/require 'rspec'/d" Rakefile || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST locale-2.0.5.gem 111104 SHA256 28baf0410c9742eb49402200f47b99d9d4b793e02a5436a7275a89d273eafe00 SHA512 1261c182a5095623f894a19cb80a770972031ecdb7af95a8bc2ac5c3d872cc57e24f24dccf52570033b1ea82109cd2198f21cc533a23002c086dac0d8199f519 WHIRLPOOL bab1b1af3c6a03bf4345fdb0b4e77472f845ad516e0ab40e558c368811672a68eb9186f5bda9151e2b5d94e76b71372e699556292bf7ddc5520541b24cd48a0d
|
||||
DIST locale-2.1.0-git.tgz 99139 SHA256 0773283ff0db2a6574ba5ea05132598ea0bad1f88cd0bb037be7e461ed6aa565 SHA512 6f87730f8e6b128a6647bc0c7d223d5e90e85d5bcec884c0680963b09a221882a6dcadb088a27aeb8cc96652582278a5ce24302125902b2c97ca8b00c701abeb WHIRLPOOL 1cf895045c9fd5e273289082e7a1c357a0bf43e2c01a4b8e1567e27fcc71c5a01dbfdd0c7ccb2b08980b01abf00863c59bdd883820466ab36a776a1263245d70
|
||||
|
@ -1,246 +0,0 @@
|
||||
Combined patch of upstream commits 4cbfbbc2..c6c01691,
|
||||
fixes multiple issues with an empty/unset/malformatted LANGUAGE env variable.
|
||||
|
||||
Bugs 327677 and 330227 for instance are caused by this.
|
||||
Upstream: yes
|
||||
|
||||
diff --git a/README.rdoc b/README.rdoc
|
||||
index 381032f..5705872 100644
|
||||
--- a/README.rdoc
|
||||
+++ b/README.rdoc
|
||||
@@ -11,7 +11,7 @@ handle major locale ID standards.
|
||||
* POSIX, CLDR, IETF(RFC4646, 3066(BCP47)), Win32 and Java language tags
|
||||
and convert the tag string to each other.
|
||||
* Auto detect Locale ID.
|
||||
- POSIX(Unix/Linux/*BSD), Win32, JRuby, CGI.
|
||||
+ POSIX(Unix/Linux/*BSD), Win32, JRuby, CGI(CGI, Rack, others).
|
||||
|
||||
* Resources
|
||||
* ISO 639-3 languages
|
||||
diff --git a/lib/locale.rb b/lib/locale.rb
|
||||
index f56de37..95b965a 100644
|
||||
--- a/lib/locale.rb
|
||||
+++ b/lib/locale.rb
|
||||
@@ -236,9 +236,11 @@ module Locale
|
||||
end
|
||||
|
||||
tags = []
|
||||
- (0...candidate_tags[0].size).each {|i|
|
||||
- tags += candidate_tags.collect{|v| v[i]}
|
||||
- }
|
||||
+ unless candidate_tags.empty?
|
||||
+ (0...candidate_tags[0].size).each {|i|
|
||||
+ tags += candidate_tags.collect{|v| v[i]}
|
||||
+ }
|
||||
+ end
|
||||
tags += default_tags
|
||||
tags.uniq!
|
||||
|
||||
diff --git a/lib/locale/driver/cgi.rb b/lib/locale/driver/cgi.rb
|
||||
index c1d1126..4035c78 100644
|
||||
--- a/lib/locale/driver/cgi.rb
|
||||
+++ b/lib/locale/driver/cgi.rb
|
||||
@@ -50,7 +50,9 @@ module Locale
|
||||
unless locales.size > 0
|
||||
# HTTP_ACCEPT_LANGUAGE
|
||||
if lang = req[:accept_language] and lang.size > 0
|
||||
- locales += lang.gsub(/\s/, "").split(/,/).map{|v| v.split(";q=")}.map{|j| [j[0], j[1] ? j[1].to_f : 1.0]}.sort{|a,b| -(a[1] <=> b[1])}.map{|v| Locale::Tag.parse(v[0])}
|
||||
+ # 10.0 is for ruby-1.8.6 which have the bug of str.to_f.
|
||||
+ # Normally, this should be 1.0.
|
||||
+ locales += lang.gsub(/\s/, "").split(/,/).map{|v| v.split(";q=")}.map{|j| [j[0], j[1] ? j[1].to_f : 10.0]}.sort{|a,b| -(a[1] <=> b[1])}.map{|v| Locale::Tag.parse(v[0])}
|
||||
end
|
||||
end
|
||||
|
||||
@@ -81,6 +83,7 @@ module Locale
|
||||
# * accept_language: The value of HTTP_ACCEPT_LANGUAGE
|
||||
# * accept_charset: The value of HTTP_ACCEPT_CHARSET
|
||||
def set_request(query_langs, cookie_langs, accept_language, accept_charset)
|
||||
+ Locale.clear
|
||||
Thread.current[:current_request] = {
|
||||
:query_langs => query_langs,
|
||||
:cookie_langs => cookie_langs,
|
||||
diff --git a/lib/locale/driver/env.rb b/lib/locale/driver/env.rb
|
||||
index 9d0995f..a3e1b34 100644
|
||||
--- a/lib/locale/driver/env.rb
|
||||
+++ b/lib/locale/driver/env.rb
|
||||
@@ -39,13 +39,16 @@ module Locale
|
||||
# Gets the locales from environment variables. (LANGUAGE > LC_ALL > LC_MESSAGES > LANG)
|
||||
# * Returns: an Array of the locale as Locale::Tag::Posix or nil.
|
||||
def locales
|
||||
- if (locales = ENV["LANGUAGE"])
|
||||
- Locale::TagList.new(locales.split(/:/).collect{|v| Locale::Tag::Posix.parse(v)})
|
||||
+ locales = ENV["LANGUAGE"]
|
||||
+ if (locales != nil and locales.size > 0)
|
||||
+ locs = locales.split(/:/).collect{|v| Locale::Tag::Posix.parse(v)}.compact
|
||||
+ if locs.size > 0
|
||||
+ return Locale::TagList.new(locs)
|
||||
+ end
|
||||
elsif (loc = locale)
|
||||
- Locale::TagList.new([loc])
|
||||
- else
|
||||
- nil
|
||||
+ return Locale::TagList.new([loc])
|
||||
end
|
||||
+ nil
|
||||
end
|
||||
|
||||
# Gets the charset from environment variable or return nil.
|
||||
diff --git a/lib/locale/driver/win32.rb b/lib/locale/driver/win32.rb
|
||||
index 2bb6fbc..2ac09f8 100644
|
||||
--- a/lib/locale/driver/win32.rb
|
||||
+++ b/lib/locale/driver/win32.rb
|
||||
@@ -1,7 +1,7 @@
|
||||
=begin
|
||||
locale/win32.rb
|
||||
|
||||
- Copyright (C) 2002-2008 Masao Mutoh
|
||||
+ Copyright (C) 2002-2010 Masao Mutoh
|
||||
|
||||
You may redistribute it and/or modify it under the same
|
||||
license terms as Ruby.
|
||||
@@ -13,8 +13,10 @@
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'env')
|
||||
require File.join(File.dirname(__FILE__), 'win32_table')
|
||||
-require 'dl/win32'
|
||||
|
||||
+unless Win32API
|
||||
+ require 'dl/win32'
|
||||
+end
|
||||
|
||||
module Locale
|
||||
# Locale::Driver::Win32 module for win32.
|
||||
diff --git a/samples/rack/hello_rack.rb b/samples/rack/hello_rack.rb
|
||||
index d6cb160..0f458aa 100644
|
||||
--- a/samples/rack/hello_rack.rb
|
||||
+++ b/samples/rack/hello_rack.rb
|
||||
@@ -1,14 +1,13 @@
|
||||
require 'rubygems'
|
||||
require 'rack'
|
||||
-require 'locale'
|
||||
+require 'locale_rack'
|
||||
|
||||
-Locale.init(:driver => :cgi)
|
||||
-
|
||||
class HelloRackApp
|
||||
+ include Locale::Rack
|
||||
+
|
||||
def call(env)
|
||||
req = Rack::Request.new(env)
|
||||
- Locale.set_request(req["lang"], req.cookies["lang"],
|
||||
- env["HTTP_ACCEPT_LANGUAGE"], env["HTTP_ACCEPT_CHARSET"])
|
||||
+ init_locale(env, req)
|
||||
str = "Language tag candidates of your request order by the priority:\n\n"
|
||||
str += Locale.candidates(:type => :rfc).map{|v| v.inspect + "\n"}.join
|
||||
[200, {"Content-Type" => "text/plain", "Content-Length" => str.length.to_s}, [str]]
|
||||
diff --git a/samples/rack/locale_rack.rb b/samples/rack/locale_rack.rb
|
||||
new file mode 100644
|
||||
index 0000000..2b53a8a
|
||||
--- /dev/null
|
||||
+++ b/samples/rack/locale_rack.rb
|
||||
@@ -0,0 +1,11 @@
|
||||
+ require 'locale'
|
||||
+ Locale.init(:driver => :cgi)
|
||||
+
|
||||
+ module Locale::Rack
|
||||
+ def init_locale(env, req)
|
||||
+ Locale.set_request([req["lang"]], [req.cookies["lang"]],
|
||||
+ env["HTTP_ACCEPT_LANGUAGE"],
|
||||
+ env["HTTP_ACCEPT_CHARSET"])
|
||||
+ end
|
||||
+ end
|
||||
+
|
||||
diff --git a/test/test_detect_cgi.rb b/test/test_detect_cgi.rb
|
||||
index e2adbfc..ef5a090 100644
|
||||
--- a/test/test_detect_cgi.rb
|
||||
+++ b/test/test_detect_cgi.rb
|
||||
@@ -213,4 +213,12 @@ class TestDetectCGI < Test::Unit::TestCase
|
||||
Locale.default = "en"
|
||||
Locale.set_app_language_tags(nil)
|
||||
end
|
||||
+
|
||||
+ def test_request
|
||||
+ Locale.set_request(["ja"], [""], "", "")
|
||||
+ assert_equal common("ja", "en"), Locale.candidates
|
||||
+
|
||||
+ Locale.set_request(["en"], [""], "", "")
|
||||
+ assert_equal common("en"), Locale.candidates #Cache should be cleared.
|
||||
+ end
|
||||
end
|
||||
diff --git a/test/test_detect_general.rb b/test/test_detect_general.rb
|
||||
index 08b912d..2367354 100644
|
||||
--- a/test/test_detect_general.rb
|
||||
+++ b/test/test_detect_general.rb
|
||||
@@ -102,6 +102,35 @@ class TestDetectGeneral < Test::Unit::TestCase
|
||||
assert_equal "Shift_JIS", Locale.charset
|
||||
end
|
||||
|
||||
+ def test_language_strip
|
||||
+ ENV["LC_ALL"] = "ja_JP.Shift_JIS"
|
||||
+ ENV["LANGUAGE"] = nil
|
||||
+
|
||||
+ tags = Locale.current
|
||||
+ assert_equal 1, tags.size
|
||||
+ assert_equal Locale::Tag::Posix, tags[0].class
|
||||
+ assert_equal "ja", tags.language
|
||||
+ assert_equal "ja", tags[0].language
|
||||
+ Locale.clear
|
||||
+ ENV["LANGUAGE"] = ""
|
||||
+
|
||||
+ tags = Locale.current
|
||||
+ assert_equal 1, tags.size
|
||||
+ assert_equal Locale::Tag::Posix, tags[0].class
|
||||
+ assert_equal "ja", tags.language
|
||||
+ assert_equal "ja", tags[0].language
|
||||
+ Locale.clear
|
||||
+ ENV["LANGUAGE"] = "zh_CN.UTF-8:ja_JP"
|
||||
+
|
||||
+ tags = Locale.current
|
||||
+ assert_equal 2, tags.size
|
||||
+ assert_equal Locale::Tag::Posix, tags[0].class
|
||||
+ assert_equal Locale::Tag::Posix, tags[1].class
|
||||
+ assert_equal "zh", tags.language
|
||||
+ assert_equal "zh", tags[0].language
|
||||
+ assert_equal "ja", tags[1].language
|
||||
+ end
|
||||
+
|
||||
def test_no_charset
|
||||
ENV["LC_ALL"] = "cs_CZ"
|
||||
|
||||
@@ -149,6 +178,24 @@ class TestDetectGeneral < Test::Unit::TestCase
|
||||
Locale.set_default(nil)
|
||||
end
|
||||
|
||||
+ def test_wrong_envs
|
||||
+ ENV["LC_ALL"] = nil
|
||||
+ ENV["LANGUAGE"] = "g"
|
||||
+ Locale.default = "de"
|
||||
+ assert_equal Locale::Tag.parse("de"), Locale.current[0]
|
||||
+
|
||||
+ ENV["LC_ALL"] = "f"
|
||||
+ ENV["LANGUAGE"] = nil
|
||||
+ Locale.default = "fr"
|
||||
+ assert_equal Locale::Tag.parse("fr"), Locale.current[0]
|
||||
+
|
||||
+ ENV["LC_ALL"] = "j"
|
||||
+ ENV["LANGUAGE"] = nil
|
||||
+ Locale.default = nil
|
||||
+ assert_equal Locale::Tag.parse("en"), Locale.current[0]
|
||||
+
|
||||
+ end
|
||||
+
|
||||
def test_clear
|
||||
ENV["LC_ALL"] = "ja_JP.Shift_JIS"
|
||||
ENV["LANGUAGE"] = nil
|
||||
diff --git a/test/test_driver_win32.rb b/test/test_driver_win32.rb
|
||||
index 604cd6e..35199e6 100644
|
||||
--- a/test/test_driver_win32.rb
|
||||
+++ b/test/test_driver_win32.rb
|
||||
@@ -60,6 +60,6 @@ begin
|
||||
assert_equal "CP1252", Locale::Driver::Win32.charset
|
||||
end
|
||||
end
|
||||
-rescue LoadError
|
||||
+rescue LoadError, NameError
|
||||
puts "win32 test was skipped."
|
||||
end
|
@ -1,51 +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/locale/locale-2.0.5-r3.ebuild,v 1.18 2014/08/05 16:00:38 mrueg Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rerdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A pure ruby library which provides basic APIs for localization"
|
||||
HOMEPAGE="http://locale.rubyforge.org/"
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-macos"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||||
|
||||
RUBY_PATCHES=( "${FILESDIR}/${PN}-language-fixes.patch" )
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid automagic dependency on allison, bug 334937
|
||||
sed -i -e '/allison/ s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Remove broken test. It's not clear if the test or code is
|
||||
# broken... https://github.com/mutoh/locale/issues/2
|
||||
rm test/test_detect_general.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples || die
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
commit abe249425bef0356f54408b89c9f376c62862e87
|
||||
Author: Mike Dalessio <mike@csa.net>
|
||||
Date: Wed Dec 8 10:23:52 2010 -0500
|
||||
|
||||
hey now. this test was failing for LIBXML > 2.7.7. sigh.
|
||||
|
||||
diff --git a/test/html/test_element_description.rb b/test/html/test_element_description.rb
|
||||
index 2111cde..cfa9ca6 100644
|
||||
--- a/test/html/test_element_description.rb
|
||||
+++ b/test/html/test_element_description.rb
|
||||
@@ -56,7 +56,7 @@ module Nokogiri
|
||||
|
||||
def test_subelements
|
||||
sub_elements = ElementDescription['body'].sub_elements
|
||||
- if Nokogiri::LIBXML_VERSION == '2.7.7'
|
||||
+ if Nokogiri::LIBXML_VERSION >= '2.7.7'
|
||||
assert_equal 65, sub_elements.length
|
||||
else
|
||||
assert_equal 61, sub_elements.length
|
@ -1,108 +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/nokogiri/nokogiri-1.5.5.ebuild,v 1.13 2014/08/28 02:53:26 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc ROADMAP.md STANDARD_RESPONSES.md"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser"
|
||||
HOMEPAGE="http://nokogiri.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/sparklemotion/nokogiri/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="sparklemotion-nokogiri-*"
|
||||
|
||||
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"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
|
||||
# The tests require _minitest_, not the virtual; what is shipped with
|
||||
# Ruby 1.9 is *not* enough, unfortunately
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/rexical
|
||||
dev-ruby/hoe
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/racc
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
Rakefile || die
|
||||
# Remove the cross compilation options since they interfere with
|
||||
# native building.
|
||||
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
|
||||
sed -i -e '/cross_config_options/d' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Avoid failing tests:
|
||||
# https://github.com/sparklemotion/nokogiri/issues/721
|
||||
rm test/xslt/test_exception_handling.rb test/test_xslt_transforms.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
${RUBY} -Cext/${PN} extconf.rb \
|
||||
--with-zlib-include="${EPREFIX}"/usr/include \
|
||||
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-iconv-include="${EPREFIX}"/usr/include \
|
||||
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
|
||||
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-xslt-dir="${EPREFIX}"/usr \
|
||||
--with-iconvlib=iconv \
|
||||
|| die "extconf.rb failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
${RUBY} -S rake compile || die
|
||||
;;
|
||||
*)
|
||||
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
emake -Cext/${PN} \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}" || die "make extension failed"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST rake-compiler-0.8.1.tar.gz 28619 SHA256 c066b94c49c6501a9dae7a7c89620e64f06f24e3416c899b81a1484087701962 SHA512 bf04a9840e7c5d1239f3d98eac86eb38915c5271b5ec5a96d5a49702c08296c54a1738b48ca26cf0821030a5f224128b49736decbbc86c5d71e8f228833052d5 WHIRLPOOL 3be69e614a563ccee84f27a37e9bf191fd328691553846b79188bda806a88bd3d80d4776448b78d999f2c09ae364001964381815f32e5b14732efd831546bec0
|
||||
DIST rake-compiler-0.9.2.tar.gz 30778 SHA256 72ced9a0ca9a034506de279e888fdec63d542d788ee1d2e7910f1bfd71c82dd3 SHA512 883157bf44540cd021bec22a84e907922756f74a61e84c62e51eed752da01d217a03aebd88582fbe779210116e7ab1a36023707fbdae445b5ac4499c7de9b8eb WHIRLPOOL 79b21689e08ac21005243a2f18bde0941c3a86bdd3bf36bf557d3c706cb64fcb379f2d3fd06c93d3c07f10e8c1e47c75933ba783cc23b57137d9fce6c3e7de78
|
||||
DIST rake-compiler-0.9.3.tar.gz 30886 SHA256 5a1a16b4d0551285d4de8f307f83080004b2a63d62303acbb60518b3194180e9 SHA512 6b720bd52a2e2de1421a95ba9c45f1d26b771f8ed671468588967a26bf531796025c643143d641941108913ef12cc09b7eb240b287db3ce3d7fc9d38eedbb769 WHIRLPOOL 52869ed8e7ec9db6a5ca2023ee4966a0079835a2f9e4a90d2dd5ea804080fab0e0c1336cc6c2cb2a6bd5f20894e68459310ff5ca28376be9e6fbef0b4af90c7e
|
||||
|
@ -1,61 +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/rake-compiler/rake-compiler-0.8.1.ebuild,v 1.15 2014/04/05 23:16:30 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
# Tests for now seem only to work when rubygems is fully installed for
|
||||
# the implementation and that for now only means Ruby 1.8
|
||||
RUBY_FAKEGEM_TASK_TEST="-f tasks/rspec.rake -f tasks/cucumber.rake spec cucumber"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions"
|
||||
HOMEPAGE="http://github.com/luislavena/rake-compiler"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
RUBY_S="luislavena-${PN}-*"
|
||||
|
||||
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"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
# Restrict tests for this version so that we have a version to bootstrap
|
||||
# ruby19 stable.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rake"
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19|*jruby)
|
||||
# Remove this task so that it won't load on Ruby 1.9 and JRuby
|
||||
# that lack the package_task file. It is, though, needed for the
|
||||
# tests
|
||||
rm tasks/gem.rake || die
|
||||
# Remove specs aimed at a C-compiling ruby implementation.
|
||||
rm spec/lib/rake/extensiontask_spec.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
${RUBY} -S rspec spec || die "Tests failed."
|
||||
;;
|
||||
*jruby)
|
||||
${RUBY} -S rspec spec || die "Tests failed."
|
||||
;;
|
||||
*)
|
||||
each_fakegem_test
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rr-1.0.4.tar.gz 57002 SHA256 76a33bc6b8c92d25c7e2a79cf784971f40cb59c2cc4591d1b25cbbecead42e96 SHA512 bb9f06193259daedeaa09fceb13e4b8d178a18641b70e48d64702c4adb6e981ca6c0b2b1db36ada0508ce34caa52a187c7ee772ff7567677ef8e6dceb7b5fe73 WHIRLPOOL d0a5060c26a8a45588f8af7e10f8ad8efd944ae3568a4099ec43861d3088cf06698886915ac4b57cff51d37dc1ccc274a726712026f2ed3d874b1355478b5fba
|
||||
DIST rr-1.1.2.tar.gz 89970 SHA256 17396ac98c63d57ef83dea3904de2e86f5b78c9893b8f64e66d434dcd2e32438 SHA512 e0954206b8118cf0acd785cc300e267556cd62bc73dbbca885848205df6456e43463cc46ed1fc47c672574bdf33c42d288c403e550a89c74cac452a54c30a384 WHIRLPOOL bb6a7c128a84f17a690a35f904822324664471b366cb8d6a3677c45f025cebbd38f2f5afbd2bdafe861a979b6260fd21204395a61abc37e75c18b93efc7c07d4
|
||||
|
@ -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/rr/rr-1.0.4.ebuild,v 1.17 2014/10/29 19:08:45 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A double framework that features a rich selection of double techniques and a terse syntax"
|
||||
HOMEPAGE="http://pivotallabs.com/"
|
||||
SRC_URI="http://github.com/btakita/${PN}/tarball/v${PV} -> ${P}.tar.gz"
|
||||
|
||||
RUBY_S="btakita-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:0
|
||||
dev-ruby/minitest
|
||||
dev-ruby/session
|
||||
dev-ruby/diff-lcs )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/bundler/d' spec/spec_suite.rb spec/environment_fixture_setup.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# We need to run everything manually since the Rakefile and
|
||||
# associated suite files are riddled with direct invocations of
|
||||
# ruby.
|
||||
${RUBY} spec/core_spec_suite.rb --format progress || die
|
||||
${RUBY} spec/rspec_spec_suite.rb --format progress || die
|
||||
${RUBY} spec/test_unit_spec_suite.rb || die
|
||||
${RUBY} spec/minitest_spec_suite.rb || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST rspec-core-2.12.2-git.tgz 169377 SHA256 ce19262c407725ad5ea894710536e576344575ed074f4be3905f8663cd03713b SHA512 fddb456e010a8713a9e04eba4f7133498fc01ea99fd3ba66dde485f6f2e2fa56c056d8a1d0b7aee80cccc8e45a4e90f3ce2ee9f554ad9330071917293b607756 WHIRLPOOL 8cf1e8536ed8449b2f8b5c607a88688405b25489adf7a3ea9773e8b61f08b8ec20cf32f85821aadb102ff371ec4cde35f643a97fdbaff77c22ad2fe3d718686e
|
||||
DIST rspec-core-2.14.8-git.tgz 195949 SHA256 757febdcc4465b62fb41572e1fb7e0deb86f903127cb2941ea65d2c1d4ac29db SHA512 2be487f0a820cb959771b0c2a725aa7a43cd80a76f85ed42f3341420cefa4ba6413b5dbd86e8fba9f5515afef3e895e0f1f2f8239d50f0b764f037d5f0791095 WHIRLPOOL 5b2422d7f1d087caf654ea04d81f269ae90be63eb73135d34691839c27e6dfa152aac425f64a860b3af50ef0bf513ac7f4a68c979c254083f187e57a96c20fe3
|
||||
DIST rspec-core-2.99.1-git.tgz 212855 SHA256 998725627c1047010e43bc99863859fcc37c71b832264fa8aa1cfb45f18149c2 SHA512 218dfb42ddb425f49b3f46f892bed0ddf4d873b3e4919348d1f6f0a9fa93e1440ac9505e8b943f43c1a7d83430471ba7a0c5534dca5e22971b510cf4ab5f8292 WHIRLPOOL a23641c73536ad8ea1084d0a41cb3046cdf0df339f2a31ca9140891e074c51b6371e41560e132dd5ba409e325d9810ba09692ed4c7c08724ca1858b52e314881
|
||||
DIST rspec-core-2.99.2-git.tgz 212935 SHA256 75794e3f94f3323b1212b93e827d37d6ab2813dea2f5f927929b40e9ee170c43 SHA512 e13bc3384fd85c367481a8651c14be4a412cba5f58e12a8f4ab14b5d2768a7b92191b81e000e7dbf6a28275b41044d8b3eb70a04e4b30b5bf88db98cbec4cc44 WHIRLPOOL 5584be2da2310688155c4fe600a4a36f68434440ebc00b063e9fcdcb3188138831a210f482ac86a469984fcf9838d795511ea02433020ecc6bc1d6aacc8c72bd
|
||||
|
@ -1,49 +0,0 @@
|
||||
From 22bd1e10147d43c4055cbb1b1f95872b84d88fdf Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
|
||||
Date: Wed, 2 Feb 2011 14:53:16 +0100
|
||||
Subject: [PATCH] Squashed commit of the following:
|
||||
|
||||
commit 23727ceecc0ac619acb31bf5a0c850eb60a443b7
|
||||
Author: David Chelimsky <dchelimsky@gmail.com>
|
||||
Date: Sun Jan 16 16:42:48 2011 -0600
|
||||
|
||||
sort rather than match on unsorted content
|
||||
|
||||
commit cdb8e160f1659dd148f56e12b5acc174444dda3c
|
||||
Author: David Chelimsky <dchelimsky@gmail.com>
|
||||
Date: Sun Jan 16 10:34:01 2011 -0600
|
||||
|
||||
loosen constraint on outcome in example that returns an array
|
||||
|
||||
- Closes #278.
|
||||
---
|
||||
spec/rspec/core/rake_task_spec.rb | 6 +++---
|
||||
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/spec/rspec/core/rake_task_spec.rb b/spec/rspec/core/rake_task_spec.rb
|
||||
index 6ba16af..1bdf50a 100644
|
||||
--- a/spec/rspec/core/rake_task_spec.rb
|
||||
+++ b/spec/rspec/core/rake_task_spec.rb
|
||||
@@ -144,16 +144,16 @@ module RSpec::Core
|
||||
@task = RakeTask.new do |t|
|
||||
t.pattern = File.join(@tmp_dir, "*spec.rb")
|
||||
end
|
||||
- ["first_spec.rb", "second_\"spec.rb", "third_'spec.rb"].each do |file_name|
|
||||
+ ["first_spec.rb", "second_\"spec.rb", "third_\'spec.rb"].each do |file_name|
|
||||
FileUtils.touch(File.join(@tmp_dir, file_name))
|
||||
end
|
||||
end
|
||||
|
||||
it "escapes the quotes" do
|
||||
- @task.__send__(:files_to_run).should eq([
|
||||
+ @task.__send__(:files_to_run).sort.should eq([
|
||||
File.join(@tmp_dir, "first_spec.rb"),
|
||||
File.join(@tmp_dir, "second_\\\"spec.rb"),
|
||||
- File.join(@tmp_dir, "third_\\'spec.rb")
|
||||
+ File.join(@tmp_dir, "third_\\\'spec.rb")
|
||||
])
|
||||
end
|
||||
end
|
||||
--
|
||||
1.7.4
|
||||
|
@ -1,79 +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/rspec-core/rspec-core-2.12.2.ebuild,v 1.12 2014/04/05 22:56:33 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
# Also install this custom path since internal paths depend on it.
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="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=""
|
||||
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rspec-1.3.1-r1"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/fakefs-0.4.0
|
||||
>=dev-ruby/zentest-4.6.2
|
||||
dev-ruby/rspec-expectations:2
|
||||
>=dev-ruby/rspec-mocks-2.12.0:2
|
||||
)"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
# rm Gemfile || die
|
||||
|
||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
||||
|
||||
# Also clean the /usr/lib/rubyee path (which is our own invention).
|
||||
sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
|
||||
|
||||
# Remove jruby-specific comparison documents since for us the normal
|
||||
# version passes.
|
||||
cp spec/rspec/core/formatters/text_mate_formatted-1.8.7.html spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html|| die
|
||||
|
||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
||||
# also depends on this and fixing that is going to be fragile. This
|
||||
# way we can at least install proper bin scripts.
|
||||
cp -R exe bin || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die
|
||||
|
||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
||||
sed -i -e '/aruba/ s:^:#:' -e '104,106 s:^:#:' spec/spec_helper.rb || die
|
||||
rm spec/command_line/order_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
yardoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST rspec-expectations-2.12.1-git.tgz 82402 SHA256 6166e27de969815085832f56d253521bd1266b762134bc791727d7638a89e38b SHA512 2183f70e8fe885878121b6070fede90458e4dd628d9b7531ee7f2b8ce5ce9f3b35ea219ed96ebd63be6f430fb03c8049a8d11b8666ddfa6961d8e5067e5b0fcb WHIRLPOOL 5191c6dd4623f54412d7443321614bf84c583e2e0048344378dbe7aa49d9ea5b2f6a5f8b39e473af48899d6325c0b867734acc16e6478ee9192641368332c48a
|
||||
DIST rspec-expectations-2.14.5-git.tgz 93680 SHA256 ceba7a62ad87285f1ea01db4798efbbde4020b82a109cc260ec358061367e5b9 SHA512 237ed56cd185bc5d0d60ed14e20ded1840ef10711693c43ffaa20ec65cdd6b891aba3a6f1f38bb6962c31d51364758d1898e3bcba14a95c4abc73dff4dac1b65 WHIRLPOOL b9860d7bbd7e33143de655d3bcae6925a91ae5992f47b75ae9c61203c9cddcfb5a2ad0d8d3152a725ff4174359bdf56c5d8dbe24b4b1bb56e3aab292ddfc7a5d
|
||||
DIST rspec-expectations-2.99.2-git.tgz 106884 SHA256 4c1b38198d214ab2d4e297fdfbd89d3c3ae20c6b144882e53e935cfbc9878f68 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a WHIRLPOOL 4a390f55bac3180a876bd59f58ce7c2ed87611b94c9610c950dc138ef14c8966e62d79aa4f63771c373760d0b9f4f51a9aaa6cbc4fc600573c6cb12ddc0e278d
|
||||
|
@ -1,47 +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/rspec-expectations/rspec-expectations-2.12.1.ebuild,v 1.12 2014/04/05 22:59:20 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
RUBY_S="rspec-${PN}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/tarball/v${PV} -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="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_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.11.0:2
|
||||
dev-ruby/rspec-mocks:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# fix up the gemspecs
|
||||
sed -i \
|
||||
-e '/git ls/d' \
|
||||
-e '/add_development_dependency/d' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST rspec-mocks-2.12.1-git.tgz 71235 SHA256 7602e3d83988bc1694abf10825d46485681beafa8fbfb65c067d01cb8100cebf SHA512 146fe9de3f22036a202bc064b1ed8520c7c34543c8160a6a86f80774578e40afd935c0656875cb101bb1d40da71c047c6307d1ae404676b8c45e660d81738593 WHIRLPOOL e2c274bcfb072c42840946bb8ac38da83f1694ffafc6e6b784dace40a651b41f15ad7a61536961840a02bd35a4d41d88d2ae1ea1f9d69399304454ef288f3666
|
||||
DIST rspec-mocks-2.14.6-git.tgz 94286 SHA256 2453766688b33a5cd743f4ebc3ffccd4277e3daca069828c7206bd0f12d5fee4 SHA512 a079c0b860c7ca4b4da366fa131617ddcb636918cd0c065ef3d8d585938228f442bb58ab5fcd2cd84b590bf6ab468d637fa7ab0181864a59c131f0a890e46702 WHIRLPOOL d29599bf4465c38433d7ddf70a12c43a523c289fd9857aadeb41610aef4980d8ea43cd1aef48d3d1d736e67a201bba131ea151a0ecb297e887fac51baf35655b
|
||||
DIST rspec-mocks-2.99.2-git.tgz 101731 SHA256 fad961e30ef67e014625fb6b4bb62db0f6f101142a897b4cad31e60f8faf8c57 SHA512 dd3b9394d56de8d3089db7777cda1e1a5bbdc46486876a99a8a83b602b84ba0320913d8e8dabe5e0367645eb01b943607b93e67d87cc26e380c8db6e048e4e0d WHIRLPOOL 06e8c3dd38fa17fbd82c97fe1c19928450234c761185cf636556955df9a081f4685d002a8fe501690c5457c63014ce8a60c5aca32b7c4bc24eb368368e5e33c3
|
||||
|
@ -1,94 +0,0 @@
|
||||
From 3bb79545449eda5361af6b6d1902e70833659445 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
|
||||
Date: Wed, 2 Feb 2011 15:02:26 +0100
|
||||
Subject: [PATCH] Don't force cucumber presence on Rakefile.
|
||||
|
||||
Only define the cucumber tasks if cucumber is available, allowing for the
|
||||
Rakefile to work without Cucumber installed.
|
||||
---
|
||||
Rakefile | 49 +++++++++++++++++++++++++++----------------------
|
||||
1 files changed, 27 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/Rakefile b/Rakefile
|
||||
index 8171c40..7197927 100644
|
||||
--- a/Rakefile
|
||||
+++ b/Rakefile
|
||||
@@ -5,15 +5,6 @@ Bundler::GemHelper.install_tasks
|
||||
require 'rake'
|
||||
require 'rspec/core/rake_task'
|
||||
require 'rspec/mocks/version'
|
||||
-require 'cucumber/rake/task'
|
||||
-
|
||||
-class Cucumber::Rake::Task::ForkedCucumberRunner
|
||||
- # When cucumber shells out, we still need it to run in the context of our
|
||||
- # bundle.
|
||||
- def run
|
||||
- sh "bundle exec #{RUBY} " + args.join(" ")
|
||||
- end
|
||||
-end
|
||||
|
||||
task :cleanup_rcov_files do
|
||||
rm_rf 'coverage.data'
|
||||
@@ -24,8 +15,6 @@ RSpec::Core::RakeTask.new(:spec) do |t|
|
||||
t.rspec_opts = %w[--color]
|
||||
end
|
||||
|
||||
-Cucumber::Rake::Task.new(:cucumber)
|
||||
-
|
||||
namespace :spec do
|
||||
desc "Run all examples using rcov"
|
||||
RSpec::Core::RakeTask.new :rcov => :cleanup_rcov_files do |t|
|
||||
@@ -35,17 +24,35 @@ namespace :spec do
|
||||
end
|
||||
end
|
||||
|
||||
-namespace :cucumber do
|
||||
- desc "Run cucumber features using rcov"
|
||||
- Cucumber::Rake::Task.new :rcov => :cleanup_rcov_files do |t|
|
||||
- t.cucumber_opts = %w{--format progress}
|
||||
- t.rcov = true
|
||||
- t.rcov_opts = %[-Ilib -Ispec --exclude "gems/*,features"]
|
||||
- t.rcov_opts << %[--text-report --sort coverage --aggregate coverage.data]
|
||||
+task :default => :spec
|
||||
+
|
||||
+begin
|
||||
+ require 'cucumber/rake/task'
|
||||
+
|
||||
+ class Cucumber::Rake::Task::ForkedCucumberRunner
|
||||
+ # When cucumber shells out, we still need it to run in the context of our
|
||||
+ # bundle.
|
||||
+ def run
|
||||
+ sh "bundle exec #{RUBY} " + args.join(" ")
|
||||
+ end
|
||||
end
|
||||
-end
|
||||
|
||||
-task :default => [:spec, :cucumber]
|
||||
+ Cucumber::Rake::Task.new(:cucumber)
|
||||
+
|
||||
+ namespace :cucumber do
|
||||
+ desc "Run cucumber features using rcov"
|
||||
+ Cucumber::Rake::Task.new :rcov => :cleanup_rcov_files do |t|
|
||||
+ t.cucumber_opts = %w{--format progress}
|
||||
+ t.rcov = true
|
||||
+ t.rcov_opts = %[-Ilib -Ispec --exclude "gems/*,features"]
|
||||
+ t.rcov_opts << %[--text-report --sort coverage --aggregate coverage.data]
|
||||
+ end
|
||||
+ end
|
||||
+
|
||||
+ task :default => :cucumber
|
||||
+rescue LoadError
|
||||
+ $stderr.puts "unable to load cucumber, some tasks unavailable"
|
||||
+end
|
||||
|
||||
task :clobber do
|
||||
rm_rf 'pkg'
|
||||
@@ -66,5 +73,3 @@ task :relish, :version do |t, args|
|
||||
raise "rake relish[VERSION]" unless args[:version]
|
||||
sh "relish push rspec/rspec-mocks:#{args[:version]}"
|
||||
end
|
||||
-
|
||||
-task :default => [:spec, :cucumber]
|
||||
--
|
||||
1.7.4
|
||||
|
@ -1,37 +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/rspec-mocks/rspec-mocks-2.12.1.ebuild,v 1.13 2014/11/11 11:02:09 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/tarball/v${PV} -> ${P}-git.tgz"
|
||||
RUBY_S="rspec-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="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_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-core-2.10.0:2
|
||||
dev-ruby/rspec-expectations:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST rspec-1.3.2.gem 214016 SHA256 cced85c55b92477272d157ea92b925676db76c373f8040a62b8dbe1365296aba SHA512 c4a02214ce825fa3c03c7332963aaa04313687ba343ee1c9a33d40b0b22c9007f4dade734ed388a986d32a5bd64f413edd4a6c508c5f81161530b87960b4a315 WHIRLPOOL d4bdbfbbadc2e4861dc24002ced78e3c560384c628db545e9f3dae3ee11028310f888ad1b225f65792fd418136983011e33667ab3f8138ed712b69f0bf1566bc
|
||||
DIST rspec-2.12.0.gem 4608 SHA256 410869aeb2fe2ad6d8a1897e8ca941d589a47a7a62960df96266b61dec8ff657 SHA512 e7ee5411872bd469e66f33082927a482c79eb58ed96bbf3be43e6d8b1c24aac24cdacb7e31de1f2d85daeeb0a17c038db3778d28f5f902ef2c65c982db41eeac WHIRLPOOL 91e4c9d042eb69b665ad30fa37ade2f11177181393db418de9cdcaec1e3e0e32c310b311aacce055ee3f6d9b6a4c0ac09389769020d4f0cdf05362670509e295
|
||||
DIST rspec-2.14.1.gem 4608 SHA256 4f9fc6c58696faa22571ca80d710fd0e4f30eaeb700155968d36df303f279e8c SHA512 cb5f7b720860c7a0f9f3aabf08b2b6ebf0a6cd220fb019c4b9a03368b9fd5b8049c3a374dff1251d261f6d0046f120e574f59b16f3775a478c04bb691785f720 WHIRLPOOL 760e9cf6e61ab097f797d0900bcf4341749a6502d620de2ec3d7bde228e417f4b72a7bdd9f622445314b0890af06307e5545949bebfb6c783aa9cea463158ee5
|
||||
DIST rspec-2.99.0.gem 5632 SHA256 432b31d528aac0dd192b3fa7c83f6cc22dec4a0385fb4020d293cc6777870393 SHA512 bcdf5e86938b102200144c49370e0a0691e39a8720048df2eab1a55f95a5bc5e4ced84c7da86d0ddc83ee4ce0f40602c2ae7ee10e55dccf8bb8b769ab048ebb8 WHIRLPOOL 7c71c569e3dd2a94f4564298c7af1069d29c0a1ca8b6045cd5b8ba0ae6833fa2e948b572d048397adc2aae90578e2cdf1f98e3fb0197697927538e925bef7b1c
|
||||
|
@ -1,28 +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/rspec/rspec-2.12.0.ebuild,v 1.12 2014/04/05 22:55:08 mrueg Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="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=""
|
||||
|
||||
SUBVERSION="$(get_version_component_range 1-2)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/rspec-core-${SUBVERSION}*
|
||||
=dev-ruby/rspec-expectations-${SUBVERSION}*
|
||||
=dev-ruby/rspec-mocks-${SUBVERSION}*"
|
@ -1,6 +1,3 @@
|
||||
DIST gettext-2.3.3.gem 204288 SHA256 fa9c6ed2484734389f4b1968f22942173fe381a6b673155eb52de24d212420f9 SHA512 c6859e3b5a37c042fac61afd09f0b89c738b712f5b1a22a3e85cd97a6d5ef94b5b942aa606843b9bdc457de6371615646dba5b86e61af2078138a9eb0b89b157 WHIRLPOOL 3b8d8e07387098f02fe8c1d36a21ec57ce8f3a3b2f0cb371b31244d7b8c2ed6effb403a33d6d7b15ad5ff5a1a713addb6b36661538c61641ff6e64847884aa72
|
||||
DIST gettext-2.3.8.gem 215040 SHA256 70775331c6a71225d73beb4221b6efdc69600b4d1d8c509b2a4ddb77f750e36e SHA512 5ffbb95d28c03fbf6158c2dc5ee5121c779843a41a2f1416a292a75095760f17a230a81a6a83588b4e50795d76796d01c16ff0e0d412c62e655fd4f0b5a33fea WHIRLPOOL eb1a5ab6fe1dc5d7d12e2c61d7daae37c1ab3de10fc8978b63d6c80eb9805d9d49ecae5cdfbcd9e040a8a2b9ee93cbb1db7237b0894b022a22f8b419a1f2d99f
|
||||
DIST gettext-3.1.1.gem 221184 SHA256 323a1b07db0863e032436f6935a0e63a5ab7475ac8c387d2632065ee7bafc12a SHA512 b59462fd5c75aa64c1671fd54248ff86325be9aa53df2b4e720e663ae04d40febe83205c6ec75f6200dcf75abfdefe23db1effe838dc1149154457acc2fadc05 WHIRLPOOL 445999cff5241654252073b027388b058f272ffbaaa7d844208908996275cc22ed15c7055bd99a89977737192e60af84e0539bd6461b2da748bf97d41d5744f3
|
||||
DIST gettext-3.1.2.gem 224768 SHA256 1ed987d0a46448cfc76617b486ad9a991e0d48501855e49eacb781aa531df6eb SHA512 14fbccf1d853bd58ae3ecbda3188294147404fb8473a54caeac505b93ffa25f96098786bd1171449aa1f0f74c4116e93b5d2f7c0705930dd014b210720667479 WHIRLPOOL 5a31bf87b38370276bf4c61886025f8721a7cb297012fbe6d1947abf82d1d35d779838506f5e56adbdda090a0ae20d4e5c74b9c4a08a4c782998d78b3a7c1768
|
||||
DIST gettext-3.1.3.gem 281600 SHA256 38b9e50300c9fefde4f3ec5b6d3d70602549603a759ab9da1460299f5713dd18 SHA512 64a84499d38ab1201557aa261163f3008eaa57366881163ff766c9e5b16ca6a5e6c66288cec934ab21a592b3fe6a2fa4b5cb0ce024c55229e2b838f36acdca64 WHIRLPOOL 946bbf50cdced407d6353199b1ececeee4393174e4914b6c2dbc1a80ba4771a4bba1a89868b7a732f25fe74c0dcfe0e9b8df2c297e308b19df7ba505f7286f0b
|
||||
DIST gettext-3.1.4.gem 270848 SHA256 6bc35f2a7ce237caecc83d43d971536c12e3170ab94d7abb44f8da29e45cd63d SHA512 3f8e8eb27436fdddfcc980bbac0a05ceeb98b67a8b181b184faa928c1d9f96bea71d4128a055659843b04da9fb0407532eac4134ae62b435ddea9719d51af20d WHIRLPOOL 20f65ecb13c4df54e102300fb0558c89cf2a33849e1cc0290c40d16c3aae6d13c6289e667d0deb4844214b4d9320cb24554153a9a2713e8d2d05d3b5ed88e5e6
|
||||
|
@ -1,21 +0,0 @@
|
||||
Fix compatibility with newer rubygems versions. Patch provided by
|
||||
Tomoh K. in bug 391059.
|
||||
|
||||
--- lib/gettext/runtime/locale_path.rb.orig
|
||||
+++ lib/gettext/runtime/locale_path.rb
|
||||
@@ -52,7 +52,14 @@
|
||||
|
||||
load_path = $LOAD_PATH.dup
|
||||
if defined? ::Gem
|
||||
- load_path += Gem.all_load_paths
|
||||
+ begin
|
||||
+ load_path +=Gem::Specification.map{|s|s.gem_dir}
|
||||
+ rescue NoMethodError
|
||||
+ begin
|
||||
+ load_path +=Gem.all_load_paths
|
||||
+ rescue NoMethodError
|
||||
+ end
|
||||
+ end
|
||||
end
|
||||
load_path.map!{|v| v.match(/(.*?)(\/lib)*?$/); $1}
|
||||
load_path.each {|path|
|
@ -1,62 +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/ruby-gettext/ruby-gettext-2.3.3.ebuild,v 1.21 2014/11/11 11:05:38 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
|
||||
RUBY_FAKEGEM_VERSION="${PV%_*}"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
|
||||
HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 ppc ppc64 sparc x86"
|
||||
IUSE="doc test"
|
||||
SLOT="0"
|
||||
LICENSE="Ruby"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/locale-2.0.5"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )
|
||||
dev-ruby/racc"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit-rr )"
|
||||
|
||||
RDEPEND+=" sys-devel/gettext"
|
||||
DEPEND+=" sys-devel/gettext"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix broken racc invocation
|
||||
sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
|
||||
|
||||
# Avoid bundler dependency
|
||||
sed -i -e '/bundler/,/helper.install/ s:^:#:' \
|
||||
-e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
|
||||
|
||||
# Avoid dependency on developer-specific tools.
|
||||
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Upstream tries to daisy-chain rake calls but they fail badly
|
||||
# with our setup, so run it manually.
|
||||
${RUBY} test/run-test.rb || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
@ -1,55 +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/ruby-gettext/ruby-gettext-2.3.8.ebuild,v 1.12 2014/08/17 00:45:11 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
|
||||
RUBY_FAKEGEM_VERSION="${PV%_*}"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
|
||||
HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
SLOT="0"
|
||||
LICENSE="Ruby"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/locale-2.0.5 dev-ruby/levenshtein"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )
|
||||
<dev-ruby/rake-10
|
||||
dev-ruby/racc"
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit-rr )"
|
||||
|
||||
RDEPEND+=" sys-devel/gettext"
|
||||
DEPEND+=" sys-devel/gettext"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix broken racc invocation
|
||||
sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
|
||||
|
||||
# Avoid bundler dependency
|
||||
sed -i -e '/bundler/,/helper.install/ s:^:#:' \
|
||||
-e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
|
||||
|
||||
# Avoid dependency on developer-specific tools.
|
||||
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
@ -1,63 +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/ruby-gettext/ruby-gettext-3.1.3.ebuild,v 1.3 2014/08/17 00:45:11 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
|
||||
RUBY_FAKEGEM_VERSION="${PV%_*}"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locale po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
|
||||
HOMEPAGE="http://ruby-gettext.github.io/"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Ruby LGPL-3+ )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/locale-2.0.5 dev-ruby/text"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )
|
||||
dev-ruby/racc"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/test-unit-rr )"
|
||||
|
||||
RDEPEND+=" sys-devel/gettext"
|
||||
DEPEND+=" sys-devel/gettext"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix broken racc invocation
|
||||
sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
|
||||
|
||||
# Avoid bundler dependency
|
||||
sed -i -e '/bundler/,/helper.install/ s:^:#:' \
|
||||
-e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
|
||||
|
||||
# Avoid dependency on developer-specific tools.
|
||||
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Upstream tries to daisy-chain rake calls but they fail badly
|
||||
# with our setup, so run it manually.
|
||||
${RUBY} test/run-test.rb || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST session-3.1.0.gem 15872 SHA256 4be736d4d0110dbac8cf0e5b0c08278c7ae017308b04267179e9ef0769089869 SHA512 60dcc0d0f196a2a77cc880b9d5a796b68dcee7bfac388c02e3442e3d179aa1c59afd203edf6d81ca7b7e5e6338e522067a1407422b944834d6ed632ada34eac4 WHIRLPOOL f4461cb9de0eefd4fc51da3eae2a79d7564b7e699cbbbf0cded82b3ddae08c3c2bd2752cb9ab974eaea61f9fa610eb7cd8dba5abe01ba236363d1aee79944eff
|
||||
DIST session-3.1.2.gem 17920 SHA256 4fd787c21b622e65867082187434e15a4cc5c8a1e895c347242e230655621d9c SHA512 ef0e8aac6776ffec6ead18079148a9ff65f5bd2699344680dec4d1ca1695e6e159d9e8174fabae7d629c5b019d9571d50930fd6af89e1f221d6662b56ae63e16 WHIRLPOOL bb45b43f27beb222d195ad9e9c86421089da2e4e803f5b0f91feca9042ef8b5c727972ed90fb3232231eb96f5f1d61bace30155c38af4ab68281120b78fb79ad
|
||||
DIST session-3.2.0.gem 18432 SHA256 e9d97adff2662aef3fb9524b62ac2fd9c09ad48ee01bb9287b77331e1566fb08 SHA512 57c0676fb4a4254e86dbe68e36309c8eb85515dd659de73a87e1ae2e8e5dc7f979192ef665135e75182c26e2a5c847d61daf855639772da7c66af888ed0dc91a WHIRLPOOL d71b084471a57d3401385b2781b547d00ee934a5eca0270bb4ded636683a8f1afb0a271e787d0daecb663241d04b425678f7a54671e2604e2a6ae6bc9525fd9e
|
||||
|
@ -1,61 +0,0 @@
|
||||
From 879f701c35699d194890c288a036b0037f6b3424 Mon Sep 17 00:00:00 2001
|
||||
From: Charles Oliver Nutter <headius@headius.com>
|
||||
Date: Thu, 14 Jan 2010 15:23:57 -0600
|
||||
Subject: [PATCH] Modifications to get session tests running green under JRuby.
|
||||
|
||||
---
|
||||
lib/session.rb | 16 +++++++++++-----
|
||||
test/session.rb | 3 +++
|
||||
2 files changed, 14 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/lib/session.rb b/lib/session.rb
|
||||
index dffa1f3..824c76f 100755
|
||||
--- a/lib/session.rb
|
||||
+++ b/lib/session.rb
|
||||
@@ -86,7 +86,9 @@ module Session
|
||||
class << self
|
||||
def default_prog
|
||||
return @default_prog if defined? @default_prog and @default_prog
|
||||
- if defined? self::DEFAULT_PROG
|
||||
+ # Workaround for http://jira.codehaus.org/browse/JRUBY-4479
|
||||
+ if (self::DEFAULT_PROG rescue nil)
|
||||
+# if defined? self::DEFAULT_PROG
|
||||
return @default_prog = self::DEFAULT_PROG
|
||||
else
|
||||
@default_prog = ENV["SESSION_#{ self }_PROG"]
|
||||
@@ -150,10 +152,14 @@ module Session
|
||||
@use_spawn = self.class::use_spawn unless self.class::use_spawn.nil?
|
||||
@use_spawn = getopt('use_spawn', opts) if hasopt('use_spawn', opts)
|
||||
|
||||
- @use_open3 = nil
|
||||
- @use_open3 = Session::use_open3 unless Session::use_open3.nil?
|
||||
- @use_open3 = self.class::use_open3 unless self.class::use_open3.nil?
|
||||
- @use_open3 = getopt('use_open3', opts) if hasopt('use_open3', opts)
|
||||
+ if defined? JRUBY_VERSION
|
||||
+ @use_open3 = true
|
||||
+ else
|
||||
+ @use_open3 = nil
|
||||
+ @use_open3 = Session::use_open3 unless Session::use_open3.nil?
|
||||
+ @use_open3 = self.class::use_open3 unless self.class::use_open3.nil?
|
||||
+ @use_open3 = getopt('use_open3', opts) if hasopt('use_open3', opts)
|
||||
+ end
|
||||
|
||||
@debug = nil
|
||||
@debug = Session::debug unless Session::debug.nil?
|
||||
diff --git a/test/session.rb b/test/session.rb
|
||||
index 0b0f265..46fe19b 100644
|
||||
--- a/test/session.rb
|
||||
+++ b/test/session.rb
|
||||
@@ -17,6 +17,9 @@ Session::debug = true
|
||||
class TimeoutError < StandardError; end
|
||||
def timeout n
|
||||
#{{{
|
||||
+ # JRuby does not support fork, so we stub out timeout here
|
||||
+ return yield if defined? JRUBY_VERSION
|
||||
+
|
||||
ret = nil
|
||||
cid = fork
|
||||
unless cid
|
||||
--
|
||||
1.6.6
|
||||
|
@ -1,53 +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/session/session-3.1.0-r1.ebuild,v 1.17 2014/04/05 14:24:39 mrueg Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A set of classes to drive external programs via pipe"
|
||||
HOMEPAGE="http://codeforpeople.com/lib/ruby/session/"
|
||||
#SRC_URI="http://codeforpeople.com/lib/ruby/session/${P}.tgz"
|
||||
|
||||
# License info based on http://github.com/ahoward/session as indicated
|
||||
# by author.
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="${DEPEND} test? ( || ( sys-apps/coreutils sys-freebsd/freebsd-bin ) )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# needed to void a collision with the Timeout::Error alias in Ruby
|
||||
# 1.8.7 at least.
|
||||
sed -i -e 's:TimeoutError:SessionTimeoutError:' test/session.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
epatch "${FILESDIR}"/${P}-jruby.patch
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/*.rb || die "tests failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc sample/* || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST test-unit-rr-1.0.2.gem 15360 SHA256 603b1837a04cb3a1d9131678055c0c168d94ba21d1490d2efdde3f92c674ac88 SHA512 60aa72d15b226f97ad58f7692262bd26171f9b3f0b4e58f27c82370551ef397d3f3740f83814d741417bca93c64e8df76161eb9f837b1cbd4e1913329751f1a1 WHIRLPOOL b66675926182b3675b76cb4205b194f7624059c65247b4a5b65ba3f51cc784d8b05091e110221b5c5da203de2b096a84d57a92600b23bfccd5b96818ad953a85
|
||||
DIST test-unit-rr-1.0.3.gem 15360 SHA256 cd3e843c949eb3fda0c28776551d7df5bfe1f209ccf88d2c36d6b515767f4854 SHA512 211041b66b8187ea9bdcb5b79c753ef835f8837246bd35bf4293e998599fe6197054867295ba1c057723aff2367e43d68dc290f806e25f7149918702782c60d7 WHIRLPOOL 2ea800ffdac38c253b27d134fd35c958c0007f65c4bd5c6f6ca1f7b74e8995d275c3a6c668c399431742b28656cec7994e2c7e2c8ed480759db0d5a73c0e6a86
|
||||
|
@ -1,28 +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/test-unit-rr/test-unit-rr-1.0.2.ebuild,v 1.20 2014/11/10 15:56:55 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="RR adapter for Test::Unit"
|
||||
HOMEPAGE="http://rubyforge.org/projects/test-unit/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rr-1.0.2 >=dev-ruby/test-unit-2.5.2"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/run-test.rb || die
|
||||
}
|
@ -1,36 +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/tidy-ext/tidy-ext-0.1.14.ebuild,v 1.13 2014/08/05 16:00:52 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension"
|
||||
HOMEPAGE="http://github.com/carld/tidy"
|
||||
|
||||
LICENSE="HTML-Tidy"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
mkdir lib || die
|
||||
|
||||
# Remove reference to rspec 1
|
||||
sed -i -e '/spec/d' spec/spec_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/tidy || die
|
||||
cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST yard-0.8.7.2-git.tgz 854200 SHA256 90905223f0b3308c36c5a5387d1d36588e85bd804d700b7e20c5305fe37936df SHA512 107d9f354eddb71fdefb0664199c7f66053028e57056e32d87b38a5946bad47ad3a607f9fe7f6b672ab625880205c335df88325a2f0ab676da5d96ffe9539be7 WHIRLPOOL 355ae08966dd95aef16af80323321a5f754ceced3fe79056f674c3f5263b02bca7037e16a5f0555e656e63d907b7a82419954a917fb73019c29884e491feddaa
|
||||
DIST yard-0.8.7.3-git.tgz 854557 SHA256 d606b5780c8cbe4b4508c34a354f04a5d17609bc0cc07f272c37328e2fca0288 SHA512 96b8a128bacd005e64c3a863ac6cc7377755397c7532b5541809c8a0f5b157cd7433644887823e2d3c4435a0bded59fc2785992fdcf5ebcbf616a4ffd912f6fa WHIRLPOOL 80753671669489b2d6082029ba2b3c24c2aa57e0cdc9a5647e041c60c76f63cb51c33534aab70fb58f26b1ed5fde30a0433dd7f2ef00588273d3c71d1fb799a0
|
||||
DIST yard-0.8.7.6-git.tgz 859257 SHA256 ccfadf98936b90e63189f805b6ea9dd6158447b7972f2ddd1578c9898be98a22 SHA512 7f9d4100183e51a2059f01a06a77d9856961390975fd9981b81bf9ea55f047cfd9056c78b5400df277b8230f28990cb421216c4506bbeea797651f37ae2e5db1 WHIRLPOOL a6737f831820dea014a3b093e0c3af43e49cc5815010012bbf1ece2f5ccef7594e4ef95077bd3e97cb5324b79d7ab67d61502052fad498fe0940e2d6a93ec86a
|
||||
|
@ -1,36 +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/yard/yard-0.8.7.2.ebuild,v 1.12 2014/10/29 19:32:46 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc docs"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="templates"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Documentation generation tool for the Ruby programming language"
|
||||
HOMEPAGE="http://yardoc.org/"
|
||||
|
||||
# The gem lakes the gemspec file needed to pass tests.
|
||||
SRC_URI="https://github.com/lsegal/yard/archive/${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
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_add_bdepend "doc? ( || ( dev-ruby/bluecloth dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )
|
||||
test? ( dev-ruby/ruby-gettext )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die
|
||||
sed -i -e "s/require 'bundler'; rescue LoadError//" spec/cli/server_spec.rb || die
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 18 Nov 2014 08:37:00 +0000
|
||||
Tue, 18 Nov 2014 12:37:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 18 Nov 2014 08:37:01 +0000
|
||||
Tue, 18 Nov 2014 12:37:01 +0000
|
||||
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm prepare setup unpack
|
||||
DEPEND=>=virtual/emacs-23
|
||||
DESCRIPTION=Emacs modes for editing ebuilds and other Gentoo specific files
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.gentoo.org/wiki/Project:Emacs
|
||||
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=>=virtual/emacs-23
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/ebuild-mode-1.24.tar.xz
|
||||
_eclasses_=elisp b7ff113c97bf466ace6f3235f80af600 elisp-common 1aa23b3de5dae55456fa2071428eb5bf eutils 6faef4c127028ccbba3a11400d24ae34 multilib 3bf24e6abb9b76d9f6c20600f0b716bf readme.gentoo 106edea5533517715013de909a333abd toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=61a787800f136091da95977191d8cc51
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare prerm
|
||||
DEPEND=nls? ( virtual/libintl ) nls? ( sys-devel/gettext )
|
||||
DESCRIPTION=A utility that displays an ANSI/ASCII logo and some system information
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.deater.net/weave/vmwprod/linux_logo/
|
||||
IUSE=nls
|
||||
KEYWORDS=amd64 hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=nls? ( virtual/libintl )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-5.11.tar.gz
|
||||
_eclasses_=multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=52248a0810b3789d306709a7f3cfbe92
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare prerm
|
||||
DEPEND=nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=A utility that displays an ANSI/ASCII logo and some system information
|
||||
EAPI=4
|
||||
HOMEPAGE=http://www.deater.net/weave/vmwprod/linux_logo/
|
||||
IUSE=nls
|
||||
KEYWORDS=amd64 hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=nls? ( virtual/libintl )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.deater.net/weave/vmwprod/linux_logo/linux_logo-5.11.tar.gz
|
||||
_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 multilib 3bf24e6abb9b76d9f6c20600f0b716bf systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=97ff24f5295b78c293fcd2dfca7dcd42
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=configure install postinst prepare setup
|
||||
DEPEND=!<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=System uptime record daemon that keeps track of your highest uptimes
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/rpodgorny/uptimed/
|
||||
IUSE=static-libs
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/rpodgorny/uptimed/archive/v0.3.18.tar.gz -> uptimed-0.3.18.tar.gz
|
||||
_eclasses_=autotools 7bcca47e6ac6bbfa251fe7e9483fcf67 eutils 6faef4c127028ccbba3a11400d24ae34 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac user f54e098dd38ba1c0847a13e685b87747
|
||||
_md5_=21b2a07a587bfc8fe47f739742739c3f
|
@ -1,10 +1,12 @@
|
||||
DEFINED_PHASES=install setup test unpack
|
||||
DEPEND=dev-vcs/git || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-3.3*[xml] =dev-lang/python-3.2*[xml] =dev-lang/python-3.1*[xml] =dev-lang/python-2.7*[xml] =dev-lang/python-2.6*[xml] )
|
||||
DEFINED_PHASES=install test unpack
|
||||
DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] test? ( sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-lang/perl sys-apps/diffutils ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=Collection of developer scripts for Gentoo
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.gentoo.org/proj/en/portage/tools/index.xml
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-apps/portage dev-lang/perl sys-apps/diffutils || ( =dev-lang/python-3.3* =dev-lang/python-3.2* =dev-lang/python-3.1* =dev-lang/python-2.7* =dev-lang/python-2.6* ) || ( =dev-lang/python-3.3*[xml] =dev-lang/python-3.2*[xml] =dev-lang/python-3.1*[xml] =dev-lang/python-2.7*[xml] =dev-lang/python-2.6*[xml] )
|
||||
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) python_targets_python3_2? ( >=dev-lang/python-3.2.5-r2:3.2[xml] ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3[xml] ) python_targets_python3_4? ( dev-lang/python:3.4[xml] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_2(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-lang/perl sys-apps/diffutils
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 git-2 2027b81a576527fa16bece425941e094 git-r3 6ebae45064cb04482f3c702632dd9528 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=7794296c36092867d5fcd02209786dcc
|
||||
_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 git-r3 6ebae45064cb04482f3c702632dd9528 multibuild ddc59d206214ef1c240093e1bb2513cf multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 fef838277e0f17df29d4951b7183d1b4 python-utils-r1 fa6c2a74651117877e00388c61d6ef99 toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac
|
||||
_md5_=3df4df83fe40a89ce1f9068070e270eb
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue