parent
32f04e5894
commit
55e9cd8a19
@ -0,0 +1,13 @@
|
||||
--- gnome/gjiten.desktop.in.old 2014-07-08 13:04:35.418149539 +0200
|
||||
+++ gnome/gjiten.desktop.in 2014-07-08 13:04:55.390544064 +0200
|
||||
@@ -3,8 +3,8 @@
|
||||
_Name=Gjiten
|
||||
_Comment=Japanese dictionary
|
||||
Exec=gjiten
|
||||
-Icon=jiten.png
|
||||
+Icon=jiten
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-Categories=GNOME;Application;Utility;
|
||||
+Categories=GNOME;Utility;
|
@ -0,0 +1,20 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index aec96d4..733eee6 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -18,7 +18,6 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_INTLTOOL([0.22])
|
||||
AC_PATH_PROG([GCONFTOOL], [gconftool-2])
|
||||
|
||||
-GNOME_COMMON_INIT
|
||||
dnl GNOME_PLATFORM_GNOME_2(yes, force)
|
||||
PKG_CHECK_MODULES(GJITEN, libgnome-2.0 >= 2.2.0 libgnomeui-2.0 >= 2.2.0 libglade-2.0 gconf-2.0)
|
||||
AM_GCONF_SOURCE_2
|
||||
@@ -36,7 +35,6 @@ AC_FUNC_MMAP
|
||||
AC_FUNC_STAT
|
||||
AC_CHECK_FUNCS([getcwd putenv setlocale strerror strrchr strstr munmap])
|
||||
|
||||
-GNOME_COMPILE_WARNINGS(maximum)
|
||||
|
||||
# Gettext stuff
|
||||
GETTEXT_PACKAGE=gjiten
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/gjiten/gjiten-2.6-r3.ebuild,v 1.1 2014/07/08 11:10:52 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit autotools eutils gnome2 readme.gentoo
|
||||
|
||||
DESCRIPTION="A Japanese dictionary program for Gnome"
|
||||
HOMEPAGE="http://gjiten.sourceforge.net/"
|
||||
SRC_URI="http://gjiten.sourceforge.net/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libgnome-2.2
|
||||
>=gnome-base/libgnomeui-2.2
|
||||
>=gnome-base/libglade-2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/rarian
|
||||
dev-util/intltool
|
||||
app-text/xmlto
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="Dictionary files are necessary in order for
|
||||
Gjiten to function.
|
||||
|
||||
Download dictionary files from:
|
||||
http://ftp.cc.monash.edu.au/pub/nihongo/00INDEX.html#dic_fil
|
||||
|
||||
You need kanjidic and edict at a minimum. Dictionary files
|
||||
must be converted to UTF-8 format - check the Gjiten help
|
||||
and README files for details.
|
||||
|
||||
A shell script is available from
|
||||
the Gjiten homepage(${HOMEPAGE}) to
|
||||
download and convert the dictionary files, but you need
|
||||
to put the files in /usr/share/gjiten after running the script."
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-pref.patch
|
||||
epatch "${FILESDIR}"/${P}-drop-gnome.patch
|
||||
epatch "${FILESDIR}"/${P}-desktop.patch
|
||||
|
||||
AM_OPTS="--foreign" eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST emacs-24.3.91.tar.xz 39423508 SHA256 40cee18cecd3a54b6b14dd2d9d46bf3de625a1649c39fa8826be42ad47dd217a SHA512 e944755ed464d269b535125f154127215ece9413e369286fe9d572bd32d9ef6160627a19644a9d80593c30d58412c55bb0559d06a7332d9090cb5fea718e1395 WHIRLPOOL f6b31889faa64a359969a33d319461865183d2a40ca61bab3398f07b9a939ac9f6ac8c9f84277e13682032a3f3efdcaf64c6dedf482a05c6c382373e8a27e826
|
||||
DIST emacs-24.3.92.tar.xz 39639748 SHA256 e5ae5097cbe22100550365e1022c171834a4b2bbcd663cf0850a10793b34beb7 SHA512 de9e534f4a61d1f4ef6a80445ad73c9ef5860fa7bc10e3f45440b0163aa1eaf3b213410168513bd72f01aeed5c2c5929fb70486fdabee48d7f1248c3ed8878ce WHIRLPOOL db471267cad1658c451154c97782bb83f7995136b5864da5ea69b678af5249df24b2587e1d2f6ed183503c3882211a5d4abadd7150be465eb3db6c56002045fc
|
||||
DIST emacs-24.4.50_pre20140512.tar.xz 24025212 SHA256 6df0c15aa736de7836b0f6124cfd82bc9c6b730e9fa8e7a696b9c09d15f1c2a9 SHA512 5cf1c192948447a30f364ec0ded15a4e543e0315f7be29107ced7f399afdfc4d45faab5da9c3c06e9ccd17845bc8de3aa53d059fc4453337bbe2c8abb4a5dd9e WHIRLPOOL 2ac765473d09f14064875e7e6d7677492230c353cef2d3fcb2f53eb31e1a31ecac385932e079111a3bdf76acd5010a71e66dbe28059d1c13f46910124828f87f
|
||||
DIST emacs-24.4.50_pre20140531.tar.xz 24040952 SHA256 9697cedafa3259d472481b368dd04986ee35ca7923341da4d415c62e4f6e5983 SHA512 c48f7f0f737a126a82f20a2230bdc433959b2d9548fd1c9c993a6c6d26218e75dc10835f7b0b7d421a989fee7507683ab1efd356170d9c5eadcae484b5fda6e3 WHIRLPOOL 54e4ec7dd75af36594eb340d16e450a2786615035134aa159dc0c113f77a65813b125542d957193fe64f25b37e2289955ef2abf8e492b6775fbd314e22c4c059
|
||||
DIST emacs-24.4.50_pre20140630.tar.xz 24254808 SHA256 b0572905e0c03130d98c109bc587b0ea7bc9e3a4c86bc936e947707c8c9de7bd SHA512 03744241af70478a4932f8069a821dfe111e5a37fe56d5f7ee151aea0cfcc2a78d3657c46e8ac3897f744c94c118350f350262fed9982b2d09892e65a3084087 WHIRLPOOL edd2b1d37052b55ef761828b130a76ab00e661d4cd65b6698e03974bb9809007fda79161e7cb90d22fdfd0fe0becd0fc3e1c77c3686b3d9051af6fe6b5c6fa51
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140512.ebuild,v 1.3 2014/06/01 09:20:29 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140630.ebuild,v 1.1 2014/07/07 07:09:39 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.81.ebuild,v 1.1 2014/07/08 03:19:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST contributed-figlet-221.tar.gz 1393560 SHA256 2c569e052e638b28e4205023ae717f7b07e05695b728e4c80f4ce700354b18c8 SHA512 aa2acc332c4a8916acd4911a8779ac394bc610dda1af9bfd3e8e9713dace15a1115c360abdf83589608302b529f151f6221f0e5a1e9ad0465de5bd877dcb4943 WHIRLPOOL fa8c8ee04ba3aad3ba38e252c808467d74a5bab04c7012fa3771f59aecdbbf127bbe945647986ff859391b93595b7d59ae50eb8f726a7febed7b43427814bb77
|
||||
DIST figlet-2.2.5.tar.gz 233201 SHA256 bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d SHA512 bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb WHIRLPOOL bc5408f6e530adc099c1ef1798b5bbdf992f8614ba6e8b14d7cbc2c42232e62c9fa54e47fb8a2991e5e86b3fba4d43f1f9356c5dee77ff07d89dfbc16b60bdd8
|
||||
DIST figlet222.tar.gz 166727 SHA256 21f8f9e9b2190fbc0f801fb4704355e5d73d36c55670272cd08cad3408d1f5fe SHA512 936bebebc40da26cdd34a7cc3d6b722c39747e0b1978702b5c3e7f3e320db1d195bea4253e48ac44d0062d9d2bbb90d2de380ca99bcc20c5a347dccb8004cea7 WHIRLPOOL 2dd7e20a45f5613d9a48abcbb3cb3a603163b76c8b18fcc45d52d22780e79b3f5eb6038dd678e264bf42f6d2082de1804a4cb22a16d647d651849696e6ea20f8
|
||||
DIST ms-dos-figlet-221.tar.gz 2414 SHA256 d3678a98b3b058ae4ded8525f51a1c53b3c6e6833793cf7cf98fcd9550ed7e70 SHA512 8824b21b054be50fb90e4a80e6f1ca554784a3884ac9c9e4104635a9d7c72b57d98e4070687ecd83cfe9c85cd3969eb1f24a1a3a05e49a2822a16a9f207decb9 WHIRLPOOL 570c93c97ca74828e2b0eff85892ff95f03433e592ec50efe85b36334419bdc74c3858a20348a5ea048922b5c28a238a3cbb27c3be659fab5446f5a7e3163900
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/figlet/figlet-2.2.5.ebuild,v 1.1 2014/07/08 03:30:38 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils bash-completion-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="program for making large letters out of ordinary text"
|
||||
HOMEPAGE="http://www.figlet.org/"
|
||||
SRC_URI="ftp://ftp.figlet.org/pub/figlet/program/unix/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
emake clean
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
LD="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${ED}" \
|
||||
BINDIR="${EPREFIX}/usr/bin" \
|
||||
MANDIR="${EPREFIX}/usr/share/man" \
|
||||
prefix="${EPREFIX}/usr" \
|
||||
install
|
||||
|
||||
doman chkfont.6 figlet.6 figlist.6 showfigfonts.6
|
||||
dodoc README figfont.txt
|
||||
|
||||
dobashcomp "${FILESDIR}"/figlet.bashcomp
|
||||
}
|
@ -1,232 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p18.ebuild,v 1.1 2014/05/18 10:06:59 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# The version of readline this bash normally ships with.
|
||||
READLINE_VER="6.3"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-${READLINE_VER} )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER}
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--docdir='$(datarootdir)'/doc/${PF} \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]] ; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]] ; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
*** ../bash-4.3-patched/execute_cmd.c 2014-01-31 10:54:52.000000000 -0500
|
||||
--- execute_cmd.c 2014-06-19 08:05:49.000000000 -0400
|
||||
***************
|
||||
*** 2410,2414 ****
|
||||
lstdin = wait_for (lastpid);
|
||||
#if defined (JOB_CONTROL)
|
||||
! exec_result = job_exit_status (lastpipe_jid);
|
||||
#endif
|
||||
unfreeze_jobs_list ();
|
||||
--- 2425,2438 ----
|
||||
lstdin = wait_for (lastpid);
|
||||
#if defined (JOB_CONTROL)
|
||||
! /* If wait_for removes the job from the jobs table, use result of last
|
||||
! command as pipeline's exit status as usual. The jobs list can get
|
||||
! frozen and unfrozen at inconvenient times if there are multiple pipelines
|
||||
! running simultaneously. */
|
||||
! if (INVALID_JOB (lastpipe_jid) == 0)
|
||||
! exec_result = job_exit_status (lastpipe_jid);
|
||||
! else if (pipefail_opt)
|
||||
! exec_result = exec_result | lstdin; /* XXX */
|
||||
! /* otherwise we use exec_result */
|
||||
!
|
||||
#endif
|
||||
unfreeze_jobs_list ();
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r1.ebuild,v 1.1 2014/07/08 11:58:23 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for libgnomecanvas"
|
||||
HOMEPAGE="http://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libgnomecanvas-2.6
|
||||
>=dev-cpp/gtkmm-2.4:2.4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
# don't waste time building the examples
|
||||
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
|
||||
die "sed Makefile.in failed"
|
||||
fi
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
|
||||
if use doc; then
|
||||
cd "${S}/docs/reference"
|
||||
emake all || die "failed to build API docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r docs/reference/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -R examples "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST textsearch_ja-8.4.2.tar.gz 39617 SHA256 9bb8d2df3d61ed8f5b9c40b09540baece7f833f0e9b7cceef7ed1bf5b32c51ef SHA512 0c5ec65c07bf9f80450c3f6c473943ee713f2a8e3b6d699e4ed82de28db18ae491b739731641463b2779b111c83250d1f5ccdba478e7646cf8734ffa4f3aca52 WHIRLPOOL 1529d853c3ebd3c7b022bf46cfd20546d701a5e4645e2f8d3989c84adc70c17b0b5ca79aa339b58102d834956eabeb9c8695e652f59f20657b61be46a9303cd2
|
||||
DIST textsearch_ja-9.0.0.tar.gz 47126 SHA256 f9cd1c48836bb4707b8ca8e88c835f461d43c4ce48c3cee430f072cf258a7a04 SHA512 1a516431709f2e9ec14a32c7edf7a6cafd2bd231853ead42d7a6381a964a66df37414f9e99959a3cc1f3b6dd50cce1f8142b300f255ae8eb498f6e3544e0dcd4 WHIRLPOOL 5c2c7675d25e23c63de589a4d376d27f621582b0f2e0e5f2f47c3e7854c81ecba6dfcc43bd4296dfcca8420092f0831d4e368b6e44676d8fe6a0531d3e5efc76
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/textsearch_ja/textsearch_ja-8.4.2.ebuild,v 1.1 2012/07/06 22:45:57 naota Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/textsearch_ja/textsearch_ja-9.0.0.ebuild,v 1.1 2014/07/08 00:11:04 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Integrated Full-Text-Search for Japanese language using morphological analyze."
|
||||
HOMEPAGE="http://textsearch-ja.projects.postgresql.org/index.html"
|
||||
SRC_URI="http://pgfoundry.org/frs/download.php/2287/textsearch_ja-${PV}.tar.gz"
|
||||
SRC_URI="http://pgfoundry.org/frs/download.php/2943/textsearch_ja-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
@ -0,0 +1,15 @@
|
||||
diff --git a/flute-1.3/org/w3c/flute/parser/Parser.java b/flute-1.3/org/w3c/flute/parser/Parser.java
|
||||
index 3048834..55fec8b 100644
|
||||
--- a/flute-1.3/org/w3c/flute/parser/Parser.java
|
||||
+++ b/flute-1.3/org/w3c/flute/parser/Parser.java
|
||||
@@ -3497,8 +3497,8 @@ Token language;
|
||||
jj_expentry[i] = jj_lasttokens[i];
|
||||
}
|
||||
boolean exists = false;
|
||||
- for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) {
|
||||
- int[] oldentry = (int[])(enum.nextElement());
|
||||
+ for (java.util.Enumeration enumeration = jj_expentries.elements(); enumeration.hasMoreElements();) {
|
||||
+ int[] oldentry = (int[])(enumeration.nextElement());
|
||||
if (oldentry.length == jj_expentry.length) {
|
||||
exists = true;
|
||||
for (int i = 0; i < jj_expentry.length; i++) {
|
@ -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-java/flute/flute-1.3-r2.ebuild,v 1.1 2014/07/07 07:03:46 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="sac"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Flute is an implementation for SAC"
|
||||
HOMEPAGE="http://www.w3.org/Style/CSS/SAC/"
|
||||
SRC_URI="http://www.w3.org/2002/06/flutejava-${PV}.zip"
|
||||
|
||||
LICENSE="W3C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="dev-java/sac"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
java_prepare() {
|
||||
rm -v flute.jar || die
|
||||
epatch "${FILESDIR}"/${PV}-rename-enum.patch
|
||||
cp "${FILESDIR}/build.xml" "${S}" || die
|
||||
mkdir src || die
|
||||
mv org src || die
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/dist/flute.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc doc
|
||||
use source && java-pkg_dosrc "${S}"/src/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ical4j-1.0-beta2-src.tar.bz2 1328056 SHA256 c2ddf74c8f57d504816aa930e7a63498dd812c914ac77d19c24d9f36eb46afd6 SHA512 794799eaf2fd96783f51d0ac87eba2c250a9ff39e77f841f7fb948d93c0aba9a30c28aea09c04c78cf8ee42dac6514edd07a8d22ea18d6005787b86d9857949f WHIRLPOOL 50e0df0d482b8b0a63c86d519b30ea6b6c556a713663fd67b929054f3fe6e587822577de4b58fe9e07dc93642ebcf9a0611f368a24d55ce67eb423da0320ca68
|
||||
DIST ical4j-1.0.5-src.tar.bz2 9307268 SHA256 7fe8bd596489f3f015b904794fb9d9a346823e1750619ec71d6929ba870293f7 SHA512 1c2c1eb6207094fd12036d4eb93afaef820c19c7bce99611ddb9115cd62ece76972b7280364b49643147e4456ef4afca4df23ce4413e0288804183f33c2cc286 WHIRLPOOL 80b71c87bddbe5001f58203b2648a467d766f5dc8b16211d8f45f6770ec7037bab260165c1c526218bf73352884dd24be62b1d58c6d6278b06254fd651831b48
|
||||
|
@ -0,0 +1,80 @@
|
||||
diff --git a/ical4j-1.0.5/build.xml b/ical4j-1.0.5/build.xml
|
||||
index 512738c..be5aac9 100644
|
||||
--- a/ical4j-1.0.5/build.xml
|
||||
+++ b/ical4j-1.0.5/build.xml
|
||||
@@ -14,7 +14,7 @@
|
||||
<property file="build.properties" />
|
||||
|
||||
<!-- Project paths -->
|
||||
- <property name="source.dir" location="source" />
|
||||
+ <property name="source.dir" location="src" />
|
||||
<property name="test.source.dir" location="test" />
|
||||
<property name="output.dir" location="bin" />
|
||||
<property name="package.dir" location="build" />
|
||||
@@ -99,7 +99,7 @@
|
||||
<echo message="Compiling source from classpath: ${project.classpath}" />
|
||||
<mkdir dir="${output.dir}" />
|
||||
|
||||
- <copy file="${source.dir}/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
|
||||
+ <copy file="src/main/resources/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
|
||||
|
||||
<javac source="1.4" target="1.4" srcdir="${source.dir}" destdir="${output.dir}" debug="true" debuglevel="lines,source,vars" deprecation="true" classpathref="project.classpath" />
|
||||
</target>
|
||||
@@ -123,7 +123,7 @@
|
||||
<attribute name="Class-Path" value="commons-logging.jar,commons-codec.jar,commons-lang.jar" />
|
||||
</manifest>
|
||||
<jar basedir="${output.dir}" compress="true" jarfile="${package.dir}/${package.file}" manifest="etc/manifest.mf">
|
||||
- <zipfileset dir="etc/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
|
||||
+ <zipfileset dir="/usr/share/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
@@ -187,10 +187,8 @@
|
||||
<instr instrpathref="coverage.classpath" destdir="${out.instr.dir}" metadatafile="${coverage.dir}/metadata.emma" merge="true" />
|
||||
</emma>
|
||||
|
||||
- <junit printsummary="withOutAndErr" showoutput="yes" fork="yes">
|
||||
- <!--
|
||||
- <classpath path="${project.classpath}"/>
|
||||
- -->
|
||||
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
+
|
||||
<classpath>
|
||||
<pathelement location="${out.instr.dir}" />
|
||||
<path refid="coverage.classpath" />
|
||||
@@ -198,22 +196,19 @@
|
||||
</classpath>
|
||||
<jvmarg value="-Demma.coverage.out.file=${coverage.dir}/coverage.emma" />
|
||||
<jvmarg value="-Demma.coverage.out.merge=false" />
|
||||
- <test name="net.fortuna.ical4j.AllTests" />
|
||||
- <!--
|
||||
- <batchtest>
|
||||
- <fileset dir="${test.source.dir}">
|
||||
- <include name="**/*Test.java"/>
|
||||
- </fileset>
|
||||
- </batchtest>
|
||||
- -->
|
||||
-
|
||||
- <!--
|
||||
- <test name="net.fortuna.ical4j.data.CalendarOutputterTest"/>
|
||||
- <test name="net.fortuna.ical4j.model.component.VTimeZoneTest"/>
|
||||
- <test name="net.fortuna.ical4j.model.component.VEventTest"/>
|
||||
- <test name="net.fortuna.ical4j.data.CalendarBuilderTest"/>
|
||||
- -->
|
||||
- </junit>
|
||||
+
|
||||
+
|
||||
+ <sysproperty key="basedir" value="."/>
|
||||
+ <formatter type="xml"/>
|
||||
+ <formatter type="plain" usefile="false"/>
|
||||
+
|
||||
+ <batchtest>
|
||||
+ <fileset dir="${test.source.dir}">
|
||||
+ <include name="**/*Test.java"/>
|
||||
+ <exclude name="**/*Abstract*Test.java"/>
|
||||
+ </fileset>
|
||||
+ </batchtest>
|
||||
+ </junit>
|
||||
|
||||
<emma enabled="${emma.enabled}">
|
||||
<report sourcepath="${src.dir}">
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ical4j/ical4j-1.0.5.ebuild,v 1.1 2014/07/08 08:12:42 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="a Java library for handling iCalendar data streams"
|
||||
HOMEPAGE="http://ical4j.sourceforge.net/"
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/backport-util-concurrent:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
dev-java/emma
|
||||
${COMMON_DEP}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-build.xml.patch
|
||||
rm -v lib/*.jar || die "rm jar failed"
|
||||
#mkdir bin || die "mkdir bin failed"
|
||||
java-pkg_filter-compiler jikes
|
||||
}
|
||||
|
||||
EANT_ANT_TASKS="emma"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_BUILD_TARGET="package"
|
||||
EANT_GENTOO_CLASSPATH="commons-logging,commons-codec,commons-lang-2.1,backport-util-concurrent"
|
||||
EANT_EXTRA_ARGS="-Demma.dir=/usr/share/emma/lib/ -Dsource.dir=src/main/java"
|
||||
|
||||
RESTRICT="test"
|
||||
# two tests fail with maven, they work in HEAD
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/*.jar
|
||||
dodoc README AUTHORS CHANGELOG etc/FAQ \
|
||||
etc/TODO etc/standard_deviations.txt || die "dodoc failed"
|
||||
use doc && java-pkg_dojavadoc docs/api
|
||||
use source && java-pkg_dosrc src/main/java/net
|
||||
use examples && java-pkg_doexamples etc/samples
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ical4j/ical4j-1.0_beta2-r1.ebuild,v 1.1 2014/07/08 08:12:42 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="a Java library for handling iCalendar data streams"
|
||||
HOMEPAGE="http://ical4j.sourceforge.net/"
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
COMMON_DEP="dev-java/commons-logging:0
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-lang:2.1"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
dev-java/emma
|
||||
${COMMON_DEP}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
java_prepare() {
|
||||
rm -v lib/*.jar || die "rm jar failed"
|
||||
mkdir bin || die "mkdir bin failed"
|
||||
java-pkg_filter-compiler jikes
|
||||
}
|
||||
|
||||
EANT_ANT_TASKS="emma"
|
||||
EANT_BUILD_TARGET="package"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="commons-logging,commons-codec,commons-lang-2.1"
|
||||
EANT_EXTRA_ARGS="-Demma.dir=/usr/share/emma/lib/"
|
||||
|
||||
RESTRICT="test"
|
||||
# two tests fail with maven, they work in HEAD
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/*.jar
|
||||
dodoc README AUTHORS CHANGELOG etc/FAQ \
|
||||
etc/TODO etc/standard_deviations.txt || die "dodoc failed"
|
||||
use doc && java-pkg_dojavadoc docs/api
|
||||
use source && java-pkg_dosrc source/net
|
||||
use examples && java-pkg_doexamples etc/samples
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.18.2.ebuild,v 1.4 2014/04/30 14:47:53 civil Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.18.2-r1.ebuild,v 1.1 2014/07/07 12:44:12 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.0.ebuild,v 1.1 2014/05/27 10:28:05 civil Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.0-r1.ebuild,v 1.1 2014/07/07 12:44:12 pinkbyte Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/perl-core/Filter/Filter-1.450.0.ebuild,v 1.11 2013/03/02 16:17:31 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Filter/Filter-1.450.0.ebuild,v 1.1 2014/07/07 18:38:50 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/perl-core/Filter/Filter-1.490.0.ebuild,v 1.1 2013/08/14 07:39:49 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Filter/Filter-1.490.0.ebuild,v 1.1 2014/07/07 18:38:50 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,2 @@
|
||||
DIST Filter-1.45.tar.gz 83810 SHA256 a551354bb11c3a96d20a14576bb11df27475e75aebe01f3c0ef1fa34aeec744c SHA512 010e8969a8e46a51d5b7de35d4be9677ddfee77eb6478a08711ae9eec06b30e9a7b0ef937682442f0be00a6d7c0cb9d3995fcbdce88fe6ad1e6bc639b008a1bc WHIRLPOOL eb7a862a1fdff7348f57811d626c1b99646371b33a34eaa3a9a66a1b5921e412f951adda6a28e213b4164e16b35213fbfbd34e6649f3010f2ed32c6c6ef4c21e
|
||||
DIST Filter-1.49.tar.gz 85905 SHA256 9bc5398ec7128b5f42aeae33f2c76e847b1ade7561e21b72d565563f2e1234a1 SHA512 edf23ad58d66e5a97f88befbd87c8c755f99fdeac0390d53dc5c28dd88d0c4c9582adac0febb9bd12955fac72ac9a7baade74768c632c2199e9ecf92a117b98f WHIRLPOOL 138499c207a730f55b6b2ef046b0b6e88b49cc62fc32e253851a5b581fda077b65bc7b8469fdc8149b18c30c1600fa923cbe146b24e7854266191e4b8e21e6e9
|
@ -1,3 +1,4 @@
|
||||
DIST bokeh-0.4.1.tar.gz 27784552 SHA256 141a1c3266f25b4761f78950cd14b7f982414b3bac9dc9e4698b4d7fd163d346 SHA512 5d4b3c89ebb2c7b56eee0cddf9be605d537403943a2c02ca1997d9e8012cce9a7c1f4118114f30e146174f200bc4f9814e3bd97ba52abe0a4db0b0b44c314bcc WHIRLPOOL c4eae45296f6ede8262c508f0b31180a7a6d0d584d6f7160d447dd0fe2089887ad6fa50e4624a5b1744c9994b77d590d6925b8bb6b565e0624b25077db4344d9
|
||||
DIST bokeh-0.4.2.tar.gz 21640415 SHA256 663d2a32cd17a2f9bcec43d63a05f148b551c17856e859fef2a12ddffbd7da5a SHA512 0cb6fd38d17a1067cb6941c44cde6b7c8782124be3f4baa66f51db066da1454461f338c8e342dc803a5c41163f810dfb9ecf422e26674acbf7447b899c3b7175 WHIRLPOOL da954d5e3be5014c1961cfddd11c220970c3e4ac829285dab9492e692b74f99811cb7b49fd02f40e585190c9616eb4e501e62f8d2d56715d4b314f3f6a66ce4f
|
||||
DIST bokeh-0.4.4.tar.gz 40315677 SHA256 ca989c9d554d07bface516ad9eccda39cf999c244c85ca52881b10fea0466417 SHA512 46dfe615a53996158b9e17e1f5cb46b401d017e18638457905f283cb3bb1d734207b370f3b3d78850e8e75ccfbe47736beba8b5730296f5db2677d5eb92423e9 WHIRLPOOL b0c56b43091d171b7b85ccec66f0986bf747479f8fbb20a4758a9e788533f34578c5ce6f87f704c34e27030a58890733003bee23ad85d9cf6ac8a68e6d80bf2c
|
||||
DIST bokeh-0.4.tar.gz 29824351 SHA256 cc95ebbac25f00929f0d7d58d8d5f4ced6d1fc541f16d2b37e410613671447e6 SHA512 8627f689fdfa7eec226d80db887f7a9fabd12770adab8a679bac188d0f5965a0d4d832a247e77b3bbfc959126cf57bddefc03b1b2e56aed60c8ab8d38efb9657 WHIRLPOOL ea3bf7b3d16c456be2cb21f1d3ce9c6d40cb46cb37e1c6b689b5889ffaa2b468d68218a4ac65ba7f0b8cf1637acb6052a09e3efe22a937a071d0cc73a2673bff
|
||||
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/bokeh-0.4.4.ebuild,v 1.2 2014/07/07 07:56:48 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Statistical and interactive HTML plots for Python"
|
||||
HOMEPAGE="http://bokeh.pydata.org/"
|
||||
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples test chaco"
|
||||
# docs require napoleon sphinx extension which will be included in next sphinx release
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-0.23[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-1.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pystache-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2013b[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.7.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/werkzeug-0.9.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/gevent-1.0[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep '>=dev-python/gevent-websocket-0.9.2[${PYTHON_USEDEP}]' python2_7)
|
||||
chaco? (
|
||||
$(python_gen_cond_dep '>=dev-python/traits-4.4[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep '>=dev-python/chaco-4.4[${PYTHON_USEDEP}]' python2_7)
|
||||
)
|
||||
|
||||
"
|
||||
# testing server: needs websocket not in portage yet
|
||||
# >=dev-python/websocket[${PYTHON_USEDEP}]
|
||||
# hdf5 backend: needs array management not in portage yet
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.2.7[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DOCS=( CHANGELOG QUICKSTART.md README.md )
|
||||
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Fix test_references_by_ref_by_value from test_object.py
|
||||
local PATCHES=( "${FILESDIR}"/${P}-fix_test_object.patch )
|
||||
# Remove broken test case
|
||||
sed -i -e "s:MetaTest:_&:" bokeh/tests/test_bokeh_init.py || die
|
||||
|
||||
if ! use chaco; then
|
||||
sed -i -e "/'bokeh.chaco_gg'/d" setup.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
# exclude server tests for now
|
||||
nosetests -v \
|
||||
-e multiuser_auth_test \
|
||||
-e usermodel_test \
|
||||
|| die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "websockets work only with python2_7"
|
||||
local chaco_msg="chaco useflag doesn't affect python targets other than python2_7"
|
||||
if use chaco; then
|
||||
if use python_targets_python2_7; then
|
||||
elog "${chaco_msg}"
|
||||
else
|
||||
ewarn "${chaco_msg}"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
commit 9606ae037dbd9ee888f9763a1bd9c6d7fc3b5824
|
||||
Author: Bryan Van de Ven <bryanv@continuum.io>
|
||||
Date: Sat Apr 19 10:05:35 2014 -0500
|
||||
|
||||
fix #548
|
||||
|
||||
diff --git a/bokeh/plotobject.py b/bokeh/plotobject.py
|
||||
index 7485d27..92ae2dd 100644
|
||||
--- a/bokeh/plotobject.py
|
||||
+++ b/bokeh/plotobject.py
|
||||
@@ -220,7 +220,7 @@ class PlotObject(HasProps):
|
||||
|
||||
def references(self):
|
||||
"""Returns all ``PlotObjects`` that this object has references to. """
|
||||
- return self.collect_plot_objects(self)
|
||||
+ return set(self.collect_plot_objects(self))
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# View Model connection methods
|
||||
diff --git a/bokeh/tests/test_objects.py b/bokeh/tests/test_objects.py
|
||||
index 1a17f69..75d5678 100644
|
||||
--- a/bokeh/tests/test_objects.py
|
||||
+++ b/bokeh/tests/test_objects.py
|
||||
@@ -242,7 +242,7 @@ class TestPlotObject(unittest.TestCase):
|
||||
x2 = X2(y=y, z2=z2)
|
||||
|
||||
# TODO: self.assertEqual(x1.references(), [t1, y, t2, x1])
|
||||
- self.assertEqual(x2.references(), [t1, y, t2, z2, x2])
|
||||
+ self.assertEqual(x2.references(), set([t1, y, t2, z2, x2]))
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
Bokeh is a Python interactive visualization library for large
|
||||
datasets that natively uses the latest web technologies. Its goal is
|
||||
to provide elegant, concise construction of novel graphics in the
|
||||
style of Protovis/D3, while delivering high-performance
|
||||
interactivity over large data to thin clients.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="chaco">Enable interface for implementing qplot and ggplot like functionality using chaco</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST cffi-0.8.1.tar.gz 195206 SHA256 1db1eff2093e31eaaa83b274f8c6d5d2dad2908d43a301185d205e5d256d6818 SHA512 bed5cd911a58efd95721d75ff1925e210ccd9b373f8d38cc4a86ddd2b529d757390abf51bbf5b9e583f4ecdc27710560bb6c31679cd8c45d34b3562a91eac136 WHIRLPOOL eb1907e6d603749ad7717d6d211a29a2d47582d6f22bd1ed68f1c455f04b3c9d688161b70bad8653f4027a013c1dafafde7acbe83421677c8aa018400f7af791
|
||||
DIST cffi-0.8.2.tar.gz 197622 SHA256 8192393640f7bc304ce82669b35eb90592566a30abbb4924456f52079afc18e2 SHA512 13495601340244944ca5185d450e99f1f8627dbcf013bee5e1f8049572f707cce4284e2a2e1a9b609b9715065d6ffb4b3eb1d8193d6e55277f1cf73b1903a66e WHIRLPOOL ffccf9bc81e697d7de9ba2dbbccda36be9d3b80e02c99d89ee44c3bfbf76397caa48dd80b8ff0e58801af025461e458274fec8f886ec1decf72426038a75e6c0
|
||||
DIST cffi-0.8.6.tar.gz 196835 SHA256 2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610 SHA512 b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790 WHIRLPOOL 4a03a077f15f943e0f06acf1bc10572b19680379e36805dbfc3dfffb8a5d735d28d9bab38e2d233f3a347fc03cede8126cc2ce017c6e3a0896b9baecddfae39f
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cffi/cffi-0.8.6.ebuild,v 1.1 2014/07/08 03:20:58 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Foreign Function Interface for Python calling C code."
|
||||
HOMEPAGE="http://cffi.readthedocs.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
dev-python/pycparser[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -x -v --ignore testing/test_zintegration.py c/ testing/ || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use doc && dohtml -r doc/build/
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cryptography_vectors-0.3.tar.gz 16675581 SHA256 ec99993b70740947a81288b92c607cd0cc3881ef227d5258633f5a2e896a521a SHA512 6111d357709be04bed4b19fe67077fd628a0887cb5b42e8e7023849984332fbc651650a768f468a2825a25b23e4c95303fe88aa9c533dbea7657abfc35f25875 WHIRLPOOL aa90577b3ff524e31fc703e391e24c8ab654a249a933c8402c48cf1e7514db2ed19e70265d70a0c3b564652509176e8ce82ce90bc48fe961e7b464816c0dfc5b
|
||||
DIST cryptography_vectors-0.4.tar.gz 19092510 SHA256 736bf5f14dbde7a5600c5dfe4a8563435be7e91dc060cee4c5f67287b692769e SHA512 30cdb6a3a7dffe45e12c3d8a20bd11d5ad9c8b2d19b61568989f2a77e93148ebf5d65196ae9f13b83bdd09e38f556bf4d24ca22530bc6e66706575dc3719b24c WHIRLPOOL dbede58fe36140882982908f46381d7b2fdb4729f8a3973a310c06b78a0fd611399027fc65860267a7e7ff6466f3a053ff7f5152762f7025b7f293ffdeed7ab8
|
||||
DIST cryptography_vectors-0.5.1.tar.gz 19093529 SHA256 a31d981b0f0fdd8d8f48a1d27cc8be2f57186da1b97e14ebc60252fa0615715a SHA512 e2e120e37fed45492af3b2e016de5c4672f174a5ae41f2d8754190276b23362085ccede00c6ecd447e347e9c0b0a768379d9f620875f6550fe17e1250ce23915 WHIRLPOOL 21fcd825408d22882ce31d60464fa3d0bfa09e56159e444af55eb957f4ab0f0941b308511638614e7f180f450173a5fb4a812ef613c281a831fea04865c38aa2
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.5.1.ebuild,v 1.1 2014/07/08 03:13:56 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Test vectors for the cryptography package"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/cryptography-vectors/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~x86-fbsd"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -1 +1,2 @@
|
||||
DIST cryptography-0.4.tar.gz 260891 SHA256 5ef81de44c87a87779710cbb476ffbec86a4a6c0bd2a5bebeccc3bfb3c3478e5 SHA512 1eb85e650ea267a36e337bea39cd20592fa1c56b84ede3008a79e4917731efd8f23a997c190e0db4a63ff1c4c761e84f71b3e2030a12079f055a2cfc3f52852d WHIRLPOOL 287879435cb90cfd68d40e5931537b9692c0396e5a8274570fb94c916a048ed9fc91b9b3b24ea2e6a453d535a6311f1e74f528c42ed70b7884b3176a7defae6d
|
||||
DIST cryptography-0.5.1.tar.gz 319815 SHA256 24f1a17044a76d83dcb1f553cdc35cef5bb0261f18ca28a96b7fd2bc039f3945 SHA512 cab06b18deeeb6f57f202c451a7f5a52d28a6f314f438922b47d8aab55585c40c30fc7cce85101af1653cecaf3d3ac94397f8a1de377ed4575a4c8782c054433 WHIRLPOOL bc0f067acce3ddb0071048fb2f8c5feab699f663b749f5fafd6190d657b33fda22a12ca7c5b1d6ca0c1b2eea42edc53759c30b2c0b18f834d41f42dd14aa2155
|
||||
|
@ -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/cryptography/cryptography-0.5.1.ebuild,v 1.1 2014/07/08 03:23:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' python*)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
=dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/hacking-0.9.2.ebuild,v 1.1 2014/07/07 09:47:32 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Nova API"
|
||||
HOMEPAGE="https://github.com/openstack-dev/hacking"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
|
||||
~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
!=dev-python/pbr-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
${RDEPEND} )
|
||||
doc? ( >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 ) )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent d'loading and correct ?typo to oslosphinx in conf.py
|
||||
sed -e 's:intersphinx_mapping:#&:' \
|
||||
-e 's:oslosphinx:oslo.sphinx:' \
|
||||
-i doc/source/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init || die "testr init died"
|
||||
testr run || die "testsuite failed under ${EPYTHON}"
|
||||
flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/source/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST nose-exclude-0.1.9.tar.gz 3444 SHA256 c2862e55f9c6245141fc0437bad5f71a3aa8377d2727b85694884887027625ca SHA512 2f26a3d371bf50d71e235e801c0bef37ac3e7388df7bd16203b5bb330393b2c938deb4a0c2502c75c10038c798456174b74ef4dd10567ac103bf965fcfaf4dea WHIRLPOOL b926c273a1c16a69ab15157d87b079fecd813b579c69eaa9cceee441dca1607e2b949af991e3d0b23d593b07fd9597eedde1e8721fe38a897e0f6f7d221b817d
|
||||
DIST nose-exclude-0.2.0.tar.gz 5741 SHA256 27babdc53e0741ed09d21b7fdb5d244aabb1679f67ef81289f0f34e50aca51c9 SHA512 0c23fe809e7e4f75e34bd6e7922cbc021ca880511f9f4d6094ec7cb330261ce2eb10135595f64d555c6503eef5280f8fc41665d8a491e1a01a566c5e277c83f4 WHIRLPOOL 34d9731097e5a6f8e0de111438b3d5db65ec470a79317336c3eb2fceb583a4b7929d4c9b0da8d6b1fc8e8132d2724f2263c2b70e5fc9530dd38be554994b05e8
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/nose-exclude/nose-exclude-0.2.0.ebuild,v 1.1 2014/07/08 00:51:32 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Exclude specific directories from nosetests runs."
|
||||
HOMEPAGE="http://bitbucket.org/kgrandis/nose-exclude"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/kgrandis/nose-exclude/issue/10/test-failures-with-python-3
|
||||
esetup.py test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST scrapy-0.19.0.tar.gz 940394 SHA256 87273a419d0051a7d9e157729341140adb21b64545d94442b75d068bad4e1712 SHA512 de6f65063db89b8870c211b904ac0b1f4215d789d2e62aeeee65074c8190e634dd5eae473c04cec1dafd8e106d0006134af1322a7ca309860633ce060a0158b2 WHIRLPOOL 6aac420219d3aa5e6b3edf98ecb8815e27273a81c94edbefa27491c0812f851009c7bf895dd62fcf3634eb0e3faf0ef4f9d8ee7f9e6b6c543cff8cfb1078f5f8
|
||||
DIST scrapy-0.20.0.tar.gz 949415 SHA256 13782daf476d323b2cb4e42089aa093eec3a5d000282df18a7a0013817e16831 SHA512 71ec54c26b81be366c8d8a425ea8662bac6e81a2038ff06819ef3a23e484e0104b8598671825bbb29d0041631f49fa7ac84679b7f7b5b70719ebba07a6376eab WHIRLPOOL 83d1ec194a801ec6ecfcc40e7df7fcda68366c51d2d3b1212df6f7ff329e98ea9f361a8afc79dead0e8042003518f2d9525ac5f85bbfb93a2e70c6b36b3a6a63
|
||||
DIST scrapy-0.24.1.tar.gz 986667 SHA256 3cdd4d406d721e0080cab4038f8c12657f1b88139706ff9d77325131c059c015 SHA512 4cfe4104a1cfdd0c7c561b088d4e8758a109eb32db23171198a2a9cd707fc4d5a576c1d862b530f3fe3b229b10a266dd0d487f86a9c36438e7cb32399bdf8d1a WHIRLPOOL e0f181900fa725a73576331349fb75ab24fbbb44130d9db6695aa94fd969664582082f67d10b682f6a796b5c741b1180224380c42ef59f0dc27b43ea61f478ec
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.24.1.ebuild,v 1.1 2014/07/08 08:54:41 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit vcs-snapshot distutils-r1
|
||||
|
||||
DESCRIPTION="A high-level Python Screen Scraping framework"
|
||||
HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boto doc ibl test ssl"
|
||||
|
||||
RDEPEND=">=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
dev-libs/libxml2[python,${PYTHON_USEDEP}]
|
||||
virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
ibl? ( dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
boto? ( dev-python/boto[${PYTHON_USEDEP}] )
|
||||
>=dev-python/twisted-core-10.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-conch-10.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-mail-10.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-web-10.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/w3lib-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/queuelib[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect-0.9[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/boto[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=net-proxy/mitmproxy-0.10[${PYTHON_USEDEP}]
|
||||
net-ftp/vsftpd )"
|
||||
# pytest-twisted listed as a test dep but not in portage
|
||||
|
||||
REQUIRED_USE="test? ( ssl boto )"
|
||||
|
||||
python_prepare_all() {
|
||||
# Skip failing tests; https://github.com/scrapy/scrapy/issues/788
|
||||
# There's 1 doctest failure that remains on being run.
|
||||
sed -e s':test_ajax_url:_&:' -i scrapy/tests/test_http_request.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
PYTHONPATH="${S}" emake -C docs html || die "emake html failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test --twisted ${PN} || die "tests failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST venusian-1.0.tar.gz 45747 SHA256 1720cff2ca9c369c840c1d685a7c7a21da1afa687bfe62edd93cae4bf429ca5a SHA512 770780c4e4532b16e119365d3c9531e85aede9c2be2e3a333cfe43856271c7b232ce1b27c1379f677a7191c24e8736bf5307be7a926b613f7b81644d404e8453 WHIRLPOOL 1eedda1a8d6e15caf4af136ddd08298c7201342a841b267a489b8fb483d3d97b330e3adbe75e5bd28fcd3b62d6b6b5de57f5a520923d05195560afbfb682315d
|
||||
DIST venusian-1.0a8.tar.gz 42845 SHA256 a1b054d4ccf0859a76d900c49f419645279298d5316be3a65a1c00a40719bce0 SHA512 d10577aa8c439fed3d689538695d6e0f8db299ddcefef75e3d224b637398489e55853d124be3edffc168db485df25180fe0c4685172d64587ae07c5b80ca3f6f WHIRLPOOL a3a62d29b0a8246b4e6fe3b429a6ef6c2deb294d868dac3ce1cc3544e23e63303cced09a81aa49bc5146ebb21572e561d0c0e8e0920485bc7012f02a4b08da5a
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/venusian/venusian-1.0.ebuild,v 1.1 2014/07/07 15:17:09 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
#RESTRICT="test"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library for deferring decorator actions"
|
||||
HOMEPAGE="http://www.pylonsproject.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="repoze"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
~dev-python/nose-exclude-0.1.9[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
From 267feb2de49eed0823ca0c29f1cd5238537c7116 Mon Sep 17 00:00:00 2001
|
||||
From: Jan-Marek Glogowski <glogow@fbihome.de>
|
||||
Date: Thu, 6 Mar 2014 18:44:43 +0100
|
||||
Subject: Honor ExcludeSocketNotifiers in glib event loop
|
||||
|
||||
Implements QEventLoop::ExcludeSocketNotifiers in the same way
|
||||
QEventLoop::X11ExcludeTimers is already implemented for the glib
|
||||
event loop.
|
||||
|
||||
This prevents crashes when QClipboard checks for clipboard events
|
||||
and
|
||||
qApp->clipboard()->setProperty( "useEventLoopWhenWaiting", true );
|
||||
is set.
|
||||
|
||||
Task-number: QTBUG-34614
|
||||
Task-number: QTBUG-37380
|
||||
|
||||
Change-Id: Id4e2a74c6bdf8c3b439a4e3813d24d11368b607d
|
||||
---
|
||||
src/corelib/kernel/qeventdispatcher_glib.cpp | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/src/corelib/kernel/qeventdispatcher_glib.cpp b/src/corelib/kernel/qeventdispatcher_glib.cpp
|
||||
index 0b0e308..ba522fa 100644
|
||||
--- a/src/corelib/kernel/qeventdispatcher_glib.cpp
|
||||
+++ b/src/corelib/kernel/qeventdispatcher_glib.cpp
|
||||
@@ -65,6 +65,7 @@ struct GPollFDWithQSocketNotifier
|
||||
struct GSocketNotifierSource
|
||||
{
|
||||
GSource source;
|
||||
+ QEventLoop::ProcessEventsFlags processEventsFlags;
|
||||
QList<GPollFDWithQSocketNotifier *> pollfds;
|
||||
};
|
||||
|
||||
@@ -80,6 +81,9 @@ static gboolean socketNotifierSourceCheck(GSource *source)
|
||||
GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source);
|
||||
|
||||
bool pending = false;
|
||||
+ if (src->processEventsFlags & QEventLoop::ExcludeSocketNotifiers)
|
||||
+ return pending;
|
||||
+
|
||||
for (int i = 0; !pending && i < src->pollfds.count(); ++i) {
|
||||
GPollFDWithQSocketNotifier *p = src->pollfds.at(i);
|
||||
|
||||
@@ -103,6 +107,9 @@ static gboolean socketNotifierSourceDispatch(GSource *source, GSourceFunc, gpoin
|
||||
QEvent event(QEvent::SockAct);
|
||||
|
||||
GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source);
|
||||
+ if (src->processEventsFlags & QEventLoop::ExcludeSocketNotifiers)
|
||||
+ return true;
|
||||
+
|
||||
for (int i = 0; i < src->pollfds.count(); ++i) {
|
||||
GPollFDWithQSocketNotifier *p = src->pollfds.at(i);
|
||||
|
||||
@@ -331,6 +338,7 @@ QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(GMainContext *context)
|
||||
reinterpret_cast<GSocketNotifierSource *>(g_source_new(&socketNotifierSourceFuncs,
|
||||
sizeof(GSocketNotifierSource)));
|
||||
(void) new (&socketNotifierSource->pollfds) QList<GPollFDWithQSocketNotifier *>();
|
||||
+ socketNotifierSource->processEventsFlags = QEventLoop::AllEvents;
|
||||
g_source_set_can_recurse(&socketNotifierSource->source, true);
|
||||
g_source_attach(&socketNotifierSource->source, mainContext);
|
||||
|
||||
@@ -416,6 +424,7 @@ bool QEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags)
|
||||
// tell postEventSourcePrepare() and timerSource about any new flags
|
||||
QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags;
|
||||
d->timerSource->processEventsFlags = flags;
|
||||
+ d->socketNotifierSource->processEventsFlags = flags;
|
||||
|
||||
if (!(flags & QEventLoop::EventLoopExec)) {
|
||||
// force timers to be sent at normal priority
|
||||
@@ -427,6 +436,7 @@ bool QEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags)
|
||||
result = g_main_context_iteration(d->mainContext, canWait);
|
||||
|
||||
d->timerSource->processEventsFlags = savedFlags;
|
||||
+ d->socketNotifierSource->processEventsFlags = savedFlags;
|
||||
|
||||
if (canWait)
|
||||
emit awake();
|
||||
--
|
||||
2.0.0
|
||||
|
@ -0,0 +1,94 @@
|
||||
--- src/corelib/kernel/qeventdispatcher_glib.cpp.sav 2014-03-28 15:26:37.000000000 +0100
|
||||
+++ src/corelib/kernel/qeventdispatcher_glib.cpp 2014-04-24 09:44:09.358659204 +0200
|
||||
@@ -255,22 +255,30 @@ struct GPostEventSource
|
||||
GSource source;
|
||||
QAtomicInt serialNumber;
|
||||
int lastSerialNumber;
|
||||
+ QEventLoop::ProcessEventsFlags processEventsFlags;
|
||||
QEventDispatcherGlibPrivate *d;
|
||||
};
|
||||
|
||||
static gboolean postEventSourcePrepare(GSource *s, gint *timeout)
|
||||
{
|
||||
+ GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
|
||||
QThreadData *data = QThreadData::current();
|
||||
if (!data)
|
||||
return false;
|
||||
|
||||
+ QEventLoop::ProcessEventsFlags excludeAllFlags
|
||||
+ = QEventLoop::ExcludeUserInputEvents
|
||||
+ | QEventLoop::ExcludeSocketNotifiers
|
||||
+ | QEventLoop::X11ExcludeTimers;
|
||||
+ if ((source->processEventsFlags & excludeAllFlags) == excludeAllFlags)
|
||||
+ return false;
|
||||
+
|
||||
gint dummy;
|
||||
if (!timeout)
|
||||
timeout = &dummy;
|
||||
const bool canWait = data->canWaitLocked();
|
||||
*timeout = canWait ? -1 : 0;
|
||||
|
||||
- GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
|
||||
return (!canWait
|
||||
|| (source->serialNumber != source->lastSerialNumber));
|
||||
}
|
||||
@@ -284,8 +292,14 @@ static gboolean postEventSourceDispatch(
|
||||
{
|
||||
GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
|
||||
source->lastSerialNumber = source->serialNumber;
|
||||
- QCoreApplication::sendPostedEvents();
|
||||
- source->d->runTimersOnceWithNormalPriority();
|
||||
+ QEventLoop::ProcessEventsFlags excludeAllFlags
|
||||
+ = QEventLoop::ExcludeUserInputEvents
|
||||
+ | QEventLoop::ExcludeSocketNotifiers
|
||||
+ | QEventLoop::X11ExcludeTimers;
|
||||
+ if ((source->processEventsFlags & excludeAllFlags) != excludeAllFlags) {
|
||||
+ QCoreApplication::sendPostedEvents();
|
||||
+ source->d->runTimersOnceWithNormalPriority();
|
||||
+ }
|
||||
return true; // i dunno, george...
|
||||
}
|
||||
|
||||
@@ -329,6 +343,7 @@ QEventDispatcherGlibPrivate::QEventDispa
|
||||
postEventSource = reinterpret_cast<GPostEventSource *>(g_source_new(&postEventSourceFuncs,
|
||||
sizeof(GPostEventSource)));
|
||||
postEventSource->serialNumber = 1;
|
||||
+ postEventSource->processEventsFlags = QEventLoop::AllEvents;
|
||||
postEventSource->d = this;
|
||||
g_source_set_can_recurse(&postEventSource->source, true);
|
||||
g_source_attach(&postEventSource->source, mainContext);
|
||||
@@ -423,6 +438,7 @@ bool QEventDispatcherGlib::processEvents
|
||||
|
||||
// tell postEventSourcePrepare() and timerSource about any new flags
|
||||
QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags;
|
||||
+ d->postEventSource->processEventsFlags = flags;
|
||||
d->timerSource->processEventsFlags = flags;
|
||||
d->socketNotifierSource->processEventsFlags = flags;
|
||||
|
||||
@@ -435,6 +451,7 @@ bool QEventDispatcherGlib::processEvents
|
||||
while (!result && canWait)
|
||||
result = g_main_context_iteration(d->mainContext, canWait);
|
||||
|
||||
+ d->postEventSource->processEventsFlags = savedFlags;
|
||||
d->timerSource->processEventsFlags = savedFlags;
|
||||
d->socketNotifierSource->processEventsFlags = savedFlags;
|
||||
|
||||
--- src/corelib/kernel/qeventdispatcher_unix.cpp.sav 2013-06-07 07:16:52.000000000 +0200
|
||||
+++ src/corelib/kernel/qeventdispatcher_unix.cpp 2014-04-24 09:43:06.927589535 +0200
|
||||
@@ -905,7 +905,15 @@ bool QEventDispatcherUNIX::processEvents
|
||||
|
||||
// we are awake, broadcast it
|
||||
emit awake();
|
||||
- QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData);
|
||||
+
|
||||
+ QEventLoop::ProcessEventsFlags excludeAllFlags
|
||||
+ = QEventLoop::ExcludeUserInputEvents
|
||||
+ | QEventLoop::ExcludeSocketNotifiers
|
||||
+ | QEventLoop::X11ExcludeTimers;
|
||||
+ if ((flags & excludeAllFlags) == excludeAllFlags)
|
||||
+ return false;
|
||||
+ if(( flags & excludeAllFlags ) != excludeAllFlags )
|
||||
+ QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData);
|
||||
|
||||
int nevents = 0;
|
||||
const bool canWait = (d->threadData->canWaitLocked()
|
@ -0,0 +1,177 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtcore/qtcore-4.8.5-r2.ebuild,v 1.1 2014/07/07 20:03:53 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-build
|
||||
|
||||
DESCRIPTION="Cross-platform application development framework"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
IUSE="+glib iconv icu qt3support ssl"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
glib? ( dev-libs/glib:2 )
|
||||
icu? ( >=dev-libs/icu-49:= )
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<x11-libs/cairo-1.10.2-r2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="
|
||||
qt3support? ( ~dev-qt/qtgui-${PV}[aqua=,debug=,glib=,qt3support] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.8.5-moc-boost-lexical-cast.patch"
|
||||
"${FILESDIR}/${PN}-4.8.5-honor-ExcludeSocketNotifiers-in-glib-event-loop.patch" # bug 514968
|
||||
"${FILESDIR}/${PN}-4.8.5-qeventdispatcher-recursive.patch" # bug 514968
|
||||
"${FILESDIR}/CVE-2013-4549-01-disallow-deep-or-widely-nested-entity-refs.patch"
|
||||
"${FILESDIR}/CVE-2013-4549-02-fully-expand-entities.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/tools/bootstrap
|
||||
src/tools/moc
|
||||
src/tools/rcc
|
||||
src/tools/uic
|
||||
src/corelib
|
||||
src/xml
|
||||
src/network
|
||||
src/plugins/codecs
|
||||
tools/linguist/lconvert
|
||||
tools/linguist/lrelease
|
||||
tools/linguist/lupdate"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
|
||||
include
|
||||
src/plugins/plugins.pro
|
||||
src/plugins/qpluginbase.pri
|
||||
src/src.pro
|
||||
src/3rdparty/des
|
||||
src/3rdparty/harfbuzz
|
||||
src/3rdparty/md4
|
||||
src/3rdparty/md5
|
||||
src/3rdparty/sha1
|
||||
src/3rdparty/easing
|
||||
src/3rdparty/zlib_dependency.pri
|
||||
src/declarative
|
||||
src/gui
|
||||
src/script
|
||||
tools/shared
|
||||
tools/linguist/shared
|
||||
translations"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't pre-strip, bug 235026
|
||||
for i in kr jp cn tw; do
|
||||
echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro
|
||||
done
|
||||
|
||||
qt4-build_src_prepare
|
||||
|
||||
# bug 172219
|
||||
sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CXXFLAGS failed"
|
||||
sed -i -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix LDFLAGS failed"
|
||||
|
||||
# bug 427782
|
||||
sed -i -e "/^CPPFLAGS/s/-g//" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CPPFLAGS failed"
|
||||
sed -i -e "s/setBootstrapVariable QMAKE_CFLAGS_RELEASE/QMakeVar set QMAKE_CFLAGS_RELEASE/" \
|
||||
-e "s/setBootstrapVariable QMAKE_CXXFLAGS_RELEASE/QMakeVar set QMAKE_CXXFLAGS_RELEASE/" \
|
||||
"${S}/configure" || die "sed configure setBootstrapVariable failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
-no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon
|
||||
-no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative
|
||||
-system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg
|
||||
-no-cups -no-dbus -no-gtkstyle -no-nas-sound -no-opengl -no-openvg
|
||||
-no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes
|
||||
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb
|
||||
$(qt_use glib)
|
||||
$(qt_use iconv)
|
||||
$(qt_use icu)
|
||||
$(use ssl && echo -openssl-linked || echo -no-openssl)
|
||||
$(qt_use qt3support)"
|
||||
|
||||
qt4-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/{qmake,moc,rcc,uic,lconvert,lrelease,lupdate}
|
||||
|
||||
install_directories src/{corelib,xml,network,plugins/codecs}
|
||||
|
||||
emake INSTALL_ROOT="${D}" install_mkspecs
|
||||
|
||||
# install private headers
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtCore/private
|
||||
find "${S}"/src/corelib -type f -name "*_p.h" -exec doins {} +
|
||||
|
||||
# use freshly built libraries
|
||||
local DYLD_FPATH=
|
||||
[[ -d "${S}"/lib/QtCore.framework ]] \
|
||||
&& DYLD_FPATH=$(for x in "${S}"/lib/*.framework; do echo -n ":$x"; done)
|
||||
DYLD_LIBRARY_PATH="${S}/lib${DYLD_FPATH}" \
|
||||
LD_LIBRARY_PATH="${S}/lib" \
|
||||
"${S}"/bin/lrelease translations/*.ts \
|
||||
|| die "generating translations failed"
|
||||
insinto "${QTTRANSDIR#${EPREFIX}}"
|
||||
doins translations/*.qm
|
||||
|
||||
setqtenv
|
||||
fix_library_files
|
||||
|
||||
# List all the multilib libdirs
|
||||
local libdirs=
|
||||
for libdir in $(get_all_libdirs); do
|
||||
libdirs+=":${EPREFIX}/usr/${libdir}/qt4"
|
||||
done
|
||||
|
||||
cat <<-EOF > "${T}"/44qt4
|
||||
LDPATH="${libdirs:1}"
|
||||
EOF
|
||||
doenvd "${T}"/44qt4
|
||||
|
||||
dodir "${QTDATADIR#${EPREFIX}}"/mkspecs/gentoo
|
||||
mv "${D}/${QTDATADIR}"/mkspecs/qconfig.pri "${D}${QTDATADIR}"/mkspecs/gentoo \
|
||||
|| die "failed to move qconfig.pri"
|
||||
|
||||
# Framework hacking
|
||||
if use aqua && [[ ${CHOST#*-darwin} -ge 9 ]]; then
|
||||
# TODO: do this better
|
||||
sed -i -e '2a#include <QtCore/Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTLIBDIR}"/QtCore.framework/Headers/qconfig.h \
|
||||
|| die "sed for qconfig.h failed."
|
||||
dosym "${QTHEADERDIR#${EPREFIX}}"/Gentoo "${QTLIBDIR#${EPREFIX}}"/QtCore.framework/Headers/Gentoo
|
||||
else
|
||||
sed -i -e '2a#include <Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTHEADERDIR}"/QtCore/qconfig.h \
|
||||
"${D}${QTHEADERDIR}"/Qt/qconfig.h \
|
||||
|| die "sed for qconfig.h failed"
|
||||
fi
|
||||
|
||||
QCONFIG_DEFINE="QT_ZLIB"
|
||||
install_qconfigs
|
||||
|
||||
# remove .la files
|
||||
prune_libtool_files
|
||||
|
||||
keepdir "${QTSYSCONFDIR#${EPREFIX}}"
|
||||
|
||||
# Framework magic
|
||||
fix_includes
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.99.1.ebuild,v 1.1 2014/07/07 06:27:11 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
# Also install this custom path since internal paths depend on it.
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="exe"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rspec-core.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
dev-ruby/syntax
|
||||
>=dev-ruby/zentest-4.6.2
|
||||
>=dev-ruby/rspec-expectations-2.14.0:2
|
||||
>=dev-ruby/rspec-mocks-2.99.0:2
|
||||
)"
|
||||
|
||||
# Skip yard for ruby20 for now since we don't support ruby20 eselected
|
||||
# yet and we can't bootstrap otherwise.
|
||||
USE_RUBY=${USE_RUBY/ruby20/} ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Avoid dependency on cucumber since we can't run the features anyway.
|
||||
sed -i -e '/[Cc]ucumber/ s:^:#:' Rakefile || die
|
||||
|
||||
# Duplicate exe also in bin. We can't change it since internal stuff
|
||||
# also depends on this and fixing that is going to be fragile. This
|
||||
# way we can at least install proper bin scripts.
|
||||
cp -R exe bin || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' rspec-core.gemspec || die
|
||||
|
||||
# Avoid aruba dependency so that we don't end up in dependency hell.
|
||||
sed -i -e '/aruba/ s:^:#:' -e '/Aruba/,/}/ s:^:#:' spec/spec_helper.rb || die
|
||||
rm spec/command_line/order_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die
|
||||
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Avoid tests specific to jruby but without jruby 1.6 support.
|
||||
sed -e '/JRUBY_VERSION/ s:^:#:' -i spec/rspec/core/filter_manager_spec.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use doc ; then
|
||||
yardoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -Ilib bin/rspec spec || die "Tests failed."
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.99.1.ebuild,v 1.1 2014/07/08 04:59:53 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.11.0:2
|
||||
>=dev-ruby/rspec-mocks-2.14.0:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
|
||||
# fix up the gemspecs
|
||||
sed -i \
|
||||
-e '/git ls/d' \
|
||||
-e '/add_development_dependency/d' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
|
||||
# Avoid a weird, and failing, test testing already installed code.
|
||||
sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/expectations_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# Avoid a test failing on backtrace details.
|
||||
sed -e '/when the root file is loaded/,/end/ s:^:#:' -i spec/rspec/expectations_spec.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.99.1.ebuild,v 1.1 2014/07/08 05:03:07 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-core-2.10.0:2
|
||||
>=dev-ruby/rspec-expectations-2.99.0:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
|
||||
# Avoid a weird, and failing, test testing already installed code.
|
||||
sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/mocks_spec.rb || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue