parent
81517029c8
commit
68d712ea87
@ -1,8 +1,12 @@
|
||||
AUX mksh-40f-etc-configurable.patch 993 SHA256 9908537998a8d41b011449c69b451d2cce7929f42fe755728c38a43728f00ab6 SHA512 d382fcdae6b5ad6940c0fff01a114209f91f5420f6f28771aec63f92bcea0b1ef274cd0919b5258f605dd84698c949db22e887f27cc7e42f85b6799c0ff63125 WHIRLPOOL 2012280d92af631cd1cecc78568a4b1895bce221b10b346228a9edffb43fc3507a40d75e37b7aa3343afe305473ce0b623c261cbffc3b251538e07ea43074f39
|
||||
DIST mksh-R40f.cpio.gz 331196 SHA256 d8657102f3e9f0c432388f1c820821ebe0eee442739604293488e6266c298762 SHA512 a396ef02aecd713d44597da286bac2bdfe12f12f9712ebc21825283f3900bfca5b79125ca7e191c9970bde761e7873fc68ad3c822238e70697d65eb373560c75 WHIRLPOOL 4627639d67155cdfe09d0bff1fc16abf4111654a8538378ed4465fd71013e9562869c967bdcecf7c300712363775ef6cd67ae51c1cb52424c6a1ae36f2db68f8
|
||||
DIST mksh-R41.tgz 341489 SHA256 32522287a9d4daad176dc97d420000a07c0947fdbc853004fc84f02dbdd87c91 SHA512 b28c52face5227964fee8dd60f088e4c0866c3572240a0d9529c31f49892f7589fb68db4ed58528b51e4dd7cfc1f94713755eb4cd0fc6bd257c39954f9a463f3 WHIRLPOOL b8a6d90d42311384a9384f8948e6307941994dbd8d77647c6f203ab77089624474e6809f71df4da2e6735a4e2119b6dceedd6d8f5a56eeddce10c575da7e2d29
|
||||
DIST mksh-R41b.tgz 343553 SHA256 265c25ac5c06da6d346b19588b12a7d0fa4a3ec25b73eaa472924a96eaa68249 SHA512 102c25957edc575b77f27df2fd122e293ff7ae03117c21c5fbea019747a9884fd98db165cb21a88731ddeba940fb6bfb2dac1cc823b619f4ceb6b492ec28a048 WHIRLPOOL 7e4d99b0b8dbdc4c00694e99d1b1c3a114d3f85c64d7dcf409d2a176a2099be59030fc505226f8d53cf790e0808de22a5d24a856a00e74d9ce0465239a0fa91b
|
||||
DIST mksh-R42.tgz 345721 SHA256 8a45ca6a9fa228b887ca9fd7f28657f0d568a298f056700cad088064f8ead80d SHA512 5b2c950a5bf371436da8c441993ef8d14df2d90d335f08e202dc7732c9c7ba93da96cb1c841ebb37f5886b70c8468f09bbf19f65d3365762d737d48699cc3390 WHIRLPOOL 9400a3290db44eea8f404fc8feef1acda2ac78904931775c2e3b4768da5df26807d6816df59bc69a767d2caf1a37a9ffa7f2181f05f562a379b712cfadebb3d0
|
||||
EBUILD mksh-40f.ebuild 959 SHA256 88fc1a1a62fe3729ec3934f61a713095b7aafda29bceda124562986a22c6deea SHA512 9cc3b7ee637d98fa902d83f50f4416877ddd80994571bc538bd68adb2a5721a01ae67de2ac12dad371432011e39c1b93eb282fb1b6a9a2b8e5a526ea1dec94b8 WHIRLPOOL 0a23e99b86c0f235c343ddfc583923e615ea0d2a1d41e366079a38cf79bb9561e5cf37f699d12d51b802a0b0b5a6c5af26117841e6acf3f2142010a5331fd03f
|
||||
EBUILD mksh-41.ebuild 887 SHA256 6de9a092313f3f9d949daffcbaed4455c64cbe7da6c8de78d15014cca64e724b SHA512 5571fb5072ea9c28eaf5036a964e27f63f0b6eac05475c34572aa26fb624a57c6263fe6a013cac83a16bedc83189a92581f933a0591e6135d1a208676fa2451a WHIRLPOOL ad7fc315f5c7cca488015d3f8fb4432f81989ff234ee986b391e5a607bd920a2b20ed3e231c7154e4fc6d199975757d1e236b8360b5bdfee53d260256c29d602
|
||||
EBUILD mksh-41b.ebuild 888 SHA256 cf3939f5b86715ce073515572f3d33bbb92b4395d8f8218726fb114304d49186 SHA512 c029734c409acca0f8c7a1f749c223f61808e848cc800867a20441311913ee5f8cab05828b076ac15d569edae62d826423a538e8dd1ed1961e3b1e80deb4f492 WHIRLPOOL 3cae3587e453855fafbce5727f45378774581f9904812167e40a6b4412049d35fce56c78a99a96195f6f5357accfb15d63d2f18ac04f3c9e7585e4c8935e7d23
|
||||
EBUILD mksh-42.ebuild 887 SHA256 cba9cbf49faacf2bb646679b08bd6069196db80933acb9526696ad67b48a1d5b SHA512 8c412634c72d854d79892f03d8e2d9a902bda22dc06893c6e52d54a2b8dc1afbba708342b3816161e4c1c9389f22374875f5386e2e71f191855061cfc4573dd3 WHIRLPOOL 7cd7ebf4119331b7d6164e01dbee96bf498521fa106e76cf65c5506e6efa544827fbea7fe98f8c5f668ec32923ced881a547164457e26ffeb364a6bbe83e9f43
|
||||
EBUILD mksh-9999.ebuild 991 SHA256 1026966b4c81495e3f46f6dcb237061af63c923545d5290b2aa2065f6a82f06d SHA512 a14b75f80168695dfcfe2ed7f4521165b46a3cc452696b57b9f33416b62f479c4ec58451c11bc524afbc9f014b028e71617e6ee66f9daf377ce68bc2d148f5ed WHIRLPOOL acf3a90413a92284c852b5b55bd968a4f73b0334ae6e9377c3533819daba96d9f90f925b3fbfe22f2a5741586f40b1daf6fd30489e406b7532a6d1fc8c7313f8
|
||||
MISC ChangeLog 4383 SHA256 c2f3330f8eba24e14fad58d94fccbb0e40d1db60193fc91d3fbfc9a462c88b26 SHA512 244d5343660bf0ab298cb09b5c498256ac07fa03ff1f2457eed80c1c28f955dc65d4b0338c15fc0dd8275cea94da5b4e1f0c1d420c9f836f90ec26ecb7783000 WHIRLPOOL 7b15867798beaf253b985a09aa122b32414ab2e12e84cf55c11b235a8ceb571ac7bf472a79e5730f677614735e46caa3e5ac23de2ee922caed72d258ec1c45cb
|
||||
MISC ChangeLog 4526 SHA256 0b04f74d50c2d9a5e985650bf7298626625ed43da0c998503f5d7fec23350960 SHA512 d45eae7cde33df662ad2e843eec2b7c89ebca771e6c84bab2ddb7a1705dc9a5722f5ac3369b6f348a1e1d000ef794595f87e5d125abb59476c99df5cf4bde182 WHIRLPOOL e38994ef246b2e7adbe4cbc8068be8597e71843a56d3a78339658f0e908a39e9e4c9a93afafbf95603f2d9fbc23bd9407610f13a41db57fda66ca244b8f22c04
|
||||
MISC metadata.xml 196 SHA256 e8ef5daeda229c876fcf81068b64452d16ca1674618ee72fe8c294f6ead29445 SHA512 ba2a04029fc9fd51726e618311fc0d5ca87333acb0c067a353000a5e0cd31a9f4095adc14faae4d1f14409303051f381c66c3a4cd6ac6699a9476193ac7030f4 WHIRLPOOL 002f8951fc98cfd1917aeef67a1ef0fbc7b662f4cce3c4d9735f198ec8fcaa7e258524a80dbdea1eb485db6faae224dfb317af827582c0777faeba8cd2950ccb
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-41b.ebuild,v 1.1 2013/02/12 02:14:38 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
ARC4_VERSION="1.14"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/cpio"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-42.ebuild,v 1.1 2013/02/12 02:14:38 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
ARC4_VERSION="1.14"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/cpio"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
From cd0b9991c76903b66ad3c938d6135aedbf4e1ef0 Mon Sep 17 00:00:00 2001
|
||||
From: H.J. Lu <hjl.tools@gmail.com>
|
||||
Date: Tue, 6 Dec 2011 19:51:28 -0800
|
||||
Subject: [PATCH] Fix libffi for x32.
|
||||
|
||||
2011-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* src/x86/ffi64.c (ffi_call): Cast the return value to
|
||||
unsigned long.
|
||||
|
||||
* src/x86/ffitarget.h (ffi_arg): Set to unsigned long long for
|
||||
x32.
|
||||
(ffi_sarg): Set to long for x32.
|
||||
---
|
||||
libffi/ChangeLog.x32 | 8 ++++++++
|
||||
libffi/src/x86/ffi64.c | 2 +-
|
||||
libffi/src/x86/ffitarget.h | 5 +++++
|
||||
3 files changed, 14 insertions(+), 1 deletions(-)
|
||||
create mode 100644 libffi/ChangeLog.x32
|
||||
|
||||
diff --git a/libffi/ChangeLog.x32 b/libffi/ChangeLog.x32
|
||||
new file mode 100644
|
||||
index 0000000..c733789
|
||||
--- /dev/null
|
||||
+++ b/libffi/ChangeLog.x32
|
||||
@@ -0,0 +1,8 @@
|
||||
+2011-12-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
+
|
||||
+ * src/x86/ffi64.c (ffi_call): Cast the return value to
|
||||
+ unsigned long.
|
||||
+
|
||||
+ * src/x86/ffitarget.h (ffi_arg): Set to unsigned long long for
|
||||
+ x32.
|
||||
+ (ffi_sarg): Set to long for x32.
|
||||
diff --git a/libffi/src/x86/ffi64.c b/libffi/src/x86/ffi64.c
|
||||
index bd907d7..4d87ddb 100644
|
||||
--- a/libffi/src/x86/ffi64.c
|
||||
+++ b/libffi/src/x86/ffi64.c
|
||||
@@ -426,7 +426,7 @@ ffi_call (ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue)
|
||||
/* If the return value is passed in memory, add the pointer as the
|
||||
first integer argument. */
|
||||
if (ret_in_memory)
|
||||
- reg_args->gpr[gprcount++] = (long) rvalue;
|
||||
+ reg_args->gpr[gprcount++] = (unsigned long) rvalue;
|
||||
|
||||
avn = cif->nargs;
|
||||
arg_types = cif->arg_types;
|
||||
diff --git a/libffi/src/x86/ffitarget.h b/libffi/src/x86/ffitarget.h
|
||||
index b85016c..7a7d7a5 100644
|
||||
--- a/libffi/src/x86/ffitarget.h
|
||||
+++ b/libffi/src/x86/ffitarget.h
|
||||
@@ -53,9 +53,14 @@ typedef unsigned long long ffi_arg;
|
||||
typedef long long ffi_sarg;
|
||||
#endif
|
||||
#else
|
||||
+#if defined __x86_64__ && !defined __LP64__
|
||||
+typedef unsigned long long ffi_arg;
|
||||
+typedef long long ffi_sarg;
|
||||
+#else
|
||||
typedef unsigned long ffi_arg;
|
||||
typedef signed long ffi_sarg;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
typedef enum ffi_abi {
|
||||
FFI_FIRST_ABI = 0,
|
||||
--
|
||||
1.7.3.4
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.10.ebuild,v 1.9 2012/06/13 19:49:51 ryao Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
MY_P=${P/_}
|
||||
|
||||
inherit libtool toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="a portable, high level programming interface to various calling conventions."
|
||||
HOMEPAGE="http://sourceware.org/libffi/"
|
||||
SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug static-libs test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="test? ( dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
# Detect and document broken installation of sys-devel/gcc in the build.log wrt #354903
|
||||
if ! has_version dev-libs/libffi; then
|
||||
local base="${T}/conftest"
|
||||
echo 'int main() { }' > "${base}.c"
|
||||
$(tc-getCC) -o "${base}" "${base}.c" -lffi >&/dev/null && \
|
||||
ewarn "Found a copy of second libffi in your system. Uninstall it before continuing."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.0.9-x32.patch
|
||||
epatch_user
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use userland_BSD && export HOST="${CHOST}"
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc ChangeLog* README
|
||||
find "${D}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/argh/argh-0.23.0-r1.ebuild,v 1.2 2013/02/12 00:55:19 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple argparse wrapper"
|
||||
HOMEPAGE="http://packages.python.org/argh/"
|
||||
SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="LGPL-3"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
# setup.py tries to install argparse for some reason...
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST arrayterator-1.0.1.tar.gz 7840 SHA256 ec38a888adf2c8f7d78ad9cc5dc455a7a92c41c9ca4e42f9aa67fc1bc6a69d6e SHA512 91d560f1aac1e64cda6feaf6ead5ab8ac59555e046760b6caa8cd80c47b7c96f032bde064eee82b9d5e287e8845afa2a17b3460c68561d8ff3c6fe7eecb69cb4 WHIRLPOOL 03ff14a0750dd24195207f61720a47fa6a21523875248c2b54b3c8a47601041524ae5767298bba1b24e9266118ef204d0416cba6fe201aa1ccb0e2cd2c27d38b
|
||||
EBUILD arrayterator-1.0.1-r1.ebuild 801 SHA256 83ae2838a47e59cca86c70f93d76a98a8141d94d1d2035073cf18dbda82ac00b SHA512 f1bfab1f2885798090a3521c6643424554f59cfd45492aed58f79375f3370e0d67757654db6a75a2a5d61d81ca12d850d56973c02a84c9d58d5356848faf932c WHIRLPOOL 178a53d8fbb3b0833b2b3720a069b5c0349f1956057f451a7145ecbce0f689449ba736ebbd638e709dd5407bfb2f7ec76ed07d05d35e905899acd0ed9cfc6225
|
||||
EBUILD arrayterator-1.0.1.ebuild 887 SHA256 a42da79cbcbd10744cd31c6f4d53db71d298d8fb2da2ce75edd8a2a2b9946185 SHA512 0151cef942d36b67fd88b2beaa09a7f3a9931392410a2db7d594056399297db8e75677aecc70e169e65ec07a808e0591fe28ac2969fa7c188e575ca3c885bb4b WHIRLPOOL 3bff45f0fd22a99523cb1b1fcb383c484eedc46b93051852eb03f394470152343981e810f15663153a774ddfcffc0163bbc2e3a72169af926e14f5e6a07cd3e1
|
||||
MISC ChangeLog 790 SHA256 dcd3d9f48bef236f96d31cdc46e51e019e81185d2c2c2980d5304bb9d6a21e37 SHA512 563205e7296834c2b1393fbae0bd2fef47c931fa23c315d34a249b34a3b777eaadd63f4a7fe382656ad7af86a6c405fbb82ab0d077813638bb3ad8c0903ca5eb WHIRLPOOL b965ee365a999b5807eed68794cd0b1e45d34d116c78f0479c13152563596d0dd3cb76bbaabc19f93553703121acb6895b359f41f78cfa5920e670f709816e16
|
||||
MISC ChangeLog 934 SHA256 0af4ca31524da0ad026ff041e0379315a485db97103d3508d27cf032b0705ba0 SHA512 e5d619c83ef367d6953742b6ecbb8e1dbb3f54556b3a88ddc0273f686588157a1a1f017dff960753a791cd69f19be5de47508c34e42ac33071043661edb6171b WHIRLPOOL c7a9cced6f0d89794fdfc347f04c5d433c4bdc982399cb9fd9b883f3addb9952b321f8bfcfd62a65bb0f142a229305e3fec3eb8b0c049cd066bd780cfbbd15d9
|
||||
MISC metadata.xml 235 SHA256 75e68429d411f5b4c6a09996116b90ab13f1370303b9bedb206ee4f975469638 SHA512 364dce951855efec421755bcdbedb6be22fa677540a391f0fa594769d0e173f04daa60bcc6ca65389ef334c019d481a4f227eefb74d58ed72f3bfd9579205a66 WHIRLPOOL 4d9aca1a8df643232d9e2f681a22cc46294d2dea760625d0b6efa7da5a2742813fb35a5690a6a23279e9f4cc2c61b11243a4f6bc8c80a3c914a51f5e7714885e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlEZlvwACgkQfXuS5UK5QB1ItAQAmqcaNDxM6CxWvBtQeYECvUpO
|
||||
fKBNMuaHwhlEjqX+6SFkIXy6GMxfEjD/2p7sjS/l9xmT+XC3EDChBRa56ITJAfsF
|
||||
pl9HQo2h06vdOgX+rvEBuWTqoJlwprzLhULD6OSSliqxF+BurAJAGPfOCRRzXRJ2
|
||||
i6/k/2mvwP5sg3EP1K4=
|
||||
=NZPR
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/arrayterator/arrayterator-1.0.1-r1.ebuild,v 1.1 2013/02/12 01:12:17 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A buffered iterator for reading big arrays in small contiguous blocks"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/arrayterator"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/numpy-1.0_rc1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
|
||||
"${PYTHON}" -c "import test_stochastic; test_stochastic.test()" \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/asciitable/asciitable-0.8.0-r1.ebuild,v 1.1 2013/02/12 01:15:31 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An extensible ASCII table reader"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/asciitable http://cxc.harvard.edu/contrib/asciitable"
|
||||
SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST assets-0.1.1.tar.gz 29938 SHA256 c057112d731096c3856bc1121eaaa7341b3fd576b559657810bb0dfa18edd019 SHA512 373dfababd91bf28929dbc5562027c2bad14dac84d822c65e899137f5f5f9dfe3041b16dac08bc811be9b3fb2f553869643fc200ae9198eb046cd02b420714c8 WHIRLPOOL 8a580b2928c3c169425fdc886dbdc2401aeae27e0e5a19d73e4136e6d711be80b6c561ed96f2d88cd607065a4b4e09bf6c4c2b8d1bcb31ffb7f74467ec44b29e
|
||||
EBUILD assets-0.1.1-r1.ebuild 752 SHA256 31f3c1b6838e7893808ee4053b293e643406a10a6d024cdbc62d1f12d6ee9536 SHA512 075b97c7533aa600c7a79f6311229e8c5463bf813c4468b1d733f274490fb4825bda9b4d32c59430ab235d0f09ca44a1294cb117c4411a7101341d5465786877 WHIRLPOOL 2b27ae334b33f6338311c784e0292d8e6b96fb7063c3a9c8f1e0b0a8589f42c311cd433670f16a3185a8304c14806b3422d614c944a2adf58de8e695b3a080f9
|
||||
EBUILD assets-0.1.1.ebuild 631 SHA256 1fe9f986b750eafe348bd5488305e404a9e7d4192b8f0f524d3523b20ae39252 SHA512 6a6e9e8ec5012ebb19c75cf5d26f45a53c50eb1e196041782e587fc2ca75c8f48016b179d28f48802a6010e87c2d2a0e7e5a380bc3201e256a19a8070a9bdaf7 WHIRLPOOL 50cc3c53492d72a0c8195980ea4ac5084f864b7b61ea0cec3b3bec853b4e912e8ff824c11b97bb9ae2d985eb843f712beb2d051c6213e4033af5be491f6f390a
|
||||
MISC ChangeLog 596 SHA256 6c45cad785d11d691e953c8f198e34ff62acd75e1b5f64921a4dfe0b3bca7de7 SHA512 16ad15f34db4a393b3aac23cbd644313e642a53e894c578988314cd44c18608d548149e7b2ade1ae44868b6b70a3b9a47da831a81fc13c0b62ada4c25cb8a9d7 WHIRLPOOL 27cf1f5ce98f1bf2de512964e9eda7ba22c983d486161595c4eec4841f197e1faa5d08a551c80f0f04cf559c97cc8af738f40153434471f55e816dccae622d82
|
||||
MISC ChangeLog 758 SHA256 70773c8d6e70d3124a7d3282e5e579aca2ca787cf1e602d28b69ef5d17176ae5 SHA512 628443ceb2378cf82b704e53baf9d72549a08384c4717f2d6c617961df5fa1a63c0e7feaefd18cc374baa6aaef77968b822ad68c75b16c53f4d91c2e0904e1c9 WHIRLPOOL 2eb52791dd3876761d6c9f92e752d9bb2a2f93737601c2c1b261b892436dfa0670fe46654b8e3882309a09cf87805fc0c2d6461e4fc166f212606a7d06bfba37
|
||||
MISC metadata.xml 733 SHA256 c12af8274100b32159b15a202cac702db6d9d05a910796afcdb0f705c84fe708 SHA512 2c4e59cda7224f0b0d4da9f53b4abaca4ef1ebc055cd49612c8481c55a32f0c63ba28b8ec91d0bdcf6f10130c7286e5b1f80047e99daec645d04e0f89e88e54f WHIRLPOOL 950a653e3da834b6632b20a2d7ea9903b5c945ba59ed730e0fc050207d5cb6e25afd075f27c0cad002f7ffd599fed876423a76a0a9c085dc49860e52e8fc280c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iJwEAQEIAAYFAlEZmhwACgkQfXuS5UK5QB2c7QQAnYn6aX2PhLoFmK+fb8Zc7WCM
|
||||
YmqTt+tOwU4+ZvDXTMpfYGOI6T6SKgePJ5moyywvf4EABBicHWywOcbIIrB1vO3W
|
||||
9Q6Ly4kKf9y/3rxRMvBWTAjQbtmgsx1tedxfT7dC0p2p+r2TI9J4JUw4VbVz8CB4
|
||||
szGT01zmySsj44DdcBA=
|
||||
=DaTD
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/assets/assets-0.1.1-r1.ebuild,v 1.1 2013/02/12 01:25:38 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Cache-friendly asset management via content-hash-naming"
|
||||
HOMEPAGE="http://jderose.fedorapeople.org/assets"
|
||||
SRC_URI="http://jderose.fedorapeople.org/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
# The package tests assert on '/tmp', bug #450540
|
||||
local -x TMPDIR=/tmp
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.37-r1.ebuild,v 1.1 2013/02/12 01:06:57 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
|
||||
HOMEPAGE="https://launchpad.net/python-distutils-extra"
|
||||
SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} )
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable broken tests.
|
||||
sed \
|
||||
-e "s/test_desktop/_&/" \
|
||||
-e "s/test_po(/_&/" \
|
||||
-e "s/test_policykit/_&/" \
|
||||
-e "s/test_requires_provides/_&/" \
|
||||
-i test/auto.py
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 5 tests fail with disabled byte-compilation (they rely on exact
|
||||
# output from python).
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
|
||||
cp -R -l test "${BUILD_DIR}"/ || die
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
"${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-2.3.17.ebuild,v 1.1 2013/02/11 21:22:44 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=( "${PN}-2.3.10-rails3.patch" )
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/text-format-0.6.3
|
||||
>=dev-ruby/tmail-1.2.3"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Custom template not found in package
|
||||
sed -i -e '/horo/d' Rakefile || die
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.11.ebuild,v 1.1 2013/02/11 20:47:47 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionmailer"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.3.3:2.3"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
sed -i -e '/dependency.*mail/s:~>:>=:' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.2.12.ebuild,v 1.1 2013/02/11 20:12:20 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionmailer"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.4.4"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/mocha-0.12.1 =dev-ruby/mocha-0.12*
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.17.ebuild,v 1.1 2013/02/11 21:22:27 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=( "${PN}-2.3.11-rails3.patch" "${PN}-2.3.10-i18n-0.4.2.patch" )
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-1.1.0:0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.7
|
||||
dev-ruby/activerecord:${SLOT}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Custom template not found in package
|
||||
sed -i -e '/horo/d' Rakefile || die
|
||||
|
||||
# This tries to load a “vendorized” copy of activerecord that we
|
||||
# will never have. It can now also use a normally installed
|
||||
# version but these tests fail.
|
||||
sed -i -e '/PATH_TO_AR/s:^:#:' -e 's/self.able_to_connect = true/self.able_to_connect = false/' test/active_record_unit.rb || die
|
||||
|
||||
# Fix the testsuite, the symlink is not present in the gem for
|
||||
# some reason
|
||||
ln -s ../../symlink_parent test/fixtures/layout_tests/layouts/symlinked
|
||||
|
||||
# MemCacheStore tests no longer fail gracefully, and it's unlikely for
|
||||
# someone to have them running anyway, so remove them for now.
|
||||
rm test/controller/session/mem_cache_store_test.rb || die
|
||||
|
||||
# Fix tests when run against i18n 0.4.2 which ignores locale
|
||||
# definitions with an empty data section.
|
||||
sed -i -e 's/, {}/, {:test => "test"}/' test/template/render_test.rb || die
|
||||
|
||||
# Test now broken on a whitespace difference.
|
||||
sed -i -e '/test_multiple_cookies/,/end/ s:^:#:' test/controller/cookie_test.rb
|
||||
|
||||
# Fix for different but equivalent encoding in output.
|
||||
sed -i -e 's/#39;/#x27;/g' test/template/*rb || die
|
||||
|
||||
# Skip failing test in the interest of security update.
|
||||
sed -i -e '/test_rescue_action_locally/,/^ end/ s:^:#:' test/controller/rescue_test.rb || die
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.1.11.ebuild,v 1.1 2013/02/11 20:47:30 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionpack"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/i18n-0.6:0.6
|
||||
>=dev-ruby/rack-1.3.6:1.3
|
||||
>=dev-ruby/rack-mount-0.8.2:0.8
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/sprockets-2.0.4:2.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\|ruby-prof\|benchmark-ips\)/d' ../Gemfile || die
|
||||
|
||||
sed -i -e '/\(rack-ssl\|thor\)/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
sed -i -e "s/, '< 1.3'//" ../activesupport/activesupport.gemspec || die
|
||||
|
||||
# Loosen mocha version restriction
|
||||
sed -i -e 's/0.10.5/>= 0.10.5/' ../Gemfile || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.12.ebuild,v 1.1 2013/02/11 20:12:02 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionpack"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/i18n-0.6:0.6
|
||||
>=dev-ruby/rack-1.4.5:1.4
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/journey-1.0.4:1.0
|
||||
>=dev-ruby/sprockets-2.2.1:2.2"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.12.1
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
|
||||
# Avoid fragile test that gets more output than it expects.
|
||||
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.1.11.ebuild,v 1.1 2013/02/11 20:46:51 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activemodel"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0
|
||||
>=dev-ruby/i18n-0.6.0:0.6
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.2.12.ebuild,v 1.1 2013/02/11 20:11:22 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activemodel"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.17.ebuild,v 1.1 2013/02/11 21:23:06 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3" #sqlite
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
|
||||
|
||||
#ruby_add_rdepend sqlite ">=dev-ruby/sqlite-ruby-2.2.2"
|
||||
USE_RUBY=ruby18 \
|
||||
ruby_add_rdepend "
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
mysql? ( >=dev-ruby/mysql-ruby-2.7 )
|
||||
postgres? ( dev-ruby/pg )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/rdoc
|
||||
=dev-ruby/mocha-0.10*
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Custom template not found in package
|
||||
sed -i -e '/horo/d' Rakefile || die
|
||||
|
||||
# Remove test cases with hash ordering failures.
|
||||
sed -i -e '/test_bind_enumerable/,/end/ s:^:#:' test/cases/finder_test.rb || die
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/^ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
|
||||
# Make sure we load a compatible version of activesupport for tests.
|
||||
sed -i -e '10igem "activesupport", "~>2.3.15"' test/cases/helper.rb || die
|
||||
|
||||
# Drop test now broken by security fixes.
|
||||
rm test/cases/serialization_test.rb
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.1.11.ebuild,v 1.1 2013/02/11 20:48:05 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-rails-*/activerecord"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-2.2.3:2.1
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
sqlite3? ( >=dev-ruby/sqlite3-1.3.4 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.6:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.3
|
||||
>=dev-ruby/mocha-0.13.0
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\|ruby-prof\|benchmark-ips\)/d' ../Gemfile || die
|
||||
sed -i -e '/\(rack-ssl\|thor\)/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
sed -i -e "s/, '< 1.3'//" ../activesupport/activesupport.gemspec || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
TRAVIS=true ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.12.ebuild,v 1.1 2013/02/11 20:12:40 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-rails-*/activerecord"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-3.0.2:3.0
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.5
|
||||
>=dev-ruby/mocha-0.12.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*rubyee18)
|
||||
# Turn on travis support to avoid tripping bugs in ree18.
|
||||
TRAVIS=true ${RUBY} -S rake test_sqlite3
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-2.3.17.ebuild,v 1.1 2013/02/11 21:22:07 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 -x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.3.10-rails3.patch"
|
||||
|
||||
# Custom template not found in package
|
||||
sed -i -e '/horo/d' Rakefile || die
|
||||
|
||||
# Avoid test broken by security fixes
|
||||
sed -i -e '/test_load_yaml_array/,/^ end/ s:^:#:' test/base_test.rb || die
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.1.11.ebuild,v 1.1 2013/02/11 20:47:10 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activeresource"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Avoid test broken by security fixes.
|
||||
sed -i -e '/test_load_yaml_array/,/^ end/ s:^:#:' test/cases/base_test.rb || die
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.2.12.ebuild,v 1.1 2013/02/11 20:11:40 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activeresource"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Avoid test broken by security fixes.
|
||||
sed -i -e '/test_load_yaml_array/,/^ end/ s:^:#:' test/cases/base_test.rb || die
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-2.3.17.ebuild,v 1.1 2013/02/11 21:21:41 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/builder-2.1.2:0 >=dev-ruby/tzinfo-0.3.16 >=dev-ruby/i18n-0.4.1:0.4"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove the bundled packages!
|
||||
rm -r lib/active_support/vendor/{tzinfo,builder,i18n}-* \
|
||||
|| die "failed to remove vendor packages"
|
||||
|
||||
# This patch removes the fallback to local vendorized gems, as well
|
||||
# as fixing the dependencies for i18n to use the correct slot. It
|
||||
# also edits the metadata file so that the dependencies are added to
|
||||
# the specification, which is required for bundler to pick them up
|
||||
# (which in turn is required by radiant 1.0.0rc3 to
|
||||
# work). Furthermore remove the references to the vendorized copies
|
||||
# from the specification, to be safe.
|
||||
mv ../metadata . || die
|
||||
epatch "${FILESDIR}"/${PN}-2.3.16-unvendorize.patch
|
||||
mv metadata .. || die
|
||||
sed -i -e '/\/vendor\//d' ../metadata
|
||||
|
||||
# don't support older mocha versions as the optional codepath
|
||||
# breaks JRuby
|
||||
epatch "${FILESDIR}"/${PN}-2.3.5-mocha-0.9.5.patch
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.1.11.ebuild,v 1.1 2013/02/11 20:46:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# jruby fails tests.
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/${PN}"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8
|
||||
>=dev-ruby/multi_json-1.0
|
||||
dev-ruby/i18n:0.6
|
||||
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
|
||||
|
||||
# libxml-ruby, nokogiri, and builder are not strictly needed, but there
|
||||
# are tests using this code.
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/libxml-2.0.0
|
||||
dev-ruby/nokogiri
|
||||
dev-ruby/builder:0
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.2.12.ebuild,v 1.1 2013/02/11 20:11:03 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/multi_json-1.0
|
||||
dev-ruby/i18n:0.6
|
||||
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
|
||||
|
||||
# memcache-client, nokogiri, and builder are not strictly
|
||||
# needed, but there are tests using this code.
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/memcache-client-1.5.8
|
||||
dev-ruby/nokogiri
|
||||
>=dev-ruby/builder-3.0.3:3
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
)"
|
||||
|
||||
# libxml is not strictly needed, there are tests using this code. jruby
|
||||
# uses a different xml implementation.
|
||||
USE_RUBY=${USE_RUBY/jruby/} ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.3.17.ebuild,v 1.1 2013/02/11 21:23:23 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="builtin configs doc dispatches environments fresh_rakefile helpers html README"
|
||||
RUBY_FAKEGEM_EXTRADOC="README CHANGELOG"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
# gem lacks tests
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-rails-0.15"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/rake-0.8.3
|
||||
dev-ruby/rdoc
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}"
|
||||
ruby_add_bdepend "doc? ( dev-ruby/redcloth )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/horo/d' Rakefile || die "Could not remove reference to unavailable documentation template."
|
||||
|
||||
# Create the documentation that we create on the fly in a separate
|
||||
# directory, since we need to install the doc directory for the
|
||||
# rails script.
|
||||
sed -i -e "s/rdoc_dir = 'doc'/rdoc_dir = 'rdoc'/" Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
|
||||
if use doc; then
|
||||
pushd rdoc
|
||||
docinto api
|
||||
dohtml -r *
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.1.11.ebuild,v 1.1 2013/02/11 20:48:43 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+asset-pipeline"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-rails-0.18"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
=dev-ruby/bundler-1*
|
||||
~dev-ruby/railties-${PV}
|
||||
asset-pipeline? (
|
||||
dev-ruby/jquery-rails:0
|
||||
dev-ruby/sass-rails
|
||||
dev-ruby/uglifier
|
||||
dev-ruby/coffee-rails
|
||||
)"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.2.12.ebuild,v 1.1 2013/02/11 20:13:15 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+asset-pipeline"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
=dev-ruby/bundler-1*
|
||||
~dev-ruby/railties-${PV}
|
||||
asset-pipeline? (
|
||||
dev-ruby/jquery-rails
|
||||
>=dev-ruby/sass-rails-3.2.3:3.2
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
>=dev-ruby/coffee-rails-3.2.1:3.2
|
||||
)"
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.1.11.ebuild,v 1.1 2013/02/11 20:48:23 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:regular"
|
||||
RUBY_FAKEGEM_TASK_DOC="generate_guides"
|
||||
RUBY_FAKEGEM_DOCDIR="guides/output"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Tools for creating, working with, and running Rails applications."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/railties"
|
||||
|
||||
# The test suite has many failures, most likely due to a mismatch in
|
||||
# exact dependencies or environment specifics. Needs further
|
||||
# investigation.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/rdoc-3.4
|
||||
>=dev-ruby/thor-0.14.6
|
||||
>=dev-ruby/rack-ssl-1.3.2:1.3
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)
|
||||
doc? (
|
||||
>=dev-ruby/redcloth-4.1.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
|
||||
|
||||
# allow newer thor
|
||||
sed -i -e '/dependency.*thor/s:~>:>=:' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.12.ebuild,v 1.1 2013/02/11 20:12:58 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:regular"
|
||||
RUBY_FAKEGEM_TASK_DOC="generate_guides"
|
||||
RUBY_FAKEGEM_DOCDIR="guides/output"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Tools for creating, working with, and running Rails applications."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/railties"
|
||||
|
||||
# The test suite has many failures, most likely due to a mismatch in
|
||||
# exact dependencies or environment specifics. Needs further
|
||||
# investigation.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND+=">=app-admin/eselect-rails-0.18"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/rdoc-3.4
|
||||
>=dev-ruby/thor-0.14.6
|
||||
>=dev-ruby/rack-ssl-1.3.2:1.3
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)
|
||||
doc? (
|
||||
>=dev-ruby/redcloth-4.1.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/diffstat-1.56.ebuild,v 1.1 2013/02/12 03:50:15 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Display a histogram of diff changes"
|
||||
HOMEPAGE="http://invisible-island.net/diffstat/diffstat.html"
|
||||
SRC_URI="ftp://invisible-island.net/diffstat/${P}.tgz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
@ -0,0 +1,16 @@
|
||||
Prevent resetting CFLAGS and LDFLAGS
|
||||
|
||||
This allows the plan9port build to inherit cflags from the environment.
|
||||
|
||||
(This patch must be applied after plan9port-noexecstack.patch)
|
||||
--- a/src/mkhdr
|
||||
+++ b/src/mkhdr
|
||||
@@ -28,8 +28,6 @@ LD=9l
|
||||
AS=9a
|
||||
AR=9ar
|
||||
INSTALL=install
|
||||
-CFLAGS=
|
||||
-LDFLAGS=
|
||||
AFLAGS=--noexecstack
|
||||
CLEANFILES=
|
||||
NUKEFILES=
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/networkmanagement/networkmanagement-0.9.0.7.ebuild,v 1.1 2013/02/11 23:56:46 creffett Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="ar bs ca cs da de el es et fa fi fr ga gl hu it ja kk km lt mr nb nds nl nn pl
|
||||
pt pt_BR ro ru se sk sl sr sr@ijekavian sr@ijekavianlatin sr@Latn sv tr uk zh_CN zh_TW"
|
||||
KDE_SCM="git"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE frontend for NetworkManager"
|
||||
HOMEPAGE="http://www.kde.org/"
|
||||
[[ ${PV} = 9999* ]] || SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug openconnect"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep solid)
|
||||
net-misc/mobile-broadband-provider-info
|
||||
>=net-misc/networkmanager-0.9.0
|
||||
openconnect? ( net-misc/openconnect )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with openconnect)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,14 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX claws-3.9.0_fix-search-field_part1.patch 4478 SHA256 58f1e00a45de6ee51f375d504da4f5b4a0843685d4e19667b0d19fcafe1c25ea SHA512 2c206a8375e42d631007cb9b431505fa86db27831debdb8bc3de764bcae0f1a56c6b3ea9eb8c30bd087099a3685ecf24074f3112bf78e50511f9c5c4ac7a0d40 WHIRLPOOL ad3a518718e5d64a809d27ce7781331fdb0d54fe4e9c542f1dd7d6ee16c449fdab83ad5f2b0ec2d18c193f10fe82f7ef168667c7b11b1fef0a4f3782f2a6269f
|
||||
AUX claws-3.9.0_fix-search-field_part2.patch 533 SHA256 5914ee2b2f582523311e8eafa8e8aa58a752b81b85f27d1b84650009896769ad SHA512 20b70e8a06df38fb6ca8c98c67ebccf7db58c5ab31804e879741f23c7f0b1f62b3340474d9090c0938322fc6975e66301929d781c3490ae0ea5ab74de74336b8 WHIRLPOOL 7acd4b78c90e2c7bbd5d4a587d1a0586b5d7d69a84ae91841178bccb3824d1f5540b8b5c2ade5d790896b06872a2545639266e09397f4ad5e5a7e82152df2ef5
|
||||
DIST claws-mail-3.9.0.tar.bz2 7425870 SHA256 ed70975a5056b3ffc4fe6e977f0d9606febc1499763c090241b029a73ff24e65 SHA512 5cb17106fee4549464eca03c8630fa4c46ee7b236c51eefbeb00f8a3602937cbe6073617f47a94732983ec3bc8838bc80e567f2e55cce1b30db453f350f590e8 WHIRLPOOL 4f2bef9d2240037eb6fd9b62b48c7173fddbd4fcb7258d4c5e0ee0e322894d741532c2ad716fbac96e465f87fe428fa6e926a04e7e8de1beaf68b8cb0a12c9a4
|
||||
EBUILD claws-mail-3.9.0-r1.ebuild 3891 SHA256 afbf9936083e3cc38bb16cfc959cbada2a38aa437b4fbc6df2ef1af1cea37fe5 SHA512 161364a5c8f510ecf39538b653763d09a24906bc2a527a10c28cf301b14d6744bf065bc4cf510213489afe41168eadcafd6006e270c338b0f1f8a4e9e4845c7b WHIRLPOOL 98c86442d1d29dd1800a819d6a854207b72f266058b2f024122f73c82a9d219ef9dec34de4a6517194cbeda4d8c1cfccff15dd8b9d00a0b858c7ae8b771c17d8
|
||||
EBUILD claws-mail-3.9.0.ebuild 3753 SHA256 da894e3b689fe452e0c9ba8c52153bd84c85163ccb44131c266fd84493336444 SHA512 e20a44a61d6c89552a89d81a43d469627a875aaaea2ced5cefa9a05a1798dde286f7d262a0e5e062a761f71b6d1c5dbd306a9aafbf067e5826acd3ec7962b417 WHIRLPOOL e1f688bf43bebba383d50dc05a57eed41e6ef9e198a4b80e4626ac362c870cb2574fcadd3170f1880f77effb0a99a84177f3a3e5976920e132dd3ff6dc6d60a9
|
||||
MISC ChangeLog 45964 SHA256 2e69c83132032ec2be49b1fd040fa8b2eb7d4456210d47cdce01cb162464c61d SHA512 4b6b67dd8c65678d36fea1fbe3faf6ac437d654b4490f5faed01ec453761b5b22781261d0b500d57f9afd0be31966fd47e9c6bc6e629c5f9a9990815686b9cdd WHIRLPOOL 3ed1bb56f05872f62bbffb512cf7211cf2319a66a01deb8524ce2bd54f2c840f29a1aefabda2fd1d2cfcb885556279c5e04f35751753f5b0b395c9d60b97fac8
|
||||
MISC ChangeLog 46293 SHA256 0d896c8631131c9c75cc32fc880e9a21ec2df12dfe0ff038ce89c44a30fb6de6 SHA512 0711e819d0f89490ca0d1b8a46833d7e7e86d24d47d997b8ec32236eb0f1d65cb0532078226474d0ee2a8ba194df007e7e6035324e6c4806dc7e3f8aa4112820 WHIRLPOOL 21c5c6889a22f4fb0e6fb4fe9f29c88b515a9995f9ddc0018ae44c88cb96f33db5d0a5d542cf251c6b4c1b60130556d2c267485cc0c6aec3ee7a2946957c27bc
|
||||
MISC metadata.xml 778 SHA256 deae27a074e4678336af25da5b7a620236ba449406c595828eaaea5310e8d07b SHA512 8e436c28f69a11bd8d3b2a39ddbb5189e25090801e45524d94007b9620c5b6d9cfeb94984603f6f1d4a83f0524a006967a84393a571934802188c75791b6589b WHIRLPOOL f1c271a33cf7279479bf2ce1d7aab957eb30bbcada1fcb28cb164236cb1411771346404a44d7c9b4cfb11d5cad2e48955333fb0de9e96908d43018e5d8c0842b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlDlN8UACgkQNQqtfCuFneNW+wCggRxGVGnKtHwZzEGCMc3zNr3E
|
||||
ugkAoIKou58LGUetki7X2MrEvz0gohMU
|
||||
=vQbG
|
||||
iEYEAREIAAYFAlEZZPkACgkQNQqtfCuFneNZEQCgjkyJWk4qZteolhYx9I/4Z8dU
|
||||
AUAAnRhsVr9lEgR+Bgi4qBTMF6cQmLCa
|
||||
=M8Jm
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.9.0-r1.ebuild,v 1.1 2013/02/11 21:38:59 fauli Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils multilib gnome2-utils eutils
|
||||
|
||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
||||
HOMEPAGE="http://www.claws-mail.org/"
|
||||
|
||||
SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="bogofilter crypt dbus dillo doc +imap ipv6 ldap nntp pda session smime spamassassin spell +ssl startup-notification xface"
|
||||
|
||||
COMMONDEPEND=">=x11-libs/gtk+-2.20:2
|
||||
pda? ( >=app-pda/jpilot-0.99 )
|
||||
ssl? ( >=net-libs/gnutls-2.2.0 )
|
||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
||||
crypt? ( >=app-crypt/gpgme-0.4.5 )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
||||
dillo? ( www-client/dillo )
|
||||
spell? ( >=app-text/enchant-1.0.0 )
|
||||
imap? ( >=net-libs/libetpan-0.57 )
|
||||
nntp? ( >=net-libs/libetpan-0.57 )
|
||||
startup-notification? ( x11-libs/startup-notification )
|
||||
bogofilter? ( mail-filter/bogofilter )
|
||||
session? ( x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
smime? ( >=app-crypt/gpgme-0.4.5 )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
xface? ( >=media-libs/compface-1.4 )
|
||||
virtual/pkgconfig"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
app-misc/mime-types
|
||||
x11-misc/shared-mime-info"
|
||||
|
||||
PLUGIN_NAMES="acpi-notifier address_keeper archive att-remover attachwarner clamd fancy fetchinfo geolocation gdata gtkhtml mailmbox newmail notification perl python rssyl spam-report tnef-parse vcalendar"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/claws-3.9.0_fix-search-field_part1.patch
|
||||
"${FILESDIR}"/claws-3.9.0_fix-search-field_part2.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable ipv6)
|
||||
$(use_enable ldap)
|
||||
$(use_enable dbus)
|
||||
$(use_enable pda jpilot)
|
||||
$(use_enable spell enchant)
|
||||
$(use_enable xface compface)
|
||||
$(use_enable doc manual)
|
||||
$(use_enable startup-notification)
|
||||
$(use_enable session libsm)
|
||||
$(use_enable crypt pgpmime-plugin)
|
||||
$(use_enable crypt pgpinline-plugin)
|
||||
$(use_enable crypt pgpcore-plugin)
|
||||
$(use_enable dillo dillo-viewer-plugin)
|
||||
$(use_enable spamassassin spamassassin-plugin)
|
||||
$(use_enable bogofilter bogofilter-plugin)
|
||||
$(use_enable smime smime-plugin)
|
||||
--enable-trayicon-plugin
|
||||
--disable-maemo
|
||||
)
|
||||
|
||||
# libetpan is needed if user wants nntp or imap functionality
|
||||
if use imap || use nntp; then
|
||||
myeconfargs+=( --enable-libetpan )
|
||||
else
|
||||
myeconfargs+=( --disable-libetpan )
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myeconfargs+=( --enable-gnutls )
|
||||
else
|
||||
myeconfargs+=( --disable-gnutls )
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
||||
autotools-utils_src_install
|
||||
|
||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
||||
insinto /usr/share/pixmaps
|
||||
doins ${PN}.png || die
|
||||
local res resdir
|
||||
for res in 64x64 128x128 ; do
|
||||
resdir="/usr/share/icons/hicolor/${res}/apps"
|
||||
insinto ${resdir}
|
||||
newins ${PN}-${res}.png ${PN}.png || die
|
||||
done
|
||||
|
||||
docinto tools
|
||||
dodoc tools/README*
|
||||
|
||||
domenu ${PN}.desktop
|
||||
|
||||
einfo "Installing extra tools"
|
||||
cd "${S}"/tools
|
||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
||||
doexe *.pl *.py *.conf *.sh || die
|
||||
doexe tb2claws-mail update-po uudec uuooffice || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
|
||||
UPDATE_PLUGINS=""
|
||||
for x in ${PLUGIN_NAMES}; do
|
||||
has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
|
||||
done
|
||||
if [ -n "${UPDATE_PLUGINS}" ]; then
|
||||
elog
|
||||
elog "You have to re-emerge or update the following plugins:"
|
||||
elog
|
||||
for x in ${UPDATE_PLUGINS}; do
|
||||
elog " mail-client/${PN}-$x"
|
||||
done
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
Make combo search field work again.
|
||||
|
||||
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=455590
|
||||
Upstream commit: http://www.claws-mail.org/tracker/getpatchset.php?ver=3.9.0cvs8
|
||||
--- src/advsearch.c 24 Oct 2012 07:48:24 -0000 1.1.2.7
|
||||
+++ src/advsearch.c 16 Nov 2012 13:10:05 -0000 1.1.2.8
|
||||
@@ -314,32 +314,6 @@
|
||||
return returnstr;
|
||||
}
|
||||
|
||||
-// --------------------------
|
||||
-
|
||||
-static gchar *expand_tag_search_string(const gchar *search_string)
|
||||
-{
|
||||
- gchar *newstr = NULL;
|
||||
- gchar **words = search_string ? g_strsplit(search_string, " ", -1):NULL;
|
||||
- gint i = 0;
|
||||
- while (words && words[i] && *words[i]) {
|
||||
- g_strstrip(words[i]);
|
||||
- if (!newstr) {
|
||||
- newstr = g_strdup_printf("tag matchcase \"%s\"", words[i]);
|
||||
- } else {
|
||||
- gint o_len = strlen(newstr);
|
||||
- gint s_len = 17; /* strlen("|tag matchcase \"\"") */
|
||||
- gint n_len = s_len + strlen(words[i]);
|
||||
- newstr = g_realloc(newstr, o_len + n_len + 1);
|
||||
- strcpy(newstr + o_len, "|tag matchcase \"");
|
||||
- strcpy(newstr + o_len + (s_len - 1), words[i]);
|
||||
- strcpy(newstr + o_len + (n_len - 1), "\"");
|
||||
- }
|
||||
- i++;
|
||||
- }
|
||||
- g_strfreev(words);
|
||||
- return newstr;
|
||||
-}
|
||||
-
|
||||
static void prepare_matcher_extended(AdvancedSearch *search)
|
||||
{
|
||||
gchar *newstr = advsearch_expand_search_string(search->request.matchstring);
|
||||
@@ -350,19 +324,51 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#define debug_matcher_list(prefix, list) \
|
||||
+do { \
|
||||
+ gchar *str = list ? matcherlist_to_string(list) : g_strdup("(NULL)"); \
|
||||
+ \
|
||||
+ debug_print("%s: %s\n", prefix, str); \
|
||||
+ \
|
||||
+ g_free(str); \
|
||||
+} while(0)
|
||||
+
|
||||
static void prepare_matcher_tag(AdvancedSearch *search)
|
||||
{
|
||||
- char *newstr = expand_tag_search_string(search->request.matchstring);
|
||||
- search->predicate = matcher_parser_get_cond(newstr, &search->is_fast);
|
||||
- g_free(newstr);
|
||||
+ gchar **words = search->request.matchstring
|
||||
+ ? g_strsplit(search->request.matchstring, " ", -1)
|
||||
+ : NULL;
|
||||
+ gint i = 0;
|
||||
+
|
||||
+ if (search->predicate == NULL) {
|
||||
+ search->predicate = g_new0(MatcherList, 1);
|
||||
+ search->predicate->bool_and = FALSE;
|
||||
+ search->is_fast = TRUE;
|
||||
+ }
|
||||
+
|
||||
+ while (words && words[i] && *words[i]) {
|
||||
+ MatcherProp *matcher;
|
||||
+
|
||||
+ g_strstrip(words[i]);
|
||||
+
|
||||
+ matcher = matcherprop_new(MATCHCRITERIA_TAG, NULL,
|
||||
+ MATCHTYPE_MATCHCASE, words[i], 0);
|
||||
+
|
||||
+ search->predicate->matchers = g_slist_prepend(search->predicate->matchers, matcher);
|
||||
+
|
||||
+ i++;
|
||||
+ }
|
||||
+ g_strfreev(words);
|
||||
}
|
||||
|
||||
static void prepare_matcher_header(AdvancedSearch *search, gint match_header)
|
||||
{
|
||||
MatcherProp *matcher;
|
||||
|
||||
- if (search->predicate == NULL)
|
||||
+ if (search->predicate == NULL) {
|
||||
search->predicate = g_new0(MatcherList, 1);
|
||||
+ search->predicate->bool_and = FALSE;
|
||||
+ }
|
||||
|
||||
matcher = matcherprop_new(match_header, NULL, MATCHTYPE_MATCHCASE,
|
||||
search->request.matchstring, 0);
|
||||
@@ -373,10 +379,18 @@
|
||||
static void prepare_matcher_mixed(AdvancedSearch *search)
|
||||
{
|
||||
prepare_matcher_tag(search);
|
||||
+ debug_matcher_list("tag matcher list", search->predicate);
|
||||
+
|
||||
+ /* we want an OR search */
|
||||
+ if (search->predicate)
|
||||
+ search->predicate->bool_and = FALSE;
|
||||
|
||||
prepare_matcher_header(search, MATCHCRITERIA_SUBJECT);
|
||||
+ debug_matcher_list("tag + subject matcher list", search->predicate);
|
||||
prepare_matcher_header(search, MATCHCRITERIA_FROM);
|
||||
+ debug_matcher_list("tag + subject + from matcher list", search->predicate);
|
||||
prepare_matcher_header(search, MATCHCRITERIA_TO);
|
||||
+ debug_matcher_list("tag + subject + from + to matcher list", search->predicate);
|
||||
}
|
||||
|
||||
static void prepare_matcher(AdvancedSearch *search)
|
||||
@@ -398,26 +412,32 @@
|
||||
switch (search->request.type) {
|
||||
case ADVANCED_SEARCH_SUBJECT:
|
||||
prepare_matcher_header(search, MATCHCRITERIA_SUBJECT);
|
||||
+ debug_matcher_list("subject search", search->predicate);
|
||||
break;
|
||||
|
||||
case ADVANCED_SEARCH_FROM:
|
||||
prepare_matcher_header(search, MATCHCRITERIA_FROM);
|
||||
+ debug_matcher_list("from search", search->predicate);
|
||||
break;
|
||||
|
||||
case ADVANCED_SEARCH_TO:
|
||||
prepare_matcher_header(search, MATCHCRITERIA_TO);
|
||||
+ debug_matcher_list("to search", search->predicate);
|
||||
break;
|
||||
|
||||
case ADVANCED_SEARCH_TAG:
|
||||
- prepare_matcher_header(search, MATCHCRITERIA_TAG);
|
||||
+ prepare_matcher_tag(search);
|
||||
+ debug_matcher_list("tag search", search->predicate);
|
||||
break;
|
||||
|
||||
case ADVANCED_SEARCH_MIXED:
|
||||
prepare_matcher_mixed(search);
|
||||
+ debug_matcher_list("mixed search", search->predicate);
|
||||
break;
|
||||
|
||||
case ADVANCED_SEARCH_EXTENDED:
|
||||
prepare_matcher_extended(search);
|
||||
+ debug_matcher_list("extended search", search->predicate);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -0,0 +1,16 @@
|
||||
Make combo search field work again.
|
||||
|
||||
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=455590
|
||||
Upstream commit: http://www.claws-mail.org/tracker/getpatchset.php?ver=3.9.0cvs9
|
||||
|
||||
--- src/advsearch.c 16 Nov 2012 13:10:05 -0000 1.1.2.8
|
||||
+++ src/advsearch.c 16 Nov 2012 13:11:55 -0000 1.1.2.9
|
||||
@@ -368,6 +368,7 @@
|
||||
if (search->predicate == NULL) {
|
||||
search->predicate = g_new0(MatcherList, 1);
|
||||
search->predicate->bool_and = FALSE;
|
||||
+ search->is_fast = TRUE;
|
||||
}
|
||||
|
||||
matcher = matcherprop_new(match_header, NULL, MATCHTYPE_MATCHCASE,
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins-base/gst-plugins-base-1.0.5-r2.ebuild,v 1.1 2013/02/12 04:23:37 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit gst-plugins-base gst-plugins10
|
||||
|
||||
DESCRIPTION="Basepack of plugins for gstreamer"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~sh ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X"
|
||||
REQUIRED_USE="
|
||||
ivorbis? ( ogg )
|
||||
theora? ( ogg )
|
||||
vorbis? ( ogg )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
app-text/iso-codes
|
||||
>=dev-libs/glib-2.32:2
|
||||
dev-libs/libxml2:2
|
||||
>=media-libs/gstreamer-${PV}:1.0[introspection?]
|
||||
sys-libs/zlib
|
||||
alsa? ( >=media-libs/alsa-lib-0.9.1 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
|
||||
ivorbis? ( media-libs/tremor )
|
||||
ogg? ( >=media-libs/libogg-1 )
|
||||
orc? ( >=dev-lang/orc-0.4.16 )
|
||||
pango? ( >=x11-libs/pango-1.22 )
|
||||
theora? ( >=media-libs/libtheora-1.1[encode] )
|
||||
vorbis? ( >=media-libs/libvorbis-1 )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXv )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
X? (
|
||||
x11-proto/videoproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xproto )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even
|
||||
# though they are not actually used. This needs to be fixed upstream by
|
||||
# replacing AC_PATH_XTRA with PKG_CONFIG calls.
|
||||
sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gst-plugins10_src_configure \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable ivorbis) \
|
||||
$(use_enable ogg) \
|
||||
$(use_enable orc) \
|
||||
$(use_enable pango) \
|
||||
$(use_enable theora) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable X x) \
|
||||
$(use_enable X xshm) \
|
||||
$(use_enable X xvideo) \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
--disable-freetypetest \
|
||||
--disable-static
|
||||
# cdparanoia and libvisual are split out, per leio's request
|
||||
|
||||
# bug #366931, flag-o-matic for the whole thing is overkill
|
||||
if [[ ${CHOST} == *86-*-darwin* ]] ; then
|
||||
sed -i \
|
||||
-e '/FLAGS = /s|-O[23]|-O1|g' \
|
||||
gst/audioconvert/Makefile \
|
||||
gst/volume/Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS NEWS README RELEASE"
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-1.0.5-r1.ebuild,v 1.1 2013/02/12 04:23:08 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib pax-utils
|
||||
|
||||
DESCRIPTION="Streaming media framework"
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+introspection nls +orc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
# gtk-doc-am to install API docs
|
||||
|
||||
src_configure() {
|
||||
if [[ ${CHOST} == *-interix* ]] ; then
|
||||
export ac_cv_lib_dl_dladdr=no
|
||||
export ac_cv_func_poll=no
|
||||
fi
|
||||
if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then
|
||||
# GCC groks this, but then refers to an implementation (___multi3,
|
||||
# ___udivti3) that don't exist (at least I can't find it), so force
|
||||
# this one to be off, such that we use 2x64bit emulation code.
|
||||
export gst_cv_uint128_t=no
|
||||
fi
|
||||
|
||||
# Disable static archives, dependency tracking and examples
|
||||
# to speed up build time
|
||||
# Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo
|
||||
econf \
|
||||
--disable-debug \
|
||||
--disable-examples \
|
||||
--disable-static \
|
||||
--disable-valgrind \
|
||||
--enable-check \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
--with-package-name="GStreamer ebuild for Gentoo" \
|
||||
--with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE"
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
|
||||
# Needed for orc-using gst plugins on hardened/PaX systems, bug #421579
|
||||
use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}" \
|
||||
"${ED}usr/libexec/gstreamer-${SLOT}/gst-plugin-scanner"
|
||||
}
|
@ -1,7 +1,22 @@
|
||||
DIST harfbuzz-0.9.10.tar.bz2 885141 SHA256 1f8c281ded05290fd1964c0e11a2bde607713b33d0c8122a8d230452d99c2e23 SHA512 853d4435309acbb4590719ae1932ffc510e06d88981e7663781b015da37f7b062c391e61d27bf0a30ae39c9d2fcd16ae53b767d08562449e708aee53e5c2b418 WHIRLPOOL 897eeb4663dab437d4558886a4f5ecd902f9bc35987f8d16c67a9a521e0809acbbcd32063ccd3f1d7f6d95b7ecd6c6ac16d2594ef8cde056d17ce4076628289c
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX harfbuzz-0.9.12-hb-version.h.patch 2003 SHA256 39b7689aac2e60c105b17acd3fb0cf5d1333d1276909660c1b4dac8045d8fdda SHA512 5b0072805a8e6a2063be9e6902714196d28a51b5853a3b36c8a63ce34e6381f55cf7669a15c7d7959ed27546abbd1475cfcc41a9f6c05a955eea803a69b89aec WHIRLPOOL 8d49e7bae164d90f9e08c880c65fb18968c61a86a85a694e632aac4afbba4078bbc092a6db9f206eaf6beb77f575541e3a801f7b8addac470f4fda07110f29d6
|
||||
DIST harfbuzz-0.9.11.tar.bz2 885927 SHA256 b516fa2612871f4a5372b7bf5029cb3b997e5917056e183fbd74a1f0051b5788 SHA512 972d2d4973fd53a55b070d33e5c09af6a0288585e08cf704d92ab5e63d0f97a18d3a4bf69c6cdc2527bec22ca3dbe279d1b1c19ce8ccf40c83f98505bf4f887e WHIRLPOOL 461654234b9f92d7900e78e0468591a49294c8fe91fb87f6b37f0323cc4d63d7d8a7eefe0f390564f6b2ef01e7411e5b50ba38fdb6fde62b54526672b041a9e1
|
||||
EBUILD harfbuzz-0.9.10.ebuild 1495 SHA256 9e7d9faa2468dd111724c0cf8c79f8b86ac5a28c1d62dce736c86ddd38ed0a42 SHA512 5dc2625c41c73512f42a9f11e2af54c25be2dd36d9ffb0fb13a7b02e144a3fecd2caa7f2d0e705f092ab928653eb34d1e1dd5c2537aa42e65e569ffa31277abe WHIRLPOOL f739b9e8b51473e9ec50d52d99a6e7afff391d20ab120db06a561cf4ac353ee0ce03a3a075ca986761fe42eb73eb71708c0078c33bd88241395303abe7022938
|
||||
EBUILD harfbuzz-0.9.11.ebuild 1515 SHA256 70530789ce4583660a760eefb0c1eece9c89bd02bfa3000ebb5359731453e00a SHA512 31db898a04b6f72108dfc33b8652a373d08d4f9175e20a08ef402c757989857b466958f0dfcb0b026befd5cd7d6ae71499f3a4d4757ffd7d98445d83fd9eea14 WHIRLPOOL 1961e5a21513caf16e13aca78698968cf5b077f100f767a591233e2b9e6ea00d2a4d0a6ee5d57253aa30155cf55e26612253498d3d7ee37ba373aea3ef2391fa
|
||||
EBUILD harfbuzz-9999.ebuild 1505 SHA256 9771c1d15d624f654d4a8b8ab6a9b309fbe960071740253d4cba96e8f9840e00 SHA512 a8dfdc83f376d4a6fde4aa6967dfd144af63e9987d180dbe819237dae9571767e35766e15d59b9491ffa9af2586f3852b74925bfeece6d6a756b9a2b5ea332c5 WHIRLPOOL 77262262ba5691e11793b6949ea8662139ad3645241a49d76db1bdde34d3985a4e3bdb2d467c4a60655df8e3c7f6c6dc6229b3fc2c129d2aef12a50682a857dc
|
||||
MISC ChangeLog 4055 SHA256 f58b54a26863e4ce2d449d0a4e1c5d0c1bc2903f0ec82e3498439345f695f8af SHA512 6b61c4eb04416abe78398e20ba944c29265f5868267aa9aabd4a73dad1a76aabbb83f656f1edb2ba9ecb1e216bae633838dd3e8afb8e13bb86a9a3c20933f771 WHIRLPOOL 47a75df0fc5585b5aee0266edf9d4d23a980f5e8dfef84253ad803f2aa082a20d7fc95ead76222b78825554899c187228112b0e8c75bd831224dc3625ccfff1a
|
||||
DIST harfbuzz-0.9.12.tar.bz2 886353 SHA256 c653f70a275e98d109a9f1271373a6e80978c97298d723cb3f370351852f9da5 SHA512 10c0e174789e36a02e616cf922962a7c75d6f89cb378a33487b81947e16818347c888c39703c64d620eb3d29bf90cd900ae832dd573f5081eb4de25ba4737bff WHIRLPOOL 6228766b74a46482811ce0e4c85b6bd80d4c0e37aaade3c2b75b790ed1409255d481688e0def89b75a9a1df3ef10bab221dce105439a433e5b33e65ac8685c63
|
||||
EBUILD harfbuzz-0.9.11.ebuild 1532 SHA256 94ac8df02ac84b26f365de954e298783e9f82b65e19f32a52017947a3f1dd4fe SHA512 8d1b059e2f65f40a5a273184d2d6b79fb0bac8ef288a8806bfebae9e446c191a3b9439d29c376f3420f40fcffa63a174ba4d3b93e5ce10c94158a1b66406388e WHIRLPOOL bcdd8945803c25611cc657807088c1223254b6755695c580e538fad2ba1574959a03b721366ee81021ad142652f86ec278ead374a68065ffc5080955d463d7a5
|
||||
EBUILD harfbuzz-0.9.12.ebuild 1678 SHA256 2bc1e0fe6bcd681f088c1af143bd365dc9909a759db948efa78d56fe29cce1bc SHA512 4688a291c9b6e0ce47cce980fd7ca441bda74b42f16fee0a65f5a5182b15744fc276b1a092e0edde67184c0f436738209cfc915efbc79677f78ff10b77567de4 WHIRLPOOL 9bc5fc6cc8ec9576fd5c3a6934c13ebaf2b549a3bd78c1c857defb57ec619630da103cc5c3c78c391a8ea62859460a2dfb240405871f9ecead81f77d76ab461b
|
||||
EBUILD harfbuzz-9999.ebuild 1531 SHA256 037ead8f222af65e306c16f29fdf862b3a89882299b592ce5e50879cb7e9e058 SHA512 26fcd4f481ce9e8ead2281d6ee508ee3529d6b489acf141b3f4fb198268f4921aeb376f888e50bf0b33868306bf269162a8351a2f25e3254ee01f4d54c911be0 WHIRLPOOL 577d8b56d5664e1c147375660ec636b5174fb7214c076afcb2b820c6b4cdf4d80963fd889f277fbf276374b9a4f8a45c786bd9ea1f9adadd687386fa7f17ebcd
|
||||
MISC ChangeLog 4509 SHA256 8d84fc7e1f5070966ffbfb24e2cc32d7882891b1b3b03b4426850a2a1004adeb SHA512 f44ce52e6121a627ebea601328b0128d94ec300e9689914052bc1507e8bdbf54b1b3c869492f29655f932858a3481269496e4fb91c24a5b374fbe18865592fb9 WHIRLPOOL 8930073695ec7f86d97ab387bd35df7231e8f41a36dd64435fe8044b85d6f8c93e29a4321e761e633459797247bb3e67e89928e9cf2b0f5d2780a8f60f2bbe4a
|
||||
MISC metadata.xml 184 SHA256 865929d2ba13ab30c5c648a333363f77b912363ded0b3b0c6170ed7d1340b37c SHA512 c6aedda10236299c8bdc93890c7099e3274ed50419ddf8acb93ead18ba913615e5b3ab17ad51f121dd69ae4578a4da2ff1760a92355129ea7fb4d0bd05721717 WHIRLPOOL 159a9b328f6666422cf38022d4cc6e9d3b1bbfbf3ac5a4fb382c08c4aa18d78a0f1017ad19fc6a9e127068ef647a505f425d3ea30d6418712aeb4aac11340f2f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRGbSWAAoJEJ0WA1zPCt1hdacH/ifYHCQS/HqEATEF2BKyuvTA
|
||||
/4znOiNJe/MvCMMiF2IGfJu86vzveGcZOL30EPRkCX5DnjbnppBctqt/N2asRg/s
|
||||
Vtd59NsyfBkAdoSYiMd2ylfF+vim+i2C0kY1R6mE8vffEjfEh8Wb507Mi0Qi4VQ+
|
||||
5xW4OEmmO873b55CKx2xD43bn97kH6m8X6qXhbymgIdE+E4fjhWJCgGWQ5+ImnuM
|
||||
DhtrqQse6w0/+XwwJdBzJwfDIeoOCiJwNZbdve1Yv61Zmd6TuDfT0usME0yUsIfj
|
||||
eTXskpQUd4vPaZiAY5cgj+CFnjio6Q9pFJJiOl9kCDGLM32G2ddqyV9j+cSj/1o=
|
||||
=Zadc
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,64 @@
|
||||
From 9de5f98f363d96f308adc33f1c2286e5c33117de Mon Sep 17 00:00:00 2001
|
||||
From: Behdad Esfahbod <behdad@behdad.org>
|
||||
Date: Mon, 4 Feb 2013 23:28:22 -0500
|
||||
Subject: [PATCH] Bug 60035 - intermittent make install failure on hb-version.h
|
||||
|
||||
---
|
||||
src/Makefile.am | 12 +++++++-----
|
||||
1 file changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index 79a91d7..a5c888a 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -63,6 +63,8 @@ HBHEADERS = \
|
||||
hb-shape.h \
|
||||
hb-shape-plan.h \
|
||||
hb-unicode.h \
|
||||
+ $(NULL)
|
||||
+HBNODISTHEADERS = \
|
||||
hb-version.h \
|
||||
$(NULL)
|
||||
|
||||
@@ -207,17 +209,17 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
-libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS)
|
||||
+libharfbuzz_la_SOURCES = $(HBSOURCES) $(HBHEADERS) $(HBNODISTHEADERS)
|
||||
nodist_libharfbuzz_la_SOURCES = $(nodist_HBSOURCES)
|
||||
libharfbuzz_la_CPPFLAGS = $(HBCFLAGS)
|
||||
libharfbuzz_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(HB_LIBTOOL_VERSION_INFO) $(export_symbols) -no-undefined
|
||||
libharfbuzz_la_LIBADD = $(HBLIBS)
|
||||
EXTRA_libharfbuzz_la_DEPENDENCIES = $(harfbuzz_def_dependency)
|
||||
pkginclude_HEADERS = $(HBHEADERS)
|
||||
-nodist_pkginclude_HEADERS = hb-version.h
|
||||
+nodist_pkginclude_HEADERS = $(HBNODISTHEADERS)
|
||||
|
||||
CLEANFILES += harfbuzz.def
|
||||
-harfbuzz.def: $(HBHEADERS)
|
||||
+harfbuzz.def: $(HBHEADERS) $(HBNODISTHEADERS)
|
||||
$(AM_V_GEN) (echo EXPORTS; \
|
||||
(cat $^ || echo 'hb_ERROR ()' ) | \
|
||||
$(EGREP) '^hb_.* \(' | \
|
||||
@@ -296,7 +298,7 @@ TESTS_ENVIRONMENT = \
|
||||
srcdir="$(srcdir)" \
|
||||
MAKE="$(MAKE) $(AM_MAKEFLAGS)" \
|
||||
HBSOURCES="$(HBSOURCES)" \
|
||||
- HBHEADERS="$(HBHEADERS)" \
|
||||
+ HBHEADERS="$(HBHEADERS) $(HBNODISTHEADERS)" \
|
||||
$(NULL)
|
||||
|
||||
#-include $(INTROSPECTION_MAKEFILE)
|
||||
@@ -310,7 +312,7 @@ TESTS_ENVIRONMENT = \
|
||||
#hb_1_0_gir_INCLUDES = GObject-2.0
|
||||
#hb_1_0_gir_CFLAGS = $(INCLUDES) $(HBCFLAGS) -DHB_H -DHB_H_IN -DHB_OT_H -DHB_OT_H_IN
|
||||
#hb_1_0_gir_LIBS = libharfbuzz.la
|
||||
-#hb_1_0_gir_FILES = $(HBHEADERS)
|
||||
+#hb_1_0_gir_FILES = $(HBHEADERS) $(HBNODISTHEADERS)
|
||||
#
|
||||
#girdir = $(datadir)/gir-1.0
|
||||
#gir_DATA = $(INTROSPECTION_GIRS)
|
||||
--
|
||||
1.8.1.2
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue