parent
22eb9d18d5
commit
5d68c58707
@ -1,7 +1,3 @@
|
||||
DIST speech_tools-1.2.96-beta-patches.tar.gz 17282 SHA256 389a4fb53854dc9b4c822b4ad7310fa4dd121bad22ccbee9bfe24cf4163459d0 SHA512 39617f96010209f21129213be38ddf590fd7ccdd3adb23b4e47e177fe73cd2bba0d359980535267d49d4635abf5d71ddcbf59d42600acf0c9f647fa50e41c71f WHIRLPOOL 865bf9778b8b9705260f58557710aea5090fa012f30669415d67606ff65f746ae8dcb071748725254ca75ec97d1a974f0a08bc07b0d5e45d7ae2bfd9f92dd952
|
||||
DIST speech_tools-1.2.96-beta.tar.gz 1275015 SHA256 fa1ce5698e1253ee21e67629f394733ef6ad578af671e3a90ea8b73898a12428 SHA512 e3e97b0580e5abd3e493cb6ad2890f8dd6eaa1821897c474f372a78a57c85660d881fb6a30487aa513366a6eda845a363a39d5ab27128afb57ee612112698b1a WHIRLPOOL fbb0152b6122df62d949e4b14a11a792a9467f3088d2308958f8c94fc32946fbd82c10c6deb3586625f707e1ccb77f0f137f226388b661a4fc852665783cafd0
|
||||
DIST speech_tools-2.0.95-beta-patches.tar.gz 5773 SHA256 e7d6780ccf7f1cc4e61f1f70f3fc6d981344b2b2d1c5a1631fe15397f7daac0e SHA512 b38abc6a9895217ba642e8995d37878738f40274f6bc822f9cc87ff7d184691a3f3f71eaedf8657538b4880fc9780a3de1010172c5a715f030db29bf5d5e2dfd WHIRLPOOL cc96971ed64cf5c8ceb366a61ae45eab579c6928c7fc190dd5c839d6e03eaa435638f7482bb27e3f2e91ce9a0f59e12bb17e5e6163c8a656cdaa4bef490dae89
|
||||
DIST speech_tools-2.0.95-beta.tar.gz 1681824 SHA256 61f6786468872aeb2ba0db3ba8c42dd23dfba95467b9fb30cc4f3d92a956b554 SHA512 586332027a437cb94a75c753a140a0e8f194e2867f28cbfed061186133bee7173b30ce892589553465ee8790465fc27999b7cf296328dbb02cd33641501a5c8e WHIRLPOOL 40c786112df364ce9beb5f2bf9539c9cd9b42be67a2ba5f4fee63b5ac1cbdb44d92e8994f43d979e5dffacf999b48fc84f92bee51403667469257bd3e91a3cd5
|
||||
DIST speech_tools-2.1-patches.tar.gz 5688 SHA256 4b1a3579a39fe78e4d524e69c2199f19509ff9d15f8e74c1ea8c6865efc23f65 SHA512 6b33e8831da2c26fe3d8fe4e1a9628916c6c0b20d01df02131eb2f95dec837eb68f2c2008160e237eb0eefa7f1a9772ff108d9e9937482c48fd4dc3e5555d0c1 WHIRLPOOL 190fdeeac41c282fcf2300786e8b8572575f9e9a152f969f2a031df4b5f48e8831d2718cd3822938cfbb0318a0381bd81c6c4c1ba48eec2d4b9afb5410706a0b
|
||||
DIST speech_tools-2.1-r3-patches.tar.gz 6876 SHA256 c37357211aa88ca6038932222f664ee332d58c553960d13ef93c489d2bb41e11 SHA512 db4d656a77e3fcfc43447c11b160cf9b45f0c4ec10f2697e4357f0ec86ea56e2841f1b887493a781406975003f5d8065ffbb75eeebb79fcd9873055b52c248e3 WHIRLPOOL a038534ab83819e5c36e74026ee510bfc279e41b6eea62e6fcb54df599a888d51e7398bd91db615e8e6cdc140b52bc99d8d7c7e52c158ce161d2a74e5909cb2c
|
||||
DIST speech_tools-2.1-release.tar.gz 1681999 SHA256 ff6167cd929a88e2f91b47191c6c4dae87c9c06ba39fccc4465af9d79e9b2be9 SHA512 6ef9a7dd01ede152c4dafd0b2037312d62a79d875813d74ea048899a52eee505b93ffbabef9b6c0a1d15aeadb5508fd18a2f392e85276847fe071173aec5db96 WHIRLPOOL 6df6ca5168462599fadf209827e367c963af5ca6be05277618c9d09aac34a3b151665b860a14fa4742482cc77246e372671ac94b23bdca63bbbb7b8c7b234644
|
||||
|
@ -1,61 +0,0 @@
|
||||
--- speech_tools/config/compilers/egcs.mak 2001-04-04 13:55:32.000000000 +0200
|
||||
+++ speech_tools/config/compilers/egcs.mak 2007-08-28 23:08:01.000000000 +0200
|
||||
@@ -54,7 +54,7 @@
|
||||
CXX=$(EGCS_CXX)
|
||||
|
||||
ifndef EGCS_MAKE_SHARED_LIB
|
||||
- MAKE_SHARED_LIB = gcc -shared -fno-shared-data -o XXX -Xlinker -h -Xlinker XXX
|
||||
+ MAKE_SHARED_LIB = gcc -shared -o XXX -Xlinker -h -Xlinker XXX
|
||||
else
|
||||
MAKE_SHARED_LIB = $(GCC_MAKE_SHARED_LIB)
|
||||
endif
|
||||
--- speech_tools/config/compilers/gcc_defaults.mak 2006-08-05 17:37:59.000000000 +0200
|
||||
+++ speech_tools/config/compilers/gcc_defaults.mak 2007-08-28 23:08:30.000000000 +0200
|
||||
@@ -76,12 +76,12 @@
|
||||
PROFILE_gprof_CXXFLAGS = -pg
|
||||
PROFILE_gprof_LINKFLAGS = -pg
|
||||
|
||||
-SHARED_CCFLAGS = -fPIC -fno-shared-data
|
||||
-SHARED_CXXFLAGS = -fPIC -fno-shared-data
|
||||
-SHARED_LINKFLAGS = -fno-shared-data
|
||||
+SHARED_CCFLAGS = -fPIC
|
||||
+SHARED_CXXFLAGS = -fPIC
|
||||
+SHARED_LINKFLAGS =
|
||||
|
||||
ifndef GCC_MAKE_SHARED_LIB
|
||||
- MAKE_SHARED_LIB = $(CXX) -shared -fno-shared-data -o XXX
|
||||
+ MAKE_SHARED_LIB = $(CXX) -shared -o XXX
|
||||
else
|
||||
MAKE_SHARED_LIB = $(GCC_MAKE_SHARED_LIB)
|
||||
endif
|
||||
--- speech_tools/doc/estjavaapp.sgml 2001-04-04 13:55:32.000000000 +0200
|
||||
+++ speech_tools/doc/estjavaapp.sgml 2007-08-28 23:08:43.000000000 +0200
|
||||
@@ -105,7 +105,7 @@
|
||||
&shellprompt; <userinput>cd tmpdir</userinput>
|
||||
&shellprompt; <userinput>ar x ../libgcc.a</userinput>
|
||||
&shellprompt; <userinput>cd ..</userinput>
|
||||
- &shellprompt; <userinput>gcc -shared -fno-shared-data -o libgcc.so.2.7.2 tmpdir/*.o</userinput>
|
||||
+ &shellprompt; <userinput>gcc -shared -o libgcc.so.2.7.2 tmpdir/*.o</userinput>
|
||||
</screen>
|
||||
</para>
|
||||
</sect1>
|
||||
--- speech_tools/stats/EST_DProbDist.cc 2004-09-30 14:53:36.000000000 +0200
|
||||
+++ speech_tools/stats/EST_DProbDist.cc 2007-08-28 23:21:17.000000000 +0200
|
||||
@@ -310,7 +310,7 @@
|
||||
if (type == tprob_discrete)
|
||||
return 0;
|
||||
else
|
||||
- return (int)scounts.list.head();
|
||||
+ return (long)scounts.list.head();
|
||||
}
|
||||
|
||||
int EST_DiscreteProbDistribution::item_end(int idx) const
|
||||
@@ -326,7 +326,7 @@
|
||||
if (type == tprob_discrete)
|
||||
return ++idx;
|
||||
else
|
||||
- return (int)next((EST_Litem *)idx);
|
||||
+ return (long)next((EST_Litem *)idx);
|
||||
}
|
||||
|
||||
const EST_String &EST_DiscreteProbDistribution::item_name(int idx) const
|
@ -1,22 +0,0 @@
|
||||
diff -Naur speech_tools-orig/base_class/EST_TSimpleMatrix.cc speech_tools/base_class/EST_TSimpleMatrix.cc
|
||||
--- speech_tools-orig/base_class/EST_TSimpleMatrix.cc 2004-09-30 06:53:35.000000000 -0600
|
||||
+++ speech_tools/base_class/EST_TSimpleMatrix.cc 2008-01-05 11:00:07.000000000 -0600
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "EST_TSimpleMatrix.h"
|
||||
#include "EST_TVector.h"
|
||||
+#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include "EST_cutils.h"
|
||||
diff -Naur speech_tools-orig/base_class/EST_TSimpleVector.cc speech_tools/base_class/EST_TSimpleVector.cc
|
||||
--- speech_tools-orig/base_class/EST_TSimpleVector.cc 2006-07-06 06:57:18.000000000 -0600
|
||||
+++ speech_tools/base_class/EST_TSimpleVector.cc 2008-01-05 11:00:32.000000000 -0600
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "EST_TSimpleVector.h"
|
||||
#include "EST_matrix_support.h"
|
||||
+#include <cstring>
|
||||
#include <fstream>
|
||||
#include "EST_cutils.h"
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- speech_tools/speech_class/EST_wave_io.cc.orig 2009-05-26 03:49:24.000000000 -0700
|
||||
+++ speech_tools/speech_class/EST_wave_io.cc 2009-05-26 03:54:01.000000000 -0700
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
int nist_get_param_int(const char *hdr, const char *field, int def_val)
|
||||
{
|
||||
- char *p;
|
||||
+ const char *p;
|
||||
int val;
|
||||
|
||||
if (((p=strstr(hdr,field)) != NULL) &&
|
||||
@@ -84,7 +84,8 @@
|
||||
|
||||
char *nist_get_param_str(const char *hdr, const char *field, const char *def_val)
|
||||
{
|
||||
- char *p,*val;
|
||||
+ const char *p;
|
||||
+ char *val;
|
||||
int size;
|
||||
|
||||
if (((p=strstr(hdr,field)) != NULL) &&
|
@ -0,0 +1,11 @@
|
||||
--- speech_tools.orig/config/systems/GentooLinux.mak.old 2013-11-24 01:49:44.000000000 +0200
|
||||
+++ speech_tools/config/systems/GentooLinux.mak 2013-11-24 13:04:14.327758435 +0200
|
||||
@@ -38,6 +38,7 @@
|
||||
###########################################################################
|
||||
|
||||
MANDIR=$(INSTALL_PREFIX)/share/man
|
||||
+GENTOO_ALSA_LIBS=$(shell pkg-config --libs alsa)
|
||||
GENTOO_CURSES_LIBS=$(shell pkg-config --libs ncurses)
|
||||
# Gentoo does not use termcap
|
||||
-OS_LIBS = $(GENTOO_CURSES_LIBS) $(LDFLAGS) -ldl
|
||||
+OS_LIBS = $(GENTOO_ALSA_LIBS) $(GENTOO_CURSES_LIBS) $(LDFLAGS) -ldl
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.96_beta-r2.ebuild,v 1.6 2012/12/28 18:24:29 ulm Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_P=${P/speech-/speech_}
|
||||
MY_P=${MY_P/_beta/-beta}
|
||||
|
||||
DESCRIPTION="Speech tools for Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
|
||||
SRC_URI="http://www.festvox.org/packed/festival/1.96/${MY_P}.tar.gz
|
||||
mirror://gentoo/${MY_P}-patches.tar.gz"
|
||||
|
||||
LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="nas X"
|
||||
|
||||
DEPEND="nas? ( media-libs/nas )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXt )
|
||||
!<app-accessibility/festival-1.96_beta
|
||||
!sys-power/powerman"
|
||||
|
||||
S="${WORKDIR}/speech_tools"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch"
|
||||
epatch
|
||||
sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local CONFIG=config/config.in
|
||||
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG}
|
||||
if use nas; then
|
||||
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG}
|
||||
fi
|
||||
if [ ! use X ]; then
|
||||
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak
|
||||
fi
|
||||
append-ldflags $(no-as-needed)
|
||||
econf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CC_OTHER_FLAGS="${CFLAGS}" \
|
||||
OPTIMISE_LINKFLAGS="${LDFLAGS}" || die "Compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib/libest*.so*
|
||||
|
||||
dodoc "${S}"/README
|
||||
dodoc "${S}"/lib/cstrutt.dtd
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r lib/example_data
|
||||
|
||||
insinto /usr/share/speech-tools
|
||||
doins -r config base_class
|
||||
|
||||
insinto /usr/share/speech-tools/lib
|
||||
doins -r lib/siod
|
||||
|
||||
cd include
|
||||
insinto /usr/include/speech-tools
|
||||
doins -r *
|
||||
dosym /usr/include/speech-tools /usr/share/speech-tools/include
|
||||
|
||||
cd ../bin
|
||||
for file in *; do
|
||||
[ "${file}" = "Makefile" ] && continue
|
||||
dobin ${file}
|
||||
dstfile="${D}/usr/bin/${file}"
|
||||
sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile}
|
||||
sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
|
||||
# This just changes LD_LIBRARY_PATH
|
||||
sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile}
|
||||
done
|
||||
|
||||
cd "${S}"
|
||||
exeinto /usr/$(get_libdir)/speech-tools
|
||||
for file in `find main -perm +100 -type f`; do
|
||||
doexe ${file}
|
||||
done
|
||||
|
||||
#Rename to avoid file collisions. See bug #287983
|
||||
mv "${D}/usr/bin/dp" "${D}/usr/bin/speech-dp"
|
||||
#Remove /usr/bin/resynth as it is broken. See bug #253556
|
||||
rm "${D}/usr/bin/resynth"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The /usr/bin/dp wrapper script has been renamed to /usr/bin/speech-dp"
|
||||
elog "due to file collision with other programs."
|
||||
elog "See bug #287983 for more details"
|
||||
|
||||
elog "The /usr/bin/resynth program has been removed since it is broken"
|
||||
elog "See bug #253556 for more details"
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-1.2.96_beta.ebuild,v 1.17 2012/12/28 18:24:29 ulm Exp $
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
MY_P=${P/speech-/speech_}
|
||||
MY_P=${MY_P/_beta/-beta}
|
||||
|
||||
DESCRIPTION="Speech tools for Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
|
||||
SRC_URI="http://www.festvox.org/packed/festival/latest/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="nas X"
|
||||
|
||||
RDEPEND="nas? ( media-libs/nas )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXt )
|
||||
!<app-accessibility/festival-1.96_beta
|
||||
!sys-power/powerman"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/speech_tools
|
||||
|
||||
src_unpack() {
|
||||
local CONFIG=${S}/config/config.in
|
||||
unpack ${A}
|
||||
|
||||
epatch "${FILESDIR}"/${P}-gcc42.patch \
|
||||
"${FILESDIR}"/${P}-gcc43-include.patch \
|
||||
"${FILESDIR}"/${P}-gcc44.patch
|
||||
|
||||
# set compiler flags for base_class
|
||||
sed -i -e "s:-O3:\$(OPTIMISE_CXXFLAGS):" "${S}"/base_class/Makefile
|
||||
|
||||
# enable building shared libraries
|
||||
sed -i -e "s/#.*\(SHARED=2\)/\1/" ${CONFIG}
|
||||
|
||||
use nas && sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG}
|
||||
use X || sed -i -e "s/-lX11 -lXt//" "${S}"/config/modules/esd_audio.mak
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die
|
||||
emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib/libest*.so.1*
|
||||
dosym libestbase.so.1.2.96.1 /usr/$(get_libdir)/libestbase.so
|
||||
dosym libestools.so.1.2.96.1 /usr/$(get_libdir)/libestools.so
|
||||
dosym libeststring.so.1.2 /usr/$(get_libdir)/libeststring.so
|
||||
dolib.a lib/{libestbase.a,libestools.a,libeststring.a}
|
||||
|
||||
cd bin
|
||||
for file in *; do
|
||||
[ "${file}" = "Makefile" ] && continue
|
||||
dobin ${file}
|
||||
dstfile="/usr/bin/${file}"
|
||||
dosed "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile}
|
||||
dosed "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
dosed "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
|
||||
# This just changes LD_LIBRARY_PATH
|
||||
dosed "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile}
|
||||
done
|
||||
|
||||
cd "${S}"
|
||||
exeinto /usr/$(get_libdir)/speech-tools
|
||||
for file in `find main -perm +100 -type f`; do
|
||||
doexe ${file}
|
||||
done
|
||||
|
||||
insinto /usr/share/speech-tools
|
||||
doins -r config
|
||||
|
||||
insinto /usr/share/speech-tools/lib
|
||||
doins -r lib/siod
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r lib/example_data
|
||||
|
||||
cd include
|
||||
insinto /usr/include/speech-tools
|
||||
doins -r *
|
||||
dosym /usr/include/speech-tools /usr/share/speech-tools/include
|
||||
cd "${S}"
|
||||
|
||||
dodoc "${S}"/README
|
||||
dodoc "${S}"/lib/cstrutt.dtd
|
||||
}
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-tools/speech-tools-2.0.95_beta.ebuild,v 1.6 2012/12/28 18:24:29 ulm Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_P=${P/speech-/speech_}
|
||||
MY_P=${MY_P/_beta/-beta}
|
||||
|
||||
DESCRIPTION="Speech tools for Festival Text to Speech engine"
|
||||
HOMEPAGE="http://www.cstr.ed.ac.uk/projects/speech_tools/"
|
||||
SRC_URI="http://www.festvox.org/packed/festival/${PV%_beta}/${MY_P}.tar.gz
|
||||
mirror://gentoo/${MY_P}-patches.tar.gz"
|
||||
|
||||
LICENSE="FESTIVAL HPND BSD rc regexp-UofT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="nas X"
|
||||
|
||||
DEPEND="nas? ( media-libs/nas )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXt )
|
||||
!<app-accessibility/festival-1.96_beta
|
||||
!sys-power/powerman"
|
||||
|
||||
S="${WORKDIR}/speech_tools"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch"
|
||||
epatch
|
||||
sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"/usr/$(get_libdir)",' main/siod_main.cc
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local CONFIG=config/config.in
|
||||
sed -i -e 's/@COMPILERTYPE@/gcc42/' ${CONFIG}
|
||||
if use nas; then
|
||||
sed -i -e "s/#.*\(INCLUDE_MODULES += NAS_AUDIO\)/\1/" ${CONFIG}
|
||||
fi
|
||||
if [ ! use X ]; then
|
||||
sed -i -e "s/-lX11 -lXt//" config/modules/esd_audio.mak
|
||||
fi
|
||||
econf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" CC_OTHER_FLAGS="${CFLAGS}" \
|
||||
OPTIMISE_LINKFLAGS="${LDFLAGS}" || die "Compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so lib/libest*.so*
|
||||
|
||||
dodoc "${S}"/README
|
||||
dodoc "${S}"/lib/cstrutt.dtd
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r lib/example_data
|
||||
|
||||
insinto /usr/share/speech-tools
|
||||
doins -r config base_class
|
||||
|
||||
insinto /usr/share/speech-tools/lib
|
||||
doins -r lib/siod
|
||||
|
||||
cd include
|
||||
insinto /usr/include/speech-tools
|
||||
doins -r *
|
||||
dosym /usr/include/speech-tools /usr/share/speech-tools/include
|
||||
|
||||
cd ../bin
|
||||
for file in *; do
|
||||
[ "${file}" = "Makefile" ] && continue
|
||||
dobin ${file}
|
||||
dstfile="${D}/usr/bin/${file}"
|
||||
sed -i -e "s:${S}/testsuite/data:/usr/share/speech-tools/testsuite:g" ${dstfile}
|
||||
sed -i -e "s:${S}/bin:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
sed -i -e "s:${S}/main:/usr/$(get_libdir)/speech-tools:g" ${dstfile}
|
||||
|
||||
# This just changes LD_LIBRARY_PATH
|
||||
sed -i -e "s:${S}/lib:/usr/$(get_libdir):g" ${dstfile}
|
||||
done
|
||||
|
||||
cd "${S}"
|
||||
exeinto /usr/$(get_libdir)/speech-tools
|
||||
for file in `find main -perm +100 -type f`; do
|
||||
doexe ${file}
|
||||
done
|
||||
|
||||
#Rename to avoid file collisions. See bug #287983
|
||||
mv "${D}/usr/bin/dp" "${D}/usr/bin/speech-dp"
|
||||
#Remove /usr/bin/resynth as it is broken. See bug #253556
|
||||
rm "${D}/usr/bin/resynth"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The /usr/bin/dp wrapper script has been renamed to /usr/bin/speech-dp"
|
||||
elog "due to file collision with other programs."
|
||||
elog "See bug #287983 for more details"
|
||||
|
||||
elog "The /usr/bin/resynth program has been removed since it is broken"
|
||||
elog "See bug #253556 for more details"
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST 0.46.tar.gz 211917 SHA256 dbfe47d0b721b8a0c2b47fae6766fb03a62bbbd26f99d082c004074f0d28ed2f SHA512 1f8869d81d6237a72d22eb0e801cbe7ce59fccfc5cd730f58f9b5d0736bec85458cebf8b0e115719f8c7ac326c06b54465be9d23b8b3e1db9e0d11dbb79e2f90 WHIRLPOOL be4481fa15a90ae8c8adbf396d7d352e651c35efee727cd4546944378509d890af8654c3bd52e9dfd3f32cd6bab8b3651bea32cdaca37b149151da56b4a50330
|
||||
DIST 0.51.2.tar.gz 219822 SHA256 280a5b6b38042c34df2409fb1a54dd231cc2820818854d774aec8363b16117d7 SHA512 61aafce363ef26c8ce0c218fa2722cb52614d73481bb10719526d127a3b87116483aabd4761452cb1181f8e76e5d19b05a727132f71c99d827b003d07b42733a WHIRLPOOL 5f0b5b1d8f86a499ad93730e4af846b340e556e09904dd0a45bf98eeeb727c277071fc4edf2b2174bcd55f2c80766636d175f1f8498afcac6a1085fe5ca726e8
|
||||
DIST 0.52.0.tar.gz 222358 SHA256 7f72fdeffc7c2355ca03cc2fcd493c1c87f1778f6f0011924e937ace90541014 SHA512 701950636e69abc0739e98501a6a889450994b5aa246148c16e0fdd35b520e0a9000d98ff6428c1de991aba14cefa3503d3b806b973710f6940242fdd0779df8 WHIRLPOOL 04c5bed0f8a21621c275b57975e2856935f600440f9eaf7706f079037caa8585542c6e72a25478cf26a18d80611e5b0577ac1ce740453e1f0e709546d5e656eb
|
||||
DIST 0.52.1.tar.gz 223101 SHA256 18a4f5b6508b9e763e9f8b4f2d32454fec265e08dbccd7662119a263ac7502a7 SHA512 dae1e485a5de7d970c8ed405a036b60b96a907c44e42dafbca0202651e0010ef4429ecf47a23d7a7b16fa269b10c5497c881ddcbda786f04d1dececf3c159bdb WHIRLPOOL 8341b087f3892cac7cdc89ddba2676be85d7a2d876b94160fc9fb90dd9a4bf24c31f247bf31c2f31f5cca9b2dc4592391f07631a9c834fac22fbe6d65170d145
|
||||
DIST Rex-0.53.1.tar.gz 233320 SHA256 3897b533cb186c7428082a9605250daacb85d0254664d4fd3d2210877f4351ff SHA512 5a14013307c4955a93cc6754787b14610077d3a7055a8e80b01fe39bae6aecd9843d0f008354da9d81f91edba246016fd12871241a916880ddf51db1ee06951d WHIRLPOOL 1374013f1b35e3d270e2d624989a220ceb2340dbe3849e2668dc4e09cfd769cd94a94e8a47715ed6c15d84597d5227ddf98c56b92290a507625cf293bfa391b1
|
||||
DIST Rex-0.55.1.tar.gz 242848 SHA256 cb45b2e6aba133fddc9a2bf11d4d6decdd62f1e8edfce8f3bd54b7e42ea0f57d SHA512 2d438117128b316fcf37dd9060f0f506d9485b10ae75903cde75abd7692e96404f16b75904c1089cd07487992b862b74637589500cd7a3336d235da000a0506e WHIRLPOOL 0a6f8b98b631fa0721731d03478a8fca22d27322645293d2c1d48704698f65f883a8302c473e5d297f1314200c196a0597a352bbb76670ac2451d1c7940a3dad
|
||||
DIST Rex-0.56.0.tar.gz 262842 SHA256 c50f7014bbc8ebf0a92f5f8c57239018f1c764034948bbc483e618b908672e88 SHA512 32a36d96eefc6d801562ded928a2d3227577e30c7ac8270cc40574b602072e270f5e64c949297ed463b779c8e606231ce0de250acae729767bb042d7d1fa9c9d WHIRLPOOL 409f5c56955152d34eb336e64d4915b78d4c9b5fdeef73d4052019661dec6833f8c7da41b3cc6b529c26497c225032c7f58e9a542cdccaa6412085c25374a1b3
|
||||
DIST Rex-0.56.1.tar.gz 263079 SHA256 ef655b16149b048302c27b6a5b3ad767623c7c81be5d2f851dd853ce397645fd SHA512 793960958d0a5b601f59d888fdd4e06d55664a9f75e9c26482abb1acf2701143505d460b5d8b5aa46f6f950d9174bcfc5534f925f7629da0b5e10e9d9e58b92f WHIRLPOOL 86121a6f3fe0f6953c9d0f491167b6f72d3dd6daeca78f998d82e93d272d8f6cca9466a0d09c7dea5f561cc20b8798b02f9be3b7ac25dd61af9743b29d77b8c7
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.46.ebuild,v 1.2 2014/08/10 01:37:41 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_URI="https://github.com/RexOps/Rex/archive/${PV}.tar.gz"
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.51.2.ebuild,v 1.1 2014/08/15 03:21:03 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_URI="https://github.com/RexOps/Rex/archive/${PV}.tar.gz"
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Parallel-ForkManager"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.52.0.ebuild,v 1.1 2014/09/04 06:50:05 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_URI="https://github.com/RexOps/Rex/archive/${PV}.tar.gz"
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Parallel-ForkManager"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.52.1.ebuild,v 1.1 2014/09/11 03:54:11 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
SRC_URI="https://github.com/RexOps/Rex/archive/${PV}.tar.gz"
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Parallel-ForkManager"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.53.1.ebuild,v 1.1 2014/09/19 05:19:58 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.56.1.ebuild,v 1.1 2015/01/07 03:28:03 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1 @@
|
||||
DIST systemrescuecd-x86-4.4.1.iso 413272064 SHA256 358253bf8d88b10be49f5485bf00e6cffea4f38ce635fe0d9f798803edf53d9e SHA512 5c5045df219181064201dda195961096da9722d3d5758dcb111c2c74ed083b3464f314340c01a5a27a920c33bd5bc95efee2efa1edc2405a0d11d9bc67e4b2a5 WHIRLPOOL b834a7a985a85909e9f99441407df78a06ee2c508e3d2020c5c4045cf35e3462f0fba58b888d150f22c0d23daf0d866d4fa93ba4bb6252ab7b502c390824e6ef
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/systemrescuecd-x86/systemrescuecd-x86-4.4.1.ebuild,v 1.1 2015/01/06 23:57:06 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 variant"
|
||||
HOMEPAGE="http://www.sysresccd.org/"
|
||||
SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN%-*}"
|
||||
doins "${DISTDIR}/${P}.iso"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
|
||||
|
||||
# no newer version? we're the newest!
|
||||
if ! has_version ">${CATEGORY}/${PF}"; then
|
||||
ln -f -s -v "${P}.iso" "${f}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# TODO: best_version is probably broken in portage, figure it out
|
||||
local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
|
||||
local newest_version=$(best_version "${CATEGORY}/${PN}")
|
||||
|
||||
if [[ ${newest_version} != ${CATEGORY}/${PF} ]]; then
|
||||
# we're not the newest? update the symlink.
|
||||
ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
|
||||
elif [[ ! ${newest_version} ]]; then
|
||||
# last version removed? clean up the symlink.
|
||||
rm -v "${f}" || die
|
||||
# TODO: remove the empty directory
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST anki-2.0.28.tgz 3314001 SHA256 ba803dfff4f03ab6aa90b722413338de9165d5530012caa640c90fc1681d4336 SHA512 8ee738f724e47a21beba759d4a995e9f014ca2d1f0911a85d8338468f4e369928d1ac3b5bcc2607cb26c7e47e3924d8e9f73383bd4aaa2955bef15272da8deea WHIRLPOOL 57bb05f64844b194e55667708ccfe23b8a6ad0471dad998df8d751b10e81ce3297b2f4d146319883b5f6d668ba79bccd328c9e80dc31c64a1296d49d509cfe14
|
||||
DIST anki-2.0.31.tgz 3329290 SHA256 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8 WHIRLPOOL 42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
|
||||
|
@ -1 +1,2 @@
|
||||
DIST reptyr-0.5.tar.gz 16150 SHA256 b58bff5e06096ce4409983cce85fabc1280ed4115c478c0fec968ce2a4dcec1c SHA512 d38d5986b38c643a2c04429e23d5af0cbd7280ed709c441cf0e217f4fe0e4fd19d7ecb76817aedcf9a2092a8041e22aa77828c07e0cea010478192085b1d8f4b WHIRLPOOL 19fdb5f35b05c2f03ab5af1cc2e2b1510733f1b54d6af6bb14db31185f432df5ff7515b1b36207b976ca5beb2649ca7a1c51d52cb0827280e62bedd05e965726
|
||||
DIST reptyr-0.6.tar.gz 27802 SHA256 71a4f87da228807e540d688b1446d9ba28556e02a9a63175981f66bb39f1049b SHA512 f862644dc2008b7b39f3ef3eca26abc5651d32c9dfb8d2d3b7b9e2f310ebf481a82a95f00417ab87d52f475aea03bdcebeb00e0499e9a0ec89f1f816b96a7f9d WHIRLPOOL 58b995f3799a650a88a44a813356dee4ce6267f314cd5ce797c4452e70e60549756d7b846b5c16ad4007ad09252ac80c6fdde442c5d43dc76bca3cc145dc6107
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/reptyr/reptyr-0.6.ebuild,v 1.1 2015/01/06 15:57:59 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic vcs-snapshot
|
||||
|
||||
DESCRIPTION="A utility to attach a running program to a new terminal"
|
||||
HOMEPAGE="https://github.com/nelhage/reptyr"
|
||||
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# respect CFLAGS
|
||||
sed -i '/^override/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc ChangeLog NOTES README.md
|
||||
}
|
@ -1 +1 @@
|
||||
DIST tatt-0.1.tar.gz 20539 SHA256 70e976606e9f4e1c76d67048f0eaa3f0c53e6b8134621d18bc74f5df01ac8a96 SHA512 5ca2daf190eca82ba038f60dab15587616404dc24e022c7154e1546667caaa7a40681b4401b6a3e2843d9bed9553d9e77dc5ff548434c430902329677ac6f5a5 WHIRLPOOL 25a4e519dec28cf7bd9cee53ba87ce895ddfb31038864f7158473923e8de6415ac5709e9fa3763b320241df34385e74b6fc869f8c9aef44b8a0da6a596b5b679
|
||||
DIST tatt-0.2.tar.gz 22339 SHA256 33c2afd57a115fc6d7993c0fe0162e87d259e34c71bef42685c16f47abd1a775 SHA512 6784a94a70677b55352debb769e24f763c74ae0bc5acfeb64f703e492d1d288fa09f21e9962ddfb47b4be861f902f5f303512142b181134747ccf315a5c481e8 WHIRLPOOL f460d083bdeac33254a378b8105d4dda939d462277a14f1066140f83351347598e1ce46729e31529c1c99207b91499c4f7b24a814a218cfdab2ff864c402a9a0
|
||||
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.30.0.ebuild,v 1.1 2015/01/06 19:54:02 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils toolchain-funcs
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://git.freedesktop.org/git/${PN}/${PN}"
|
||||
KEYWORDS=""
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/49" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection +jpeg jpeg2k +lcms png qt4 qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:0 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS NEWS README README-XPDF TODO)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.0-qt5-dependencies.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_find_package qt5 Qt5Core)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST restview-2.1.1.tar.gz 24948 SHA256 1bf9e845078d05e7cda31bba6fed24a74ffe46f4f466b7b28c39650801724c1f SHA512 c74158d415940c3240b248ec83b1d9c79fa7e279b05a118f04fd5caf6273ef6ba4944a62cf8832e6e214b256962fc559abf42f28a636f4e3140dad9d88fe0cf0 WHIRLPOOL 5986fe67814806eff6c566cb8ba5cd426de984a74740ec50a16790f67029e0d28a33087ec0de1f016461bce725cfbe9921bf8bedef7ffc4603fb9dfcf567c765
|
||||
DIST restview-2.2.0.tar.gz 28910 SHA256 1dbb06eaccf6ad4703e1483f3faac583f176b1df34c2f4da488e369c8dcad404 SHA512 c2141232a1ddfa999cd583592dad099176049802c28412a79e9733ed3d372b8ff744d2d4bc3bf1da0f7569dbe8af762913afa8af9fc7b4b4ed0683f2739cef9d WHIRLPOOL 6015dfa7bfa89511647fe8a4725841f962530ca6c986cfea0e69aa68148256307debf60a42187ec5d4e91831c3eaa42f20d830e639cd9ba9cc77f09033d51bc3
|
||||
DIST restview-2.2.1.tar.gz 29162 SHA256 da182e03b19850abd1b66bc55addded892acf69602d5fc8eb162de4592e9181c SHA512 d34ad1c62ec15ebd84bf89c6086075e0bda30101f0b6148457c3bdfa8f1928e688e2d557158fe744fcc04d01bdd0ebf9afcabfab821b59f6ebfe9d9d35d2f221 WHIRLPOOL a0d72419e95a3ce0613951a2751478e090674d0e9acb4e3bba161e9d750460c4592a8e3ec8aad64ae701928619f03d32073325b1620b867b8d61c023414e527c
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/restview/restview-2.2.1.ebuild,v 1.1 2015/01/06 20:00:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="reStructuredText viewer"
|
||||
HOMEPAGE="https://mg.pov.lt/restview/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DOCS=( README.rst CHANGES.rst )
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,265 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.70.ebuild,v 1.12 2013/08/06 12:32:12 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20130626-0127Z"
|
||||
# PBXT
|
||||
PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
# Build type
|
||||
BUILD="autotools"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
# Most of these are in the eclass
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
>=sys-devel/libtool-2.2.10"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^noinst_PROGRAMS/s/basic-t//g' \
|
||||
"${S}"/unittest/mytap/t/Makefile.am
|
||||
mysql-v2_src_prepare
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
emake check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
cd "${S}"
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus_unit
|
||||
local retstatus_ns
|
||||
local retstatus_ps
|
||||
local t
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# archive_gis really sucks a lot, but it's only relevant for the
|
||||
# USE=extraengines case
|
||||
case ${PV} in
|
||||
5.0.42)
|
||||
mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||
;;
|
||||
|
||||
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||
[ "$(tc-endian)" == "big" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"archive_gis" \
|
||||
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||
;;
|
||||
esac
|
||||
|
||||
# This was a slight testcase breakage when the read_only security issue
|
||||
# was fixed.
|
||||
case ${PV} in
|
||||
5.0.54|5.0.51*)
|
||||
mysql-v2_disable_test \
|
||||
"read_only" \
|
||||
"Broken in 5.0.51-54, output in wrong order"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ditto to read_only
|
||||
[ "${PV}" == "5.0.51a" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"view" \
|
||||
"Broken in 5.0.51, output in wrong order"
|
||||
|
||||
# x86-specific, OOM issue with some subselects on low memory servers
|
||||
[ "${PV}" == "5.0.54" ] && \
|
||||
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"subselect" \
|
||||
"Testcase needs tuning on x86 for oom condition"
|
||||
|
||||
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||
[ "${PV}" == "5.0.56" ] && \
|
||||
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"OpenSSL tests broken on 5.0.56"
|
||||
done
|
||||
|
||||
# New test was broken in first time
|
||||
# Upstream bug 41066
|
||||
# http://bugs.mysql.com/bug.php?id=41066
|
||||
[ "${PV}" == "5.0.72" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"status2" \
|
||||
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||
|
||||
# The entire 5.0 series has pre-generated SSL certificates, they have
|
||||
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
|
||||
# The certs really SHOULD be generated for the tests, so that they are
|
||||
# not expiring like this. We cannot do so ourselves as the tests look
|
||||
# closely as the cert path data, and we do not have the CA key to regen
|
||||
# ourselves. Alternatively, upstream should generate them with at least
|
||||
# 50-year validity.
|
||||
#
|
||||
# Known expiry points:
|
||||
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
|
||||
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
|
||||
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
|
||||
#
|
||||
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
|
||||
# expired/invalid.
|
||||
case ${PV} in
|
||||
5.0.*|5.1.*|5.4.*|5.5.*)
|
||||
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
|
||||
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"These OpenSSL tests break due to expired certificates"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# These are also failing in MySQL 5.1 for now, and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.mysql_comment, main.mysql_upgrade, main.information_schema,
|
||||
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.not_partition:
|
||||
# Failure reason unknown at this time, must resolve before package.mask
|
||||
# removal FIXME
|
||||
case ${PV} in
|
||||
5.1.*|5.4.*|5.5.*)
|
||||
for t in main.mysql_client_test main.mysql_comments \
|
||||
main.mysql_upgrade \
|
||||
main.information_schema \
|
||||
main.not_partition funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql funcs_1.is_triggers; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
|
||||
# These tests are picking up a 'connect-timeout' config from somewhere,
|
||||
# which is not valid, and since it does not have 'loose-' in front of
|
||||
# it, it's causing a failure
|
||||
case ${PV} in
|
||||
5.1.5*|5.4.*|5.5.*|6*)
|
||||
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
|
||||
mysql-v2_disable_test "$t" \
|
||||
"False positives in Gentoo: connect-timeout"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
use profiling && use community \
|
||||
|| mysql-v2_disable_test main.profiling \
|
||||
"Profiling test needs profiling support"
|
||||
|
||||
if [ "${PN}" == "mariadb" ]; then
|
||||
for t in \
|
||||
parts.part_supported_sql_func_ndb \
|
||||
parts.partition_auto_increment_ndb ; do
|
||||
mysql-v2_disable_test $t "ndb not supported in mariadb"
|
||||
done
|
||||
fi
|
||||
|
||||
# This fail with XtraDB in place of normal InnoDB
|
||||
# TODO: test if they are broken with the rest of the Percona patches
|
||||
if xtradb_patch_available && use xtradb ; then
|
||||
for t in main.innodb innodb.innodb_bug51378 \
|
||||
main.information_schema_db main.mysqlshow \
|
||||
main.innodb-autoinc main.innodb_bug21704 \
|
||||
main.innodb_bug44369 main.innodb_bug46000 \
|
||||
main.index_merge_innodb \
|
||||
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
|
||||
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
|
||||
innodb.innodb_bug21704 innodb.innodb_bug44369 \
|
||||
innodb.innodb_bug46000 innodb.innodb_bug48024 \
|
||||
innodb.innodb_bug49164 innodb.innodb_bug51920 \
|
||||
innodb.innodb_bug54044 \
|
||||
; do
|
||||
mysql-v2_disable_test $t "tests broken in xtradb"
|
||||
done
|
||||
fi
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 332565
|
||||
for t in main.range ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine"
|
||||
done
|
||||
# bug 401673
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
|
||||
done
|
||||
fi
|
||||
|
||||
# create directories because mysqladmin might make out of order
|
||||
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
|
||||
|
||||
# We run the test protocols seperately
|
||||
emake test-unit
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
|
||||
retstatus_ns=$?
|
||||
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
|
||||
retstatus_ps=$?
|
||||
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
# TODO:
|
||||
# When upstream enables the pr and nr testsuites, we need those as well.
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
|
||||
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,265 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.73-r1.ebuild,v 1.1 2014/05/14 01:47:05 grknight Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_EXTRAS_VER="20140514-0124Z"
|
||||
# PBXT
|
||||
PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
# Build type
|
||||
BUILD="autotools"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
# Most of these are in the eclass
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
>=sys-devel/libtool-2.2.10"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/^noinst_PROGRAMS/s/basic-t//g' \
|
||||
"${S}"/unittest/mytap/t/Makefile.am
|
||||
mysql-v2_src_prepare
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
emake check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
cd "${S}"
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus_unit
|
||||
local retstatus_ns
|
||||
local retstatus_ps
|
||||
local t
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# archive_gis really sucks a lot, but it's only relevant for the
|
||||
# USE=extraengines case
|
||||
case ${PV} in
|
||||
5.0.42)
|
||||
mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||
;;
|
||||
|
||||
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||
[ "$(tc-endian)" == "big" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"archive_gis" \
|
||||
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||
;;
|
||||
esac
|
||||
|
||||
# This was a slight testcase breakage when the read_only security issue
|
||||
# was fixed.
|
||||
case ${PV} in
|
||||
5.0.54|5.0.51*)
|
||||
mysql-v2_disable_test \
|
||||
"read_only" \
|
||||
"Broken in 5.0.51-54, output in wrong order"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ditto to read_only
|
||||
[ "${PV}" == "5.0.51a" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"view" \
|
||||
"Broken in 5.0.51, output in wrong order"
|
||||
|
||||
# x86-specific, OOM issue with some subselects on low memory servers
|
||||
[ "${PV}" == "5.0.54" ] && \
|
||||
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"subselect" \
|
||||
"Testcase needs tuning on x86 for oom condition"
|
||||
|
||||
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||
[ "${PV}" == "5.0.56" ] && \
|
||||
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"OpenSSL tests broken on 5.0.56"
|
||||
done
|
||||
|
||||
# New test was broken in first time
|
||||
# Upstream bug 41066
|
||||
# http://bugs.mysql.com/bug.php?id=41066
|
||||
[ "${PV}" == "5.0.72" ] && \
|
||||
mysql-v2_disable_test \
|
||||
"status2" \
|
||||
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||
|
||||
# The entire 5.0 series has pre-generated SSL certificates, they have
|
||||
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
|
||||
# The certs really SHOULD be generated for the tests, so that they are
|
||||
# not expiring like this. We cannot do so ourselves as the tests look
|
||||
# closely as the cert path data, and we do not have the CA key to regen
|
||||
# ourselves. Alternatively, upstream should generate them with at least
|
||||
# 50-year validity.
|
||||
#
|
||||
# Known expiry points:
|
||||
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
|
||||
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
|
||||
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
|
||||
#
|
||||
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
|
||||
# expired/invalid.
|
||||
case ${PV} in
|
||||
5.0.*|5.1.*|5.4.*|5.5.*)
|
||||
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
|
||||
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
|
||||
mysql-v2_disable_test \
|
||||
"$t" \
|
||||
"These OpenSSL tests break due to expired certificates"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# These are also failing in MySQL 5.1 for now, and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.mysql_comment, main.mysql_upgrade, main.information_schema,
|
||||
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.not_partition:
|
||||
# Failure reason unknown at this time, must resolve before package.mask
|
||||
# removal FIXME
|
||||
case ${PV} in
|
||||
5.1.*|5.4.*|5.5.*)
|
||||
for t in main.mysql_client_test main.mysql_comments \
|
||||
main.mysql_upgrade \
|
||||
main.information_schema \
|
||||
main.not_partition funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql funcs_1.is_triggers; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
|
||||
# These tests are picking up a 'connect-timeout' config from somewhere,
|
||||
# which is not valid, and since it does not have 'loose-' in front of
|
||||
# it, it's causing a failure
|
||||
case ${PV} in
|
||||
5.1.5*|5.4.*|5.5.*|6*)
|
||||
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
|
||||
mysql-v2_disable_test "$t" \
|
||||
"False positives in Gentoo: connect-timeout"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
use profiling && use community \
|
||||
|| mysql-v2_disable_test main.profiling \
|
||||
"Profiling test needs profiling support"
|
||||
|
||||
if [ "${PN}" == "mariadb" ]; then
|
||||
for t in \
|
||||
parts.part_supported_sql_func_ndb \
|
||||
parts.partition_auto_increment_ndb ; do
|
||||
mysql-v2_disable_test $t "ndb not supported in mariadb"
|
||||
done
|
||||
fi
|
||||
|
||||
# This fail with XtraDB in place of normal InnoDB
|
||||
# TODO: test if they are broken with the rest of the Percona patches
|
||||
if xtradb_patch_available && use xtradb ; then
|
||||
for t in main.innodb innodb.innodb_bug51378 \
|
||||
main.information_schema_db main.mysqlshow \
|
||||
main.innodb-autoinc main.innodb_bug21704 \
|
||||
main.innodb_bug44369 main.innodb_bug46000 \
|
||||
main.index_merge_innodb \
|
||||
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
|
||||
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
|
||||
innodb.innodb_bug21704 innodb.innodb_bug44369 \
|
||||
innodb.innodb_bug46000 innodb.innodb_bug48024 \
|
||||
innodb.innodb_bug49164 innodb.innodb_bug51920 \
|
||||
innodb.innodb_bug54044 \
|
||||
; do
|
||||
mysql-v2_disable_test $t "tests broken in xtradb"
|
||||
done
|
||||
fi
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 332565
|
||||
for t in main.range ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine"
|
||||
done
|
||||
# bug 401673
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
|
||||
done
|
||||
fi
|
||||
|
||||
# create directories because mysqladmin might make out of order
|
||||
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
|
||||
|
||||
# We run the test protocols seperately
|
||||
emake test-unit
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
|
||||
retstatus_ns=$?
|
||||
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
|
||||
retstatus_ps=$?
|
||||
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
# TODO:
|
||||
# When upstream enables the pr and nr testsuites, we need those as well.
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
|
||||
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
DIST phpMyAdmin-4.0.10.6-all-languages.tar.xz 4774552 SHA256 69098b7eda055c13688429261daca43d500167d12791ab1018df85d0a163cec3 SHA512 7776cfc4810145a9ffd5ed42415693320f0979debe6640634ff42e94e7e700daec5c7ac7cdf0c1a9644a788ddbb71e5a74bec55faab5b8d2ac5626a108f94ed4 WHIRLPOOL 750af40e7d97a9e38f8481b5036c5a7c8743244e025571dfd51a50106c03835c3d79621de623b34d51e3754017bebcbaff1c89d320d3c1862cac2f2b413414e7
|
||||
DIST phpMyAdmin-4.0.10.7-all-languages.tar.xz 4774404 SHA256 bbb9d888ef3bb71315488abd4ffbdc8ee8cef15a5d4774f6b76683167906eff7 SHA512 5f16aef50431dde881a07330dd23872bc843678f8a1914bb0c26da0f8582f30aad6f9b26b28e36c3844af55195d43bbe04b2057b877ddc178bb29b4f7f18d80e WHIRLPOOL 9b47de6d191a4e8e851ba145742793fb1f10ddd7a8decf03979dbb77cad87ca030c0faa101397a62fca3e6ee34c088072d97e7444843dc4796197e6bc2332eb9
|
||||
DIST phpMyAdmin-4.0.10.8-all-languages.tar.xz 4776844 SHA256 50b4038d6b3335291fc1204cc3959db30afd69165db327b8c3eaeb5b38ef817d SHA512 98d5c843154e0c926678ab8ed9f40bede84a14dc477fee36936c20811a4e270952f756400701c407f9535c05b7fac2272eebe3a43d8e8dbcf989eb6940b4b493 WHIRLPOOL 3b8e06fa7cc16dd57cf9912ccc9e6122afe11150eb8ce983bb83f471df4b63f3af58074a026989af38465a45a1160088155fdda56e9e3b93008d2e0b47d9fb12
|
||||
DIST phpMyAdmin-4.1.14.7-all-languages.tar.xz 4879304 SHA256 72b954bbf95bacc70436450026915e4740274ee0c71eeb314a9f491788bb63b6 SHA512 03ffdd485b9e7ad4661189bcf3fca8892fb2c34d0b995d44b2c5e88c27b28095f0e8654109741b41543b56872c8b5d6dadb94e929e6332565f4a3ca5c3302383 WHIRLPOOL 850021d72cdec8af74433f8cd9f6c9a92e9950dd893ad96941a2146079f88bbbd3eb95e3fc45e7e81d656f3a952b5fdce6f4dd109804de2d19a78f06d5275ff4
|
||||
DIST phpMyAdmin-4.1.14.8-all-languages.tar.xz 4881004 SHA256 e2a2fee1658e3108048907a257b8f291fcfbd5840690e8f4711f9ea28233dce8 SHA512 34d28f04d6a808565ecc3d7187b2719d1e25e55d6248e3ea516e5914bd5a70aab0d9c4df3525cb8e77b37949a78671235af46e22871fe26ba999aa01b01c44d2 WHIRLPOOL a2e236a47154117c1bee3b9a51d4c3da9d1bd5834e3167174cbd80e562b5c14424b7e75de814f85d1ade1f6501b665a2af21cedd1c87be2ea6a9e151c0d8a2cf
|
||||
DIST phpMyAdmin-4.2.13-all-languages.tar.xz 5204232 SHA256 1bab6ef2e930ea4a92346c0945908cffba3efa45d6f39413b351cc8a2a017377 SHA512 d3cc81a9fdf212a0e86f88c77a1de195894998a338762ea8896e3c20c17f0faae56cb3752ef6fffdd67f5073b8a7e800001d1a11d8e8475ffe594879348ed0b5 WHIRLPOOL 4b6e69e630ccb350d1e3b5ddae1f0f81008b71ad4f43298c983d45d8a91e8be220adbd4f6a43a2b5cb26e87e0ce32d1bd349099a1634c024fcf0e394cc517b2e
|
||||
DIST phpMyAdmin-4.2.13.1-all-languages.tar.xz 5205324 SHA256 bc179dd35f6aa6d01b573f1e11b594d357fb2c09405b7fec06de5059adbec7c4 SHA512 121e6f063d7f4c4e8eaf048c9f68aaff713206ae077090fed671328f3fbd6f7d723309719c38e3a800c149630c1e2038b3f002bff7b48337278925cecf178b58 WHIRLPOOL 0bf85889e37f68907e8565a41d2e9ba804d41f8ad223a6d650117a93bd0900de242bed318a3cb467556b17eb2618d46571908090165cab666a2782a6f7465b3c
|
||||
DIST phpMyAdmin-4.3.0-rc1-all-languages.tar.xz 5383944 SHA256 b9ef6c9b743c4cd15319db48f906fc3d14de7b5321865fe754e3471725af032c SHA512 a573e0e030efd6358d5d4417000968b4a65dd893f24a8bfa20fc539ab6c00532e773b57f14dba79b077339b396f4a15bb2d5c6e8803b127b21991ec618210637 WHIRLPOOL d7151975aca7e6d845eb9ee08e2bacddc41b9e5a70f4ec9e34a200ed348a381280765001e94107a92de1a98701d593316fb5e2bd09da2244d830c8b7999ede81
|
||||
DIST phpMyAdmin-4.3.5-all-languages.tar.xz 5397680 SHA256 d499fb0c6178dcb488cf522124f84fc5babfcd6ce336706978f4020daf667df8 SHA512 dd8f29e96392a362718b793c3f649ab13f29d443f456a38d2b84c1eebba6bad194609d35329c51449c242fcdb0c5c085e25b6bb75ef8ae01f9b8e6029a616dbb WHIRLPOOL ef796804c4f14f5ddc931414fd9e6f82d4eedcee3e0537ca9cc7580faa9f1c3769387b319e548569f7609d2c9c597fc182d2300dc36abc8ef9ab5aefb6d4a669
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.0.10.6.ebuild,v 1.8 2014/12/26 09:28:43 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils webapp depend.php
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P="phpMyAdmin-${MY_PV}-all-languages"
|
||||
|
||||
DESCRIPTION="Web-based administration for MySQL database in PHP"
|
||||
HOMEPAGE="http://www.phpmyadmin.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="setup"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|
||||
|| (
|
||||
dev-lang/php[mysqli]
|
||||
dev-lang/php[mysql]
|
||||
)
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
|
||||
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
|
||||
|
||||
if ! use setup; then
|
||||
rm -rf setup || die "Cannot remove setup utility"
|
||||
elog "The phpMyAdmin setup utility has been removed."
|
||||
elog "It is a regular target of various exploits. If you need it, set USE=setup."
|
||||
else
|
||||
elog "You should consider disabling the setup USE flag"
|
||||
elog "to exclude the setup utility if you don't use it."
|
||||
elog "It regularly is the target of various exploits."
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
|
||||
webapp_src_install
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.0.10.7.ebuild,v 1.1 2015/01/05 22:01:59 jmbsvicetto Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.0.10.8.ebuild,v 1.1 2015/01/07 16:23:03 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.3.0_rc1.ebuild,v 1.1 2014/12/01 21:56:22 jmbsvicetto Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils webapp depend.php
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P="phpMyAdmin-${MY_PV}-all-languages"
|
||||
|
||||
DESCRIPTION="Web-based administration for MySQL database in PHP"
|
||||
HOMEPAGE="http://www.phpmyadmin.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS=""
|
||||
IUSE="setup"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php[crypt,ctype,filter,json,session,unicode]
|
||||
|| (
|
||||
dev-lang/php[mysqli]
|
||||
dev-lang/php[mysql]
|
||||
)
|
||||
"
|
||||
|
||||
need_httpd_cgi
|
||||
need_php_httpd
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
webapp_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
|
||||
rm -f LICENSE README* RELEASE-DATE-${MY_PV}
|
||||
|
||||
if ! use setup; then
|
||||
rm -rf setup || die "Cannot remove setup utility"
|
||||
elog "The phpMyAdmin setup utility has been removed."
|
||||
elog "It is a regular target of various exploits. If you need it, set USE=setup."
|
||||
else
|
||||
elog "You should consider disabling the setup USE flag"
|
||||
elog "to exclude the setup utility if you don't use it."
|
||||
elog "It regularly is the target of various exploits."
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r .
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
|
||||
webapp_src_install
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/appframework/appframework-1.03-r2.ebuild,v 1.4 2014/08/10 20:07:54 slyfox Exp $
|
||||
|
||||
EAPI=1
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="AppFramework"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A small set of Java classes that simplify building desktop applications"
|
||||
HOMEPAGE="https://appframework.dev.java.net/"
|
||||
SRC_URI="https://appframework.dev.java.net/downloads/${MY_P}-src.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/swing-worker"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
dev-java/jnlp-api
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}
|
||||
test?
|
||||
(
|
||||
dev-java/junit:0
|
||||
dev-java/ant-junit
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
RESTRICT="test"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="swing-worker"
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}" || die
|
||||
rm -v lib/*.jar || die
|
||||
java-ant_rewrite-classpath
|
||||
java-ant_rewrite-classpath nbproject/build-impl.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only jnlp-api)"
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "${S}/dist/AppFramework.jar" "${PN}.jar"
|
||||
use doc && java-pkg_dojavadoc dist/javadoc
|
||||
use source && java-pkg_dosrc src/org
|
||||
use examples && java-pkg_doexamples src/examples/*
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local cp=$(java-pkg_getjars --build-only junit):$(java-pkg_getjars swing-worker)
|
||||
ANT_TASKS="ant-junit" eant \
|
||||
-Duser.home="${T}" \
|
||||
-Drun.test.classpath="${cp}:dist/${MY_PN}.jar:build/test/classes" \
|
||||
-Dgentoo.classpath="${cp}" test
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan-bin/opendylan-bin-2014.1.ebuild,v 1.1 2015/01/07 04:14:47 patrick Exp $
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment (prebuilt)"
|
||||
|
||||
MY_PN="opendylan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="amd64? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86_64-linux.tar.bz2 )
|
||||
x86? ( http://opendylan.org/downloads/${MY_PN}/${PV}/${MY_P}-x86-linux.tar.bz2 )"
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/boehm-gc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# this is a precompiled tarball
|
||||
mkdir -p "${D}/opt/${MY_P}"
|
||||
cp -ar "${S}"/* "${D}/opt/${MY_P}" || die "Failed to copy stuff"
|
||||
mkdir -p "${D}/etc/env.d/opendylan"
|
||||
echo "export PATH=/opt/opendylan-${PV}/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan-bin" || die "Failed to add env settings"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST opendylan-2013.1-sources.tar.bz2 8441356 SHA256 69cb884d2d07a96a6793ec0f782566924e40aa8660256ddf94f0703c96f1edf5 SHA512 f5168bb9a4d2bcd372667406f2f07ed5972f3e773a5766c5f74421d6ffd10901a43cf9d6604ad2ae14d80f1b84e856f4fdca3e1546a87053939f470005a87a2f WHIRLPOOL ed6a4804c29399e65f3fbc2785f5909f3a649521de798452fb2e5ba34542806fc628383257d9198fa8338d8407c90be321d790ceffa0ee896c6ce0ceb347c528
|
||||
DIST opendylan-2013.2-sources.tar.bz2 9174284 SHA256 0bac4ca80d25f33a5bb06ebd8f0f1bf1fa6ae0000a8c0748bb5799e65986028d SHA512 f846a1d80f78b887815d2f2983314dbf6b5f424164dba9bc6ac456b40f31ab02aeb073a447df8f02b3fad6bcf6401a889abaac400d58db8e0adebcdd4e177a4d WHIRLPOOL ac6554e51b7e67af4adb13f34c8973a789816008ce071bac564dcc907e7f92e8b74d48d351023c2b80e36ec04e4018227b6dcde4f0e172a4a5debe81708589ac
|
||||
DIST opendylan-2014.1-sources.tar.bz2 8232321 SHA256 2dab54287fe32905307e160ffd3cf7c6ca31f43b0121ba363d93f1c0f34f4417 SHA512 576616cad0eb6ff8606a394834ad325858a5f45a8427adb0eefc9ebf883ab1522ec66dff6e591a367390d49f53acd160becad62679edc610ccfe63c9a3795cfc WHIRLPOOL f85e65646b32f2363991bba1f8f99121ff4bd1e8cdbe0647029c3b36dcde5ca14431a7fad3f9399692af68037c89668a59eec5fc9998fe566b1f12c5d9274488
|
||||
|
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/opendylan/opendylan-2014.1.ebuild,v 1.1 2015/01/07 05:38:37 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="OpenDylan language runtime environment"
|
||||
|
||||
HOMEPAGE="http://opendylan.org"
|
||||
SRC_URI="http://opendylan.org/downloads/${PN}/${PV}/${P}-sources.tar.bz2"
|
||||
|
||||
LICENSE="Opendylan"
|
||||
SLOT="0"
|
||||
|
||||
# not tested on x86
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
# the boehm-gc check is "wrong" and reported upstream
|
||||
# but for now static-libs useflag is needed
|
||||
DEPEND="app-arch/unzip
|
||||
dev-libs/boehm-gc[threads]
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Parser
|
||||
|| ( dev-lang/opendylan-bin dev-lang/opendylan )
|
||||
x86? ( <dev-libs/mps-1.108 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# on x86 there's a dependency on mps, but the build system is a bit ... hmm ...
|
||||
# let's give it more of a chance to survive then
|
||||
NAUGHTY_FILES=(
|
||||
sources/lib/run-time/collector.c.malloc
|
||||
sources/lib/run-time/collector.c
|
||||
sources/lib/run-time/pentium-win32/buffalo-collector.c
|
||||
sources/lib/run-time/pentium-win32/heap-stats.c
|
||||
sources/lib/run-time/heap-utils.h
|
||||
)
|
||||
|
||||
NAUGHTY_HEADERS=(
|
||||
mps.h
|
||||
mpscmv.h
|
||||
mpscamc.h
|
||||
mpsavm.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# configure autodetects clang and prefers it, #527108
|
||||
sed -i -e 's/clang//' configure.ac || die
|
||||
mkdir -p build-aux
|
||||
elibtoolize && eaclocal || die "Fail"
|
||||
automake --foreign --add-missing # this one dies wrongfully
|
||||
eautoconf || die "Fail"
|
||||
# mps headers, included wrong
|
||||
if use x86; then
|
||||
for i in ${NAUGHTY_FILES[@]}; do
|
||||
for header in ${NAUGHTY_HEADERS[@]}; do
|
||||
sed -i -e "s:\"${header}\":<${header}>:" $i
|
||||
done
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version =dev-lang/opendylan-bin-2014.1; then
|
||||
PATH=/opt/opendylan-2014.1/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.2; then
|
||||
PATH=/opt/opendylan-2013.2/bin/:$PATH
|
||||
elif has_version =dev-lang/opendylan-bin-2013.1; then
|
||||
PATH=/opt/opendylan-2013.1/bin/:$PATH
|
||||
else
|
||||
PATH=/opt/opendylan/bin:$PATH
|
||||
fi
|
||||
|
||||
if use amd64; then
|
||||
econf --prefix=/opt/opendylan || die
|
||||
else
|
||||
econf --prefix=/opt/opendylan --with-mps=/usr/include/mps/ || die
|
||||
fi
|
||||
if use x86; then
|
||||
# Includedir, pointing at something wrong
|
||||
sed -i -e 's:-I$(MPS)/code:-I$(MPS):' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps path"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mmdw.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~(cd $(MPS)/code; make -f lii4gc.gmk mpsplan.a)~:;~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps building"
|
||||
sed -i -e 's~$(MPS_LIB)/mpsplan.a~/usr/lib/mpsplan.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
sed -i -e 's~$(MPS_LIB)/mmdw.a~/usr/lib/mmdw.a~' sources/lib/run-time/pentium-linux/Makefile || die "Couldn't fix mps clone"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
emake -j1 3-stage-bootstrap || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ulimit -s 32000 # this is naughty build system
|
||||
# because of Makefile weirdness it rebuilds quite a bit here
|
||||
# upstream has been notified
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
mkdir -p "${D}/etc/env.d/opendylan/"
|
||||
echo "export PATH=/opt/opendylan/bin:\$PATH" > "${D}/etc/env.d/opendylan/99-opendylan" || die "Failed to add env settings"
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
--- a/dmalloc.h.3
|
||||
+++ b/dmalloc.h.3
|
||||
@@ -405,6 +405,7 @@
|
||||
*
|
||||
* string -> String we are duplicating.
|
||||
*/
|
||||
+#undef strdup
|
||||
extern
|
||||
char *strdup(const char *string);
|
||||
#endif /* ifndef DMALLOC_STRDUP_MACRO */
|
||||
@@ -429,6 +430,7 @@
|
||||
*
|
||||
* len -> Length of the string to duplicate.
|
||||
*/
|
||||
+#undef strndup
|
||||
extern
|
||||
char *strndup(const char *string, const DMALLOC_SIZE len);
|
||||
|
@ -0,0 +1,230 @@
|
||||
Index: config/Makefile.inc.in
|
||||
===================================================================
|
||||
--- config/Makefile.inc.in (revision 36912)
|
||||
+++ config/Makefile.inc.in (working copy)
|
||||
@@ -125,12 +125,6 @@
|
||||
# with usually. Many applications will want to add $(ICULIBS_I18N) as well.
|
||||
ICULIBS = $(ICULIBS_BASE) $(ICULIBS_I18N) $(ICULIBS_COMMON) $(ICULIBS_DATA)
|
||||
|
||||
-# Proper echo newline handling is needed in icu-config
|
||||
-ECHO_N=@ICU_ECHO_N@
|
||||
-ECHO_C=@ICU_ECHO_C@
|
||||
-# Not currently being used but good to have for proper tab handling
|
||||
-ECHO_T=@ICU_ECHO_T@
|
||||
-
|
||||
##################################################################
|
||||
##################################################################
|
||||
#
|
||||
Index: config/icu-config-bottom
|
||||
===================================================================
|
||||
--- config/icu-config-bottom (revision 36912)
|
||||
+++ config/icu-config-bottom (working copy)
|
||||
@@ -217,73 +217,73 @@
|
||||
;;
|
||||
|
||||
--cflags)
|
||||
- echo $ECHO_N "${CFLAGS} ${ECHO_C}"
|
||||
+ printf "%s" "${CFLAGS}"
|
||||
;;
|
||||
|
||||
--cc)
|
||||
- echo $ECHO_N "${CC} ${ECHO_C}"
|
||||
+ printf "%s" "${CC}"
|
||||
;;
|
||||
|
||||
--cxx)
|
||||
- echo $ECHO_N "${CXX} ${ECHO_C}"
|
||||
+ printf "%s" "${CXX}"
|
||||
;;
|
||||
|
||||
--cxxflags)
|
||||
- echo $ECHO_N "${CXXFLAGS} ${ECHO_C}"
|
||||
+ printf "%s" "${CXXFLAGS}"
|
||||
;;
|
||||
|
||||
--cppflags)
|
||||
# Don't echo the -I. - it's unneeded.
|
||||
- echo $ECHO_N "${CPPFLAGS} ${ECHO_C}" | sed -e 's/-I. //'
|
||||
+ printf "%s" "${CPPFLAGS}" | sed -e 's/-I. //'
|
||||
;;
|
||||
|
||||
--cppflags-searchpath)
|
||||
- echo $ECHO_N "-I${prefix}/include ${ECHO_C}"
|
||||
+ printf "%s" "-I${prefix}/include"
|
||||
;;
|
||||
|
||||
--cppflags-dynamic)
|
||||
- echo $ECHO_N "${SHAREDLIBCPPFLAGS} ${ECHO_C}"
|
||||
+ printf "%s" "${SHAREDLIBCPPFLAGS}"
|
||||
;;
|
||||
|
||||
--cxxflags-dynamic)
|
||||
- echo $ECHO_N "${SHAREDLIBCXXFLAGS} ${ECHO_C}"
|
||||
+ printf "%s" "${SHAREDLIBCXXFLAGS}"
|
||||
;;
|
||||
|
||||
--cflags-dynamic)
|
||||
- echo $ECHO_N "${SHAREDLIBCFLAGS} ${ECHO_C}"
|
||||
+ printf "%s" "${SHAREDLIBCFLAGS}"
|
||||
;;
|
||||
|
||||
--ldflags-system)
|
||||
- echo $ECHO_N "${LIBS} ${ECHO_C}"
|
||||
+ printf "%s" "${LIBS}"
|
||||
;;
|
||||
|
||||
--ldflags)
|
||||
- echo $ECHO_N "${LDFLAGS} ${ICULIBS} ${ECHO_C}"
|
||||
+ printf "%s" "${LDFLAGS} ${ICULIBS}"
|
||||
# $RPATH_LDFLAGS
|
||||
;;
|
||||
|
||||
--ldflags-libsonly)
|
||||
- echo $ECHO_N "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA} ${ECHO_C}"
|
||||
+ printf "%s" "${ICULIBS_I18N} ${ICULIBS_COMMON} ${ICULIBS_DATA}"
|
||||
;;
|
||||
|
||||
--ldflags-icuio)
|
||||
- echo $ECHO_N " ${ICULIBS_ICUIO} ${ECHO_C}"
|
||||
+ printf "%s" " ${ICULIBS_ICUIO}"
|
||||
;;
|
||||
|
||||
--ldflags-obsolete)
|
||||
- echo $ECHO_N "${ICULIBS_OBSOLETE} ${ECHO_C}"
|
||||
+ printf "%s" "${ICULIBS_OBSOLETE}"
|
||||
;;
|
||||
|
||||
--ldflags-toolutil)
|
||||
- echo $ECHO_N " ${ICULIBS_TOOLUTIL} ${ECHO_C}"
|
||||
+ printf "%s" " ${ICULIBS_TOOLUTIL}"
|
||||
;;
|
||||
|
||||
--ldflags-layout)
|
||||
- echo $ECHO_N "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX} ${ECHO_C}"
|
||||
+ printf "%s" "${ICULIBS_LAYOUT} ${ICULIBS_LAYOUTEX}"
|
||||
;;
|
||||
|
||||
--ldflags-searchpath)
|
||||
- echo $ECHO_N "-L${libdir} ${ECHO_C}"
|
||||
+ printf "%s" "-L${libdir}"
|
||||
;;
|
||||
|
||||
--detect-prefix)
|
||||
@@ -319,47 +319,47 @@
|
||||
;;
|
||||
|
||||
--shared-datadir)
|
||||
- echo $ECHO_N "${datadir} ${ECHO_C}"
|
||||
+ printf "%s" "${datadir}"
|
||||
;;
|
||||
|
||||
--incfile)
|
||||
- echo $ECHO_N "${pkglibdir}/Makefile.inc ${ECHO_C}"
|
||||
+ printf "%s" "${pkglibdir}/Makefile.inc"
|
||||
;;
|
||||
|
||||
--incpkgdatafile)
|
||||
- echo $ECHO_N "${pkglibdir}/pkgdata.inc ${ECHO_C}"
|
||||
+ printf "%s" "${pkglibdir}/pkgdata.inc"
|
||||
;;
|
||||
|
||||
--icudata)
|
||||
- echo $ECHO_N "${ICUDATA_NAME} ${ECHO_C}"
|
||||
+ printf "%s" "${ICUDATA_NAME}"
|
||||
;;
|
||||
|
||||
--icudata-mode)
|
||||
- echo $ECHO_N "${PKGDATA_MODE} ${ECHO_C}"
|
||||
+ printf "%s" "${PKGDATA_MODE}"
|
||||
;;
|
||||
|
||||
--icudata-install-dir)
|
||||
- echo $ECHO_N "${ICUPKGDATA_DIR} ${ECHO_C}"
|
||||
+ printf "%s" "${ICUPKGDATA_DIR}"
|
||||
;;
|
||||
|
||||
--icudatadir)
|
||||
- echo $ECHO_N "${ICUDATA_DIR} ${ECHO_C}"
|
||||
+ printf "%s" "${ICUDATA_DIR}"
|
||||
;;
|
||||
|
||||
--shlib-c)
|
||||
- echo $ECHO_N "${SHLIB_c} ${ECHO_C}"
|
||||
+ printf "%s" "${SHLIB_c}"
|
||||
;;
|
||||
|
||||
--shlib-cc)
|
||||
- echo $ECHO_N "${SHLIB_cc} ${ECHO_C}"
|
||||
+ printf "%s" "${SHLIB_cc}"
|
||||
;;
|
||||
|
||||
--version)
|
||||
- echo $ECHO_N $VERSION
|
||||
+ printf "%s" "$VERSION"
|
||||
;;
|
||||
|
||||
--unicode-version)
|
||||
- echo $ECHO_N $UNICODE_VERSION
|
||||
+ printf "%s" "$UNICODE_VERSION"
|
||||
;;
|
||||
|
||||
--host)
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac (revision 36912)
|
||||
+++ configure.ac (working copy)
|
||||
@@ -19,24 +19,6 @@
|
||||
PACKAGE="icu"
|
||||
AC_SUBST(PACKAGE)
|
||||
|
||||
-# Use custom echo test for newline option
|
||||
-# Current autoconf (2.65) gives incorrect echo newline option
|
||||
-# for icu-config
|
||||
-# This may be removed later - mow (June 17, 2010)
|
||||
-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=
|
||||
-case `/bin/sh -c "echo -n x"` in
|
||||
--n*)
|
||||
- case `/bin/sh -c "echo 'x\c'"` in
|
||||
- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character.
|
||||
- *) ICU_ECHO_C='\c';;
|
||||
- esac;;
|
||||
-*)
|
||||
- ICU_ECHO_N='-n';;
|
||||
-esac
|
||||
-AC_SUBST(ICU_ECHO_N)
|
||||
-AC_SUBST(ICU_ECHO_C)
|
||||
-AC_SUBST(ICU_ECHO_T)
|
||||
-
|
||||
AC_MSG_CHECKING(for ICU version numbers)
|
||||
|
||||
# Get the ICU version from uversion.h or other headers
|
||||
Index: icudefs.mk.in
|
||||
===================================================================
|
||||
--- icudefs.mk.in (revision 36912)
|
||||
+++ icudefs.mk.in (working copy)
|
||||
@@ -155,11 +155,6 @@
|
||||
ENABLE_STATIC = @ENABLE_STATIC@
|
||||
ENABLE_SHARED = @ENABLE_SHARED@
|
||||
|
||||
-# Echo w/o newline
|
||||
-
|
||||
-#ECHO_N = @ICU_ECHO_N@
|
||||
-#ECHO_C = @ICU_ECHO_C@
|
||||
-
|
||||
# Commands to compile
|
||||
COMPILE.c= $(CC) $(CPPFLAGS) $(DEFS) $(CFLAGS) -c
|
||||
COMPILE.cc= $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c
|
||||
Index: test/hdrtst/Makefile.in
|
||||
===================================================================
|
||||
--- test/hdrtst/Makefile.in (revision 36912)
|
||||
+++ test/hdrtst/Makefile.in (working copy)
|
||||
@@ -33,9 +33,6 @@
|
||||
include $(shell icu-config --incfile)
|
||||
DIRS=$(prefix)/include/unicode
|
||||
LDIRS=$(prefix)/include/layout
|
||||
-ECHO_T=@ECHO_T@
|
||||
-ECHO_C=@ECHO_C@
|
||||
-ECHO_N=@ECHO_N@
|
||||
|
||||
all:
|
||||
@echo Please read this Makefile for more information.
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-53.1-r1.ebuild,v 1.1 2015/01/07 07:40:43 remi Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="International Components for Unicode"
|
||||
HOMEPAGE="http://www.icu-project.org/"
|
||||
SRC_URI="http://download.icu-project.org/files/icu4c/${PV/_/}/icu4c-${PV//./_}-src.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0/53"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc examples static-libs"
|
||||
|
||||
DEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}/source"
|
||||
|
||||
src_prepare() {
|
||||
local variable
|
||||
|
||||
epatch "${FILESDIR}/icu-fix-tests-depending-on-date.patch"
|
||||
epatch "${FILESDIR}/${PN}-remove-bashisms.patch"
|
||||
epatch_user
|
||||
|
||||
# Do not hardcode flags in icu-config and icu-*.pc files.
|
||||
# https://ssl.icu-project.org/trac/ticket/6102
|
||||
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
|
||||
sed \
|
||||
-e "/^${variable} =.*/s: *@${variable}@\( *$\)\?::" \
|
||||
-i config/icu.pc.in \
|
||||
-i config/Makefile.inc.in \
|
||||
|| die
|
||||
done
|
||||
|
||||
# Disable renaming as it is stupind thing to do
|
||||
sed -i \
|
||||
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
|
||||
common/unicode/uconfig.h || die
|
||||
|
||||
# Fix linking of icudata
|
||||
sed -i \
|
||||
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
|
||||
config/mh-linux || die
|
||||
|
||||
# Append doxygen configuration to configure
|
||||
sed -i \
|
||||
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
|
||||
configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if tc-is-cross-compiler; then
|
||||
mkdir "${WORKDIR}"/host || die
|
||||
pushd "${WORKDIR}"/host >/dev/null || die
|
||||
|
||||
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
|
||||
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
|
||||
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
|
||||
"${S}"/configure --disable-renaming --disable-debug \
|
||||
--disable-samples --enable-static || die
|
||||
emake
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-renaming
|
||||
--disable-samples
|
||||
$(use_enable debug)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
multilib_is_native_abi && myeconfargs+=(
|
||||
$(use_enable examples samples)
|
||||
)
|
||||
tc-is-cross-compiler && myeconfargs+=(
|
||||
--with-cross-build="${WORKDIR}"/host
|
||||
)
|
||||
|
||||
# icu tries to use clang by default
|
||||
tc-export CC CXX
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# INTLTEST_OPTS: intltest options
|
||||
# -e: Exhaustive testing
|
||||
# -l: Reporting of memory leaks
|
||||
# -v: Increased verbosity
|
||||
# IOTEST_OPTS: iotest options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
# CINTLTST_OPTS: cintltst options
|
||||
# -e: Exhaustive testing
|
||||
# -v: Increased verbosity
|
||||
emake -j1 VERBOSE="1" check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if multilib_is_native_abi && use doc; then
|
||||
dohtml -p api -r doc/html/
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
dohtml ../readme.html
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
--- a/src/mba/text.h
|
||||
+++ b/src/mba/text.h
|
||||
@@ -315,31 +315,6 @@
|
||||
/* "dumb" snprintf returns -1 on overflow */
|
||||
LIBMBA_API int dsnprintf(char *str, size_t size, const char *format, ...);
|
||||
|
||||
-#if !defined(_GNU_SOURCE)
|
||||
-
|
||||
-#if !defined(_BSD_SOURCE) && \
|
||||
- !defined(_XOPEN_SOURCE_EXTENDED) && \
|
||||
- !defined(_WIN32) && \
|
||||
- !(defined(__APPLE__) && defined(__MACH__))
|
||||
-LIBMBA_API char *strdup(const char *s);
|
||||
-#endif
|
||||
-
|
||||
-LIBMBA_API wchar_t *wcsdup(const wchar_t *s);
|
||||
-LIBMBA_API size_t strnlen(const char *s, size_t maxlen);
|
||||
-
|
||||
-#if (__STDC_VERSION__ < 199901L) && \
|
||||
- !defined(_BSD_SOURCE) && \
|
||||
- (_XOPEN_VERSION < 500) && \
|
||||
- !(defined(__APPLE__) && defined(__MACH__))
|
||||
-#include <stdarg.h>
|
||||
-int vsnprintf(char *str, size_t size, const char *format, va_list ap);
|
||||
-#endif
|
||||
-
|
||||
-LIBMBA_API size_t wcsnlen(const wchar_t *s, size_t maxlen);
|
||||
-LIBMBA_API int wcscasecmp(const wchar_t *s1, const wchar_t *s2);
|
||||
-
|
||||
-#endif /* _GNU_SOURCE */
|
||||
-
|
||||
/*
|
||||
wchar_t *wcschrnul(const wchar_t *s, wchar_t wc);
|
||||
int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n);
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmba/libmba-0.9.1-r3.ebuild,v 1.1 2015/01/07 10:28:50 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A library of generic C modules"
|
||||
LICENSE="MIT"
|
||||
HOMEPAGE="http://www.ioplex.com/~miallen/libmba/"
|
||||
SRC_URI="${HOMEPAGE}dl/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
src_prepare() {
|
||||
use static-libs && export STATIC="1"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-qa.patch
|
||||
epatch "${FILESDIR}"/${P}-glibc-2.20.patch
|
||||
|
||||
tc-export CC
|
||||
sed -i -e "s:gcc:${CC}:g" mktool.c || die
|
||||
|
||||
# prevent reinventing strdup(), wcsdup() and strnlen()
|
||||
append-cflags -D_XOPEN_SOURCE=500
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LIBDIR="$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
|
||||
|
||||
dodoc README.txt docs/*.txt
|
||||
dohtml -r docs/*.html docs/www/* docs/ref
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cryptokit-1.10.tar.gz 152525 SHA256 db6639646e1d35cdd9d8c3779a260d073f8c5385e1d3647f7e9ac9537b144ecc SHA512 22564e0151c492963d75fb81780b3a884a0bf613ad09380d9b5365740fd9c4bbdaa1c21fed50a1a4934dce920d90f5c86dc014f90e52677544789311f7bded4f WHIRLPOOL 6fe80bf742a68784aac4d9fcdf389b5e9ddd7acf606b7f2c40328756ea56bc631b3af6bcaaaec526528a12a897c69ebc6b4d7228e2ee55b06dbbf95fd731f0e3
|
||||
DIST cryptokit-1.7.tar.gz 140400 SHA256 56a8c0339c47ca3cf43c8881d5b519d3bff68bc8a53267e9c5c9cbc9239600ca SHA512 39a86b9b97be097120308ef55c2e69b8436a85102cc2eff25f6f3c81abce24511a80295ba7790337fa46584baea24dd9517067039dc81417fe2d38ff8b5e62f1 WHIRLPOOL 21756c006d0c23927cfba2756c6206c6fac08ef22768b881c1750237f6f743040bdfbfa783bf2253e586328b9efc91154c3b8dc73e52fcb391dcd36fd360450e
|
||||
DIST cryptokit-1.9.tar.gz 143494 SHA256 d3177e79e425b119b80acc63a85114a12e4c617f16803a69c080f460c4f037f1 SHA512 67385562d5f42a65dc13b7bbf4164610a47c1f2b20d3e737c62046d716fdc38a19727e7ea04f633562d8c82c83fb1b64472f06c3032ea45e5b7c411b2f177d74 WHIRLPOOL 3680ba403a5f380a2bc5e0f68fc50ff64f2b5927f3c32cb04970f11493abecc0389c1070cccea106a91da1949b993fcd4e43bbd681c6efdb6638b4bd71efbead
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.10.ebuild,v 1.1 2015/01/07 11:31:50 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="Cryptographic primitives library for Objective Caml"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
|
||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/1493/${P}.tar.gz"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="zlib"
|
||||
|
||||
DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "Changes" "README.txt" "AUTHORS.txt" )
|
||||
|
||||
src_configure() {
|
||||
oasis_configure_opts="$(use_enable zlib)" \
|
||||
oasis_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "This library uses the /dev/random device to generate "
|
||||
elog "random data and RSA keys. The device should either be"
|
||||
elog "built into the kernel or provided as a module. An"
|
||||
elog "alternative is to use the Entropy Gathering Daemon"
|
||||
elog "(http://egd.sourceforge.net). Please note that the"
|
||||
elog "remainder of the library will still work even in the"
|
||||
elog "absence of a one of these sources of randomness."
|
||||
elog ""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ""
|
||||
einfo "You must have either /dev/random or the Entropy Gathering"
|
||||
einfo "Daemon (EGD) for this test to succeed!"
|
||||
echo ""
|
||||
|
||||
oasis_src_test
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DBD-SQLite/DBD-SQLite-1.460.0.ebuild,v 1.1 2015/01/07 14:42:40 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ISHIGAKI
|
||||
MODULE_VERSION=1.46
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Self Contained RDBMS in a DBI Driver"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.6.22[extensions(+)]
|
||||
>=dev-perl/DBI-1.57
|
||||
!<dev-perl/DBD-SQLite-1
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.86
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die
|
||||
# remove bundled sqlite (rt.cpan#61361)
|
||||
for i in sqlite3{.c,.h,ext.h} ; do
|
||||
rm ${i} || die
|
||||
sed -i -e "/^${i}\$/d" MANIFEST || die
|
||||
done
|
||||
|
||||
myconf="SQLITE_LOCATION=${EPREFIX}/usr"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST DBD-SQLite-1.35.tar.gz 1467375 SHA256 ff08d1ee50c057d03ab2901aa7896fda2226c30b85c0999f5858cd2a81b4bc7d SHA512 36ac23aa84c19aff170b5505f6d80c1a577176b2738030e3b161147b9b738fa76ab9a6a620c4ff4a2b9f6abd62520e9fd78111177e8bf347fca28ff8c97b31ca WHIRLPOOL e67e25bd8e8b70ba9bae603a0c0d608111871fdb126398cf8dd392df1544f4e7298ff7e605cc1a1f204efa4cbe679a4f178183ab1bd3cd370b4c1cd79a8c9d10
|
||||
DIST DBD-SQLite-1.37.tar.gz 1515353 SHA256 a131761c58e051be968ec21bef5d7549acfd2ba60dd2bf9ae342aaf8e99e2705 SHA512 12ed926065b4283c69945400cbeebe66173161a2e7eb29cde4d8fab6d5aafaf57c456b0e2ac3bf01643ef2e2de9e7924b1e20c7b482dc17096d160861ff236a4 WHIRLPOOL 4afed397006f732b7af798da1117fb57123b6db8780a36ed699ed3f1ca156aa892bfec0fd447b2dc91c36f355af7a22b53820a19ab1ad1f58e998c132ae21407
|
||||
DIST DBD-SQLite-1.40.tar.gz 1571899 SHA256 21fb65e740b6265512c82232b4ad8f75c19ac84c216830112656274eb8e375fb SHA512 4d7af59eca0a168d8ce2d2fafe83f24eb3f4eefa8b621ef92d7fab00edc3a1452247b2e4b3f230f88aa29add74581fb2546a47d440a127a5eee7a67aa2999acc WHIRLPOOL 8ebf7e4b9c3652b84fe38f350c30717f7df7617c5874b3f39088250b6b3350bc46d325ed0c917194002eba5e361cd623dd8307ea4f617c5fdab84875717e3aa3
|
||||
DIST DBD-SQLite-1.46.tar.gz 1718862 SHA256 b2b179136cd7c0df7b0e4840ff3f46330f161e5fc646279748afa7a3144f7cc0 SHA512 1fbec00d99de9766450003716c8ef6eccdd08b3bc4523180d3fe1046404e3cdcdc3b893146cabf695dfb98bc3484018436412d47c134ce4a89c5348f0edc6012 WHIRLPOOL 2b15f4f9a3cd62cf00ac5058fb8aa54ba94b203e9061d909b688d49f67d5583f2ed992ee97bcbee91baa98799e675c0c423a05b52f345f50ff8366e507c70c6f
|
||||
|
@ -1,3 +1 @@
|
||||
DIST Services_Amazon-0.7.0.tgz 17491 SHA256 b4c1c89170e11ba4a054a8aa023396059fb83aa986728b143474c30ecf509476 SHA512 ca3397c9b13d5c27dd5494979353c578a56e595e65a96345ab82040d731923baabde8f8017b4d4c54bfa2bbdb78964436015ecebc2ab8361ae1c8d847a24b33b WHIRLPOOL 5602f91a420d55758ee928b9e7b0b01d252c24e9427f54f3e653c05f63ad4de35722d975f04426d7454f0ab8877adacd415a3729232ca80e0e36003d6c136f9f
|
||||
DIST Services_Amazon-0.7.1.tgz 18046 SHA256 d8a15d5021018b0daf3bbe76ec07de73998d6703e140e9a151f35ee366ba7009 SHA512 4908c6da2dd020caaf0bf0c2eb6af0eba8d40f69f62f9651b4404f8bc725966d994a63e06a4d4ea9d6ea4221b8769c5ec51709a29d1231ad877868686fa117d0 WHIRLPOOL 7490ea35ec7b4de8fa05cb861f324aed5323ea53d45efa875d7bb0cce8e24b1171f774f175a443db5fc4af45ed4d3e0597b2f37b7e3d72b0d2c27e2d752a88e1
|
||||
DIST Services_Amazon-0.8.0.tgz 20992 SHA256 5f79d770e7d45da92c2b7985d0aaada6f9e4aca998723c4d2f969abcc808433f SHA512 7ce114cea0bed23a5301d9057278b35fe9bc4cd08304b29a615d91f4fdc8f8597bd50969db6cbcf82726354749d4a64757f911f47b3239aa8be2c8a759a45752 WHIRLPOOL 906e372c4febeee73c7f99f8f8edcab0f087e47c6608bd11071d93cb262981e34f7ac58619b6643d1dc7dc0a59b9b0fbd4d9c5b8e9f69101477bf9b9457e3a8b
|
||||
|
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Services_Amazon/PEAR-Services_Amazon-0.7.0.ebuild,v 1.3 2014/08/10 20:55:11 slyfox Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides access to Amazon's retail and associate web services"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="minimal"
|
||||
RDEPEND=">=dev-php/PEAR-HTTP_Request-1.2.4-r1
|
||||
>=dev-php/PEAR-XML_Serializer-0.17.0
|
||||
!minimal? ( dev-php/PEAR-Cache )"
|
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Services_Amazon/PEAR-Services_Amazon-0.7.1.ebuild,v 1.2 2014/08/10 20:55:11 slyfox Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Provides access to Amazon's retail and associate web services"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="minimal"
|
||||
RDEPEND=">=dev-php/PEAR-HTTP_Request-1.2.4-r1
|
||||
>=dev-php/PEAR-XML_Serializer-0.17.0
|
||||
!minimal? ( dev-php/PEAR-Cache )"
|
@ -1,2 +1 @@
|
||||
DIST Services_JSON-1.0.2.tgz 8582 SHA256 267be99efdfe06c3af24fc48af796919fab2070618d43c9aa7b9bf7cfa364bf7 SHA512 6b03a4905ba2ca36fc91b10b6f7618493b244fdc30df45415e55e7cb9ce77f498d24c62b6fe616523b0af707c6989334527b9d5018f2be0f93b61fd4b5ef43f2 WHIRLPOOL 7a595ba588f30f60a4448b29986ca9976d856a304128c21904e5350bd5c63aa28e7533a3f11c73a8a41ff133844603db3bff73a895c896f65e98a1ab0296d61c
|
||||
DIST Services_JSON-1.0.3.tgz 9529 SHA256 007bfa934b9dc866f2b558355097372e1542bdfd5a7e3f39e3d7b94cc6cae1c3 SHA512 2a94bebb662e250d56ae1f02f6debbff9e956820a603b8c4520f48ad0ed67a40c342d4eb000be9a9cf0e5b91c7bf9ebf98fae87f9ecca217b94b12441b746e5e WHIRLPOOL be7ca1287eb065b6d9f6b33fdac5b6387b9ced5aae1662e9bf2915d2ca676a1bd2cb49ddb87017c29a7a0f89eba8115c60785946c5d45c49110a8196234d3536
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Services_JSON/PEAR-Services_JSON-1.0.2.ebuild,v 1.1 2010/03/23 16:55:28 beandog Exp $
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="PHP implementaion of json_encode/decode"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
@ -1 +1,2 @@
|
||||
DIST geopy-1.6.1.tar.gz 58347 SHA256 0853b9277d31efc31557b2d7bab59c87171574ec5cb72b655b990eb2336a4e58 SHA512 4f2cf6ab57ff99eddbbb876cd69921d1bcd4ad56f6b7f29cbee7bbe9e0a9955f2b2c5f2ec9f2c2b3b6bf20df55aba09d2672ff05fc5887180e06f8f5150ece1c WHIRLPOOL 03800b4d2f2f135564d4be07b975e80445096c689d623e69b558b737527485da016f72bec11bd6e2c2cb53abaf09925ea0b72db2a8512606c2d1dfc6c2090eca
|
||||
DIST geopy-1.7.0.tar.gz 66288 SHA256 2b7f5679186ac6f953095ab03d413f3c035c8dab8d57595f4a3ed69c489094ab SHA512 d875283d707a545b0c8b5f0c869fab5804c20f855726ba7c62cc42258bda38f9c46bfd457ecfae5aafb5d2a363af33cb7b100b02a0393924cdc0995034ad46a6 WHIRLPOOL 5ef7fbfdd405ab770874ce262900700d01cdc1ec1c94f2f5d0d10166ea8862acfa51e43e529c0f951a4ebc33ba6f4f3a16e882836ce3dc862f8d55853c2e483a
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/geopy/geopy-1.7.0.ebuild,v 1.1 2015/01/07 13:09:49 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Geocoding Toolbox for Python"
|
||||
HOMEPAGE="http://www.geopy.org/ https://github.com/geopy/geopy"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
IUSE="test doc yahoo"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="yahoo? ( >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/placefinder[${PYTHON_USEDEP}] )"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
dev-python/pylint[${PYTHON_USEDEP}] )
|
||||
doc? ( $(python_gen_cond_dep 'dev-python/sphinx[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7 )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" docs/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# prevent install of test folder to avoid file collisions
|
||||
sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Ignore rogue class IGNFranceTestCase demanding elements beyond a normal testsuite
|
||||
nosetests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>postgresql</herd>
|
||||
<herd>postgresql</herd>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgasync/pgasync-2.01-r1.ebuild,v 1.1 2015/01/07 11:21:07 titanofold Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An asynchronous API to PostgreSQL for twisted"
|
||||
HOMEPAGE="http://www.jamwt.com/pgasync/"
|
||||
SRC_URI="http://www.jamwt.com/pgasync/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="CHANGELOG PKG-INFO README TODO"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgasync/pgasync-2.01.ebuild,v 1.5 2014/08/10 20:02:01 slyfox Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pgasync/pgasync-2.01.ebuild,v 1.1 2015/01/07 11:21:07 titanofold Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxdg/pyxdg-0.25.ebuild,v 1.19 2014/03/31 21:06:16 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# py3.3 removed due to nosetests
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python module to deal with freedesktop.org specifications"
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/pyxdg http://cgit.freedesktop.org/xdg/pyxdg/"
|
||||
SRC_URI="http://people.freedesktop.org/~takluyver/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
x11-themes/hicolor-icon-theme )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README TODO )
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rlcompleter2/rlcompleter2-0.98-r1.ebuild,v 1.1 2015/01/07 02:48:51 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python command line completion"
|
||||
HOMEPAGE="http://codespeak.net/rlcompleter2/ http://pypi.python.org/pypi/rlcompleter2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please read the README, and follow instructions in order to"
|
||||
ewarn "execute and configure rlcompleter2."
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.13.ebuild,v 1.1 2015/01/07 07:05:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
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="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
|
||||
# Add json to Gemfile to fix mime-types not doing this itself.
|
||||
sed -e '5igem "json"' -i ../Gemfile || die
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.1.9.ebuild,v 1.1 2015/01/07 07:05:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
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="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.14
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
|
||||
# Avoid a test failing only on attachment ordering, since this is a
|
||||
# security release.
|
||||
sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.13.ebuild,v 1.1 2015/01/07 07:04:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6
|
||||
>=dev-ruby/erubis-2.7.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
dev-ruby/sprockets-rails:2.0
|
||||
>=dev-ruby/tzinfo-0.3.37:0
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Add back json in the Gemfile because we dropped some dependencies
|
||||
# earlier that implicitly required it.
|
||||
sed -i -e '$agem "json"' ../Gemfile || die
|
||||
|
||||
# Avoid fragile 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,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.1.9.ebuild,v 1.1 2015/01/07 07:04:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionview-${PV}
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/rack-cache-1.2:1.2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionview/actionview-4.1.9.ebuild,v 1.1 2015/01/07 07:04:34 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
|
||||
HOMEPAGE="https://github.com/rails/rails/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1 =dev-ruby/builder-3*
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.14
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.0.13.ebuild,v 1.1 2015/01/07 07:04:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
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="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/bcrypt-ruby-3.1.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
|
||||
# Fix bcrypt dependency since bcrypt uses semantic versioning.
|
||||
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.1.9.ebuild,v 1.1 2015/01/07 07:04:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
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="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.14.0:0.14
|
||||
>=dev-ruby/bcrypt-ruby-3.1.7
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.0.13.ebuild,v 1.1 2015/01/07 07:05:49 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/activerecord-deprecated_finders-1.0.2:1.0
|
||||
>=dev-ruby/arel-4.0.2:4.0
|
||||
sqlite3? ( >=dev-ruby/sqlite3-1.3.5 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )
|
||||
!<dev-ruby/protected_attributes-1.0.8"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.5
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Add back json in the Gemfile because we dropped some dependencies
|
||||
# earlier that implicitly required it.
|
||||
sed -i -e '$agem "json"' ../Gemfile || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
|
||||
# Avoid single test using mysql dependencies.
|
||||
rm test/cases/invalid_connection_test.rb || die
|
||||
|
||||
# Avoid test depending on specific sqlite3 binding or database version.
|
||||
sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die
|
||||
}
|
||||
|
||||
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,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-4.1.9.ebuild,v 1.1 2015/01/07 07:05:49 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-5.0.0:5.0
|
||||
sqlite3? ( >=dev-ruby/sqlite3-1.3.6 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.5
|
||||
dev-ruby/mocha:0.13
|
||||
<dev-ruby/minitest-5.3.4:5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|minitest\)/ s:^:#:" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Add back json in the Gemfile because we dropped some dependencies
|
||||
# earlier that implicitly required it.
|
||||
sed -i -e '$agem "json"' ../Gemfile || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
|
||||
# Avoid single test using mysql dependencies.
|
||||
rm test/cases/invalid_connection_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST rails-3.2.21.tgz 3568729 SHA256 95dcf2a848a7fd09acbb12c47e6901baeea08645c32c37e2ae04e2650cf01deb SHA512 952c799736dd2a48532a4340d97ffbbbdc2451fc509e7f86ca47c09f5c6a3f4e5cb9b87c3e803692bc8a810bc178513bbe74f3037fdf8f786c30f0c85dd26948 WHIRLPOOL a2c79df0091ea0ca6f3969a91b4d73c14f79cab9d31ec30591a640321487aedafd0318326080ad4d9be0523002eab2c3c5e9e49b2c6b0b5ef6f5dac8da0bfab5
|
||||
DIST rails-4.0.12.tgz 3760696 SHA256 bfa46d6fc75b0d919831f837bfcdc13ced1d893b3e09ff168e6c401f0eb2c16f SHA512 7c405ac4da32b941e06d1761dbd1afb4cbb9389b4b97baac51bd0064c8ff8d2f300109683f2785d4bd3a4593aa21c8e92c8bdb190e5d6d8a96e7793e776da6cf WHIRLPOOL 42ddb51fdf30160206b76d2d3944ad670a1e91ab7be14179d61b04637188cfdd339369b24c97cbd688e7335aacf726ddceba2fee08bdedb52b267f33f5a4e805
|
||||
DIST rails-4.0.13.tgz 3761572 SHA256 a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a38888023a204a51 SHA512 3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d WHIRLPOOL a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
|
||||
DIST rails-4.1.8.tgz 3711426 SHA256 419e7cdd8e7fd2b2d45d3a37fb37f01b70ada51db77ca116f83636711d845814 SHA512 140a58c1baa39f89e383c9ef7db22702b7703f4c978937e80c0e336ab5fe1a45d3720d25416f165bfe74ec16453098393a434c3c031522594c37fc13f7e80e48 WHIRLPOOL a3ffcb86a8c482f02cc541f790a0aa8e837864bd7dae2ea91b8dad22e0840d8bd399caa7f59990bd3c5437d35aa1ff8cf45c098eed66d54374da8a17761f19e2
|
||||
DIST rails-4.1.9.tgz 3717073 SHA256 3ca76afa66e94b0b5553c4dc05cf4a31e481e7be725f9a49680c47525db088b5 SHA512 396176b89fa2e2e4c7c1acee0e765d9819fbaca18638e93c5e48984dca4fd5ae84c1337e66d022e97f0eba99a093ec7d974f91328dba96967515cbdcf3a64460 WHIRLPOOL f4aeedd312d2131d365a0d32d09c9e2193754059c1b51be4724815ed6f1f45889da75a909b6fac060576abc8ea108eba520735856ce11e74c09b1fa57422a4f5
|
||||
DIST rails-4.2.0.tgz 4129017 SHA256 eec1c20546bc57bece29b222a18cd54cc1398c475d71b8fc821e7df07edfa926 SHA512 312b4a1a449f136cafebf05d82015e3cc51e54df6703d97154fc0ad7b2ff92194a20818d31e16e864d0adaebed493ef6af1067f73b7d84f94e1bf42006c7ff2c WHIRLPOOL 94a12782829630fb160aa8e3489eec1a8ea0daeac9e892a7681ef34124888f436df511e8c3d07a8494c4cdd16e13787134d1e424aca234c9a7f95e38abe3d867
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue