parent
9a8dcf878c
commit
21442744f2
@ -1,5 +1,2 @@
|
||||
DIST geneweb-5.02.tgz 1419164 SHA256 8be9ce98883043d5e6e1e473e3bb3c2c18920cd6ad60192e859101f472385704 SHA512 6f7ab8b5592b84a1c832c32353e0da772bb704a23dd6305fc7ea12353a4faa65462b18e4554c2b55e7698a26e72a6788639691b3d0fa98041eddb48e92102c5a WHIRLPOOL a11a9cc7c2e9fdd9e54fb90c7cf63f11cb73538fc7a42d705b57184e0af9808dda0b388f1d0025b2b1c21c855ff3daa0c19c1e0b5ef3c9e5c9264e0672ddd48e
|
||||
DIST geneweb-6.07-reduce-utf8.ml.patch.gz 185409 SHA256 cc5b7d30333e8c7b187b83106189b5e63a7d423c2e500b77b5d087cd8cd239fa SHA512 d6b71fc6d3a1488f6e96e65ab0c942c08b9e0307b2d06c9bb97fde0c2e35af2fb4b52011024e67550e608603eacfaf5ee312c99c9228edfedc2dbe82745de227 WHIRLPOOL 75e30b8ef19803dcc6f391fc798c2bb4d4e4fa685d0d5d060dcb1a9ad676a45f5016fef2e6306019876d0d30d662ee3f67f361267a2829b2ce679836c573104c
|
||||
DIST gw-6.02-src.tgz 2734846 SHA256 534ac93f5c7d5667dd57bf4765f847836228fe92ed1b793a74997c71005127d4 SHA512 fd1f194295299db3886499c62519c823305c39d07f8da5dca0f40c4447192ed7e9c6b7ac68665d9c09811a6cbbe268c3fb5f0bda8aeb74a054f610c2c4d5f02e WHIRLPOOL 37c40974259d82e5e8f9756e3b962726566c1384fe605ee2d599830c251af669210b871b567a7948f001f8bc8623e16b373700eb448fcf22fdf79daf68597293
|
||||
DIST gw-6.06-src.tgz 1783868 SHA256 6b493369d0935c80e7f08d61d8b8c1c42e765cdc39ec038474b45e6412f0fb4c SHA512 2aca39fb45708c91afc45455bc5c97ba2cc5ad2e6d01f3fb0f123a82db149a118e0920c78746ab0b3a533f23616a9e7dfa982ea568d4c96be917a3772a603a31 WHIRLPOOL cb7ba43a70dc4d211a011d4fb39f8ff1bbd34387bf77e40901c305099f6f71be7339f7720b92e18bda7b1a583b97bd93535380301e5790ccecd3ee77d4b2d86d
|
||||
DIST gw-6.07-src.tgz 1855016 SHA256 c1ecc337f8bce4d8509ca49081d098b5a44ddb6407208496e55e9a38d6bfb1f6 SHA512 719884af80809b25946175731ae20b280e13f6e18471903d2222928c11838a2a92a43f03dd8152b7b01dfcaf45fbd942035f4b54f049899ea134cd161cfc971d WHIRLPOOL 70305616cafcb9476814e3fe8355571611fef4eabe022afd2f3b92c3a9c9c6bc2be69a37532e4b04cc16e9ce8979abda1b103f4606a8784bf64caa0c1b9ff5e5
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/iovalue.ml.old 2011-09-29 08:55:02.000000000 +0200
|
||||
+++ src/iovalue.ml 2011-09-29 08:55:42.000000000 +0200
|
||||
@@ -10,7 +10,7 @@
|
||||
read inside a value output by output_value (no headers) must
|
||||
match OCaml's input_value system (intern.c) *)
|
||||
|
||||
-value sizeof_long = Sys.word_size / 8;
|
||||
+value sizeof_long = 32 / 8;
|
||||
value sign_extend_shift = (sizeof_long - 1) * 8 - 1;
|
||||
value sign_extend x = (x lsl sign_extend_shift) asr sign_extend_shift;
|
||||
|
@ -1,30 +0,0 @@
|
||||
--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
|
||||
+++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
value port = ref 2316;
|
||||
value default_lang = ref "en";
|
||||
-value setup_dir = ref ".";
|
||||
-value bin_dir = ref "";
|
||||
+value setup_dir = ref "/usr/share/geneweb";
|
||||
+value bin_dir = ref "/usr/bin";
|
||||
value lang_param = ref "";
|
||||
value only_file = ref "";
|
||||
|
||||
--- tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200
|
||||
+++ tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200
|
||||
@@ -5,11 +5,11 @@
|
||||
CAMLP5F=-DUNIX
|
||||
CAMLP5D=+camlp5
|
||||
LIBUNIX=-cclib -lunix
|
||||
-OCAMLC=ocamlc.opt -warn-error A
|
||||
-OCAMLOPT=ocamlopt.opt -warn-error A
|
||||
+OCAMLC=ocamlc.opt
|
||||
+OCAMLOPT=ocamlopt.opt
|
||||
OCAMLI=
|
||||
OCAMLD=
|
||||
-STRIP=strip
|
||||
+STRIP=true
|
||||
RM=/bin/rm -f
|
||||
EXE=
|
||||
STATIC=-ccopt -static
|
@ -1,12 +0,0 @@
|
||||
--- wserver/Makefile.old 2011-03-11 13:47:04.000000000 +0100
|
||||
+++ wserver/Makefile 2011-03-11 13:47:20.000000000 +0100
|
||||
@@ -5,7 +5,8 @@
|
||||
OBJS=wserver.cmo
|
||||
|
||||
all:: pa_macro5.cmo $(OBJS)
|
||||
-opt:: pa_macro5.cmo $(OBJS:.cmo=.cmx)
|
||||
+opt:: pa_macro5.cmo
|
||||
+ $(MAKE) $(OBJS:.cmo=.cmx)
|
||||
|
||||
pa_macro5.cmo: pa_macro5.ml
|
||||
camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
|
@ -1,30 +0,0 @@
|
||||
--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
|
||||
+++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
value port = ref 2316;
|
||||
value default_lang = ref "en";
|
||||
-value setup_dir = ref ".";
|
||||
-value bin_dir = ref "";
|
||||
+value setup_dir = ref "/usr/share/geneweb";
|
||||
+value bin_dir = ref "/usr/bin";
|
||||
value lang_param = ref "";
|
||||
value only_file = ref "";
|
||||
|
||||
--- tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200
|
||||
+++ tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200
|
||||
@@ -5,11 +5,11 @@
|
||||
CAMLP5F=-DUNIX
|
||||
CAMLP5D=+camlp5
|
||||
LIBUNIX=-cclib -lunix
|
||||
-OCAMLC=ocamlc.opt -warn-error A
|
||||
-OCAMLOPT=ocamlopt.opt -warn-error A
|
||||
+OCAMLC=ocamlc.opt
|
||||
+OCAMLOPT=ocamlopt.opt
|
||||
OCAMLI=
|
||||
OCAMLD=
|
||||
-STRIP=strip
|
||||
+STRIP=true
|
||||
RM=/bin/rm -f
|
||||
EXE=
|
||||
STATIC=-ccopt -static
|
@ -1,12 +0,0 @@
|
||||
--- wserver/Makefile.old 2011-03-11 13:47:04.000000000 +0100
|
||||
+++ wserver/Makefile 2011-03-11 13:47:20.000000000 +0100
|
||||
@@ -5,7 +5,8 @@
|
||||
OBJS=wserver.cmo
|
||||
|
||||
all:: pa_macro5.cmo $(OBJS)
|
||||
-opt:: pa_macro5.cmo $(OBJS:.cmo=.cmx)
|
||||
+opt:: pa_macro5.cmo
|
||||
+ $(MAKE) $(OBJS:.cmo=.cmx)
|
||||
|
||||
pa_macro5.cmo: pa_macro5.ml
|
||||
camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
|
@ -1,56 +0,0 @@
|
||||
--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
|
||||
+++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
value port = ref 2316;
|
||||
value default_lang = ref "en";
|
||||
-value setup_dir = ref ".";
|
||||
-value bin_dir = ref "";
|
||||
+value setup_dir = ref "/usr/share/geneweb";
|
||||
+value bin_dir = ref "/usr/bin";
|
||||
value lang_param = ref "";
|
||||
value only_file = ref "";
|
||||
|
||||
--- tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200
|
||||
+++ tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200
|
||||
@@ -5,11 +5,11 @@
|
||||
CAMLP5F=-DUNIX
|
||||
CAMLP5D=+camlp5
|
||||
LIBUNIX=-cclib -lunix
|
||||
-OCAMLC=ocamlc.opt -warn-error A
|
||||
-OCAMLOPT=ocamlopt.opt -warn-error A
|
||||
+OCAMLC=ocamlc.opt
|
||||
+OCAMLOPT=ocamlopt.opt
|
||||
OCAMLI=
|
||||
OCAMLD=
|
||||
-STRIP=strip
|
||||
+STRIP=true
|
||||
RM=/bin/rm -f
|
||||
EXE=
|
||||
STATIC=-ccopt -static
|
||||
--- Makefile.old 2013-04-18 22:13:39.285809438 +0200
|
||||
+++ Makefile 2013-04-18 22:14:10.073514138 +0200
|
||||
@@ -18,7 +18,6 @@
|
||||
cd gwb2ged; $(MAKE) all
|
||||
cd setup; $(MAKE) all
|
||||
cd gwtp; $(MAKE) all
|
||||
- cd gui; $(MAKE) all
|
||||
|
||||
opt::
|
||||
cd wserver; $(MAKE) opt
|
||||
@@ -28,7 +27,6 @@
|
||||
cd gwb2ged; $(MAKE) opt
|
||||
cd setup; $(MAKE) opt
|
||||
cd gwtp; $(MAKE) opt
|
||||
- cd gui; $(MAKE) opt
|
||||
|
||||
install:
|
||||
mkdir -p $(PREFIX)/bin
|
||||
@@ -111,7 +109,6 @@
|
||||
cp setup/lang/lexicon.txt $(DESTDIR)/gw/setup/lang/.
|
||||
cp setup/gwsetup $(DESTDIR)/gw/gwsetup$(EXE)
|
||||
cp gui/gw/gui_lex.txt $(DESTDIR)/gw/.
|
||||
- cp gui/gui $(DESTDIR)/gw/gui$(EXE)
|
||||
cp LICENSE $(DESTDIR)/LICENSE.txt
|
||||
cp etc/START.htm $(DESTDIR)/.
|
||||
cp CHANGES $(DESTDIR)/CHANGES.txt
|
@ -1,23 +0,0 @@
|
||||
--- wserver/Makefile.old 2011-03-11 13:47:04.000000000 +0100
|
||||
+++ wserver/Makefile 2011-03-11 13:47:20.000000000 +0100
|
||||
@@ -5,7 +5,8 @@
|
||||
OBJS=wserver.cmo
|
||||
|
||||
all:: pa_macro5.cmo $(OBJS)
|
||||
-opt:: pa_macro5.cmo $(OBJS:.cmo=.cmx)
|
||||
+opt:: pa_macro5.cmo
|
||||
+ $(MAKE) $(OBJS:.cmo=.cmx)
|
||||
|
||||
pa_macro5.cmo: pa_macro5.ml
|
||||
camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
|
||||
--- src/Makefile.old 2013-04-18 21:29:52.727049806 +0200
|
||||
+++ src/Makefile 2013-04-18 21:30:58.838414496 +0200
|
||||
@@ -153,6 +153,8 @@
|
||||
) | \
|
||||
sort | uniq | grep -v '^$$' > i18n
|
||||
|
||||
+config.cmi: gwdb.cmi
|
||||
+
|
||||
always:
|
||||
|
||||
depend:
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-5.02.ebuild,v 1.6 2012/06/01 01:56:55 zmedico Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Genealogy software program with a Web interface."
|
||||
HOMEPAGE="http://cristal.inria.fr/~ddr/GeneWeb/"
|
||||
SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/${PN}/Src/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/camlp5"
|
||||
DEPEND="${RDEPEND}
|
||||
!net-p2p/ghostwhitecrab"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-amd64.patch \
|
||||
"${FILESDIR}"/${P}-parallellbuild.patch
|
||||
sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
|
||||
setup/setup.ml || die "Failed sed for gentoo path"
|
||||
rm -f contrib/gwdiff/.{cvsignore,depend}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt; then
|
||||
emake || die "Compiling native code executables failed"
|
||||
else
|
||||
emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out \
|
||||
|| die "Compiling byte code executables failed"
|
||||
# If using bytecode we dont want to strip the binary as it would remove
|
||||
# the bytecode and only leave ocamlrun...
|
||||
export STRIP_MASK="*/bin/*"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make distrib || die "Failed making distrib"
|
||||
cd distribution/gw
|
||||
# Install doc
|
||||
dodoc CHANGES.txt
|
||||
# Install binaries
|
||||
dobin gwc gwc2 consang gwd gwu update_nldb ged2gwb gwb2ged gwsetup \
|
||||
|| die "Failed installing binaries"
|
||||
insinto /usr/lib/${PN}
|
||||
doins -r gwtp_tmp/* || die "Failed installing CGI program"
|
||||
dodoc a.gwf
|
||||
dohtml -r doc/*
|
||||
insinto /usr/share/${PN}
|
||||
doins -r etc images lang setup gwd.arg only.txt\
|
||||
|| die "Failed installing data"
|
||||
|
||||
cd ../..
|
||||
|
||||
# Install binaries
|
||||
dobin src/check_base \
|
||||
|| die "Failed installing check_base binaries"
|
||||
# Install manpages
|
||||
doman man/* || die "Failed installing man pages"
|
||||
|
||||
# Install doc
|
||||
dodoc ICHANGES
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/{gwdiff,misc} \
|
||||
|| die "Failed installing contributions"
|
||||
|
||||
newinitd "${FILESDIR}/geneweb.initd" geneweb
|
||||
newconfd "${FILESDIR}/geneweb.confd" geneweb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser geneweb "" "/bin/bash" /var/lib/geneweb
|
||||
einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
|
||||
einfo "instructions on the README in that directory to use it"
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-6.02-r1.ebuild,v 1.1 2013/04/16 06:43:00 tupone Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
MY_PN=gw
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Genealogy software program with a Web interface."
|
||||
HOMEPAGE="http://opensource.geneanet.org/projects/geneweb"
|
||||
SRC_URI="http://opensource.geneanet.org/attachments/download/126/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/camlp5"
|
||||
DEPEND="${RDEPEND}
|
||||
!net-p2p/ghostwhitecrab"
|
||||
|
||||
S=${WORKDIR}/${MY_P}-src
|
||||
|
||||
src_prepare() {
|
||||
esvn_clean
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-parallellbuild.patch
|
||||
cp tools/Makefile.inc.unix tools/Makefile.inc
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt; then
|
||||
emake
|
||||
else
|
||||
emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out
|
||||
# If using bytecode we dont want to strip the binary as it would remove
|
||||
# the bytecode and only leave ocamlrun...
|
||||
export STRIP_MASK="*/bin/*"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make distrib
|
||||
cd distribution/gw
|
||||
# Install doc
|
||||
dodoc CHANGES.txt
|
||||
# Install binaries
|
||||
dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb gwb2ged gwsetup
|
||||
insinto /usr/lib/${PN}
|
||||
doins -r gwtp_tmp/*
|
||||
dodoc a.gwf
|
||||
insinto /usr/share/${PN}
|
||||
doins -r css etc images lang setup gwd.arg only.txt
|
||||
|
||||
cd ../..
|
||||
|
||||
# Install binaries
|
||||
dobin src/check_base
|
||||
# Install manpages
|
||||
doman man/*
|
||||
|
||||
# Install doc
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/{gwdiff,misc}
|
||||
|
||||
newinitd "${FILESDIR}/geneweb.initd" geneweb
|
||||
newconfd "${FILESDIR}/geneweb.confd" geneweb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser geneweb "" "/bin/bash" /var/lib/geneweb
|
||||
einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
|
||||
einfo "instructions on the README in that directory to use it"
|
||||
einfo "For 64 bits architecture you need to rebuild the database"
|
||||
einfo "\"gwu foo > foo.gw \" will save the database (use the previous"
|
||||
einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it "
|
||||
einfo "(usiing the current package)"
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/geneweb/geneweb-6.06.ebuild,v 1.1 2013/04/19 06:08:47 tupone Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils user
|
||||
|
||||
MY_PN=gw
|
||||
MY_PV=${PV/./-}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Genealogy software program with a Web interface."
|
||||
HOMEPAGE="http://opensource.geneanet.org/projects/geneweb"
|
||||
SRC_URI="http://opensource.geneanet.org/attachments/download/211/${MY_P}-src.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/camlp5"
|
||||
DEPEND="${RDEPEND}
|
||||
!net-p2p/ghostwhitecrab"
|
||||
|
||||
S=${WORKDIR}/gw-${PV}-src
|
||||
|
||||
src_prepare() {
|
||||
esvn_clean
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-parallellbuild.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt; then
|
||||
emake
|
||||
else
|
||||
emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out
|
||||
# If using bytecode we dont want to strip the binary as it would remove
|
||||
# the bytecode and only leave ocamlrun...
|
||||
export STRIP_MASK="*/bin/*"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ICHANGES
|
||||
make distrib
|
||||
# Install doc
|
||||
cd distribution
|
||||
dodoc CHANGES.txt
|
||||
# Install binaries
|
||||
cd gw
|
||||
dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup
|
||||
insinto /usr/lib/${PN}
|
||||
doins -r gwtp_tmp/*
|
||||
dodoc a.gwf
|
||||
insinto /usr/share/${PN}
|
||||
doins -r etc images lang setup gwd.arg only.txt
|
||||
|
||||
cd ../..
|
||||
|
||||
# Install binaries
|
||||
dobin src/check_base
|
||||
# Install manpages
|
||||
doman man/*
|
||||
|
||||
# Install doc
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/{gwdiff,misc}
|
||||
|
||||
newinitd "${FILESDIR}/geneweb.initd" geneweb
|
||||
newconfd "${FILESDIR}/geneweb.confd" geneweb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
enewuser geneweb "" "/bin/bash" /var/lib/geneweb
|
||||
einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
|
||||
einfo "instructions on the README in that directory to use it"
|
||||
einfo "For 64 bits architecture you need to rebuild the database"
|
||||
einfo "\"gwu foo > foo.gw \" will save the database (use the previous"
|
||||
einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it "
|
||||
einfo "(usiing the current package)"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST unfoo-1.0.6.sh 3083 SHA256 d74bf03d39378d6b5071af83f955fc48c2208d93410f45f1882c77061d952bfa SHA512 184b72909bed3f3c7a1f9768f4146b8cbc88f1cdfeb17576a88c114e73ae13e5e712cff51c1a40076b37541d16d9df9573667ec9a0b25abb84fb8f588cabe9e0 WHIRLPOOL eb4ef194245930caa766f177ff23867614fe23c43afdf556f9f41790a02db74121fb272ab842469aed10ac7fec9c632bbb7f5e2b0d318e0316d7f5037b0767b5
|
||||
DIST unfoo-1.0.7.tar.gz 31808 SHA256 0c0c1692c66a78ef673a5b1b5248184923782e375184a1d532330501e512f6ff SHA512 113126ead9a704c3efcd7f93ab2aa61536e6b5981e3a9f72d17d2e75f1f88d33b05976f6cf54b3ec4257b3f5e5f49b645643c2223e1f10cd499dcd272c4cb1f0 WHIRLPOOL 492536b29c2e0986e2fb1071cde7485807ba63456f3b3d9bb8426abf700347323a0d6d9ad013164895a7f88b90c858853f03e7229e394be4179a3fb3b3048242
|
||||
DIST unfoo-1.0.8.tar.gz 31862 SHA256 badc62603f1f7293032b36a1a3f1051b715b31895700d116d74cba4cb68af1e5 SHA512 b4a2489ca4ae5a81feacc57aa7c9c6437e3fbb0cec997d1b5e182e9ea7e19c13998968f23094e78908e6d41e699d50a1353ae475ec32146c63298eff06182281 WHIRLPOOL a6ab9fe60f73d07753760cba5d6d9d9ed7694fc1fba233c0510b823e1ad6f8e539207815543c690072545178841336d853ae6378fa88dc63e7668d1c3d266205
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/unfoo/unfoo-1.0.8.ebuild,v 1.1 2014/07/17 08:28:34 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
|
||||
HOMEPAGE="http://obsoleet.org/code/unfoo"
|
||||
SRC_URI="https://github.com/jlec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+minimal test"
|
||||
|
||||
COMMON_DEPS="
|
||||
|| (
|
||||
app-arch/bzip2
|
||||
app-arch/lbzip2[symlink]
|
||||
app-arch/pbzip2[symlink] )
|
||||
|| (
|
||||
app-arch/gzip
|
||||
app-arch/pigz[symlink] )
|
||||
app-arch/p7zip
|
||||
|| (
|
||||
app-arch/rar
|
||||
app-arch/unrar-gpl
|
||||
app-arch/unrar )
|
||||
app-arch/unace
|
||||
app-arch/unzip
|
||||
app-arch/xz-utils"
|
||||
RDEPEND="!minimal? ( ${COMMON_DEPS} )"
|
||||
DEPEND="test? ( ${COMMON_DEPS} )"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodoc README*
|
||||
dobin ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "unfoo can handle far more than just .tar*, but it requires some"
|
||||
elog "optional packages to do so. For a list, either consult the source"
|
||||
elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
|
||||
elog "To get full support please use USE=-minimal"
|
||||
elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then
|
||||
elog "To get full support please use USE=-minimal"
|
||||
fi
|
||||
}
|
@ -0,0 +1,320 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.16.1-r1.ebuild,v 1.1 2014/07/17 20:20:30 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.10.6-r1"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
# Rev of https://git.fedorahosted.org/cgit/nss-pem.git
|
||||
PEM_GIT_REV="3ade37c5c4ca5a6094e3f4b2e4591405db1867dd"
|
||||
PEM_P="${PN}-pem-${PEM_GIT_REV}"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( http://dev.gentoo.org/~anarchy/patches/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch )
|
||||
nss-pem? ( https://git.fedorahosted.org/cgit/nss-pem.git/snapshot/${PEM_P}.tar.bz2 )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cacert +nss-pem utils"
|
||||
|
||||
DEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]"
|
||||
RDEPEND=">=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r12
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
if use nss-pem ; then
|
||||
mv "${PEM_P}"/nss/lib/ckfw/pem/ "${S}"/lib/ckfw/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Custom changes for gentoo
|
||||
epatch "${FILESDIR}/${PN}-3.15-gentoo-fixups.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.15-gentoo-fixup-warnings.patch"
|
||||
use cacert && epatch "${DISTDIR}/${PN}-3.14.1-add_spi+cacerts_ca_certs.patch"
|
||||
use nss-pem && epatch "${FILESDIR}/${PN}-3.15.4-enable-pem.patch"
|
||||
epatch "${FILESDIR}/nss-3.14.2-solaris-gcc.patch"
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
aarch64*)echo "aarch64";;
|
||||
hppa*) echo "parisc";;
|
||||
i?86*) echo "i686";;
|
||||
x86_64*) echo "x86_64";;
|
||||
*) tc-arch ${t};;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
default) mybits=$(nssbits);;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
local myLDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) nspr --libs-only-L)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
# Do not let `uname` be used.
|
||||
if use kernel_linux ; then
|
||||
makeargs+=(
|
||||
OS_TARGET=Linux
|
||||
OS_RELEASE=2.6
|
||||
OS_TEST="$(nssarch)"
|
||||
)
|
||||
fi
|
||||
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export NSS_ENABLE_ECC=1
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export ASFLAGS=""
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fake-dir" \
|
||||
emake -j1 -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits:-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
LDFLAGS="${myLDFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/${ABI}-fake-dir" \
|
||||
emake -j1 "${makeargs[@]}" -C ${d}
|
||||
done
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
cp -L -t "${ED}"/usr/$(get_libdir) */lib/{libcrmf,libfreebl}.a || die "copying libs failed"
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.h
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils="shlibsign"
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
nssutils="addbuiltin atob baddbdir btoa certcgi certutil checkcert
|
||||
cmsutil conflict crlutil derdump digest makepqg mangle modutil multinit
|
||||
nonspr10 ocspclnt oidcalc p7content p7env p7sign p7verify pk11mode
|
||||
pk12util pp rsaperf selfserv shlibsign signtool signver ssltap strsclnt
|
||||
symkeyutil tstclnt vfychain vfyserv"
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
||||
# shlibsign after prelink.
|
||||
local l libs=() liblist
|
||||
for l in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
libs+=("${EPREFIX}/usr/$(get_libdir)/lib${l}.so")
|
||||
done
|
||||
liblist=$(printf '%s:' "${libs[@]}")
|
||||
echo -e "PRELINK_PATH_MASK=${liblist%:}" > "${T}/90nss-${ABI}"
|
||||
doenvd "${T}/90nss-${ABI}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
@ -1,210 +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/PyQt4/PyQt4-4.11.ebuild,v 1.2 2014/07/15 17:34:33 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit eutils multibuild python-r1 qmake-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt toolkit"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ https://pypi.python.org/pypi/PyQt4"
|
||||
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
MY_P="PyQt-x11-gpl-snapshot-${PV%_pre*}-${REVISION}"
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
else
|
||||
MY_P="PyQt-x11-gpl-${PV}"
|
||||
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="X dbus debug declarative designer doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
declarative? ( X )
|
||||
designer? ( X )
|
||||
help? ( X )
|
||||
multimedia? ( X )
|
||||
opengl? ( X )
|
||||
phonon? ( X )
|
||||
scripttools? ( X script )
|
||||
sql? ( X )
|
||||
svg? ( X )
|
||||
webkit? ( X )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/sip-4.16:=[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
X? (
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qttest-${QT_PV}
|
||||
)
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-0.80[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtdbus-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
|
||||
designer? ( || ( dev-qt/designer:4 <dev-qt/qtgui-4.8.5:4 ) )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
phonon? (
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
|
||||
)
|
||||
script? ( >=dev-qt/qtscript-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV} )
|
||||
webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dbus? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Support qreal on arm architecture (bug 322349).
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch"
|
||||
|
||||
# Allow building against KDE's phonon (bug 433944 and others).
|
||||
sed -i \
|
||||
-e "s:VideoWidget()\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/qt4/QtGui\"]:" \
|
||||
-e "s:^\s\+generate_code(\"phonon\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/phonon\"]:" \
|
||||
configure.py || die
|
||||
|
||||
if ! use dbus; then
|
||||
sed -i -e 's/^\(\s\+\)check_dbus()/\1pass/' configure.py || die
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ ${EPYTHON} == python3.* ]]; then
|
||||
rm -fr pyuic/uic/port_v2
|
||||
else
|
||||
rm -fr pyuic/uic/port_v3
|
||||
fi
|
||||
}
|
||||
python_foreach_impl run_in_build_dir preparation
|
||||
}
|
||||
|
||||
pyqt4_use_enable() {
|
||||
use $1 && echo --enable=${2:-Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--confirm-license
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
--assume-shared
|
||||
--no-timestamp
|
||||
--qsci-api
|
||||
$(use debug && echo --debug)
|
||||
--enable=QtCore
|
||||
--enable=QtNetwork
|
||||
--enable=QtXml
|
||||
$(pyqt4_use_enable X QtGui)
|
||||
$(pyqt4_use_enable X QtTest)
|
||||
$(pyqt4_use_enable dbus QtDBus)
|
||||
$(pyqt4_use_enable declarative)
|
||||
$(pyqt4_use_enable designer) $(use designer || echo --no-designer-plugin)
|
||||
$(pyqt4_use_enable help)
|
||||
$(pyqt4_use_enable multimedia)
|
||||
$(pyqt4_use_enable opengl QtOpenGL)
|
||||
$(pyqt4_use_enable phonon phonon)
|
||||
$(pyqt4_use_enable script)
|
||||
$(pyqt4_use_enable scripttools QtScriptTools)
|
||||
$(pyqt4_use_enable sql)
|
||||
$(pyqt4_use_enable svg)
|
||||
$(pyqt4_use_enable webkit QtWebKit)
|
||||
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
local mod
|
||||
for mod in QtCore \
|
||||
$(use X && echo QtGui) \
|
||||
$(use dbus && echo QtDBus) \
|
||||
$(use declarative && echo QtDeclarative) \
|
||||
$(use designer && echo QtDesigner) \
|
||||
$(use opengl && echo QtOpenGL); do
|
||||
# Run eqmake4 inside the qpy subdirectories to respect
|
||||
# CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS and avoid stripping.
|
||||
pushd qpy/${mod} > /dev/null || return
|
||||
eqmake4 $(ls w_qpy*.pro)
|
||||
popd > /dev/null || return
|
||||
|
||||
# Fix insecure runpaths.
|
||||
sed -i -e "/^LFLAGS\s*=/ s:-Wl,-rpath,${BUILD_DIR}/qpy/${mod}::" \
|
||||
${mod}/Makefile || die "failed to fix rpath for ${mod}"
|
||||
done
|
||||
|
||||
# Avoid stripping of libpythonplugin.so.
|
||||
if use designer; then
|
||||
pushd designer > /dev/null || return
|
||||
eqmake4 python.pro
|
||||
popd > /dev/null || return
|
||||
fi
|
||||
}
|
||||
python_parallel_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
local tmp_root=${D%/}/tmp
|
||||
|
||||
# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
|
||||
emake DESTDIR="${tmp_root}" INSTALL_ROOT="${tmp_root}" install
|
||||
|
||||
python_doexe "${tmp_root}${EPREFIX}"/usr/bin/pyuic4
|
||||
rm "${tmp_root}${EPREFIX}"/usr/bin/pyuic4 || die
|
||||
|
||||
multibuild_merge_root "${tmp_root}" "${D}"
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
dodoc NEWS THANKS
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST click-2.0.tar.gz 47342 SHA256 33a984fe73aa8c6bf69c38098b69dd38405529db54baf4c8cf64c50b2dee644f SHA512 4c703ab4b5c76e393420b0edf9af9e8ddb301ccfef5f8117d3408eaa8a94abe6b7b5c7a8b61b7774a3b459b153c10438e8934f21ceb73697199828cce2c2887c WHIRLPOOL bf599395245319b31c189df297a1ec35ca69723ed24e2d3e9aa9231a3cfebdb80e1f43a0b010865b6fbecf09f23dc1121cca232aec26f09bdb455f41da5261c4
|
||||
DIST click-2.4.tar.gz 155734 SHA256 fe09336d002cb66dac1289808a7023eeffd90a29607bf00f1eda5397a1c0d545 SHA512 bb4c72665edc90d0c06142ff3776308f1eef574bb1b78294eb1c6e4ebe265b9eb1da2220b7f191495e8e6255651f35683e398898a40da16bb6634671bcb763a8 WHIRLPOOL 8f23f8fe0e661b29a6dfd8c55550ed6507755345d39032ace1c594bc664c0b27cdc1813c6be7f7f4756daaa49bc19cf04aabb6f06fbe4ba44c1b3655f2766560
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/click/click-2.4.ebuild,v 1.1 2014/07/17 09:51:11 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python package for creating beautiful command line interfaces"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://click.pocoo.org/ http://pypi.python.org/pypi/click"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/geoip-python/geoip-python-1.3.1.ebuild,v 1.1 2014/07/18 05:00:36 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="geoip-api-python"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for GeoIP"
|
||||
HOMEPAGE="https://github.com/maxmind/geoip-api-python"
|
||||
SRC_URI="https://github.com/maxmind/geoip-api-python/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-libs/geoip-1.4.8"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( README.rst ChangeLog.md )
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild,v 1.1 2014/07/17 23:44:40 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="SimpleParse"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Parser Generator for mxTextTools."
|
||||
HOMEPAGE="http://simpleparse.sourceforge.net http://pypi.python.org/pypi/SimpleParse"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="eGenixPublic-1.1 HPND"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# tests segfault, bug #454680
|
||||
RESTRICT=test
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
rm -f {examples,tests}/__init__.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=${BUILD_DIR}/lib python tests/test.py || die
|
||||
}
|
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.7.ebuild,v 1.11 2013/12/23 15:30:58 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
# live version from mercurial repo
|
||||
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
|
||||
inherit mercurial
|
||||
elif [[ ${PV} == *_pre* ]]; then
|
||||
# development snapshot
|
||||
HG_REVISION=
|
||||
MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION}
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
# official release
|
||||
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
|
||||
SLOT="0/10"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ ${PV} == *9999* ]] && DEPEND+="
|
||||
=dev-lang/python-2*
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
python2 build.py prepare || die
|
||||
if use doc; then
|
||||
python2 build.py doc || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sub-slot sanity check
|
||||
local sub_slot=${SLOT#*/}
|
||||
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
|
||||
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
|
||||
eerror
|
||||
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
|
||||
eerror "Please update SLOT variable as follows:"
|
||||
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
|
||||
eerror
|
||||
die "sub-slot sanity check failed"
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--incdir="$(python_get_includedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake DESTDIR="${D}" install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
dodoc NEWS
|
||||
use doc && dohtml -r doc/html/*
|
||||
}
|
@ -1,113 +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/sip/sip-4.16.ebuild,v 1.1 2014/05/30 18:25:05 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit eutils python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
# live version from mercurial repo
|
||||
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
|
||||
inherit mercurial
|
||||
elif [[ ${PV} == *_pre* ]]; then
|
||||
# development snapshot
|
||||
HG_REVISION=
|
||||
MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION}
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
# official release
|
||||
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
|
||||
SLOT="0/11"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ ${PV} == *9999* ]] && DEPEND+="
|
||||
=dev-lang/python-2*
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.15.5-darwin.patch
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
python2 build.py prepare || die
|
||||
if use doc; then
|
||||
python2 build.py doc || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sub-slot sanity check
|
||||
local sub_slot=${SLOT#*/}
|
||||
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
|
||||
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
|
||||
eerror
|
||||
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
|
||||
eerror "Please update SLOT variable as follows:"
|
||||
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
|
||||
eerror
|
||||
die "sub-slot sanity check failed"
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--incdir="$(python_get_includedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake DESTDIR="${D}" install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
dodoc NEWS
|
||||
use doc && dohtml -r doc/html/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST combustion-0.5.1.gem 13312 SHA256 2c41a6faa674c1ba0e5d4ac428b1bebd0e63760952e0fc64b36c0c45343bcdc5 SHA512 35d60fd7aae5b28ec909d404a27cc199b65865feeaee66ef691eb4175327324d6007ffc45629d8442f2cf5f4ef25ae254eafa67884943037dda798c196e34af7 WHIRLPOOL f7e2d7c28b74292f57d573a3fe6cd141602eea985797678e288c58ede6d5a77d8286895cc1cc99d2d2f8fd7b60303015629b56c941d7c74abd296c5fadd1634d
|
||||
DIST combustion-0.5.2.gem 13312 SHA256 b599e01d8ff2a261f11dad6b5a33edfd3bd318d36a37e02b84d2ebe9ad880300 SHA512 f7d654d63415499bca473b7657aef92a78a53a80657840883a12f740100c4858d114b99dbdec822a21ad47047985422c81d90452895e27a33db02096fabc4fb9 WHIRLPOOL 8d926db506b9f877aabfa4a28cf03d6d056a4c74ae9f0e0596d5e727d85f54ea71cfff3c7d8f720098006d1c7a728b4974d0c964d6202355b2d006a698b7ee22
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/combustion/combustion-0.5.2.ebuild,v 1.1 2014/07/18 05:30:00 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Elegant Rails Engine Testing"
|
||||
HOMEPAGE="https://github.com/pat/combustion"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activesupport-3.0.0
|
||||
>=dev-ruby/railties-3.0.0
|
||||
>=dev-ruby/thor-0.14.6
|
||||
"
|
@ -1,3 +1,2 @@
|
||||
DIST deprecated-2.0.1.tar.gz 12938 SHA256 ad73879e276f555ca47e482f5df72a2e90e598e4d1c6c8518d22128b80274ddb SHA512 bb0b5b569615443fb84235244c21e499b88659887bfb09d75a7d2508b839999a6bd5ff5a35d570e825744c2809b7b7566c8296c94d46bc6cb7bfcec13db8f27e WHIRLPOOL 822e80202931485c8f24a2d0a6ba628cf3a76c37fe65d50099922d549c25248eaee895f0241068150e5a97945cc80c93dc83c6f57cf884a93021d996a92a2420
|
||||
DIST deprecated-3.0.0.gem 6144 SHA256 cf09d59afc58de6d6054502f7d59b1855285fd5cf50c5adb504abbc00ef18c5c SHA512 b102af5a3f2eed37f9353c616442a00f16008accbd647ec1d532f4bc8e058694635fe24834e07d35ea7ac0134954132b7311cd73cb0dfc23b6c101ecfd617cda WHIRLPOOL 9193f86e514403a119fd51d205bdcee9884478f72d7f3be80c09e82ab01d008a253d162c818e24530fa977676134e09aac48ffe021b22c28129258424ac81cec
|
||||
DIST deprecated-3.0.1.gem 6144 SHA256 032cc3b7367275bebd2b46c0fa23f70447f65e7f34f0d68977b0c9243c07c2cf SHA512 c4280f8bd6914a6b073cbc443db5dd5232379abb7870d90cd0146c08312f82aa8fd8c042b48c2b9b26c4120dc8afb326070a1256c51355f1cfa898905ec59e51 WHIRLPOOL 383fc0a4736861cc56720c7307e40c7db09d626d6d61cad278c7793a969ab5061574b02d181f92c90d0f906977bd34ef0ea2f5929aab78a4f8e002c169e4a56b
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/deprecated/deprecated-2.0.1-r2.ebuild,v 1.7 2014/05/21 01:34:32 mrueg Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for handling deprecated code"
|
||||
HOMEPAGE="http://rubyforge.org/projects/deprecated"
|
||||
SRC_URI="mirror://rubyforge/deprecated/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="test"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. test/deprecated.rb || die "test failed"
|
||||
}
|
@ -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-ruby/deprecated/deprecated-2.0.1-r4.ebuild,v 1.2 2014/05/21 01:34:32 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for handling deprecated code"
|
||||
HOMEPAGE="http://rubyforge.org/projects/deprecated"
|
||||
SRC_URI="mirror://rubyforge/deprecated/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib:. test/deprecated.rb
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST ruby-debug-base-0.10.3.1-java.gem 61952 SHA256 0e7fb6e9cf93a969dc5b58fd4814fabc0391db3ad5f5b1e310ee8c87de5d9d22 SHA512 eb32ffa9525ccc8a594b4df1989bbd24e233c967f6484a4d3f40170d609812ccbd3e84958b2b045ca3516f52c246a9610e7091c664e7b8e12be209c3b5516527 WHIRLPOOL 434d5cb1b28ee6618f69e78f32f8c985bba46d946194e422950964d4ca9e7be931e48e3dd98fad19a2baf7d321ec8fd4e015a4506ee88f44fd8691d8d34166d8
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jruby-debug-base/jruby-debug-base-0.10.3.1-r1.ebuild,v 1.1 2014/03/11 01:39:03 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="jruby"
|
||||
|
||||
# No tests shipped :(
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RESTRICT="test"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog README"
|
||||
|
||||
# Uses the same gem name as the MRI version, but it's a different gem
|
||||
# altogether.
|
||||
RUBY_FAKEGEM_NAME="${PN/jruby/ruby}"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Fast Ruby debugger"
|
||||
HOMEPAGE="http://rubyforge.org/projects/ruby-debug/"
|
||||
|
||||
# This is not registered in the gemcutter index!
|
||||
SRC_URI="mirror://rubyforge/debug-commons/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}-java.gem"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
SLOT="0"
|
@ -0,0 +1 @@
|
||||
DIST meterpreter_bins-0.0.6.gem 2939904 SHA256 75e1f451a80212314661712d9a88b9ddb4b9b51b18d9451fb05d81d8ffef083e SHA512 d9c51bd61643c41d882db9f6a92477af46cbad6f78428861f52f1bcb283ab1c24a41b297cc70993c7573b0e7578631635beaa83c2bad2170ded7064c5a98c739 WHIRLPOOL 722ebcebf8db8f4fb933a1cf8dedd400cec200d754f0fcab832ba0e62b7fd5f59bc378abe839c5b858d0aaf1f79447f08b65db4e1772066ae3254c0d57192dc5
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<upstream>
|
||||
<remote-id type="rubyforge">debug-commons</remote-id>
|
||||
</upstream>
|
||||
<maintainer>
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/meterpreter_bins/meterpreter_bins-0.0.6.ebuild,v 1.1 2014/07/17 19:08:53 zerochaos Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="meterpreter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Compiled binaries for Metasploit's Meterpreter"
|
||||
HOMEPAGE="https://github.com/rapid7/meterpreter_bins"
|
||||
|
||||
#https://github.com/rapid7/meterpreter_bins/issues/5
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
#no tests
|
||||
RESTRICT=test
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.2.8.ebuild,v 1.6 2014/04/05 12:12:06 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README SPEC"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="http://rubyforge.org/projects/rack"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all. We do add the fcgi dependency because
|
||||
# that spec isn't optional.
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/fcgi )"
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1"
|
||||
|
||||
#USE_RUBY=ruby19 \
|
||||
# ruby_add_bdepend "ruby_targets_ruby19 test" '=dev-ruby/test-unit-1*'
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
|
||||
|
||||
# Add missing require for Mutex use. This may show up in the tests
|
||||
# depending on load order.
|
||||
sed -i -e '1 irequire "thread"' lib/rack/lock.rb || die
|
||||
|
||||
# Avoid tests depending on now randomized hash ordering.
|
||||
sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die
|
||||
sed -i -e '/build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
sed -i -e '/build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
# Avoid failing encoding-related specs, most likely due to
|
||||
# changes in handling of encodings in newer ruby 19
|
||||
# versions.
|
||||
sed -i -e '/escape non-UTF8 strings/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
sed -i -e '/escape html entities in unicode strings/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
sed -i -e '/escape html entities even on MRI/,/^ end/ s:^:#:' test/spec_utils.rb || die
|
||||
sed -i -e '/accept params and build multipart encoded params/,/^ end/ s:^:#:' test/spec_mock.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Since the Rakefile calls specrb directly rather than loading it, we
|
||||
# cannot use it to launch the tests or only the currently-selected
|
||||
# RUBY interpreter will be tested.
|
||||
${RUBY} -S bacon -Ilib -w -a \
|
||||
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)' \
|
||||
|| die "test failed for ${RUBY}"
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.3.10.ebuild,v 1.7 2014/04/05 12:12:06 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="http://rubyforge.org/projects/rack"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all. We do add the fcgi dependency because
|
||||
# that spec isn't optional.
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/fcgi )"
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
|
||||
|
||||
# Avoid tests depending on now randomized hash ordering.
|
||||
sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die
|
||||
sed -i -e '/build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
sed -i -e '/build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Since the Rakefile calls specrb directly rather than loading it, we
|
||||
# cannot use it to launch the tests or only the currently-selected
|
||||
# RUBY interpreter will be tested.
|
||||
${RUBY} -S bacon -Ilib -w -a \
|
||||
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
|
||||
|| die "test failed for ${RUBY}"
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST text-format-1.0.0.tar.gz 28968 SHA256 5ec24588c0f6638a04c40f44803dc8496328ae6d1d4e2da849cc9f89ab9369ec SHA512 57715773af525692830b39ec1fefee28a69b904cb781333f613a45c4f8ee4bf4b3d388c9f06f6dd423a456eda76c4882330568c9947f3e2275a99617843a807c WHIRLPOOL 7bf6212a6b2d02d21bf52bf631bda6fb487d635d12755fe7c3e4a2b95b1acc56a26eb17fbba11c19141c96046196efbbfab76c879622c2689b337cf345de0635
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<upstream>
|
||||
<remote-id type="rubyforge">text-format</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/text-format-1.0.0-r3.ebuild,v 1.15 2014/04/05 16:07:21 mrueg Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README Changelog ToDo"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Text::Format provides strong text formatting capabilities to Ruby"
|
||||
HOMEPAGE="http://rubyforge.org/projects/text-format/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '>=dev-ruby/text-hyphen-1.0.0'
|
||||
ruby_add_bdepend "test? ( dev-ruby/archive-tar-minitar )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix rakefile for new rake versions
|
||||
sed -i -e 's: if t\.verbose::' Rakefile || die
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-format/text-format-1.0.0-r4.ebuild,v 1.2 2014/04/05 16:07:21 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README Changelog ToDo"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Text::Format provides strong text formatting capabilities to Ruby"
|
||||
HOMEPAGE="http://rubyforge.org/projects/text-format/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend '>=dev-ruby/text-hyphen-1.0.0'
|
||||
ruby_add_bdepend "test? ( dev-ruby/archive-tar-minitar )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix rakefile for new rake versions
|
||||
sed -i -e 's: if t\.verbose::' Rakefile || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST treetop-1.4.15.gem 78336 SHA256 ffa68f201c0f62c26b0a1d13233d73194400596964696843f87ebb5d812f12ff SHA512 350e3b4fc5236f5523e7ba7486699192a689d680e60687519ffdb8707241fce493a86713d1a0a1e243654c609e221b194e151c29bee9aa7cff71ab397223791b WHIRLPOOL a474c3bb9fe43ce73c32cd795214fce168b9d8116746075ef982728b4ded802f5f5995efacf20501c42ddb90fe7e766880dd3e05dd7e8dc815cd804180007b74
|
||||
DIST treetop-1.5.3.gem 78336 SHA256 ab3c49c3a39e7c9bea88a90524545e39bed032758a130295f8d6a433c62ff472 SHA512 517ca72fe9c6d27c1ef6722a33b2639fdeb0867ad68b02a7d8795ec1b2bc3b9c9d56aaf400a4159c06c4714065c6a17e44bc985573cb11523d52b53b3a9ec9bf WHIRLPOOL b8b3300a99f65e837dabfd5beaa19d4d83c21b237736f8d675edf4a39ca8061e980b8ea4ccdab1f3c2cba0de0d25ec88db75bbd738258f1e1af2e5b4c632f345
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.15-r1.ebuild,v 1.1 2014/04/20 18:21:30 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby fails tests, not investigated yet.
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Treetop is a language for describing languages."
|
||||
HOMEPAGE="http://treetop.rubyforge.org/"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rr-0.10.2 dev-ruby/activesupport )"
|
||||
ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Use a ruby18 compatible regexp, already fixed upstream.
|
||||
sed -i -e 's/\[:\^space:\]/\^[:space:]/' spec/compiler/character_class_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.15.ebuild,v 1.2 2014/04/19 03:09:47 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby fails tests, not investigated yet.
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Treetop is a language for describing languages."
|
||||
HOMEPAGE="http://treetop.rubyforge.org/"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rr-0.10.2 dev-ruby/activesupport )"
|
||||
ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Use a ruby18 compatible regexp, already fixed upstream.
|
||||
sed -i -e 's/\[:\^space:\]/\^[:space:]/' spec/compiler/character_class_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/twitter/twitter-5.10.0.ebuild,v 1.1 2014/06/11 06:34:18 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper around the Twitter API"
|
||||
HOMEPAGE="http://twitter.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/buftok-0.2.0
|
||||
>=dev-ruby/equalizer-0.0.9
|
||||
=dev-ruby/faraday-0*
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/http-0.6.0:0.6
|
||||
>=dev-ruby/http_parser_rb-0.6.0
|
||||
>=dev-ruby/json-1.8
|
||||
>=dev-ruby/memoizable-0.4.0
|
||||
>=dev-ruby/naught-1.0
|
||||
=dev-ruby/simple_oauth-0*
|
||||
>=dev-ruby/simple_oauth-0.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:2
|
||||
dev-ruby/webmock
|
||||
)
|
||||
doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
|
||||
|
||||
sed -i -e '/\(simplecov\|coveralls\)/ s:^:#:' spec/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/twitter/twitter-5.7.1.ebuild,v 1.1 2014/02/22 19:21:27 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper around the Twitter API"
|
||||
HOMEPAGE="http://twitter.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/buftok-0.2.0
|
||||
>=dev-ruby/equalizer-0.0.9
|
||||
=dev-ruby/faraday-0*
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/http-0.5.0
|
||||
>=dev-ruby/http_parser_rb-0.6.0
|
||||
>=dev-ruby/json-1.8
|
||||
>=dev-ruby/memoizable-0.4.0
|
||||
>=dev-ruby/naught-1.0
|
||||
=dev-ruby/simple_oauth-0*
|
||||
>=dev-ruby/simple_oauth-0.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:2
|
||||
dev-ruby/webmock
|
||||
)
|
||||
doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
|
||||
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/twitter/twitter-5.8.0.ebuild,v 1.1 2014/04/01 05:52:59 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper around the Twitter API"
|
||||
HOMEPAGE="http://twitter.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/buftok-0.2.0
|
||||
>=dev-ruby/equalizer-0.0.9
|
||||
=dev-ruby/faraday-0*
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/http-0.5.0
|
||||
>=dev-ruby/http_parser_rb-0.6.0
|
||||
>=dev-ruby/json-1.8
|
||||
>=dev-ruby/memoizable-0.4.0
|
||||
>=dev-ruby/naught-1.0
|
||||
=dev-ruby/simple_oauth-0*
|
||||
>=dev-ruby/simple_oauth-0.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:2
|
||||
dev-ruby/webmock
|
||||
)
|
||||
doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
|
||||
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/twitter/twitter-5.9.0.ebuild,v 1.1 2014/05/16 08:20:42 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper around the Twitter API"
|
||||
HOMEPAGE="http://twitter.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/buftok-0.2.0
|
||||
>=dev-ruby/equalizer-0.0.9
|
||||
=dev-ruby/faraday-0*
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/http-0.6.0:0.6
|
||||
>=dev-ruby/http_parser_rb-0.6.0
|
||||
>=dev-ruby/json-1.8
|
||||
>=dev-ruby/memoizable-0.4.0
|
||||
>=dev-ruby/naught-1.0
|
||||
=dev-ruby/simple_oauth-0*
|
||||
>=dev-ruby/simple_oauth-0.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:2
|
||||
dev-ruby/webmock
|
||||
)
|
||||
doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
|
||||
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST tzinfo-0.3.37.gem 314368 SHA256 6c8e551f2067b64c4edb00da70b1b85ac761e611cd73c7c937709ca797da225e SHA512 0007711e648dd1b44307d9b29bbcc93d1db2d77d599a4ef71e30ec03243078cb9f6b3618e548c215ad6f5dcf10366d5acbfecd0d81131fc002edce6df250b7e4 WHIRLPOOL 16568cc73d21936993d22e52b4ac6d5cb3489653adee58824c8de273dd8d06eaac93c3f9b945edf4905b3f46f71ec2760b9fc11fc1fe54b2e616d924cbdaa2f2
|
||||
DIST tzinfo-0.3.38.gem 312832 SHA256 c8c8525a056b7e26228cc8fa1cdb969fe980a207346cd84ac519ccb7554e63e8 SHA512 a7e76718240472d1bfe53c126a92d13e004491feca4138509fd04c7a5ace226cc46516c6e592602b8b7220e62ab773d0749e64805ebc56116a8fdf509cb56045 WHIRLPOOL e3967616d6c192c083c2b0bbe5fb13472fbaf336bbb6a8c1b699fd788063a0ea08d53e2d4d867e049b48167f0139ddbae17adef28395a6d8693da9251eb2d007
|
||||
DIST tzinfo-1.1.0.gem 142848 SHA256 715a47c25f8e4c2f106c92d5a97e612f84eb7e85f5822bf3d6cf615b44492abc SHA512 b261b800a83eb654716559e216f0074f02587731aa004cb7c19f90f8db5a456c5435ca53acff2f31687eee7982e77afe0214a9cfddda632d93e74ccff8174c6d WHIRLPOOL 480fd4fed18ec80618d2a359f20f734e8d8ab97a8300c21088d8387adc3e693d33e85b655e7b3051bc429aae32e89ed29e6c12caa066deee573fb34c332d4370
|
||||
DIST tzinfo-1.2.0.gem 144384 SHA256 d8c9aae397ecef24e04fb1acbe46c5dc45b1f42049407ade3f521f7e6f58d79d SHA512 21d5b12112589c70212e2fe73596a804312a430a5e2c7693f5d1d7c887673d4acd20cfabad41d7d7672186566f01d419561dac31ec27d0ab6faf7d9b14400004 WHIRLPOOL 38eb9fd6eab3d3372c72aac5d8e7b1e0ee02a0833ada66f5f3c79a5aa1a686c7ee52664d79defecae2d6de8dbd2e34ee49701e1537d072140044e697d31b38e3
|
||||
DIST tzinfo-1.2.1.gem 145920 SHA256 52787314a74eea6d20b0df2fb0034fdb83b04415ff493cc39b4d4ad0cb80b6a0 SHA512 af3a3ecd23c7007f80d2610a2c2a428616132d26a84454271fc2cbd1175b5d2550abed3e2782183520af1ce31c17d8faa53378b2c94574b573478f3539499052 WHIRLPOOL 6c45055e359b4c60801da83a6cd7380eb32e57bb72ef3816e3db22cc6912d8808b23de0cf025717f9e8e452de3bf421336e30067341136bbaad3d5a047e43e2c
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-1.1.0.ebuild,v 1.6 2014/04/26 06:10:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Daylight-savings aware timezone library"
|
||||
HOMEPAGE="http://tzinfo.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/timezone-data"
|
||||
DEPEND="test? ( sys-libs/timezone-data )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set the secure permissions that tests expect.
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
TZ='America/Los_Angeles' ${RUBY} -I. -S testrb test/tc_*.rb || die
|
||||
}
|
@ -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/dev-ruby/tzinfo/tzinfo-1.2.0.ebuild,v 1.1 2014/05/27 04:44:21 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_zoneinfo"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Daylight-savings aware timezone library"
|
||||
HOMEPAGE="http://tzinfo.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/timezone-data"
|
||||
DEPEND="test? ( sys-libs/timezone-data )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/thread_safe-0.1:0"
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set the secure permissions that tests expect.
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/uuidtools-2.1.4-r2.ebuild,v 1.1 2014/04/03 08:36:10 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple library to generate UUIDs"
|
||||
HOMEPAGE="http://uuidtools.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos"
|
||||
IUSE=""
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/uuidtools/uuidtools-2.1.4.ebuild,v 1.2 2014/04/03 08:36:10 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple library to generate UUIDs"
|
||||
HOMEPAGE="http://uuidtools.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-macos"
|
||||
IUSE=""
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/xml-simple/xml-simple-1.1.3-r1.ebuild,v 1.1 2014/04/12 23:39:35 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
# Gem only contains lib code, and github repository has no tags.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Easy API to maintain XML. It is a Ruby port of Grant McLean's Perl module XML::Simple."
|
||||
HOMEPAGE="http://rubyforge.org/projects/xml-simple/ https://github.com/maik/xml-simple"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
@ -1,3 +1,4 @@
|
||||
DIST ZenTest-4.10.0.gem 71168 SHA256 98bb398bb7b30b5d7562fce8ff8c5ba6918690175ef95a5509ed63324f5d1296 SHA512 c17f996fc44177524c61579faa8dc5f961f0c21fd5474ef3e13534ac000ae93fc6255febaeb00d7043d9d93beb973ec34db6d77940db40d222eb1b6057d6953d WHIRLPOOL 840a25042dbb5bba1a8f0324377138b3ef8d554bc7d544f7e82fa8542f56f89b913c8fbde22a1fe9e900bc407e483def1181877a24dbe5ab68712737e5462043
|
||||
DIST ZenTest-4.10.1.gem 71680 SHA256 e11fe9ccb71de7d2a58fedf0a8ad06b2c6a92515070a655b0c471ff11405d3cb SHA512 fd152804eb8ece01cfe42af8106b1db4e0bf48b11cd7af9dcc5db3d289c1d966057e7d8788ea8e6616d0fe4e6dd78a8d10c1fa65751ba43741f631f37e91d9f9 WHIRLPOOL ee1894d93b312a20fcaba4c4a7bda64a840ec9dd8bac3ddb7aa526fa4a14b7f1716dbe928299f233639b5b52f5d6d0de9cb1f5fa38370a4bab360f4e0b2feae7
|
||||
DIST ZenTest-4.7.0.gem 68096 SHA256 3c6cf0c9ca0461683ed08013edfdec936bfc549f06c00d9cc739f980b2aa70bf SHA512 a7d66f53301143bb71fd8c2f72494d0ac14bd3faaad24d1e7edb85fa8ea12b1587abfa580042a5de27a75bdff65af8a0648e79f264bb84ff9179896ddd2ec334 WHIRLPOOL 66ec799c2165c67b969c459138043093c66c76c9b25fcb9418727e3c5b24720c52003eb5a9cbd26e304c8f3804101f259c0368926ffe1d3770358a8a1e0ec20a
|
||||
DIST ZenTest-4.9.5.gem 71168 SHA256 8d93c6fd25e3040661f24829bb97f37973c8b99ee0b52c91dfdc2a1d5a120b5f SHA512 00663bb5d78782c48db14e8dc29b2b2d1ec49beab0b1f907a0fae95b04f3d8124de09fa477111cfebfaa68847361aeda5215cae0e1c5b591ba9fd978663aec91 WHIRLPOOL 3f647cc3ab3f88b6b3253503d0c7bf6baeb423c712eacbdafc88969b7e2314a37408555e7cd8842d252472d451a7658e8e08961e6143c95ce97c38a6994a220a
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST linux-3.12.tar.bz2 91111381 SHA256 43129defd9079c99cf5e57506d36b6b01614c734a5ed9e604d3a7c1510ab8b22 SHA512 bea14d044c8a0257d8312f45db6a39ca4f9dffe8ac32a11198e90762ee1735c8b6975bb81c635a4755d451793fa7c7e5b2d7d692c9e57133b15b4cdc941febf1 WHIRLPOOL 1889c3f689cf305856112f350e3901175b9f6c4f1e4143d62b40e502000685ade3e75b211a8a9fd948f6225e1c57a68cae10ceb649ff7976981089290d562926
|
||||
DIST linux-3.13.tar.xz 77187032 SHA256 4d5e5eee5f276424c32e9591f1b6c971baedc7b49f28ce03d1f48b1e5d6226a2 SHA512 1ba223bb4b885d691a67196d86a8aaf7b4a1c351bf2a762f50f1b0c32da00dd0c28895872a66b49e8d244498d996876609268e64861d28ac4048886ef9f79b87 WHIRLPOOL 2992257a17e85b3eb16fcaf21678fa6dbf31f80c2099fd1ad0ff9852ac1d16122ac8e2c0b46421d8895d4368253a724e439cd625307ee7af7bd1e50cb2c9b62a
|
||||
DIST linux-3.2.tar.bz2 78147838 SHA256 c881fc2b53cf0da7ca4538aa44623a7de043a41f76fd5d0f51a31f6ed699d463 SHA512 1f57b98e8da34b10f37ce94e0f13a994c111d483b104c27a8f58a4a55013a73a9f1ffcebb597be63ce0dfadb92201e93b0e072ba49bac0033026aceb0840c812 WHIRLPOOL 3dc893bde09f064e4614183964a4b9feaab938ca7a739f46f825818a577884eae815f195b52a4c55c571345de59d7ba09631fb68dac481a0837b24868ce60e3d
|
||||
DIST linux-3.4.tar.bz2 80173484 SHA256 a797a15d0b6228381507c14ecf4eec4a6cc5c77cfd521ba3b3e1325e85b5b16d SHA512 597002fa82b70b5052f9e05c1d8547bc5f89d8e1aecfd1765f4033f6d2c5c02d51b6372dbeef12c2eb070ae318a04c39925050cb37a39399961c8b263479fca1 WHIRLPOOL 57e6dd7094db2bc41175d7bb551e8237ea96eacf3710a734e8413915c54304e84ca11455e41c7752882ce81048459555d44d1798bf0775b79c3d74b13aa3a9f2
|
||||
DIST linux-3.15.tar.xz 79676484 SHA256 c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794 SHA512 d5dc477cad4584e56e2e2ef9e0950c2b22e76e5cf5090a896ba099cb7c5e5db1853a4aeb96b199189653dc66d461557e95198e37516a619f7ddc01ba6b308e02 WHIRLPOOL 7f3dfde1a23aab75b7f40770ae2ca77c1b28f845e4abe6296b2aec9b56fe94f7afa76b00eb6cc7475305c31b726ebeb4643107dd48c12ac04c933cf1856b8e77
|
||||
DIST linux-3.8.tar.bz2 84623657 SHA256 fce774b5313e73949cb35f128e91e7b2ccd7fa2438abc5cff69267e504395a45 SHA512 966a3b08aecc4b135a48ea73ba3326e1710c455e6da29693479e9d1a56663fc10f569e2342fa861486d39d4ea5c2af406d1bd40613c15555acffdba160ef7ba9 WHIRLPOOL a83baa904c78f71fed5e4cf2607b8e6d1db70a4137b5c00b3cc5f60f04042724faa3cfec36a781417d483548ba0c811f559e82146806edacd1c2fe90bd398e64
|
||||
DIST patch-3.13.1.xz 2884 SHA256 74a093b2cacddac0a105e0989b7bf0e9829b9923e2d71ca10382e90324a17e74 SHA512 164235a15e6a984e9aeaf9fe475a8b2975d5e4c4b28dd4ecf99064b0f0c72eea766d925340f1a7232cabcbd23d26773527c300b6d995bf5cde18a276208fdccc WHIRLPOOL 0ea0118960970b7d6465445252e7a21a6aeb494c0afefec5f52a68c0b7e0d63fd2ed59a3877fbe9ebd282ac03812235b021534866efa8f46d549b6f70228e4b6
|
||||
DIST patch-3.15.5.xz 122232 SHA256 9b0d000e0bdec7a25ee6303afdab8d2af77439995876eadd6ce248e5c954037d SHA512 6831200503334e839c3cccdad29058aecc0205171cc5b75205d0a2aada8636633889ebff35d9677d4567bbaeea249efc83571e016104cd67554fe72b3b405755 WHIRLPOOL 56e1e817c08b4557e18b34d148d8ffd0f73bf8dec92f2339ca9413ca2143b65ec35f6d48c87e37f140226e57d7df33f06d6c53a48dafa7ddf090a839fdabe024
|
||||
|
@ -1,158 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/perf/perf-3.2.ebuild,v 1.1 2012/02/28 22:21:05 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
inherit versionator eutils toolchain-funcs python linux-info
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-pre/-git}"
|
||||
|
||||
DESCRIPTION="Userland tools for Linux Performance Counters"
|
||||
HOMEPAGE="http://perf.wiki.kernel.org/"
|
||||
|
||||
LINUX_V=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ ${PV/_rc} != ${PV} ]] ; then
|
||||
LINUX_VER=$(get_version_component_range 1-2).$(($(get_version_component_range 3)-1))
|
||||
PATCH_VERSION=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV//_/-}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH}
|
||||
mirror://kernel/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
|
||||
elif [[ $(get_version_component_count) == 4 ]] ; then
|
||||
# stable-release series
|
||||
LINUX_VER=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
|
||||
else
|
||||
LINUX_VER=${PV}
|
||||
SRC_URI=""
|
||||
fi
|
||||
|
||||
LINUX_SOURCES="linux-${LINUX_VER}.tar.bz2"
|
||||
SRC_URI+=" mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+demangle +doc perl python slang"
|
||||
|
||||
RDEPEND="demangle? ( sys-devel/binutils )
|
||||
perl? ( || ( >=dev-lang/perl-5.10 sys-devel/libperl ) )
|
||||
slang? ( dev-libs/newt )
|
||||
dev-libs/elfutils"
|
||||
DEPEND="${RDEPEND}
|
||||
${LINUX_PATCH+dev-util/patchutils}
|
||||
doc? ( app-text/asciidoc app-text/xmlto )"
|
||||
|
||||
S_K="${WORKDIR}/linux-${LINUX_VER}"
|
||||
S="${S_K}/tools/perf"
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local paths=( tools/perf include lib "arch/*/include" "arch/*/lib" )
|
||||
|
||||
# We expect the tar implementation to support the -j option (both
|
||||
# GNU tar and libarchive's tar support that).
|
||||
echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
|
||||
tar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
|
||||
"${paths[@]/#/linux-${LINUX_VER}/}" || die
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
eshopts_push -o noglob
|
||||
ebegin "Filtering partial source patch"
|
||||
filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} > ${P}.patch || die
|
||||
eend $? || die "filterdiff failed"
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
local a
|
||||
for a in ${A}; do
|
||||
[[ ${a} == ${LINUX_SOURCES} ]] && continue
|
||||
[[ ${a} == ${LINUX_PATCH} ]] && continue
|
||||
unpack ${a}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
cd "${S_K}"
|
||||
epatch "${WORKDIR}"/${P}.patch
|
||||
fi
|
||||
|
||||
# Drop some upstream too-developer-oriented flags and fix the
|
||||
# Makefile in general
|
||||
sed -i \
|
||||
-e 's:-Werror::' \
|
||||
-e 's:-ggdb3::' \
|
||||
-e 's:-fstack-protector-all::' \
|
||||
-e 's:^LDFLAGS =:EXTLIBS +=:' \
|
||||
-e '/\(PERL\|PYTHON\)_EMBED_LDOPTS/s:ALL_LDFLAGS +=:EXTLIBS +=:' \
|
||||
-e '/-x c - /s:\$(ALL_LDFLAGS):\0 $(EXTLIBS):' \
|
||||
-e '/^ALL_CFLAGS =/s:$: $(CFLAGS_OPTIMIZE):' \
|
||||
-e '/^ALL_LDFLAGS =/s:$: $(LDFLAGS_OPTIMIZE):' \
|
||||
-e '/.FORCE-PERF-VERSION-FILE/s,.FORCE-PERF-VERSION-FILE,,g' \
|
||||
"${S}"/Makefile
|
||||
|
||||
# Avoid the call to make kernelversion
|
||||
echo "PERF_VERSION = ${MY_PV}" > PERF-VERSION-FILE
|
||||
|
||||
# The code likes to compile local assembly files which lack ELF markings.
|
||||
find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} +
|
||||
}
|
||||
|
||||
puse() { usex $1 "" no; }
|
||||
perf_make() {
|
||||
emake V=1 \
|
||||
CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
prefix="/usr" bindir_relative="sbin" \
|
||||
CFLAGS_OPTIMIZE="${CFLAGS}" \
|
||||
LDFLAGS_OPTIMIZE="${LDFLAGS}" \
|
||||
ARCH="$(tc-arch-kernel)" \
|
||||
NO_DEMANGLE=$(puse demangle) \
|
||||
NO_LIBPERL=$(puse perl) \
|
||||
NO_LIBPYTHON=$(puse python) \
|
||||
NO_NEWT=$(puse slang) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
perf_make
|
||||
|
||||
if use doc ; then
|
||||
pushd Documentation
|
||||
emake ${makeargs}
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perf_make install DESTDIR="${D}"
|
||||
|
||||
dodoc CREDITS
|
||||
|
||||
dodoc *txt Documentation/*.txt
|
||||
if use doc ; then
|
||||
dohtml Documentation/*.html
|
||||
doman Documentation/*.1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use doc ; then
|
||||
elog "Without the doc USE flag you won't get any documentation nor man pages."
|
||||
elog "And without man pages, you won't get any --help output for perf and its"
|
||||
elog "sub-tools."
|
||||
fi
|
||||
}
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/perf/perf-3.4.ebuild,v 1.1 2012/06/28 08:23:07 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
inherit versionator eutils toolchain-funcs python linux-info
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-pre/-git}"
|
||||
|
||||
DESCRIPTION="Userland tools for Linux Performance Counters"
|
||||
HOMEPAGE="http://perf.wiki.kernel.org/"
|
||||
|
||||
LINUX_V=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ ${PV/_rc} != ${PV} ]] ; then
|
||||
LINUX_VER=$(get_version_component_range 1-2).$(($(get_version_component_range 3)-1))
|
||||
PATCH_VERSION=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV//_/-}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH}
|
||||
mirror://kernel/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
|
||||
elif [[ $(get_version_component_count) == 4 ]] ; then
|
||||
# stable-release series
|
||||
LINUX_VER=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
|
||||
else
|
||||
LINUX_VER=${PV}
|
||||
SRC_URI=""
|
||||
fi
|
||||
|
||||
LINUX_SOURCES="linux-${LINUX_VER}.tar.bz2"
|
||||
SRC_URI+=" mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+demangle +doc perl python slang"
|
||||
|
||||
RDEPEND="demangle? ( sys-devel/binutils )
|
||||
perl? ( || ( >=dev-lang/perl-5.10 sys-devel/libperl ) )
|
||||
slang? ( dev-libs/newt )
|
||||
dev-libs/elfutils"
|
||||
DEPEND="${RDEPEND}
|
||||
${LINUX_PATCH+dev-util/patchutils}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/sgml-common
|
||||
app-text/xmlto
|
||||
sys-process/time )"
|
||||
|
||||
S_K="${WORKDIR}/linux-${LINUX_VER}"
|
||||
S="${S_K}/tools/perf"
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local paths=( tools/perf include lib "arch/*/include" "arch/*/lib" )
|
||||
|
||||
# We expect the tar implementation to support the -j option (both
|
||||
# GNU tar and libarchive's tar support that).
|
||||
echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
|
||||
tar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
|
||||
"${paths[@]/#/linux-${LINUX_VER}/}" || die
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
eshopts_push -o noglob
|
||||
ebegin "Filtering partial source patch"
|
||||
filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} > ${P}.patch || die
|
||||
eend $? || die "filterdiff failed"
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
local a
|
||||
for a in ${A}; do
|
||||
[[ ${a} == ${LINUX_SOURCES} ]] && continue
|
||||
[[ ${a} == ${LINUX_PATCH} ]] && continue
|
||||
unpack ${a}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
cd "${S_K}"
|
||||
epatch "${WORKDIR}"/${P}.patch
|
||||
fi
|
||||
|
||||
# Drop some upstream too-developer-oriented flags and fix the
|
||||
# Makefile in general
|
||||
sed -i \
|
||||
-e 's:-Werror::' \
|
||||
-e 's:-ggdb3::' \
|
||||
-e 's:-fstack-protector-all::' \
|
||||
-e 's:^LDFLAGS =:EXTLIBS +=:' \
|
||||
-e '/\(PERL\|PYTHON\)_EMBED_LDOPTS/s:ALL_LDFLAGS +=:EXTLIBS +=:' \
|
||||
-e '/-x c - /s:\$(ALL_LDFLAGS):\0 $(EXTLIBS):' \
|
||||
-e '/^ALL_CFLAGS =/s:$: $(CFLAGS_OPTIMIZE):' \
|
||||
-e '/^ALL_LDFLAGS =/s:$: $(LDFLAGS_OPTIMIZE):' \
|
||||
-e '/.FORCE-PERF-VERSION-FILE/s,.FORCE-PERF-VERSION-FILE,,g' \
|
||||
"${S}"/Makefile
|
||||
|
||||
# Avoid the call to make kernelversion
|
||||
echo "PERF_VERSION = ${MY_PV}" > PERF-VERSION-FILE
|
||||
|
||||
# The code likes to compile local assembly files which lack ELF markings.
|
||||
find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} +
|
||||
}
|
||||
|
||||
puse() { usex $1 "" no; }
|
||||
perf_make() {
|
||||
emake V=1 \
|
||||
CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
prefix="/usr" bindir_relative="sbin" \
|
||||
CFLAGS_OPTIMIZE="${CFLAGS}" \
|
||||
LDFLAGS_OPTIMIZE="${LDFLAGS}" \
|
||||
ARCH="$(tc-arch-kernel)" \
|
||||
NO_DEMANGLE=$(puse demangle) \
|
||||
NO_LIBPERL=$(puse perl) \
|
||||
NO_LIBPYTHON=$(puse python) \
|
||||
NO_NEWT=$(puse slang) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
perf_make
|
||||
|
||||
if use doc ; then
|
||||
pushd Documentation
|
||||
emake ${makeargs}
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perf_make install DESTDIR="${D}"
|
||||
|
||||
dodoc CREDITS
|
||||
|
||||
dodoc *txt Documentation/*.txt
|
||||
if use doc ; then
|
||||
dohtml Documentation/*.html
|
||||
doman Documentation/*.1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use doc ; then
|
||||
elog "Without the doc USE flag you won't get any documentation nor man pages."
|
||||
elog "And without man pages, you won't get any --help output for perf and its"
|
||||
elog "sub-tools."
|
||||
fi
|
||||
}
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/perf/perf-3.8.ebuild,v 1.2 2013/03/21 05:38:48 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
inherit versionator eutils toolchain-funcs python linux-info
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-pre/-git}"
|
||||
|
||||
DESCRIPTION="Userland tools for Linux Performance Counters"
|
||||
HOMEPAGE="http://perf.wiki.kernel.org/"
|
||||
|
||||
LINUX_V=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ ${PV/_rc} != ${PV} ]] ; then
|
||||
LINUX_VER=$(get_version_component_range 1-2).$(($(get_version_component_range 3)-1))
|
||||
PATCH_VERSION=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV//_/-}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH}
|
||||
mirror://kernel/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
|
||||
elif [[ $(get_version_component_count) == 4 ]] ; then
|
||||
# stable-release series
|
||||
LINUX_VER=$(get_version_component_range 1-3)
|
||||
LINUX_PATCH=patch-${PV}.bz2
|
||||
SRC_URI="mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
|
||||
else
|
||||
LINUX_VER=${PV}
|
||||
SRC_URI=""
|
||||
fi
|
||||
|
||||
LINUX_SOURCES="linux-${LINUX_VER}.tar.bz2"
|
||||
SRC_URI+=" mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+demangle +doc perl python slang"
|
||||
|
||||
RDEPEND="demangle? ( sys-devel/binutils )
|
||||
perl? ( || ( >=dev-lang/perl-5.10 sys-devel/libperl ) )
|
||||
slang? ( dev-libs/newt )
|
||||
dev-libs/elfutils"
|
||||
DEPEND="${RDEPEND}
|
||||
${LINUX_PATCH+dev-util/patchutils}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/sgml-common
|
||||
app-text/xmlto
|
||||
sys-process/time )"
|
||||
|
||||
S_K="${WORKDIR}/linux-${LINUX_VER}"
|
||||
S="${S_K}/tools/perf"
|
||||
|
||||
CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_set_active_version 2
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local paths=( tools/perf tools/scripts tools/lib include lib "arch/*/include" "arch/*/lib" )
|
||||
|
||||
# We expect the tar implementation to support the -j option (both
|
||||
# GNU tar and libarchive's tar support that).
|
||||
echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
|
||||
tar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
|
||||
"${paths[@]/#/linux-${LINUX_VER}/}" || die
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
eshopts_push -o noglob
|
||||
ebegin "Filtering partial source patch"
|
||||
filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} > ${P}.patch || die
|
||||
eend $? || die "filterdiff failed"
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
local a
|
||||
for a in ${A}; do
|
||||
[[ ${a} == ${LINUX_SOURCES} ]] && continue
|
||||
[[ ${a} == ${LINUX_PATCH} ]] && continue
|
||||
unpack ${a}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
cd "${S_K}"
|
||||
epatch "${WORKDIR}"/${P}.patch
|
||||
fi
|
||||
|
||||
# Drop some upstream too-developer-oriented flags and fix the
|
||||
# Makefile in general
|
||||
sed -i \
|
||||
-e 's:-Werror::' \
|
||||
-e 's:-ggdb3::' \
|
||||
-e 's:-fstack-protector-all::' \
|
||||
-e 's:^LDFLAGS =:EXTLIBS +=:' \
|
||||
-e '/\(PERL\|PYTHON\)_EMBED_LDOPTS/s:ALL_LDFLAGS +=:EXTLIBS +=:' \
|
||||
-e '/-x c - /s:\$(ALL_LDFLAGS):\0 $(EXTLIBS):' \
|
||||
-e '/^ALL_CFLAGS =/s:$: $(CFLAGS_OPTIMIZE):' \
|
||||
-e '/^ALL_LDFLAGS =/s:$: $(LDFLAGS_OPTIMIZE):' \
|
||||
-e '/.FORCE-PERF-VERSION-FILE/s,.FORCE-PERF-VERSION-FILE,,g' \
|
||||
"${S}"/Makefile
|
||||
|
||||
# Avoid the call to make kernelversion
|
||||
echo "PERF_VERSION = ${MY_PV}" > PERF-VERSION-FILE
|
||||
|
||||
# The code likes to compile local assembly files which lack ELF markings.
|
||||
find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} +
|
||||
}
|
||||
|
||||
puse() { usex $1 "" no; }
|
||||
perf_make() {
|
||||
emake -j1 V=1 \
|
||||
CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
prefix="/usr" bindir_relative="sbin" \
|
||||
CFLAGS_OPTIMIZE="${CFLAGS}" \
|
||||
LDFLAGS_OPTIMIZE="${LDFLAGS}" \
|
||||
ARCH="$(tc-arch-kernel)" \
|
||||
NO_DEMANGLE=$(puse demangle) \
|
||||
NO_LIBPERL=$(puse perl) \
|
||||
NO_LIBPYTHON=$(puse python) \
|
||||
NO_NEWT=$(puse slang) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
perf_make
|
||||
|
||||
if use doc ; then
|
||||
pushd Documentation
|
||||
emake ${makeargs}
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perf_make install DESTDIR="${D}"
|
||||
|
||||
dodoc CREDITS
|
||||
|
||||
dodoc *txt Documentation/*.txt
|
||||
if use doc ; then
|
||||
dohtml Documentation/*.html
|
||||
doman Documentation/*.1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use doc ; then
|
||||
elog "Without the doc USE flag you won't get any documentation nor man pages."
|
||||
elog "And without man pages, you won't get any --help output for perf and its"
|
||||
elog "sub-tools."
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue