Sync with portage [Sat Mar 9 01:29:32 MSK 2013].

mhiretskiy
root 11 years ago
parent 622411357f
commit 2a932f6f32

@ -2,3 +2,4 @@ DIST sysstat-10.0.5.tar.bz2 282403 SHA256 3e96fdc8d6710f4b642757ff88e3c4296d5583
DIST sysstat-10.1.1.tar.bz2 291513 SHA256 e39e3a5f1f4cd88f2182c1bfc0524e1a0c7a559c1e8294656b5fcd293d99e6c5 SHA512 1f4dbeecb9c240eb76abe45cea7ab22ef01c3774d06c81ed7a9811ed778a10c4975cb870e62009a459b42d232f109b7c6a5f32a2ae70d7f66c9b22bf2f1c73db WHIRLPOOL 4c78a3590f53e36e1155edd82be0c58a05e0c2dbaa9dff5b2c8f1355f1627a2ce2e9c20f411c57ef06b33e9f8ab68f73f62d7f04eb2f23e3d6c5716c11a19773
DIST sysstat-10.1.2.tar.bz2 293308 SHA256 996a5193c6508c6acdbabb0bfa6728170a918644221948ffe900e83a4f444502 SHA512 63f302fd6cd0e6231032fc78a754941cd404bd2ab46ca8c4187aa8f9438643ea984bc8d6db67c201572ab9e790952c36f6302ab5e0795247d8883fe365f9327b WHIRLPOOL f5598cc7cf096fb0cac632c3208bed33b447d90efd65b02c38d97887d4533affb0fab9329da1cd3332caaf5326d5475f436e67b46361336c4a7d2bbd7a4f9544
DIST sysstat-10.1.3.tar.bz2 295045 SHA256 ea0c07f170a765aa080e912087c15bf11453d5bf0d01fd7465d1bb760a1d7f12 SHA512 7225cad806a0da84f4032d668a157f285cbff18480ec0b44533aff22f8fa7d0ddc885efa505aefb83acb18f25c6673a4e7e147b65c2a3747bb6300466a3668d1 WHIRLPOOL daa39d10c949228f60375dd032fee154b7c5928ada9eecdf5c76391471760d942465c6b3847808d804fc19b64a804d79a0f7827316d8c12e8c40f38c15062dc7
DIST sysstat-10.1.4.tar.bz2 297570 SHA256 87c4d33d2cd5c048611bda73ca95bea830aabe7d33c454262d56a838bd23276f SHA512 7351ac9d1e492b2534923e8792a56c5bfa175f2a39b7e56109ec3f93c2e7ecd1d16cd7241379a74e2f4096bd1c04306b88d33a23e82b26a979a37df23f995314 WHIRLPOOL 1d1eac0d72ac3e17017e48a4262195e2490ce7019c23bb1a36206d446d747ff16eb650d0ed01982b471b9201a2e5711c6f130c5b3143daabb03a5e028ce0b90e

@ -0,0 +1,91 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-10.1.4.ebuild,v 1.1 2013/03/08 17:44:08 jer Exp $
EAPI=5
inherit eutils multilib
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
SRC_URI="${HOMEPAGE}${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="cron debug +doc isag nls lm_sensors"
SYSSTAT_LINGUAS="
af cs da de eo es eu fi fr hr id it ja ky lv mt nb nl nn pl pt pt_BR ro ru
sk sr sv uk vi zh_CN zh_TW
"
for SYSSTAT_LINGUA in ${SYSSTAT_LINGUAS}; do
IUSE="${IUSE} linguas_${SYSSTAT_LINGUA}"
done
RDEPEND="
cron? ( sys-process/cronbase )
isag? (
dev-lang/tk
dev-vcs/rcs
sci-visualization/gnuplot
)
nls? ( virtual/libintl )
lm_sensors? ( sys-apps/lm_sensors )
"
DEPEND="
${RDEPEND}
nls? ( sys-devel/gettext )
"
src_prepare() {
local po_count li_count lingua NLSDIR="${S}/nls"
count() { echo ${#}; }
po_count=$(count ${NLSDIR}/*.po)
li_count=$(count ${SYSSTAT_LINGUAS})
[[ ${po_count} = ${li_count} ]] \
|| die "Number of LINGUAS does not match number of .po files"
unset count
for lingua in ${SYSSTAT_LINGUAS}; do
if ! use linguas_${lingua}; then
rm -f "${NLSDIR}/${lingua}.po" || die
fi
done
epatch "${FILESDIR}"/${PN}-10.0.4-flags.patch
}
src_configure() {
sa_lib_dir=/usr/$(get_libdir)/sa \
conf_dir=/etc \
rcdir=Gentoo-does-not-use-rc.d \
econf \
$(use_enable cron install-cron) \
$(use_enable debug debuginfo) \
$(use_enable doc documentation ) \
$(use_enable isag install-isag) \
$(use_enable lm_sensors sensors) \
$(use_enable nls)
}
src_compile() {
emake LFLAGS="${LDFLAGS}"
}
src_install() {
keepdir /var/log/sa
use cron && dodir /etc/cron.{daily,hourly}
emake \
DESTDIR="${D}" \
DOC_DIR=/usr/share/doc/${PF} \
install
dodoc contrib/sargraph/sargraph
newinitd "${FILESDIR}"/sysstat.init.d sysstat
use doc && rm -f "${D}"usr/share/doc/${PF}/COPYING
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.3.ebuild,v 1.1 2013/03/07 00:06:09 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/pigz/pigz-2.3.ebuild,v 1.2 2013/03/07 18:09:20 steev Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://www.zlib.net/pigz/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~sparc ~x86 ~amd64-linux ~sparc64-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~mips ~sparc ~x86 ~amd64-linux ~sparc64-solaris"
IUSE="static symlink test"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"

@ -12,4 +12,6 @@ DIST emacs-24.2-patches-2.tar.xz 2912 SHA256 7586c4767ff7b74f815b321cdc69e01eb99
DIST emacs-24.2-patches-3.tar.xz 3884 SHA256 cf2de3291f8dd09c8073300e2395182d51761055c67818a390cd7b052e764f44 SHA512 c424580bc9b93af3b99e5fcf0189a711314857019594ea90c42317f72cedf552bb3af93ce8394dd4af888d98395ff09a372535b7b58b98b8831adf165919e561 WHIRLPOOL 2eeb7a6b441626584ae2b9fd9eba231ef8b87e7ce017f703f8fe23b2cf2cb8e251dfb041c7affe73484d20916ea3fa341b583b23ffdf59948f66121a2613f63b
DIST emacs-24.2.tar.xz 34712012 SHA256 1f11b65520611d108eceea886cc1d2573704e18b19aded8a09b75fdea7eb0ddd SHA512 7627d985e9691dd5b5f2a14472592bc1da96ce90823ff50457bb5c20b6e746912b319befff5fb1dac024e1f150df6b7c687ee2cc785f5b7387885244f511bdbd WHIRLPOOL 37a2f8e45a7b3364728f9f99b0661a60355b93f19d745de505dc71b9d8a2ab4de6b4b75a104830da2bcc8d1b3d22539e5f52c85d2f104d8de0dcd0dd69dc9924
DIST emacs-24.3-rc1.tar.xz 35580316 SHA256 a15c19ec5e7338d6b3612987499341fc74b7c806d12c01031b0e8d58e8e0a501 SHA512 bcf641fe731c86109abc2de1b9f406443d08dcbd06fce3bddb15bf522fa4c6ca9e61bc6ae2e4394175ef28e2046e0ffebab76b9446a379112ad396d45b42542c WHIRLPOOL d1930a03c31e49c10430661ac577451d72755183c0a10462b64287d24d64bc98e2d4577ec7eaa885b90812290de0ca68f6947c1ac7007885466ff7d27fb3dd91
DIST emacs-24.3-rc2.tar.xz 35575280 SHA256 9745142a0f3f0a6ead93ba8ad529e862f74f94672b32b38bee526c736b4bcf01 SHA512 b39c8b233569937e0414368fe46ee6312d50eb09fce2e2890d3b3d70c1e7d9914c80c1e0166d4876fc41c9e4188ebc73d1a8cdd6e75398aab7ee1281c693fd35 WHIRLPOOL fde5decf6239911d271d730cf37cdb287c6c135ff2f0a71f8a0f5478d4953244dac2e05cd42b69425542114473354e5f16b65f8fdf53c866b6cb287415375f58
DIST emacs-24.3-rc3.tar.xz 35587524 SHA256 0e023fd1c485b443862a67da64a3eb461c41d984e01ccbe9c6dd4acecbf71463 SHA512 99aed34dd91c0ade6326d35618f2914b1b982c5852be5db208064471eaf4e304e2f5b1cf7ccbc4369001b3814a29b49fbe676cc19d7a18e037ad531995a4a91a WHIRLPOOL e4e39f37776e0f081823f860f16769106188d6b5036e8a24d40adf0f6a286f681e0d71158ef67ca6a632829f2a4d2d1991f76fe20c6cb0e3d8eb2fbfd520c37f
DIST leim-21.4.tar.gz 3291433 SHA256 db24946985dd644bfed18815d6e991dad27f8ab1fd5823dd6dc4eb8dcd04333b SHA512 c361996f7a3fcc550e7af30a7df3f692071ded2c9dce998e72f537b0e8011f319cfae1742d0be463608a86852046cba23037a29c3ecdcbaf5976807e1d1a1e2c WHIRLPOOL d7f25d5d491f323b80609567ce5cbcb5f20109cdd4671e9972c79279a3ca5338bbf67d35ae8f0bc627bc06917f545d71ab1f66a09c647f47ddaea26772bfc5c1

@ -0,0 +1,334 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.3_rc2.ebuild,v 1.1 2013/03/07 15:22:30 ulm Exp $
EAPI=5
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu-alpha/emacs/pretest/${P/_/-}.tar.xz"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.2
>=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
net-libs/liblockfile
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
alsa? ( media-libs/alsa-lib )
gpm? ( sys-libs/gpm )
dbus? ( sys-apps/dbus )
gnutls? ( net-libs/gnutls )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg )
png? ( >=media-libs/libpng-1.4:0 )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
!gtk? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? (
athena? ( x11-libs/libXaw )
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
)
)
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
alsa? ( virtual/pkgconfig )
dbus? ( virtual/pkgconfig )
gnutls? ( virtual/pkgconfig )
libxml2? ( virtual/pkgconfig )
X? ( virtual/pkgconfig )
gzip-el? ( app-arch/gzip )
pax_kernel? ( sys-apps/paxctl )"
RDEPEND="${RDEPEND}
!<app-editors/emacs-vcs-${PV}"
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
# FULL_VERSION keeps the full version number, which is needed in
# order to determine some path information correctly for copy/move
# operations later on
FULL_VERSION="${PV%%_*}"
S="${WORKDIR}/emacs-${FULL_VERSION}"
src_prepare() {
#EPATCH_SUFFIX=patch epatch
epatch_user
if ! use alsa; then
# ALSA is detected even if not requested by its USE flag.
# Suppress it by supplying pkg-config with a wrong library name.
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.ac \
|| die "unable to sed configure.ac"
fi
if ! use gzip-el; then
# Emacs' build system automatically detects the gzip binary and
# compresses el files. We don't want that so confuse it with a
# wrong binary name
sed -i -e "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|| die "unable to sed configure.ac"
fi
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa && ! use sound; then
einfo "Although sound USE flag is disabled you chose to have alsa,"
einfo "so sound is switched on anyway."
myconf+=" --with-sound"
else
myconf+=" $(use_with sound)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-libotf --without-m17n-flt"
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
local f
for f in athena Xaw3d motif; do
use ${f} && ewarn "USE flag \"${f}\" ignored" \
"(superseded by \"gtk\")"
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
use motif && ewarn "USE flag \"motif\" ignored" \
"(superseded by \"athena\" or \"Xaw3d\")"
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
elif use aqua; then
einfo "Configuring to build with Cocoa support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
# According to configure, this option is only used for GNU/Linux
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
# out the location because $(get_libdir) does not necessarily return
# something that matches the host OS's libdir naming (e.g. RHEL).
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
crtdir=${crtdir%/*}
econf \
--program-suffix=-${EMACS_SUFFIX} \
--program-transform-name="s/emacs-[0-9].*/${EMACS_SUFFIX}/" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-crt-dir="${crtdir}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-info \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with gpm) \
$(use_with dbus) \
$(use_with gnutls) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with wide-int) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
# move man pages to the correct place
local m
for m in "${ED}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
done
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
local c=";;"
if use source; then
insinto /usr/share/emacs/${FULL_VERSION}/src
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
c=""
fi
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
X ${c}(setq find-function-C-source-directory
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
${EPREFIX}/Applications/Gentoo. You may want to copy or symlink it
into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -0,0 +1,334 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.3_rc3.ebuild,v 1.1 2013/03/08 19:33:37 ulm Exp $
EAPI=5
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu-alpha/emacs/pretest/${P/_/-}.tar.xz"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.2
>=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
net-libs/liblockfile
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
alsa? ( media-libs/alsa-lib )
gpm? ( sys-libs/gpm )
dbus? ( sys-apps/dbus )
gnutls? ( net-libs/gnutls )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg )
png? ( >=media-libs/libpng-1.4:0 )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
!gtk? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? (
athena? ( x11-libs/libXaw )
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
)
)
)"
DEPEND="${RDEPEND}
app-arch/xz-utils
alsa? ( virtual/pkgconfig )
dbus? ( virtual/pkgconfig )
gnutls? ( virtual/pkgconfig )
libxml2? ( virtual/pkgconfig )
X? ( virtual/pkgconfig )
gzip-el? ( app-arch/gzip )
pax_kernel? ( sys-apps/paxctl )"
RDEPEND="${RDEPEND}
!<app-editors/emacs-vcs-${PV}"
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
# FULL_VERSION keeps the full version number, which is needed in
# order to determine some path information correctly for copy/move
# operations later on
FULL_VERSION="${PV%%_*}"
S="${WORKDIR}/emacs-${FULL_VERSION}"
src_prepare() {
#EPATCH_SUFFIX=patch epatch
epatch_user
if ! use alsa; then
# ALSA is detected even if not requested by its USE flag.
# Suppress it by supplying pkg-config with a wrong library name.
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.ac \
|| die "unable to sed configure.ac"
fi
if ! use gzip-el; then
# Emacs' build system automatically detects the gzip binary and
# compresses el files. We don't want that so confuse it with a
# wrong binary name
sed -i -e "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|| die "unable to sed configure.ac"
fi
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa && ! use sound; then
einfo "Although sound USE flag is disabled you chose to have alsa,"
einfo "so sound is switched on anyway."
myconf+=" --with-sound"
else
myconf+=" $(use_with sound)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-libotf --without-m17n-flt"
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
local f
for f in athena Xaw3d motif; do
use ${f} && ewarn "USE flag \"${f}\" ignored" \
"(superseded by \"gtk\")"
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
use motif && ewarn "USE flag \"motif\" ignored" \
"(superseded by \"athena\" or \"Xaw3d\")"
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
elif use aqua; then
einfo "Configuring to build with Cocoa support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
# According to configure, this option is only used for GNU/Linux
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
# out the location because $(get_libdir) does not necessarily return
# something that matches the host OS's libdir naming (e.g. RHEL).
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
crtdir=${crtdir%/*}
econf \
--program-suffix=-${EMACS_SUFFIX} \
--program-transform-name="s/emacs-[0-9].*/${EMACS_SUFFIX}/" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-crt-dir="${crtdir}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-info \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with gpm) \
$(use_with dbus) \
$(use_with gnutls) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with wide-int) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
# move man pages to the correct place
local m
for m in "${ED}"/usr/share/man/man1/* ; do
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
done
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
local c=";;"
if use source; then
insinto /usr/share/emacs/${FULL_VERSION}/src
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
c=""
fi
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
X ${c}(setq find-function-C-source-directory
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
${EPREFIX}/Applications/Gentoo. You may want to copy or symlink it
into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/lpe/lpe-1.2.6.13.ebuild,v 1.12 2011/11/16 02:24:23 xmw Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/lpe/lpe-1.2.6.13.ebuild,v 1.13 2013/03/07 15:24:26 ssuominen Exp $
EAPI=3
inherit eutils multilib
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="a lightweight programmers editor"
HOMEPAGE="http://packages.qa.debian.org/l/lpe.html"
@ -14,13 +14,21 @@ SLOT="0"
KEYWORDS="amd64 ppc sparc x86 ~x86-linux"
IUSE="nls"
RDEPEND=">=sys-libs/slang-2.1.3
sys-libs/ncurses"
RDEPEND=">=sys-libs/slang-2.2.4
>=sys-libs/ncurses-5.7-r7"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-make-382.patch
# You should add PKG_CHECK_MODULES(NCURSES, ncurses) to configure.in and
# replace -lncurses in src/Makefile.am with $(NCURSES_LIBS)
# That is, if you need eautoreconf
sed -i \
-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs-only-l ncurses):" \
src/Makefile.in || die
}
src_configure() {
@ -28,12 +36,15 @@ src_configure() {
}
src_install() {
emake libdir="${ED}/usr/$(get_libdir)" \
emake \
libdir="${ED}/usr/$(get_libdir)" \
prefix="${ED}/usr" \
datadir="${ED}/usr/share" \
mandir="${ED}/usr/share/man" \
infodir="${ED}/usr/share/info" \
docdir="${ED}/usr/share/doc/${PF}" \
exdir="${ED}/usr/share/doc/${PF}/examples" \
install || die "emake install failed."
install
prune_libtool_files --all
}

@ -0,0 +1 @@
DIST evil-1.0.1.tar.xz 427548 SHA256 359be8f8e43e1c9fbb8b97b37a3db806223793ee02635904ac98498a18aa9f88 SHA512 a521bfa9cde6f0a485121ccab6f2d9c0440de212f212d351697b3356168ad1d11be402e653a73c20100d4747d9218e7fd6a834ef00cb54b434e93e046b6490f8 WHIRLPOOL f4b975e2c0a55aeb47eebd702cb5e6bf0e0a0af4e8ab3cfec8024a843e19ef51969402ff9fbf6825898cdc39e22303b10182b21630a7d7912b42bd12fcf18da4

@ -0,0 +1,24 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/evil/evil-1.0.1.ebuild,v 1.1 2013/03/07 16:19:40 ulm Exp $
EAPI=5
inherit elisp
DESCRIPTION="Extensible vi layer for Emacs"
HOMEPAGE="http://gitorious.org/evil"
SRC_URI="mirror://gentoo/${P}.tar.xz"
LICENSE="GPL-3+ FDL-1.3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-emacs/undo-tree"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
ELISP_REMOVE="evil-pkg.el evil-tests.el"
ELISP_TEXINFO="doc/evil.texi"
SITEFILE="50${PN}-gentoo.el"
DOCS="CHANGES.org"

@ -0,0 +1,2 @@
(add-to-list 'load-path "@SITELISP@")
(autoload 'evil-mode "evil" "Toggle Evil in all buffers." t)

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>emacs</herd>
</pkgmetadata>

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.43.ebuild,v 1.1 2013/03/06 09:33:09 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.43.ebuild,v 1.2 2013/03/07 18:44:46 ago Exp $
EAPI="5"
@ -20,7 +20,7 @@ SRC_URI="${X86_AT}"
LICENSE="Oracle-BCLA-JavaSE"
SLOT="1.6"
KEYWORDS="-* ~amd64"
KEYWORDS="-* amd64"
IUSE="+X alsa nsplugin pax_kernel"
RESTRICT="fetch strip"

@ -1,7 +1,4 @@
DIST libvirt-0.10.2.1.tar.gz 21300749 SHA256 449628d798b82cb2f24416ef2e38c2d06f1eb68926a2cb3b24aa456dc7a4fa5b SHA512 8f05b266c9cb327adbcd986bc7d728e12578b84104c28353f1c46a6869ce53a3e58d65eb35c3f54be1f155ff6ce2af64aabf5964f4a0074b4ece87eb8291ed72 WHIRLPOOL 75829821e2135ea14beee7cd978fb11c25bf6ed0f6e337c00604094a50723bad1056864f7135ae2c293fc3f9979576ee7223f54a8aad6278b33593abcfeca41e
DIST libvirt-0.10.2.2.tar.gz 21987939 SHA256 05714ba82d8d8cdcadc96fdd393f02ec4a7e975d181b3a06702b83c0444af084 SHA512 e4dbf8d43cfbd2fe9f3f21f114b40a8f78f60d96acbb09178067191bd6e6ca7942212bf30ba2d61315a5c1dbd8cb6bbfd0873fc7bb3f699ace84dcf6c21ded15 WHIRLPOOL a88eb048d65bd70eb24f3130e51eaa57a80bb48ea7b07f591df34051ebba9f2da32f32a3fb0ae07f97490c0f9185673014c5c307aa53a6634f86a24a3085bd32
DIST libvirt-1.0.0.tar.gz 21868950 SHA256 14c8a30ebfb939c82cab5f759a95d09646b43b4210e45490e92459ae65123076 SHA512 b4c3c34b2813f08653b33de5e1ebf030f2eafe77cb6107724494b83643a4e744b3f2c290a1755bcc586c8c7ebe0d8955540d3455736685484e27b07f677dca2c WHIRLPOOL 398af483a630294d7306f2cef95712613a0391da19bd654f5b24aff54d99df8940f79e560a61b3e978f3a62b89778a1b3e6a171188b9a8c42e31e2029a93f3d0
DIST libvirt-1.0.1.tar.gz 22512698 SHA256 4a16c76c46ebc41a6514082b5d95b5d5a0868e7a8cc00ab2e6cc1a23ec6b5a3b SHA512 7a106998565410197b1cca45c68c84661935c96d1cd28888b977691faf29b10af6742f00f0e8baa76b27af4031e6b8b988c2ae83f3cbb5affe3381401fb6859e WHIRLPOOL 3b98c742141a63b3e6384e6fe09b01cec485bfb59fbefe89f3e64450bf66e2441aea43b754f92253e2c3f33f5b5d56975473cc4aa7313d622e40cd3185608ae6
DIST libvirt-1.0.2-1b2f2439.tar.xz 3184 SHA256 fb7cbd3add0b54927b1be4bc753e0f0279e11f5b85bb692d44fb9b99b85722da SHA512 a45cd0896dbf845472135cb3548eff731f6a6c89af2d90c44094d3c07a8f19c8c8422dc43228a0c4b0c04b1b11bae2bc2a271f02bea598d36b52c42fb60ddc19 WHIRLPOOL bf0760fcf5245d0c3347f1969605fcb3df86c93e183b468c0421b88801db5f0984c4d1ce5a3ebc7b72a53f585d17db7fa984f7fbfa6e8f1d2c65819f3fd3ed27
DIST libvirt-1.0.2.tar.gz 22971729 SHA256 9b8c2752f78658b65ef1c608b3775be0978d60855a9b5e2778f79c113201c179 SHA512 c35b6dc46594a93d4d633ad42df2cf1da7cbbf7327205ba4c608d4f95f0017cb4041518c3dafa3d5ab7dadaafad116779415c843e0d4e67ef1df31bd9a9295e7 WHIRLPOOL cf56954392f263fe686c79e320f238cc657424512bf3b136bd68747777640cd564affc38f7ed077a1e00f2d2511ab607b236a9b6ea4fbc8f089a2a0267b214ce
DIST libvirt-1.0.3.tar.gz 23238381 SHA256 f64f4acd7cdcfc6ab5e803195ed58b949f262b54e3659d8c37b33f0fec112757 SHA512 f0002d40a018e22bd05c9bc990db0b14e0ec815613f54d04fc3b631081d87b6659620188da9f0ba376f290206d979467013274ab99b7394c66bde54c82e08fb4 WHIRLPOOL 29dad8e6b1e4d61fe83fc450436c0fdc200b360f93772c2fefe40ab443ec2a7cb6566e634d15290beb4f7ea1f461503b1cd86accddde59659ed46b60b56e3d76

@ -1,408 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2.1.ebuild,v 1.5 2013/01/13 02:26:11 cardoe Exp $
EAPI=4
#BACKPORTS=85e8c146
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_DEPEND="python? 2:2.5"
#RESTRICT_PYTHON_ABIS="3.*"
#SUPPORT_PYTHON_ABIS="1"
inherit eutils python user autotools linux-info
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal] )
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
"
MACVTAP_CONFIG_CHECK="~MACVTAP"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
cp "${FILESDIR}/libvirtd.init-r10" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
myconf="${myconf} $(use_enable debug)"
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
# leave it automagic as it depends on the version of xen used.
use xen || myconf+=" --without-libxl"
use xen || myconf+=" --without-xenapi"
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# DBus access to iptables/ebtables and friends
myconf="${myconf} --without-firewalld"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF}/python \
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
use python && python_mod_optimize libvirt.py
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"
elog "including but not limited to NATed network, you can enable the"
elog "'virt-network' USE flag."
elog
if has_version net-dns/dnsmasq; then
ewarn "If you have a DNS server setup on your machine, you will have"
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
ewarn " bind-interfaces"
ewarn " interface or except-interface"
ewarn
ewarn "Otherwise you might have issues with your existing DNS server."
fi
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}
pkg_postrm() {
use python && python_mod_cleanup libvirt.py
}

@ -1,412 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.10.2.2.ebuild,v 1.1 2013/01/11 23:37:55 cardoe Exp $
EAPI=4
#BACKPORTS=85e8c146
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_DEPEND="python? 2:2.5"
#RESTRICT_PYTHON_ABIS="3.*"
#SUPPORT_PYTHON_ABIS="1"
inherit eutils python user autotools linux-info
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps debug iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal] )
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
"
MACVTAP_CONFIG_CHECK="~MACVTAP"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
cp "${FILESDIR}/libvirtd.init-r10" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
myconf="${myconf} $(use_enable debug)"
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
# leave it automagic as it depends on the version of xen used.
use xen || myconf+=" --without-libxl"
use xen || myconf+=" --without-xenapi"
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# DBus access to iptables/ebtables and friends
myconf="${myconf} --without-firewalld"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF}/python \
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
use python && python_mod_optimize libvirt.py
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
fi
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"
elog "including but not limited to NATed network, you can enable the"
elog "'virt-network' USE flag."
elog
if has_version net-dns/dnsmasq; then
ewarn "If you have a DNS server setup on your machine, you will have"
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
ewarn " bind-interfaces"
ewarn " interface or except-interface"
ewarn
ewarn "Otherwise you might have issues with your existing DNS server."
fi
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}
pkg_postrm() {
use python && python_mod_cleanup libvirt.py
}

@ -1,419 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.1.ebuild,v 1.4 2013/01/27 00:31:57 cardoe Exp $
EAPI=4
#BACKPORTS=85e8c146
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_DEPEND="python? 2:2.5"
#RESTRICT_PYTHON_ABIS="3.*"
#SUPPORT_PYTHON_ABIS="1"
inherit eutils python user autotools linux-info
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )
virt-network? ( libvirtd )
firewalld? ( virt-network )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal]
firewalld? ( net-firewall/firewalld )
)
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-libs/libxslt
=dev-lang/python-2*"
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CPUSETS
~CGROUP_CPUACCT
~RESOURCE_COUNTERS
~CGROUP_SCHED
~BLK_CGROUP
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
"
MACVTAP_CONFIG_CHECK="~MACVTAP"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Handle specific kernel versions for different features
kernel_is lt 3 5 && LXC_CONFIG_CHECK+=" ~USER_NS"
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR" || \
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
local firewalld_init=
cp "${FILESDIR}/libvirtd.init-r11" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
use firewalld && firewalld_init='need firewalld'
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
myconf+=" $(use_with xen xenapi)"
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
myconf+=" --with-libxl"
else
myconf+=" --without-libxl"
fi
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
myconf="${myconf} $(use_with firewalld)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF}/python \
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
keepdir /var/lib/libvirt/images
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
use python && python_mod_optimize libvirt.py
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
fi
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"
elog "including but not limited to NATed network, you can enable the"
elog "'virt-network' USE flag."
elog
if has_version net-dns/dnsmasq; then
ewarn "If you have a DNS server setup on your machine, you will have"
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
ewarn " bind-interfaces"
ewarn " interface or except-interface"
ewarn
ewarn "Otherwise you might have issues with your existing DNS server."
fi
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}
pkg_postrm() {
use python && python_mod_cleanup libvirt.py
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.2-r2.ebuild,v 1.3 2013/02/24 11:29:50 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.2-r2.ebuild,v 1.4 2013/03/07 22:38:59 cardoe Exp $
EAPI=5
@ -34,7 +34,7 @@ DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps firewalld iscsi +libvirtd lvm +lxc +macvtap nfs \
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm +lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
@ -69,6 +69,7 @@ RDEPEND="sys-libs/readline
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
fuse? ( >=sys-fs/fuse-2.8.6 )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
@ -164,6 +165,7 @@ pkg_setup() {
LXC_CONFIG_CHECK+=" ~MEMCG"
CONFIG_CHECK=""
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
@ -253,6 +255,7 @@ src_configure() {
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
myconf="${myconf} $(use_with fuse)"
# udev for device support details
myconf="${myconf} $(use_with udev)"

@ -10,4 +10,24 @@ diff -ur xen-4.2.0.orig/xen/arch/x86/Makefile xen-4.2.0/xen/arch/x86/Makefile
EFI_LDFLAGS += --image-base=$(1) --stack=0,0 --heap=0,0 --strip-debug
EFI_LDFLAGS += --section-alignment=0x200000 --file-alignment=0x20
EFI_LDFLAGS += --major-image-version=$(XEN_VERSION)
--- xen/Makefile 2013-03-07 14:34:01.819453278 +0000
+++ xen/Makefile 2013-03-07 15:56:44.753044655 +0000
@@ -31,9 +31,15 @@
_install: $(TARGET).gz
[ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot
$(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_FULLVERSION).gz
- ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz
- ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz
- ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET)).gz
+ if [ 'x$(EFI_VENDOR)' == 'x' ]; then \
+ ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz; \
+ ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz; \
+ ln -f -s $(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET)).gz; \
+ else \
+ cp $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz; \
+ cp $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz; \
+ cp $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_FULLVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET)).gz; \
+ fi; \
$(INSTALL_DATA) $(TARGET)-syms $(DESTDIR)/boot/$(notdir $(TARGET))-syms-$(XEN_FULLVERSION)
if [ -r $(TARGET).efi -a -n '$(EFI_DIR)' ]; then \
[ -d $(DESTDIR)$(EFI_DIR) ] || $(INSTALL_DIR) $(DESTDIR)$(EFI_DIR); \

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.0-r2.ebuild,v 1.3 2013/02/27 08:03:21 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.0-r2.ebuild,v 1.4 2013/03/08 10:33:14 idella4 Exp $
EAPI=5
@ -26,7 +26,9 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask pae xsm"
DEPEND="efi? ( >=sys-devel/binutils-2.22[multitarget] )"
DEPEND="efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
REDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}[${PYTHON_USEDEP}]"
RESTRICT="test"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.1-r2.ebuild,v 1.2 2013/02/27 08:03:21 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-4.2.1-r2.ebuild,v 1.4 2013/03/08 10:33:14 idella4 Exp $
EAPI=5
@ -21,12 +21,13 @@ inherit mount-boot flag-o-matic python-single-r1 toolchain-funcs ${live_eclass}
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
SLOT="0"
IUSE="custom-cflags debug efi flask pae xsm"
RDEPEND="efi? ( >=sys-devel/binutils-2.22[multitarget] )"
DEPEND="efi? ( >=sys-devel/binutils-2.22[multitarget] )
!efi? ( >=sys-devel/binutils-2.22[-multitarget] )"
RDEPEND=""
PDEPEND="~app-emulation/xen-tools-${PV}"
RESTRICT="test"
@ -114,7 +115,7 @@ src_install() {
use debug && myopt="${myopt} debug=y"
use pae && myopt="${myopt} pae=y"
#The 'make install' doesn't 'mkdir -p' the subdirs
# The 'make install' doesn't 'mkdir -p' the subdirs
if use efi; then
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
fi

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.30.ebuild,v 1.2 2013/03/01 20:15:37 nimiux Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.30.ebuild,v 1.3 2013/03/08 17:47:34 ago Exp $
EAPI="4"
@ -13,7 +13,7 @@ SRC_URI="http://cgit.freedesktop.org/evtest/snapshot/${PN}-${P}.tar.gz -> ${P}.t
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
KEYWORDS="amd64 arm ~x86"
IUSE="+xml"
# We bundled the man pages ourselves to avoid xmlto/asciidoc.

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.8 2013/02/05 03:34:03 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.9 2013/03/07 22:48:48 radhermit Exp $
EAPI=4
@ -27,7 +27,7 @@ RDEPEND="${COMMON_DEPEND}
app-editors/vim
app-editors/gvim ) )"
DOCS=( CHANGES FAQ NOTES TODO )
DOCS=( CHANGES FAQ TODO )
src_prepare() {
eautoreconf

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.24.ebuild,v 1.6 2012/08/19 17:02:30 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.24.ebuild,v 1.7 2013/03/08 19:53:34 mpagano Exp $
EAPI="4"
PYTHON_DEPEND="*:2.7"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.25.ebuild,v 1.6 2012/12/01 17:31:03 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.0.25.ebuild,v 1.7 2013/03/08 19:53:34 mpagano Exp $
EAPI="4"
PYTHON_DEPEND="*:2.7"

@ -1,26 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.1.ebuild,v 1.1 2012/11/01 13:50:57 mpagano Exp $
EAPI="4"
PYTHON_DEPEND="*:2.7"
inherit python
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=">=app-portage/gentoolkit-0.3.0.6-r3
>=sys-apps/portage-2.1.11.9"
src_install() {
dobin ${PN} || die "dobin failed"
doman *.[0-9]
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.4.ebuild,v 1.1 2012/12/17 16:49:08 mpagano Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.7.ebuild,v 1.1 2013/03/08 19:53:34 mpagano Exp $
EAPI="4"
PYTHON_DEPEND="*:2.7"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild,v 1.1 2013/01/16 21:26:58 jlec Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild,v 1.2 2013/03/07 11:42:38 jlec Exp $
EAPI=5
@ -20,12 +20,11 @@ IUSE="introspection static-libs test"
RDEPEND="
dev-libs/glib
dev-libs/libxml2
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )
"
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
DEPEND="${RDEPEND}
dev-libs/gobject-introspection-common
sys-devel/gettext
test? ( dev-libs/check )
"
test? ( dev-libs/check )"
# Upstream expect liblangtag to be installed when one runs tests...
RESTRICT="test"

@ -1,3 +1,3 @@
DIST mysql-workbench-gpl-5.2.44-src.tar.gz 30799313 SHA256 f78a393e0f8bbc51b6be761ac3e0988c21d774a35efa081ef204d8c47ab841e0 SHA512 1a7939b34b1d50c0cdca37b6b007f2bb0aab299b2ba851e2f3c3095dcacc9056994337a79efa0022a5f2a6a760362ac9e9f4fdf7be6b1a7d9c12993b499bf403 WHIRLPOOL c59b0e555e98ae9b552e05cf3aa6ab9791e81784590e24b52c499844ce20ed34e093d5102fdbd9273a0465dd46c285aa57a1392b64122e135ded50fd46f286d5
DIST mysql-workbench-gpl-5.2.45-src.tar.gz 21754261 SHA256 204b66dbe33f9cb6d65cde4d36749b23307abb28f2d915a9923e48109c82bfed SHA512 f19ab2c550d363f14e450eeab82b923d84f6d6ab9ae328555e53fd0e16c70a502b7bd1ad35c1a4866aeb6ac95de119d79a2946bff1690240c5bac6c2febef300 WHIRLPOOL a62ffa0dcc33b9583b72949f4b6fe7ee070e8735993d316d7c9d3a9dc402e276240802a2a80ec0ae381c5a584b343db449c6756167f32ec70143641af61bf425
DIST mysql-workbench-gpl-5.2.46-src.tar.gz 21885413 SHA256 b409afe822b4959c39331630699360ccd5aa0868944ce51ed5cdf08e6b93b72b SHA512 ac68fc330eb1e964328641769a0e18eb45bdf257b8b9e3f76380a532b4a232dbae61178645a7efe276977ed62072b94a2f48c3f937833d7035562b7e0cf8d01f WHIRLPOOL dfd76d5b0f7bd224c3e4433cd0487e77c138755f8f486c12a055f3d9397de638e49d65f9cdf18c63ac506bf8d1e425cf151824a10f473d202c2e1a1b91b5d3d8
DIST mysql-workbench-gpl-5.2.47-src.tar.gz 21924533 SHA256 e6928beb157f1e0abbb8885d16544eefe4d25b05f54dc0fb75b8375d8775838c SHA512 0229c1c3e9b7082f1752cd3f95f4372d9af6bd83b89607f7e74b5460ad72b263b5c89c868ebe19e5182878122357113db0a782865042e096a1d4519733569e15 WHIRLPOOL 40455319a8001ae9365cd164702794be17aa134b254a6a79cfc15c2321a42dfbc463b59f6bb7a34d3d0252fca2b81310014928646d0d5d8e929c46b3de470cb5

@ -1,95 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.44.ebuild,v 1.5 2013/01/17 16:06:34 mgorny Exp $
EAPI=4
GCONF_DEBUG="no"
PYTHON_DEPEND=2
PYTHON_USE_WITH=sqlite
PYTHON_USE_WITH_OPT=doc
inherit gnome2 eutils flag-o-matic python autotools
MY_P="${PN}-gpl-${PV}-src"
DESCRIPTION="MySQL Workbench"
HOMEPAGE="http://dev.mysql.com/workbench/"
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
IUSE="debug doc gnome-keyring nls static-libs"
# Build system bundles an unreleased copy of dev-libs/antlr-c 3.4 so we
# can't depend on our own packaged version right now.
CDEPEND="dev-db/sqlite:3
>=x11-libs/gtk+-2.6:2
dev-libs/glib:2
gnome-base/libglade:2.0
dev-libs/libsigc++:2
dev-libs/boost
>=dev-cpp/ctemplate-0.95
>=dev-libs/libxml2-2.6.2:2
>=dev-cpp/glibmm-2.14:2
>=dev-cpp/gtkmm-2.14:2.4
dev-db/libiodbc
dev-libs/libzip
>=virtual/mysql-5.1
dev-libs/libpcre
virtual/opengl
>=dev-lang/lua-5.1[deprecated]
x11-libs/pango
|| ( sys-libs/e2fsprogs-libs
dev-libs/ossp-uuid )
>=x11-libs/cairo-1.5.12[svg]
dev-python/pexpect
>=dev-python/paramiko-1.7.4
gnome-keyring? ( gnome-base/libgnome-keyring )
nls? ( sys-devel/gettext )"
RDEPEND="${CDEPEND}
app-admin/sudo
sys-apps/net-tools"
DEPEND="${CDEPEND}
virtual/pkgconfig"
S="${WORKDIR}"/"${MY_P}"
pkg_setup() {
# Make sure we use Python 2 since the code is not compatible with 3.
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# ifconfig isn't in the normal path
sed -i -e 's:ifconfig:/sbin/ifconfig:' plugins/wb.admin/backend/wb_server_control.py || die
# Remove hardcoded CXXFLAGS
sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
# Remove bundled ctemplate version to make sure we use the system
# version, but leave a directory to avoid confusing configure, bug
# 357539.
rm -rf ext/ctemplate || die
mkdir -p ext/ctemplate/ctemplate-src || die
# Regenerate autotools files to work around broken libtool for
# antlr, bug 431756.
eautoreconf
}
src_configure() {
econf \
$(use_enable nls i18n) \
$(use_enable debug) \
$(use_enable static-libs static)
}
src_install() {
emake install DESTDIR="${D}" || die
find "${ED}" -name '*.la' -delete || die
}

@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.44-r1.ebuild,v 1.2 2013/01/17 16:06:34 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.47.ebuild,v 1.1 2013/03/08 06:39:26 graaff Exp $
EAPI=4
EAPI=5
GCONF_DEBUG="no"
PYTHON_DEPEND=2
@ -74,7 +74,7 @@ src_prepare() {
rm -rf ext/ctemplate || die
mkdir -p ext/ctemplate/ctemplate-src || die
epatch "${FILESDIR}"/${P}-my_lib.patch
epatch "${FILESDIR}"/${PN}-5.2.44-my_lib.patch
# Regenerate autotools files to work around broken libtool for
# antlr, bug 431756.

@ -1,6 +1,6 @@
DIST instantclient-sqlplus-linux-11.2.0.3.0.zip 796570 RMD160 3f62057b8a64a3d758320cca6a4adbda990ef27c SHA1 974157fd922ea8e63e597f0faa86cf104cebe107 SHA256 338de20fb4b52359c53969e8d6c5441629a0ddaf676ab98edb19206f21edce43
DIST instantclient-sqlplus-linux-11.2.0.3.0.zip 796570 SHA256 338de20fb4b52359c53969e8d6c5441629a0ddaf676ab98edb19206f21edce43 SHA512 241d812b3955b11efba7764f463417e79dd973ce7ad0624144e661403b71b1c4fb091c6e42d05759eaf74355dfe432970375064d4018cae9ae67cd1401095460 WHIRLPOOL 44543784f7671ad923fce517f451b797c5fe37fea14249689493b9b12846fce74dfa47fbc02461149dccba760ecf70efe833ab745a2050600dffb036de2b75e7
DIST instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 SHA256 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 SHA512 5800c0f1c39a0ec4a2da1bc09a9102d62d4efb42618dfb5a2494da81c9268c1e29af5576dee72917019b12d1ed6c55ec0f80b96017a6812f6c20c660180c324b WHIRLPOOL e92c0e8529e248ea9b60d1d5c81acd11d569183e9459933ce08c0e815e2d43cef2f5a7ecec4c2c0fe3d9321c42c813a35d748107a9e58c15d2c7b0c36b0a3d44
DIST instantclient-sqlplus-linux-x86-64-11.2.0.2.0.zip 837382 SHA256 6975856f27c66d44b5c57c9ffa877f8aa5648ae8e4bda925d719b8609bbbf285
DIST instantclient-sqlplus-linux.x64-11.2.0.3.0.zip 837574 RMD160 579c0bde3c3419008847a73870357a0581ed0580 SHA1 c09bfe4bf16c5f3db31e6f66a902a0a4d52122a6 SHA256 b1df9ed4d5a0e51caeed1641d973e4c90fce48604069ab9b7278a87dc2fc8547
DIST instantclient-sqlplus-linux.x64-11.2.0.3.0.zip 837574 SHA256 b1df9ed4d5a0e51caeed1641d973e4c90fce48604069ab9b7278a87dc2fc8547 SHA512 55bbac5e8267a4de2c7f9f6750f0e38dcf7c775bccc2e1e05df7fda9e6ffa7d394776e605980d8b67176acf52ba88f2dcaa959934740a1ca6f91d10b12d14024 WHIRLPOOL f172391bd05845ef88a0c4951e4d46b81e9fd5326709da057deb747cd34f4098ca22189dfc0d7de70a8da8adf86fd48086a2976d6397dfb7386d666f73ac218d
DIST instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a
DIST instantclient-sqlplus-linux32-11.2.0.2.0.zip 795691 SHA256 35f1d447b0b368bcafd4fcff6bb04139e568176f0081a60aea1939099754ea0a

@ -0,0 +1,72 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild,v 1.1 2013/03/08 15:34:03 haubi Exp $
EAPI="4"
inherit eutils multilib pax-utils
MY_PLAT_x86="Linux x86"
MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
MY_PLAT_amd64="Linux x86-64"
MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
SRC_URI="
x86? ( ${MY_A_x86} )
amd64? ( ${MY_A_amd64} )
"
LICENSE="OTN"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="fetch"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
S="${WORKDIR}"/instantclient_11_2
QA_PREBUILT="
usr/lib*/oracle/${PV}/client/lib*/lib*
usr/lib*/oracle/${PV}/client/bin/sqlplus
"
my_arch() {
# platform name
MY_PLAT=MY_PLAT_${ARCH}
export MY_PLAT=${!MY_PLAT}
# distfile
MY_A=MY_A_${ARCH}
export MY_A=${!MY_A}
}
pkg_nofetch() {
my_arch
eerror "Please go to"
eerror " ${HOMEPAGE%/*}/index-097480.html"
eerror " and download"
eerror "Instant Client for ${MY_PLAT}"
eerror " SQL*Plus: ${MY_A}"
eerror "After downloading, put it in:"
eerror " ${DISTDIR}/"
}
src_install() {
# all binaries go here
local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
into /"${oracle_home}"
dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
dobin sqlplus
insinto /"${oracle_home}"/sqlplus/admin
doins glogin.sql
pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
}

@ -1,5 +1 @@
DIST sqldeveloper-1.5.4.59.40-no-jre.zip 76430283 SHA256 3849ea6560bc31a17f6c457ffdefde018041e8acb601426a027efd5fea62debc
DIST sqldeveloper-2.1.1.64.45-no-jre.zip 98210855 SHA256 13ef31be293f48b1de809a19fbeebb99f41f708219065ab3b0a7b86e2f5d0864
DIST sqldeveloper-3.0.04.34-no-jre.zip 154645376 SHA256 fa31b31ead6120fe83ca27610345ad20124ff223ae27f4a8a47b5ef0f305f55e
DIST sqldeveloper-3.1.07.42-no-jre.zip 179042620 SHA256 cfe14455abdd019543894f8841020708f6f5fc2ee4929b09b7cbb68890b25ada
DIST sqldeveloper-3.2.20.09.87-no-jre.zip 182052759 SHA256 787b703a3fa2d7969ae486b9f2f23bdafd31242b2af74257943cf826c535c8d4 SHA512 716e2f9584e192b8e72a0e9439ac3fb0aea297087640df7c7c5659170846376d8e44d0fbdc68c96e274b100aad3f26b0710691349bfc0092c86c42830e115efe WHIRLPOOL 1d9eb51cb263c14a89a44167a239f3be34b7ca9bd78eefc28a73c1b24e6f4e2f10a1665b0b4a03c6932f987fae375c95bfc310c485e179c76e9b7135bb9825e3

@ -1,82 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-1.5.4.59.40.ebuild,v 1.3 2010/07/19 06:00:51 betelgeuse Exp $
EAPI="2"
inherit eutils java-pkg-2
DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
SRC_URI="${P}-no-jre.zip"
RESTRICT="fetch"
LICENSE="OTN"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="mssql mysql sybase"
DEPEND="mssql? ( dev-java/jtds:1.2 )
mysql? ( dev-java/jdbc-mysql:0 )
sybase? ( dev-java/jtds:1.2 )"
RDEPEND=">=virtual/jre-1.5.0
${DEPEND}"
S="${WORKDIR}/${PN}"
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE}"
eerror "and download"
eerror " Oracle SQL Developer for other platforms"
eerror " ${SRC_URI}"
eerror "and move it to ${DISTDIR}"
}
src_prepare() {
# we don't need these, do we?
find ./ -iname "*.exe" -or -iname "*.dll" -exec rm {} \;
}
src_configure() {
# they both use jtds, enabling one of them also enables the other one
if use mssql && ! use sybase; then
einfo "You requested MSSQL support, this also enables Sybase support."
fi
if use sybase && ! use mssql; then
einfo "You requested Sybase support, this also enables MSSQL support."
fi
if use mssql || use sybase; then
echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)"
>> sqldeveloper/bin/sqldeveloper.conf
fi
if use mysql; then
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)"
>> sqldeveloper/bin/sqldeveloper.conf
fi
}
src_install() {
dodir /opt/${PN}
cp -r {BC4J,dvt,ide,j2ee,jdbc,jdev,jlib,lib,rdbms,${PN},timingframework} \
"${D}"/opt/${PN}/ || die "Install failed"
dobin "${FILESDIR}"/${PN} || die "Install failed"
mv icon.png ${PN}-32x32.png
mv raptor_image.jpg ${PN}-48x48.jpg
doicon ${PN}-32x32.png ${PN}-48x48.jpg
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32
dodoc relnotes.html
}
pkg_postinst() {
echo
einfo "If you want to use the TNS connection type you need to set up the"
einfo "TNS_ADMIN environment variable to point to the directory your"
einfo "tnsnames.ora resides in."
echo
}

@ -1,90 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-2.1.1.64.45.ebuild,v 1.1 2010/08/25 12:11:42 hwoarang Exp $
EAPI="2"
inherit eutils java-pkg-2
DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
SRC_URI="${P}-no-jre.zip"
RESTRICT="fetch"
LICENSE="OTN"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mssql mysql sybase"
DEPEND="mssql? ( dev-java/jtds:1.2 )
mysql? ( dev-java/jdbc-mysql:0 )
sybase? ( dev-java/jtds:1.2 )"
RDEPEND=">=virtual/jdk-1.6.0
${DEPEND}"
S="${WORKDIR}/${PN}"
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE}"
eerror "and download"
eerror " Oracle SQL Developer for other platforms"
eerror " ${SRC_URI}"
eerror "and move it to ${DISTDIR}"
}
src_prepare() {
# we don't need these, do we?
find ./ \( -iname "*.exe" -or -iname "*.dll" \) -exec rm {} \;
}
src_configure() {
# they both use jtds, enabling one of them also enables the other one
if use mssql && ! use sybase; then
einfo "You requested MSSQL support, this also enables Sybase support."
fi
if use sybase && ! use mssql; then
einfo "You requested Sybase support, this also enables MSSQL support."
fi
if use mssql || use sybase; then
echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)" >> sqldeveloper/bin/sqldeveloper.conf
fi
if use mysql; then
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
fi
# this fixes internal Classpath warning
cd "${T}"
unzip -q "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
sed -i 's@../../../oracle_common/modules/oracle.nlsrtl_11.1.0@../../jlib@' META-INF/extension.xml || die
zip -rq "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
rm -rf META-INF
}
src_install() {
dodir /opt/${PN}
cp -r {ide,j2ee,jdbc,jdev,jlib,lib,modules,rdbms,sleepycat,${PN},timingframework} \
"${D}"/opt/${PN}/ || die "Install failed"
dobin "${FILESDIR}"/${PN} || die "Install failed"
mv icon.png ${PN}-32x32.png || die
doicon ${PN}-32x32.png || die
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
dodoc release_notes_2.1.1.html || die
# this fixes internal Classpath warning
dosym /opt/sqldeveloper/jdbc/lib/ojdbc5.jar /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/ojdbc5.jar
dosym /opt/sqldeveloper/modules/oracle.xdk_11.1.0/xmlparserv2.jar /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/xmlparserv2.jar
}
pkg_postinst() {
echo
einfo "If you want to use the TNS connection type you need to set up the"
einfo "TNS_ADMIN environment variable to point to the directory your"
einfo "tnsnames.ora resides in."
echo
}

@ -1,93 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-3.0.04.34.ebuild,v 1.3 2012/01/11 19:58:59 hwoarang Exp $
EAPI="2"
inherit eutils java-pkg-2
DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
SRC_URI="${P}-no-jre.zip"
RESTRICT="fetch"
LICENSE="OTN"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="mssql mysql sybase"
DEPEND="mssql? ( dev-java/jtds:1.2 )
mysql? ( dev-java/jdbc-mysql:0 )
sybase? ( dev-java/jtds:1.2 )"
RDEPEND=">=virtual/jdk-1.6.0
${DEPEND}"
S="${WORKDIR}/${PN}"
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE}"
eerror "and download"
eerror " Oracle SQL Developer for other platforms"
eerror " ${SRC_URI}"
eerror "and move it to ${DISTDIR}"
}
src_prepare() {
# we don't need these, do we?
find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} \;
# they both use jtds, enabling one of them also enables the other one
if use mssql && ! use sybase; then
einfo "You requested MSSQL support, this also enables Sybase support."
fi
if use sybase && ! use mssql; then
einfo "You requested Sybase support, this also enables MSSQL support."
fi
if use mssql || use sybase; then
echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)" >> sqldeveloper/bin/sqldeveloper.conf
fi
if use mysql; then
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
fi
# this fixes internal Classpath warning
cd "${T}"
unzip -q "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
sed -i 's@../../../oracle_common/modules/oracle.nlsrtl_11.1.0@../../jlib@' META-INF/extension.xml || die
zip -rq "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
rm -rf META-INF
}
src_install() {
dodir /opt/${PN}
cp -r {dataminer,ide,j2ee,jdbc,jdev,jdev.label,jlib,jviews,lib,modules,rdbms,readme.html,sleepycat,${PN},sqlj,timingframework} \
"${D}"/opt/${PN}/ || die "Install failed"
dobin "${FILESDIR}"/${PN} || die "Install failed"
mv icon.png ${PN}-32x32.png || die
doicon ${PN}-32x32.png || die
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
}
pkg_postinst() {
# this temporary fixes FileNotFoundException with datamodeler
# this is more like a workaround than permanent fix
test -d /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log \
|| mkdir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log
touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
# this fixes another datamodeler FileNotFoundException
# also more like a workaround than permanent fix
chmod 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/types/dr_custom_scripts.xml
echo
einfo "If you want to use the TNS connection type you need to set up the"
einfo "TNS_ADMIN environment variable to point to the directory your"
einfo "tnsnames.ora resides in."
echo
}

@ -1,93 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-3.1.07.42.ebuild,v 1.4 2013/02/27 00:19:07 mr_bones_ Exp $
EAPI="2"
inherit eutils java-pkg-2
DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
HOMEPAGE="http://www.oracle.com/technology/products/database/sql_developer/"
SRC_URI="${P}-no-jre.zip"
RESTRICT="fetch"
LICENSE="OTN"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="mssql mysql sybase"
DEPEND="mssql? ( dev-java/jtds:1.2 )
mysql? ( dev-java/jdbc-mysql:0 )
sybase? ( dev-java/jtds:1.2 )"
RDEPEND=">=virtual/jdk-1.6.0
${DEPEND}"
S="${WORKDIR}/${PN}"
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE}"
eerror "and download"
eerror " Oracle SQL Developer for other platforms"
eerror " ${SRC_URI}"
eerror "and move it to ${DISTDIR}"
}
src_prepare() {
# we don't need these, do we?
find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} \;
# they both use jtds, enabling one of them also enables the other one
if use mssql && ! use sybase; then
einfo "You requested MSSQL support, this also enables Sybase support."
fi
if use sybase && ! use mssql; then
einfo "You requested Sybase support, this also enables MSSQL support."
fi
if use mssql || use sybase; then
echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)" >> sqldeveloper/bin/sqldeveloper.conf
fi
if use mysql; then
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
fi
# this fixes internal Classpath warning
cd "${T}"
unzip -q "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
sed -i 's@../../../oracle_common/modules/oracle.nlsrtl_11.1.0@../../jlib@' META-INF/extension.xml || die
zip -rq "${S}"/jdev/extensions/oracle.jdeveloper.runner.jar META-INF/extension.xml
rm -rf META-INF
}
src_install() {
dodir /opt/${PN}
cp -r {dataminer,ide,javavm,jdbc,jdev,jdev.label,jlib,jviews,modules,rdbms,readme.html,sleepycat,${PN},sqlj,timingframework} \
"${D}"/opt/${PN}/ || die "Install failed"
dobin "${FILESDIR}"/${PN} || die "Install failed"
mv icon.png ${PN}-32x32.png || die
doicon ${PN}-32x32.png || die
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
}
pkg_postinst() {
# this temporary fixes FileNotFoundException with datamodeler
# this is more like a workaround than permanent fix
test -d /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log \
|| mkdir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log
touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
# this fixes another datamodeler FileNotFoundException
# also more like a workaround than permanent fix
chmod 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/types/dr_custom_scripts.xml
echo
einfo "If you want to use the TNS connection type you need to set up the"
einfo "TNS_ADMIN environment variable to point to the directory your"
einfo "tnsnames.ora resides in."
echo
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild,v 1.2 2013/02/27 00:19:07 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-3.2.20.09.87.ebuild,v 1.4 2013/03/07 18:39:41 ago Exp $
EAPI="2"
@ -13,7 +13,7 @@ RESTRICT="fetch"
LICENSE="OTN"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="mssql mysql sybase"
DEPEND="mssql? ( dev-java/jtds:1.2 )

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-9999.ebuild,v 1.2 2013/03/02 19:51:01 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-9999.ebuild,v 1.3 2013/03/08 16:40:24 haubi Exp $
EAPI=2
@ -57,7 +57,7 @@ src_prepare() {
-e "/COPYING/ d" \
CMakeLists.txt || die "Removal of COPYING file failed"
# 'svn info' needs .svn subdirectory
[[ ${PV} != 9999 ]] || ln -s "${ESVN_WC_PATH}"/.svn .svn || die
[[ ${PV} != 9999 ]] || cp -a "${ESVN_WC_PATH}"/.svn .svn || die
}
src_configure() {

@ -1,37 +0,0 @@
--- source/Irrlicht/Makefile
+++ source/Irrlicht/Makefile
@@ -46,11 +46,7 @@
IRRIOOBJ = CFileList.o CFileSystem.o CLimitReadFile.o CMemoryFile.o CReadFile.o CWriteFile.o CXMLReader.o CXMLWriter.o CWADReader.o CZipReader.o CPakReader.o CNPKReader.o CTarReader.o CMountPointReader.o irrXML.o CAttributes.o lzma/LzmaDec.o
IRROTHEROBJ = CIrrDeviceSDL.o CIrrDeviceLinux.o CIrrDeviceConsole.o CIrrDeviceStub.o CIrrDeviceWin32.o CIrrDeviceFB.o CLogger.o COSOperator.o Irrlicht.o os.o
IRRGUIOBJ = CGUIButton.o CGUICheckBox.o CGUIComboBox.o CGUIContextMenu.o CGUIEditBox.o CGUIEnvironment.o CGUIFileOpenDialog.o CGUIFont.o CGUIImage.o CGUIInOutFader.o CGUIListBox.o CGUIMenu.o CGUIMeshViewer.o CGUIMessageBox.o CGUIModalScreen.o CGUIScrollBar.o CGUISpinBox.o CGUISkin.o CGUIStaticText.o CGUITabControl.o CGUITable.o CGUIToolBar.o CGUIWindow.o CGUIColorSelectDialog.o CDefaultGUIElementFactory.o CGUISpriteBank.o CGUIImageList.o CGUITreeView.o
-ZLIBOBJ = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/uncompr.o zlib/zutil.o
-JPEGLIBOBJ = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o jpeglib/jdmerge.o jpeglib/jdpostct.o jpeglib/jdsample.o jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o jpeglib/jquant2.o jpeglib/jutils.o jpeglib/jcarith.o jpeglib/jdarith.o jpeglib/jaricom.o
-LIBPNGOBJ = libpng/png.o libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o libpng/pngwtran.o libpng/pngwutil.o
LIBAESGM = aesGladman/aescrypt.o aesGladman/aeskey.o aesGladman/aestab.o aesGladman/fileenc.o aesGladman/hmac.o aesGladman/prng.o aesGladman/pwd2key.o aesGladman/sha1.o aesGladman/sha2.o
-BZIP2OBJ = bzip2/blocksort.o bzip2/huffman.o bzip2/crctable.o bzip2/randtable.o bzip2/bzcompress.o bzip2/decompress.o bzip2/bzlib.o
# Next variable is for additional scene nodes etc. of customized Irrlicht versions
EXTRAOBJ =
@@ -61,18 +57,16 @@
###############
#Compiler flags
-CXXINCS = -I../../include -Izlib -Ijpeglib -Ilibpng
+CXXINCS = -I../../include
CPPFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1
-CXXFLAGS += -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing
+CXXFLAGS += -Wall -fno-exceptions -fno-rtti
ifndef NDEBUG
-CXXFLAGS += -g -D_DEBUG
-else
-CXXFLAGS += -fexpensive-optimizations -O3
+CXXFLAGS += -D_DEBUG
endif
ifdef PROFILE
CXXFLAGS += -pg
endif
-CFLAGS := -O3 -fexpensive-optimizations -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES
+CFLAGS += -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES
sharedlib sharedlib_osx: CXXFLAGS += -fPIC
sharedlib sharedlib_osx: CFLAGS += -fPIC

@ -1,68 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.8-r1.ebuild,v 1.1 2013/03/06 18:01:46 hasufell Exp $
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="open source high performance realtime 3D engine written in C++"
HOMEPAGE="http://irrlicht.sourceforge.net/"
SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug doc"
RDEPEND="virtual/jpeg
media-libs/libpng:0
app-arch/bzip2
virtual/opengl
x11-libs/libX11
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
app-arch/unzip
x11-proto/xproto
x11-proto/xf86vidmodeproto"
S=${WORKDIR}/${P}/source/Irrlicht
src_prepare() {
cd "${WORKDIR}"/${P} || die
edos2unix include/IrrCompileConfig.h
epatch \
"${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/${P}-config.patch \
"${FILESDIR}"/${P}-demoMake.patch
sed -i \
-e 's:\.\./\.\./media:../media:g' \
$(grep -rl '\.\./\.\./media' examples) \
|| die 'sed failed'
}
src_compile() {
tc-export CXX CC AR
emake NDEBUG=$(usex debug "" "1") sharedlib staticlib
}
src_install() {
cd "${WORKDIR}"/${P} || die
dolib.a lib/Linux/libIrrlicht.a
dolib.so lib/Linux/libIrrlicht.so*
# create library symlinks
dosym libIrrlicht.so.1.8.0 /usr/$(get_libdir)/libIrrlicht.so.1.8
dosym libIrrlicht.so.1.8.0 /usr/$(get_libdir)/libIrrlicht.so
insinto /usr/include/${PN}
doins include/*
dodoc changes.txt readme.txt
if use doc ; then
insinto /usr/share/doc/${PF}
doins -r examples media
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.8-r2.ebuild,v 1.1 2013/03/06 18:47:08 hasufell Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.8-r2.ebuild,v 1.5 2013/03/08 00:00:45 vincent Exp $
EAPI=5
inherit eutils multilib toolchain-funcs
@ -11,8 +11,8 @@ SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug doc"
KEYWORDS="amd64 ppc x86"
IUSE="debug doc static-libs"
RDEPEND="virtual/jpeg
media-libs/libpng:0
@ -45,13 +45,13 @@ src_prepare() {
src_compile() {
tc-export CXX CC AR
emake NDEBUG=$(usex debug "" "1") sharedlib staticlib
emake NDEBUG=$(usex debug "" "1") sharedlib $(usex static-libs "staticlib" "")
}
src_install() {
cd "${WORKDIR}"/${P} || die
dolib.a lib/Linux/libIrrlicht.a
use static-libs && dolib.a lib/Linux/libIrrlicht.a
dolib.so lib/Linux/libIrrlicht.so*
# create library symlinks

@ -2,6 +2,7 @@ DIST Python-2.2.3.tgz 6709556 SHA256 a8f92e6b89d47359fff0d1fbfe47f104afc77fd1cd5
DIST Python-2.5.5.tgz 11606370 SHA256 03be1019c4fe93daeb53ba9e4294bf22a8ed4cb854cbd57e24e16f6bf63e2392 SHA512 787b3e99386e3b52bca63c3191ccb90418e8c5eb5eef3f4c4d8bda76cc5dd558aa28d8146a610ee66e58c1e3967516d073986b073df326685170143f191c152c WHIRLPOOL ac504a4afe70b706b5f3bf19314d97f1ecdb49067feb0137455dfc02c010cb99a145fd4afeef230bb9e2991309499b68e81a91b4e6da588af3fe40bfdb29a60c
DIST jython-2.1.tar.bz2 1301528 SHA256 faa57a55d137268e80221cd628b234ca67de13504b813be1c0499c9f4d5872b2 SHA512 397ad2819eb5bb39e1b0c0673922af7fbb75f680d707a7c344d21f680901a6fd96eddbbed8b464fb91cccd6f38a9f9b1a8f8327a530ac870002b72c38bf75ad3 WHIRLPOOL 00a1e7376b1883fc835dc801d718041a623ab0406393135d452df613fbbb9a87ab6bf4429b07260e93530f04031e531d4e041bacf22491d7ec0db76a41d77061
DIST jython-2.5.1.tar.bz2 14470421 SHA256 23bc356ac6e1037cc305dc9791a247f4cfffe7b9e3ceb5b2a97449529cf4aa1d SHA512 c56aecf57ff8fc0872c2b10216f19f9f9456cf05e8b09486e5826007f92d99b95c74416f3272556aca3dcc964f411b116f5011122a5be7cd815f54b447f53f1d WHIRLPOOL e2910a0b97b0bc2080a9a7d32c83f22630f11d51b1a8dc9d495a51a2972fc2f5066860e9eb0ae0be89a99b8327ff106d645d773e6dedb65ddf0dd76e15c6f86a
DIST jython-2.7-b1-sources.jar 10972175 SHA256 969fd3b26975a1bb9c16f36173bff61f40b7104378a5a12dea391ed3801e4ca7 SHA512 661732242a5195cbb4c9d4635d9a5dd7c09ba270b8c6b88200badb0b4987fefe1ce322ed23995e6723e571584e4e63c8d7f603fff450ed9cb5ad0b2cac73f5ad WHIRLPOOL 7dd78af2dd3e8958a23d07b6c96c1f240dcccd3fc04b4edb322108c7d12bdde95e96a6ec477f71c390179615df92209a2de5717aa3988722f537ec524c7571ed
DIST jython-installer-2.5.3.jar 18487200 SHA256 05405966cdfa57abc8e705dd6aab92b8240097ce709fb916c8a0dbcaa491f99e SHA512 92d00cc8d885806749c67d1dc820e7b402c807b9a40277073fc3ea1f3dd10e1e506dc241a342874db8109120e8f0031a8dc7a4db6a88dfdc6c89906eeb9d454d WHIRLPOOL e8e3adf741a35b5e4de6c67b8805582cabc8590afac28c2e4ae3b61c4bd38d41904d7d1e4a23de21e7870d628e33a52f540fc89780a4724403b0bd92e1159768
DIST jython_installer-2.2.1.jar 4663097 SHA256 586858aa16a8b269eaaec59f5b64031ec504d33da35cba98ebac811b0e838e68 SHA512 d33262dec95dbecfc007a738ed8d8cd4844c215e451b7ab126940f1157079aa846a104f3587ad84c4a009249632e3aaa3c83479ee8f47c30c4b4833bcdd582b3 WHIRLPOOL bae264f67547a975bf648b3de0cc2becb5d51e14b2ca1a977f7c3d45ec96bd3fd4fd99b0ff6912fb38d54d57656225c51c4b8a474c6ca8fe7fc16e12ab4bbec8
DIST jython_installer-2.5.2.jar 18435770 SHA256 1b7168b961e31ddd89012a36cde611c340dadfd8b60b81c4248b026730ee2f29 SHA512 ea9d1573f1f86aba13554292418be65579e55d695c9ab625402cc9478a1fed56654eb7ef5e750c9ebdcfe388c7f007016d88dedd6e6652d2a61f7681963118c4 WHIRLPOOL 3621162d9cffa2d0312b775af6cd342fdb17a25b965b2b736b1d03fe70512f05a645eb336a5d01135555fb843f6d4498e43530675e306373f98c8184a375e96b

@ -0,0 +1,28 @@
--- jython-2.7-b1-sources/build.xml
+++ jython-2.7-b1-sources/build.xml
@@ -508,6 +509,7 @@
</javac>
<!-- java files used by tests -->
+<!--
<javac srcdir="${test.source.dir}"
destdir="${compile.dir}"
target="${jdk.target.version}"
@@ -529,6 +531,7 @@
<compilerarg line="${javac.Xlint}"/>
<classpath refid="test.classpath" />
</javac>
+-->
<copy file="${source.dir}/org/python/modules/ucnhash.dat"
todir="${compile.dir}/org/python/modules"
preservelastmodified="true" />
@@ -826,9 +829,6 @@
<target name="copy-javalib" unless="full-build">
<copy todir="${dist.dir}/javalib">
- <fileset dir="${jython.base.dir}/extlibs">
- <exclude name="profile.properties"/>
- </fileset>
<fileset dir="${work.dir}/build">
<include name="*.jar"/>
<include name="*.properties"/>

@ -0,0 +1,11 @@
--- a/src/org/python/core/imp.java
+++ b/src/org/python/core/imp.java
@@ -228,7 +228,7 @@
}
if (testing && mtime != NO_MTIME) {
long time = ar.getMTime();
- if (mtime != time) {
+ if (mtime < time) {
return null;
}
}

@ -0,0 +1,169 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.7_beta1.ebuild,v 1.1 2013/03/07 20:42:45 radhermit Exp $
EAPI=5
JAVA_PKG_IUSE="doc examples source"
inherit eutils java-pkg-2 java-ant-2 python-utils-r1
MY_PV=${PV/_beta/-b}
MY_P=${PN}-${MY_PV}
DESCRIPTION="An implementation of Python written in Java"
HOMEPAGE="http://www.jython.org"
SRC_URI="http://search.maven.org/remotecontent?filepath=org/python/${PN}/${MY_PV}/${MY_P}-sources.jar"
LICENSE="PSF-2"
SLOT="2.7"
KEYWORDS="~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE="+readline test"
REQUIRED_USE="test? ( readline )"
COMMON_DEP="
dev-java/antlr:3
dev-java/asm:4
dev-java/commons-compress:0
dev-java/guava:13
>=dev-java/java-config-2.1.11-r3
dev-java/jffi:1.2
dev-java/jline:0
dev-java/jnr-constants:0
dev-java/jnr-posix:2.1
dev-java/stringtemplate:0
dev-java/xerces:2
java-virtuals/script-api:0
java-virtuals/servlet-api:2.5
readline? ( >=dev-java/libreadline-java-0.8.0:0 )"
RDEPEND="${COMMON_DEP}
>=virtual/jre-1.5"
DEPEND="${COMMON_DEP}
>=virtual/jdk-1.5
app-arch/unzip
test? (
dev-java/junit:4
dev-java/ant-junit4
)"
S=${WORKDIR}
RESTRICT="test"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="asm-4,commons-compress,guava-13,jffi-1.2,jline,jnr-constants,script-api,servlet-api-2.5,stringtemplate,xerces-2"
JAVA_ANT_CLASSPATH_TAGS+=" java"
EANT_BUILD_TARGET="developer-build"
EANT_TEST_EXTRA_ARGS="-Dpython.home=dist"
# jdbc-informix and jdbc-oracle-bin (requires registration) aren't exposed.
# Uncomment and add to COMMON_DEP if you want either of them
#EANT_GENTOO_CLASSPATH+=",jdbc-informix" EANT_EXTRA_ARGS+=" -Dinformix.present"
#EANT_GENTOO_CLASSPATH+=",jdbc-oracle-bin" EANT_EXTRA_ARGS+=" -Doracle.present"
java_prepare() {
find \( -name '*.jar' -o -name '*.class' \
-o -name '*.pyc' -o -name '*.exe' \) -delete
epatch "${FILESDIR}"/${PN}-2.5.2-distutils_scripts_location.patch
epatch "${FILESDIR}"/${PN}-2.5.2-respect_PYTHONPATH.patch
epatch "${FILESDIR}"/${P}-ant.patch
epatch "${FILESDIR}"/${P}-dont-always-recompile-classes.patch
if ! use readline; then
rm -v src/org/python/util/ReadlineConsole.java || die
fi
# needed for launchertest
chmod +x tests/shell/test-jython.sh || die
}
src_compile() {
use readline && EANT_GENTOO_CLASSPATH+=",libreadline-java"
EANT_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --with-dependencies antlr-3,jnr-posix-2.1)"
EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjars --build-only ant-core)"
sed -i -e "1 a\
CLASSPATH=\"$(java-pkg_getjars "${EANT_GENTOO_CLASSPATH}"):${EANT_GENTOO_CLASSPATH_EXTRA}\"" \
src/shell/jython || die
java-pkg-2_src_compile
}
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar dist/${PN}-dev.jar
java-pkg_register-optional-dependency jdbc-mysql
java-pkg_register-optional-dependency jdbc-postgresql
insinto /usr/share/${PN}-${SLOT}
doins -r dist/{Lib,registry}
dodoc ACKNOWLEDGMENTS NEWS README.txt
use doc && java-pkg_dojavadoc dist/Doc/javadoc
use source && java-pkg_dosrc src/*
use examples && java-pkg_doexamples Demo/*
local java_args=(
-Dpython.home="${EPREFIX}"/usr/share/${PN}-${SLOT}
-Dpython.executable="${EPREFIX}"/usr/bin/jython${SLOT}
-Dpython.cachedir="\${HOME}/.jythoncachedir"
)
java-pkg_dolauncher jython${SLOT} \
--main org.python.util.jython \
--java_args "${java_args[*]}"
if use readline; then
sed \
-e "s/#\(python.console=org.python.util.ReadlineConsole\)/\1/" \
-e "/#python.console.readlinelib=JavaReadline/a python.console.readlinelib=GnuReadline" \
-i "${ED}"/usr/share/${PN}-${SLOT}/registry || die
fi
# we need a wrapper to help python_optimize
cat <<-EOF > "${T}"/jython
exec java -cp "$(java-pkg_getjars "${EANT_GENTOO_CLASSPATH}"):${EANT_GENTOO_CLASSPATH_EXTRA}:dist/${PN}-dev.jar" \
-Dpython.home="${ED}"/usr/share/${PN}-${SLOT} \
-Dpython.cachedir="${T}/.jythoncachedir" \
org.python.util.jython "\${@}"
EOF
chmod +x "${T}"/jython || die
python_export jython${SLOT} EPYTHON PYTHON_SITEDIR
local PYTHON="${T}"/jython
# compile tests (everything else is compiled already)
# we're keeping it quiet since jython reports errors verbosely
# and some of the tests are supposed to trigger compile errors
python_optimize "${ED}"/usr/share/jython-${SLOT}/Lib/test &>/dev/null
# for python-exec
echo "EPYTHON='${EPYTHON}'" > epython.py
python_domodule epython.py
# some of the class files end up with newer timestamps than the files they
# were generated from, make sure this doesn't happen
find "${ED}"/usr/share/jython-${SLOT}/Lib/ -name '*.class' | xargs touch
}
pkg_postinst() {
if ! has_version dev-java/jython ; then
elog
elog "readline can be configured in the registry:"
elog
elog "python.console=org.python.util.ReadlineConsole"
elog "python.console.readlinelib=GnuReadline"
elog
elog "Global registry: '${EROOT}usr/share/${PN}-${SLOT}/registry'"
elog "User registry: '~/.jython'"
elog "See http://www.jython.org/docs/registry.html for more information."
elog
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.17.ebuild,v 1.1 2013/03/06 08:27:40 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.17.ebuild,v 1.2 2013/03/07 18:45:53 ago Exp $
EAPI="5"
@ -56,7 +56,7 @@ SRC_URI+=" jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.7"
KEYWORDS="~amd64 -arm ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~amd64 -arm x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa derby doc examples +fontconfig jce nsplugin pax_kernel source"
RESTRICT="fetch strip"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.17.ebuild,v 1.1 2013/03/06 08:36:40 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.17.ebuild,v 1.2 2013/03/07 18:45:59 ago Exp $
EAPI="5"
@ -28,7 +28,7 @@ SRC_URI="
LICENSE="Oracle-BCLA-JavaSE"
SLOT="1.7"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 x86"
IUSE="X alsa fontconfig jce nsplugin pax_kernel"
RESTRICT="fetch strip"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.43.ebuild,v 1.1 2013/03/06 09:12:44 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.43.ebuild,v 1.3 2013/03/07 18:45:38 ago Exp $
EAPI="5"
@ -50,7 +50,7 @@ SRC_URI+=" jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.6"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa derby doc examples jce kernel_SunOS nsplugin pax_kernel source"
RESTRICT="fetch strip"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.43.ebuild,v 1.1 2013/03/06 09:27:03 sera Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.43.ebuild,v 1.3 2013/03/07 18:45:46 ago Exp $
EAPI="5"
@ -25,7 +25,7 @@ SRC_URI="
LICENSE="Oracle-BCLA-JavaSE"
SLOT="1.6"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="X alsa jce nsplugin pax_kernel"
RESTRICT="fetch strip"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.5.ebuild,v 1.11 2013/03/05 09:19:41 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/lua/lua-5.1.5.ebuild,v 1.13 2013/03/08 17:47:18 ago Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://www.lua.org/ftp/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
IUSE="+deprecated emacs readline static"
RDEPEND="readline? ( sys-libs/readline )"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p371.ebuild,v 1.6 2013/03/06 10:29:19 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p371.ebuild,v 1.7 2013/03/08 17:22:12 ago Exp $
EAPI=2
@ -30,7 +30,7 @@ SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby GPL-2 )"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
RDEPEND="

@ -1 +1,2 @@
DIST MicroJSON-0.2.0.tar.bz2 4681 SHA256 9cb90f1b529475a39894584a79abfe7c1274261f2d1d789cf87425f98ca43766 SHA512 926a41b2f2abe36116864f3d063c4f047f8e18d772b56bf47ecb6b2e5907f72cf85e7b49f253e62813d2df74b2d575bd4a7b267dca367623678f17f95fb23560 WHIRLPOOL c9cedf289c306eb4017f04c2f3c6bb2bd6e74fc3634c77d6d8a3cca232e88e2459e3779f2cbc75e4a63447545d1729c969bde7e736e146779b736ee825f06666
DIST MicroJSON-0.2.1.tar.bz2 5309 SHA256 bc20ec1336fdc0bcd0ee14bfb2224bf067eed25bd817b2c08ee6369081f47df2 SHA512 90b571aa87bd5625f9b94db77e453168b0f1ff38eaef04403d979cf8ca65c875f47a6b8632ff6441226ddef26fd47459c3ca036bc2eb9e3b79aba21880f28c88 WHIRLPOOL 15768c232d11ee2a6f4eca71a6de046e2f989a8241b965a96e0d2761370ee82c0189e4edc1d58aee8fb70cb151e3dca6f3391d6688d15d43ecb422661b4e3f78

@ -0,0 +1,19 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/MicroJSON/MicroJSON-0.2.1.ebuild,v 1.1 2013/03/07 13:07:34 tomwij Exp $
EAPI="5"
inherit cmake-utils
DESCRIPTION="Small and simple to use JSON generation and parsing library."
HOMEPAGE="http://grigory.info/${PN}.About.html"
SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND=">=dev-libs/UTF8Strings-1.12.0"
DEPEND="${RDEPEND}"

@ -0,0 +1,128 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r4.ebuild,v 1.4 2013/03/08 17:29:04 jer Exp $
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="multilib static-libs test"
EMULTILIB_PKG="true"
S=${WORKDIR}
aio_get_install_abis() {
use multilib && get_install_abis || echo ${ABI:-default}
}
src_unpack() {
local OABI=${ABI}
for ABI in $(aio_get_install_abis)
do
mkdir -p "${WORKDIR}"/${ABI} || die
cd "${WORKDIR}"/${ABI} || die
unpack ${A}
done
ABI=${OABI}
}
src_prepare() {
local OABI=${ABI}
for ABI in $(aio_get_install_abis)
do
einfo "Preparing ${ABI} ABI ..."
cd "${WORKDIR}"/${ABI}/${P} || die
# remove stuff provided by man-pages now
rm man/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.* || die
epatch "${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch \
"${FILESDIR}"/${PN}-0.3.109-generic-arch.patch \
"${FILESDIR}"/${PN}-0.3.106-build.patch \
"${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch \
"${FILESDIR}"/${PN}-0.3.109-install.patch \
"${FILESDIR}"/${PN}-0.3.109-x32.patch \
"${FILESDIR}"/${PN}-0.3.109-testcase-8.patch
declare -a extra_sed
if ! use static-libs; then
extra_sed[${#extra_sed[@]}]='-e'
extra_sed[${#extra_sed[@]}]='/\tinstall .*\/libaio.a/d'
# Tests require the static library to be built.
if ! use test; then
extra_sed[${#extra_sed[@]}]='-e'
extra_sed[${#extra_sed[@]}]='/^all_targets +=/s/ libaio.a//'
fi
fi
sed -i \
-e "/^libdir=/s:lib$:$(get_libdir):" \
-e "/^prefix=/s:/usr:${EPREFIX}/usr:" \
-e '/:=.*strip.*shell.*git/s:=.*:=:' \
"${extra_sed[@]}" \
src/Makefile Makefile || die
sed -i -e "s:-Werror::g" harness/Makefile || die
done
ABI=${OABI}
}
emake_libaio() {
# The Makefiles need these environments, but multilib_toolchain_setup()
# does not export anything when there is only one default abi available.
CC="$(tc-getCC) $(get_abi_CFLAGS)" \
AR=$(tc-getAR) \
RANLIB=$(tc-getRANLIB) \
emake "$@"
}
src_compile() {
local OABI=${ABI}
for ABI in $(aio_get_install_abis)
do
einfo "Compiling ${ABI} ABI ..."
cd "${WORKDIR}"/${ABI}/${P} || die
emake_libaio
done
ABI=${OABI}
}
src_test() {
local OABI=${ABI}
for ABI in $(aio_get_install_abis)
do
einfo "Testing ${ABI} ABI ..."
cd "${WORKDIR}"/${ABI}/${P}/harness || die
mkdir testdir || die
# 'make check' breaks with sandbox, 'make partcheck' works
emake_libaio partcheck prefix="${S}/src" libdir="${S}/src"
done
ABI=${OABI}
}
src_install() {
local OABI=${ABI}
for ABI in $(aio_get_install_abis)
do
einfo "Installing ${ABI} ABI ..."
cd "${WORKDIR}"/${ABI}/${P} || die
# Don't use ED for emake, src_prepare already inserts EPREFIX in the correct
# place
emake_libaio install DESTDIR="${D}"
doman man/*
dodoc ChangeLog TODO
# move crap to / for multipath-tools #325355
CFLAGS="${CFLAGS} $(get_abi_CFLAGS)" gen_usr_ldscript -a aio
done
ABI=${OABI}
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/libedit-20120311.3.0-r1.ebuild,v 1.9 2013/03/06 16:54:36 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/libedit-20120311.3.0-r1.ebuild,v 1.10 2013/03/08 17:44:45 ago Exp $
EAPI=2
@ -15,7 +15,7 @@ SRC_URI="http://www.thrysoee.dk/editline/${MY_P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="static-libs"
DEPEND=">=sys-libs/ncurses-5.7-r5[static-libs?]

@ -1,2 +1,3 @@
DIST libev-4.04.tar.gz 471713 SHA256 ab3a09e967e3b868055cd9363fd236aa093f8643d19cc7042e90e0dfe905b012 SHA512 03c64761c31351fd0e46c1af1dbb831427372f9e80dfea77901a24644fee29f69c6a1393398ecfd6a15d309327484f4b822307b0de344109d840f5754b4a276b WHIRLPOOL 9175880aac1373c93cacd1e9a5e819d448bbe2bd555b9ac11c1777cbf6e3dc7bd034d1b05548175865c6d815b5f413268368abb5ec8596704b2e769f49475b0c
DIST libev-4.11.tar.gz 484766 SHA256 9f55f16ff6e4d60a1b1fa7f4962af69768468f0d7c362aab6387f52020938cdf SHA512 802d9f28781140ccb2634e80b7ca73f694203d95da0b4d3ee38edff4c89db94d3073a61a7b95af0ede5865ade6b48f4960c9f33ba73e088779eedd1e396a8817 WHIRLPOOL 353ca3c545e6789a1a646b1a01c6639b641be75a0798b43a68c50e184005bfebf0814800f01056e575dac3def16354ccaee81ee88d00cb67e248225b27b92eb0
DIST libev-4.15.tar.gz 513919 SHA256 b2dd43a073556f5350cbed05b6ef444dcc4b563f4e0b1009d7bf448261606feb SHA512 bb3ab98d92e565bf2273d71c9004b84ad3b305c4e883482392fe6c701949344731bb4e391ac77578f71d9a80f0ec4b6afc2ae5449d4093cdcbee26d7dc17929d WHIRLPOOL 9f3c44e4978c5d387bd6478bc3ce41894f875eef00eb2328dc47ab90683e3003662d6ac5c5406c8592ad3dc690d7768dcfb83d6916b6851d4988a53c20d72b51

@ -0,0 +1,51 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libev/libev-4.15.ebuild,v 1.1 2013/03/07 13:27:06 tomka Exp $
EAPI=5
inherit autotools eutils multilib
DESCRIPTION="A high-performance event loop/event model with lots of feature"
HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
http://dist.schmorp.de/libev/Attic/${P}.tar.gz"
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="elibc_glibc static-libs"
# Bug #283558
DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.9_p20081201 )"
RDEPEND="${DEPEND}"
DOCS=( Changes README )
src_prepare() {
sed -i -e "/^include_HEADERS/s/ event.h//" Makefile.am || die
# bug #411847
epatch "${FILESDIR}/${PN}-pc.patch"
eautoreconf
}
src_configure() {
econf \
--disable-maintainer-mode \
$(use_enable static-libs static)
}
src_install() {
default
use static-libs || prune_libtool_files
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libev.so.3.0.0
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libev.so.3.0.0
}

@ -1,5 +1,3 @@
DIST libevent-2.0.19-stable.tar.gz 842961 SHA256 1591fb411a67876a514a33df54b85417b31e01800284bcc6894fc410c3eaea21 SHA512 c3b4c95b7d120d656f422b041b6b03de250c8f38f1251c34378c424f7babf572584d7761a09eca7028d88522cb664d9cd24563396eab0bde790b08194e2be705 WHIRLPOOL e61a10f831082b082d8c3533481be755a53214609fd5ee138931e11f2640c903de1d203035fe8ca3b0cd909ca701170d1b88cb5186f3239162b5b04c58c9d336
DIST libevent-2.0.20-stable.tar.gz 845446 SHA256 10698a0e6abb3ca00b1c9e8cfddc66933bcc4c9c78b5600a7064c4c3ef9c6a24 SHA512 e5527b8cbb6e88e6049dc28bd7c74f133f7decc849f54b3a099033448369d24a756d81b9829a12078711a5f378bd93ac61f975990a41006e36b6cb4d222a9775 WHIRLPOOL d3e4399413ca48f22460a7ca9b9289b0947b57bec0295ca0d9a1cfe99d78d50308f0e8695f654b47c882343da9573ed9fa136472df385b1e25cd0e0114b3416d
DIST libevent-2.0.21-stable.tar.gz 850772 SHA256 22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5 SHA512 fbcdd12af9313ecc0f2988eb46ef03906b1c3aff96871a165eb8eae2cb650b1a3bb420dccf3a6bc3cdc192436d8dfc2ce67a7cc7d9e586f27be1fa52dd62dfa1 WHIRLPOOL e1d2571235770251b8a2d3f1565238909df307d7de2bb86eefeca136c76eba5f645cea951ec58fdc4f2e6bcd70b74d128ddf7df5aec4ee164fb2c6c52136989e
DIST libevent-2.1.1-alpha.tar.gz 901846 SHA256 26ce17d91938fda67a98811d5c1360a6063b26fd3474e2b7b585c4db0e5d3eae SHA512 ef7b91888ad91fafa801016aad309d07ae296dc455386072071939d60aa73ae3b2837f60bf52fed4ece69ff6aafc3fa4c818a5b111f2a639096af03f4010209b WHIRLPOOL 6e9a208c38f958d1fbde97068fceedc86ef12c99a2ca7eb76988590624b8f4500068ea59098c15801dc99402702140e6fffe29b95af311afa96b739bafafdd62
DIST libevent-2.1.2-alpha.tar.gz 910871 SHA256 039023e2ed00cbf222e33092d3be9ca34f3817b8513c751ae29d0265af9e4945 SHA512 1879d2a208c6e4e5d2fdf9b199e0929cc57b528856f1215163b6b410da5af5982a361efd262c9f3ff29ddf5239249609855e4837994371e66806ac6b51920e84 WHIRLPOOL b909cb61c5a25c93bb8f0a35594730bea357d34f3db892e319ec8a1c8906b8bdaf0477c8b151b50fcf82c3c8a7dbb6bf9ed45a11f39b0d0d4d38e9ed0c57fe86

@ -1,53 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.19.ebuild,v 1.9 2012/08/19 19:01:02 armin76 Exp $
EAPI="2"
inherit eutils libtool
MY_P="${P}-stable"
DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
HOMEPAGE="http://monkey.org/~provos/libevent/"
SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+ssl static-libs test"
DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="
${DEPEND}
!<=dev-libs/9libs-1.0
"
S=${WORKDIR}/${MY_P}
src_prepare() {
elibtoolize
# don't waste time building tests/samples
sed -i \
-e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
Makefile.in || die "sed Makefile.in failed"
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable ssl openssl)
}
src_test() {
emake -C test check | tee "${T}"/tests
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README ChangeLog
if ! use static-libs; then
rm -f "${D}"/usr/lib*/libevent*.la
fi
}

@ -1,56 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.20.ebuild,v 1.7 2012/11/16 22:15:02 ago Exp $
EAPI="2"
inherit eutils libtool
MY_P="${P}-stable"
DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor"
HOMEPAGE="http://monkey.org/~provos/libevent/"
SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+ssl static-libs test"
DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="
${DEPEND}
!<=dev-libs/9libs-1.0
"
S=${WORKDIR}/${MY_P}
src_prepare() {
elibtoolize
# don't waste time building tests/samples
sed -i \
-e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
Makefile.in || die "sed Makefile.in failed"
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable ssl openssl)
}
src_test() {
# The test suite doesn't quite work (see bug #406801 for the latest
# installment in a riveting series of reports).
:
# emake -C test check | tee "${T}"/tests
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README ChangeLog
if ! use static-libs; then
rm -f "${D}"/usr/lib*/libevent*.la
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/log4sh-1.4.2.ebuild,v 1.2 2013/02/27 04:48:47 pinkbyte Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4sh/log4sh-1.4.2.ebuild,v 1.4 2013/03/07 18:04:21 ago Exp $
EAPI=5
@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="examples"
RDEPEND="app-shells/bash"

@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.1.ebuild,v 1.1 2011/01/21 19:02:31 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.1.ebuild,v 1.2 2013/03/07 12:05:14 pinkbyte Exp $
inherit eutils autotools
DESCRIPTION="Internet2 version for OpenSAML of log4cpp logging framework"
HOMEPAGE="http://spaces.internet2.edu/display/OpenSAML/log4shib"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/log4shib"
SRC_URI="http://shibboleth.internet2.edu/downloads/${PN}/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

@ -1,11 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.4.ebuild,v 1.1 2011/09/13 14:45:11 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4shib/log4shib-1.0.4.ebuild,v 1.2 2013/03/07 12:05:14 pinkbyte Exp $
EAPI="4"
DESCRIPTION="Internet2 version for OpenSAML of log4cpp logging framework"
HOMEPAGE="http://spaces.internet2.edu/display/OpenSAML/log4shib"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/log4shib"
SRC_URI="http://shibboleth.internet2.edu/downloads/${PN}/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild,v 1.3 2012/12/30 16:57:46 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r2.ebuild,v 1.7 2013/03/08 17:43:52 ago Exp $
EAPI="4"
@ -21,7 +21,7 @@ SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
IUSE="+cxx perl php static-libs"
DEPEND="perl? ( dev-lang/perl )"

@ -1,2 +1,3 @@
DIST quazip-0.4.4.tar.gz 301733 SHA256 63e8ffba784a4673bc3c340fa4df79e2980f6849ba9eea0a7cd52c3071deb0b6 SHA512 c22a8898157030947a245a35d5e9463cb10941ccecfc5e5d2b4b0b75d43516df3740b0971642579db969658b2b305de13249f322f4cc4ed23ddeb4a105acddb6 WHIRLPOOL 0b647d8b4723c04f20d3b2fc9de81bf4b487c1ebc81a7cda53248330e487a855166fae3b254a41f97fe11362cef3d156d55e555e8cc159925881d4a792e17f6b
DIST quazip-0.5.1.tar.gz 354658 SHA256 078176a72288983f78b45c15f7d245131d9d5fc36a22f2757d75a78658c33268 SHA512 b4b5fe48f4d30fe0f9d2606c691337526ced169806e4267368dedaee543e12826dc2799c451851c0465f86fbf27d663f94e3b15b27744eac6104f9f4667de640 WHIRLPOOL ffb3cdc76e959fc8bee7cec3952b90f3e97fd7aad5602b6a2f3bb5d5e1c944e228dac43cca430282f61210e65d6f1afd993dbe29ee9539f33562b3ca23edf31c
DIST quazip-0.5.tar.gz 377005 SHA256 fdafaef0d93a1301dce5fd6e2e437e0b5cf04c6b89469a32116c75c5d5429ab7 SHA512 1db00e6953b96097ab5e346e9e460849d1abe37ad082b3e1357e6d2fe3c389b47b4c3346d5d72b7ce8f1888887eb36d4459fe2f1bbf6c4677b2c327021031577 WHIRLPOOL 00aa2537f29c3a858dd13530158735404106bf0e343046a8e63e2e4562f8026b2b9f2edbe31d06d5f4f9d40dc38a2cc00557c9a51cf146b99b557bcdb9054528

@ -0,0 +1,31 @@
diff -up quazip-0.5.1/qztest/testquagzipfile.cpp.zl quazip-0.5.1/qztest/testquagzipfile.cpp
--- quazip-0.5.1/qztest/testquagzipfile.cpp.zl 2012-09-05 17:24:35.000000000 +0200
+++ quazip-0.5.1/qztest/testquagzipfile.cpp 2013-03-03 14:27:05.168659773 +0100
@@ -8,9 +8,9 @@ void TestQuaGzipFile::read()
{
QDir curDir;
curDir.mkpath("tmp");
- voidp gzFile = gzopen("tmp/test.gz", "wb");
- gzwrite(gzFile, "test", 4);
- gzclose(gzFile);
+ gzFile File = gzopen("tmp/test.gz", "wb");
+ gzwrite(File, "test", 4);
+ gzclose(File);
QuaGzipFile testFile("tmp/test.gz");
QVERIFY(testFile.open(QIODevice::ReadOnly));
char buf[5];
@@ -32,11 +32,11 @@ void TestQuaGzipFile::write()
QCOMPARE(testFile.write("test", 4), static_cast<qint64>(4));
testFile.close();
QVERIFY(!testFile.isOpen());
- voidp gzFile = gzopen("tmp/test.gz", "rb");
+ gzFile File = gzopen("tmp/test.gz", "rb");
char buf[5];
buf[4] = '\0';
- QCOMPARE(gzread(gzFile, buf, 5), 4);
- gzclose(gzFile);
+ QCOMPARE(gzread(File, buf, 5), 4);
+ gzclose(File);
QCOMPARE(static_cast<const char*>(buf), "test");
curDir.remove("tmp/test.gz");
curDir.rmdir("tmp");

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci</herd>
<maintainer>
<email>sci@gentoo.org</email>
</maintainer>
<herd>sci</herd>
<maintainer>
<email>sci@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -0,0 +1,29 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/quazip/quazip-0.5.1.ebuild,v 1.1 2013/03/08 19:18:27 jlec Exp $
EAPI=5
inherit qt4-r2
DESCRIPTION="A simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
HOMEPAGE="http://quazip.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="
sys-libs/zlib[minizip]
dev-qt/qtcore:4"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${P}
DOCS="NEWS.txt README.txt"
PATCHES=(
"${FILESDIR}"/${PN}-0.4.4-zlib.patch
"${FILESDIR}"/${P}-zlib.patch )

@ -1,2 +1,2 @@
DIST re2-20121029.tgz 1018117 SHA256 197f3169e23f18367a8b9148c5d622faf19b72d844b2df2c9ec4475e68492882 SHA512 2d6b2e1c30d09690fa3c8ee36f5e1c6b2b057dc33f365fbe4e213e51f23d7861b15259fb9e476716320119134022618c9c418ce4716765febfe0bfc0ddc82822 WHIRLPOOL 97c46c95ccd58a88a7dbbb8e7677685bac76fbf63f7cb9e0d4fb3df806be032d4780099b716bad7a0f66825e65d973bbc737f4eb308d75c3122c7b2c3c590a8c
DIST re2-20121127.tgz 1018992 SHA256 1f3940357d38ab949901a5c3177a2b40f82c314ed39f20892f1b56376c5edef0 SHA512 47822af8a6c85831e3df3ca3e32f8c47e0c8d9e9746c2ee42d98993e448c09fb9bb273ffe885b83b456f3477e3b290d1ba8e7ef4c7392e38c9829d577b9c0b59 WHIRLPOOL 27c5e07295b2a2074b55c601c69b56e7d92f5209dc2a74158d2756a42f7cdb4fbdf83d834850ea62ffeb6d0d0c087e02a519109f04ffe752a3bd392ef974a918
DIST re2-20130115.tgz 1020951 SHA256 a95d83ed8203817587f7cc368b6f7199d8a4b1558372c306b07201058b92e1fe SHA512 ef1378d89397bf594ece7817ef91171e467a3408046f769eca08beba900a0e70f652e7c4e3b667b3a9d5cef044b08ed74ef7d564ffb965ab75bb9a3964c9ab5a WHIRLPOOL 2cbf47b1816e35e5c7f359a310b4421ad635d1513167ffabf98db84397be800f8b98d4808705754f0e2db14bbeb0d62e47ac3abb385e299c503126a9f874daf5

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/re2-0_p20121029-r1.ebuild,v 1.1 2012/11/07 04:06:03 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/re2/re2-0_p20130115.ebuild,v 1.1 2013/03/07 23:19:26 phajdan.jr Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://re2.googlecode.com/files/${PN}-${PV##*_p}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
# TODO: the directory in the tarball should really be versioned.
@ -35,7 +35,7 @@ src_compile() {
}
src_test() {
emake "${makeopts[@]}" shared-test shared-bigtest
emake "${makeopts[@]}" shared-test
}
src_install() {

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild,v 1.12 2013/03/01 12:42:42 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05.ebuild,v 1.13 2013/03/08 17:48:58 jer Exp $
EAPI="4"
@ -39,7 +39,7 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/advanced"
pkg_setup() {
use curl || ewarn "Curl support disabled: No client library will be be built"
use curl || ewarn "Curl support disabled: No client library will be built"
}
#Bug 214137: We need to filter this.

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.1.ebuild,v 1.2 2012/09/09 17:36:50 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.1.ebuild,v 1.4 2013/03/07 18:17:45 ago Exp $
EAPI="4"
PHP_EXT_NAME="xdebug"
@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
inherit php-ext-source-r2
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
DESCRIPTION="A PHP debugging and profiling extension"
HOMEPAGE="http://www.xdebug.org/"

@ -0,0 +1,23 @@
See https://github.com/h5py/h5py/issues/263
diff -ur h5py-2.1.2.orig/h5py/_hl/tests/test_base.py h5py-2.1.2/h5py/_hl/tests/test_base.py
--- h5py/_hl/tests/test_base.py 2013-02-07 23:40:26.000000000 +0800
+++ h5py/_hl/tests/test_base.py 2013-03-07 16:35:25.774142098 +0800
@@ -62,6 +62,7 @@
typ = self.f['type']
self._check_type(typ)
+ @unittest.skipUnless(sys.getfilesystemencoding() == 'UTF-8', "only passes for locale utf-8")
def test_file(self):
""" File object repr() with unicode """
fname = tempfile.mktemp(self.USTRING+u'.hdf5')
diff -ur h5py-2.1.2.orig/h5py/_hl/tests/test_file.py h5py-2.1.2/h5py/_hl/tests/test_file.py
--- h5py/_hl/tests/test_file.py 2013-02-07 23:40:26.000000000 +0800
+++ h5py/_hl/tests/test_file.py 2013-03-07 16:34:59.006143430 +0800
@@ -323,6 +323,7 @@
self.assertTrue(fid)
self.assertTrue(not fid)
+@unittest.skipUnless(sys.getfilesystemencoding() == 'UTF-8', "only passes for locale utf-8")
class TestUnicode(TestCase):
"""

@ -0,0 +1,43 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.1.2-r1.ebuild,v 1.1 2013/03/07 09:43:56 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1 flag-o-matic eutils
DESCRIPTION="A simple Python interface to HDF5 files"
HOMEPAGE="http://h5py.alfven.org/ http://code.google.com/p/h5py/ http://pypi.python.org/pypi/h5py"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test examples"
RDEPEND="
sci-libs/hdf5:=
dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
python_prepare_all() {
append-cflags -fno-strict-aliasing
epatch "${FILESDIR}"/${PN}-2.1-ucode.patch
}
python_test() {
cd "${BUILD_DIR}"/lib/ && nosetests ./${PN}/lowtest || die
}
python_install_all() {
dodoc README.txt
if use examples; then
docompress -x /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -1,4 +1,3 @@
DIST http-parser-0.7.12.tar.gz 139542 SHA256 fc590df48e5a11dda20b9dd682ce3f4cbd7ae7a6f2eada0564fc0562e3f83b53 SHA512 883cc3201dcda0e516855ba7a1d1c8c27c4404fa1d6c62318c065fb6034d301db140df9131936ca512386e24c9519133077571a6033e905638dcd4c5774e4d10 WHIRLPOOL 7187ef0abfd38438d2c6724a37879e4cc907ed61d71e6ad29853b6e29a38898b0f3ca44585919149e1e257e4f6fdcee66ae8d3cca9f1240e4ae7259a8d7385af
DIST http-parser-0.7.5.tar.gz 131576 SHA256 282b5e4d61bb3b97416afb5f92328a51da7c39a9ff35e3757f287c66ec0a95da SHA512 5f7c6997296353fed65063ec7d99ae0163cd948f66e9b1dc1aa6416a5f11f9f69b5a9a7c70ba6569d535a1fcb7dde8ea88f51a6fe8e11d7270519fabc352f8d4 WHIRLPOOL 613d64b0bd9a9452e0aacc1e10493c59d53b97ae1be6de6471941fba02a335a93132b9897d4f82f775ec1582668d30d9abbab38ecfa42652299acf20f1af4ea3
DIST http-parser-0.7.8.tar.gz 70007 SHA256 18e19052fcdbf243cc7258f9cfa77cc7f69b4950ccbcc2579bcd195c15e61502 SHA512 40b6f12cceca27494688365dd606d2c668b23876644bbe7f30a69e7a1d3b6d19003ac3eb80e403649ffcdd8f2023fb058b278b5a37cc2a3be4daab4649e91a4c WHIRLPOOL 875f36edc6d520d2d579890a87981905b405b996f256487fe56ad6ee863440d362be21f319dea8e9e9a8f378842c220ca7cdb56dc0e06b62619afe6872a4e1a8
DIST http-parser-0.8.1.tar.gz 150213 SHA256 b0584869b735f7a39a3d3a1699d1307f43143a032a8f21b48d2c2e815da0afde SHA512 77df8b6773eb6753b92e313ff624e97dbe15f76fd7eb5c05f56cef3a8207abd816f6648297a3e7baa53c478ae7ce122abce441fc22dd675853b7d5ddc3b29163 WHIRLPOOL 2a8ca54c608cfb9161f8e9162aef432ec018ae846986538281ad4ed1df1bb5b282e208c362f8c0cbf9dc6cd31f8d609f6f73df5250bedc4b4d23f2c37cf42fcc

@ -1,13 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.7.5.ebuild,v 1.1 2012/06/07 18:09:36 xarthisius Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/http-parser/http-parser-0.8.1-r1.ebuild,v 1.1 2013/03/07 15:38:09 idella4 Exp $
EAPI=4
EAPI=5
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="*-jython"
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
inherit distutils
inherit distutils-r1 flag-o-matic
DESCRIPTION="HTTP request/response parser for python in C"
HOMEPAGE="http://github.com/benoitc/http-parser"
@ -20,13 +19,21 @@ IUSE="examples"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython"
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
python_compile() {
if [[ ${EPYTHON} != python3* ]]; then
local CFLAGS=${CFLAGS}
append-cflags -fno-strict-aliasing
fi
distutils-r1_python_compile
}
python_install_all() {
dodoc README.rst
src_install() {
distutils_src_install
if use examples; then
docompress -x usr/share/doc/${P}/examples
insinto usr/share/doc/${P}

@ -1,2 +1,2 @@
DIST pyrax-1.3.0.tar.gz 147798 SHA256 9ecbc4a3a6303cc590e2ffb97582b6f4dbd75f00a16e1e15cfd4c727d2772119 SHA512 eb499c76d1537559128b6a6515e8b49d5330dc4d9125b992d876cd1960cde9fa24c247809926b39e67e4362c2dbda72e38eb67abd8f8d456fc1be730e305577b WHIRLPOOL c741d4e59aff9833a8ac23ee8bc6623bca1d0f4dd006f9fd6e8881b4fe6284bc726b3f6674fd201122cd66ff3ce79caa2d2c0c526b83ded948620d289801a6d1
DIST pyrax-1.3.1.tar.gz 147880 SHA256 9718d1086738aaa69fae94d6cfcedf488bd83f632f5a0c1fd86209e2ec570ad6 SHA512 5dbece21640e6145b5232b7415096614c8fcf65fc864588115b46d3c531df0dc495c3d0dcc22894ecdc0971b82b92a244795da6a78a70a16d0103eefcc4b3012 WHIRLPOOL e7715e300abe026a2d32ffab2184ad7342f8c6ad50e38f5fbe09bec662842e8b44e971ee9267c6c9d34f6fc047c89d7e1740f4d4cd5b60a83bab83928a0651f2
DIST pyrax-1.3.2.tar.gz 148670 SHA256 993be7af2fd911a220317f386d512bcd114d0df81e645d5ee04dab423ed6e4e6 SHA512 a31fb4b42c15a8321868ef6808558746538475a8de2812a2805fe4c172d98bd138d102af8194d49b488d9f82d28882b0a00eb1530adc934bc2abf6bb80655d94 WHIRLPOOL 25b06e7bd9435a70e5beb081d32c19404abddd395d425484fd7314d4d8868562cffd3b9337b6512494f68ca41317a4718ac1bd32e31f093de3bb60b99169539e

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrax/pyrax-1.3.0.ebuild,v 1.1 2013/03/04 20:37:29 prometheanfire Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrax/pyrax-1.3.2.ebuild,v 1.1 2013/03/08 05:56:44 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 )

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild,v 1.3 2013/03/02 20:57:50 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.2-r1.ebuild,v 1.5 2013/03/07 18:17:30 ago Exp $
EAPI=5
@ -16,7 +16,7 @@ SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="X declarative help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
REQUIRED_USE="

@ -1,133 +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/pyside/pyside-1.1.2.ebuild,v 1.7 2013/03/02 20:57:50 hwoarang Exp $
EAPI=4
PYTHON_DEPEND="2:2.6 3:3.2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 3.3 *-jython 2.7-pypy-*"
VIRTUALX_COMMAND="cmake-utils_src_test"
inherit multilib cmake-utils python virtualx
MY_P="${PN}-qt4.8+${PV}"
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="X declarative help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
REQUIRED_USE="
declarative? ( X )
help? ( X )
multimedia? ( X )
opengl? ( X )
phonon? ( X )
scripttools? ( X script )
sql? ( X )
svg? ( X )
test? ( X )
webkit? ( X )
"
# Minimal supported version of Qt.
QT_PV="4.7.0:4"
RDEPEND="
>=dev-python/shiboken-${PV}
>=dev-qt/qtcore-${QT_PV}
X? (
>=dev-qt/qtgui-${QT_PV}[accessibility]
>=dev-qt/qttest-${QT_PV}
)
declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
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}[accessibility] )
webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
"
DEPEND="${RDEPEND}
>=dev-qt/qtgui-${QT_PV}
"
S=${WORKDIR}/${MY_P}
DOCS=( ChangeLog )
src_prepare() {
# Fix generated pkgconfig file to require the shiboken
# library suffixed with the correct python version.
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
libpyside/pyside.pc.in || die
if use prefix; then
cp "${FILESDIR}"/rpath.cmake .
sed \
-i '1iinclude(rpath.cmake)' \
CMakeLists.txt || die
fi
}
src_configure() {
configuration() {
local mycmakeargs=(
-DPYTHON_SUFFIX="-python${PYTHON_ABI}"
$(cmake-utils_use_build test TESTS)
$(cmake-utils_use_disable X QtGui)
$(cmake-utils_use_disable X QtDesigner)
$(cmake-utils_use_disable X QtTest)
$(cmake-utils_use_disable X QtUiTools)
$(cmake-utils_use_disable declarative QtDeclarative)
$(cmake-utils_use_disable help QtHelp)
$(cmake-utils_use_disable multimedia QtMultimedia)
$(cmake-utils_use_disable opengl QtOpenGL)
$(cmake-utils_use_disable phonon)
$(cmake-utils_use_disable script QtScript)
$(cmake-utils_use_disable scripttools QtScriptTools)
$(cmake-utils_use_disable sql QtSql)
$(cmake-utils_use_disable svg QtSvg)
$(cmake-utils_use_disable webkit QtWebKit)
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
)
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure
}
python_execute_function configuration
}
src_compile() {
compilation() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make
}
python_execute_function compilation
}
src_test() {
testing() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" virtualmake
}
python_enable_pyc
python_execute_function testing
python_disable_pyc
}
src_install() {
installation() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die
}
python_execute_function installation
}

@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-2.1-r1.ebuild,v 1.2 2013/02/05 00:20:42 heroxbd Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-2.1-r1.ebuild,v 1.3 2013/03/07 16:06:08 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
inherit distutils-r1

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.1.2-r1.ebuild,v 1.2 2013/03/02 20:12:41 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.1.2-r1.ebuild,v 1.4 2013/03/07 18:17:23 ago Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="

@ -1,95 +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/shiboken/shiboken-1.1.2.ebuild,v 1.7 2013/03/02 20:12:41 hwoarang Exp $
EAPI=4
PYTHON_DEPEND="2:2.6 3:3.2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 3.3 *-jython 2.7-pypy-*"
inherit multilib cmake-utils python
DESCRIPTION="A tool for creating Python bindings for C++ libraries"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-libs/libxml2-2.6.32
>=dev-libs/libxslt-1.1.19
>=dev-qt/qtcore-4.7.0:4
>=dev-qt/qtxmlpatterns-4.7.0:4
!dev-python/apiextractor
!dev-python/generatorrunner
"
DEPEND="${RDEPEND}
test? (
dev-python/numpy
>=dev-qt/qtgui-4.7.0:4
>=dev-qt/qttest-4.7.0:4
)"
DOCS=( AUTHORS ChangeLog )
src_prepare() {
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake,
# caused by the usage of a different version suffix with python >= 3.2
sed -i -e "/get_config_var('SOABI')/d" \
cmake/Modules/FindPython3InterpWithDebug.cmake || die
if use prefix; then
cp "${FILESDIR}"/rpath.cmake .
sed \
-i '1iinclude(rpath.cmake)' \
CMakeLists.txt || die
fi
}
src_configure() {
configuration() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="$(PYTHON -a)"
-DPYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)"
-DPYTHON_SUFFIX="-python${PYTHON_ABI}"
$(cmake-utils_use_build test TESTS)
)
if [[ $(python_get_version -l --major) == 3 ]]; then
mycmakeargs+=(
-DUSE_PYTHON3=ON
-DPYTHON3_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)"
-DPYTHON3_LIBRARY="${EPREFIX}$(python_get_library)"
)
fi
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_configure
}
python_execute_function configuration
}
src_compile() {
compilation() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_make
}
python_execute_function compilation
}
src_test() {
testing() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_test
}
python_execute_function testing
}
src_install() {
installation() {
CMAKE_BUILD_DIR="${S}_${PYTHON_ABI}" cmake-utils_src_install
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die
}
python_execute_function installation
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-3.0.7.ebuild,v 1.1 2013/01/13 20:04:12 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-3.0.7.ebuild,v 1.4 2013/03/08 17:20:53 ago Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_3} pypy{1_9,2_0} )
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( MIT AFL-2.1 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="amd64 arm ~ppc ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
python_compile() {

@ -1,4 +1,3 @@
DIST qt-creator-2.5.2-src.tar.gz 22523588 SHA256 04521c642953fcb7a2d4011a60fdf29dca4ac1fffa8c834a21589fa390db2d4a SHA512 db9cf844c78304e6dcd1eb05df109430281eb35294c7993088d1ebab8efe56e3e9ef5d630d520822a54a35e3e1b9bfcf5fd505cac1e23020e185b8d8b85ddaf6 WHIRLPOOL b8338d8bc3c0efa951b2d06921bfd8b4a6e840ee69e404684dc9c0061b6d451b9a228905021b6aa69459a101970e1839cbd094ebc892a0cd9ad02f33729eef00
DIST qt-creator-2.6.1-src.tar.gz 21355916 SHA256 8031e81e5e81e398575dd90245defcd29eeaf60d5907861707d85f4325d3d215 SHA512 78063e12385167b583c20fdec9cd22dc3db4aed790c8c10db504b6a56d3b0f966e505ee999554868f344f245bcad38182f31bb72e4fd62ed8c265ae89ffe326d WHIRLPOOL 80b28ccee659b468dd8eace2371768b2771120244d16edb5686ef5ba9a970d58bc0a13e1e207e0e747ee4484eaec02588af27723d93604628c0c4688f9587ce5
DIST qt-creator-2.6.2-src.tar.gz 21396937 SHA256 86165159841f2a3c41e6b80af3ed6fb6655a5194de7fe51cbf08b1539a352524 SHA512 62a8def36bd6c10c0fd44977428b518b7111229d1ca847e263d61a39bd6b51eb40c0699dbccdc96a8b8980c453d0cf9c57cd8c59054df0f24c5b5af62ea7091d WHIRLPOOL 81ba71194ca2ec13235a91214d3e22fa1440cfa5d9f9296106351f5bcbe704c324623fac0774826d0ca046299790bb9a74135baf5dc62ef55fb402b571ccb267
DIST qt-creator-2.7.0-beta-src.tar.gz 21630612 SHA256 e7db17e14fd181b563b6779c23895e9d5b2ecdade785bc803bd6b8e7386e7768 SHA512 ea1b72a2d5bd1e68a05b693ca0dcae20154e7691d51b0e7299c071e42031db87966cc777cd151cd070ea3b10734a06ed6e0c8dcf311d44dfd08fc6333861a4c5 WHIRLPOOL 9b88e16872e6336f586966d8695238d9549567dd235a89fb802da3a77515c811bd2d8cab14fed2fe1b620a9735b18a7b5093101ecae492554337b0678b1378f3
DIST qt-creator-2.7.0-rc-src.tar.gz 22258938 SHA256 d67a0f9dd08c04f2b00c2a0a43a105ce64fdc1b24e45eb4d57e50b66bdd9fa69 SHA512 3775b6ad1c6f4ee10d75a91700c7c4d92745d6f264a56274f55faa062c6a1a56bb864d8049da4da3067a843986ff9b5957c39a584f259c06a6782d578a94ffa5 WHIRLPOOL eb7904aad64ea849dc0f1f1f9a2a01e193ad7b05ba27c0570f929b8a8568583ce60a05cbeda9276e34167747bdc4d233c31552c18c77e069eb18d8d92d061ac8

@ -1,130 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.6.1.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
EAPI=4
PLOCALES="cs de fr hu ja pl ru sl zh_CN"
inherit eutils flag-o-matic l10n multilib qt4-r2
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
LICENSE="LGPL-2.1"
if [[ ${PV} == *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://gitorious.org/${PN}/${PN}.git
https://git.gitorious.org/${PN}/${PN}.git"
else
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}-src
SRC_URI="http://releases.qt-project.org/qtcreator/${MY_PV}/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
fi
SLOT="0"
KEYWORDS="~amd64 ~x86"
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
clearcase cmake:cmakeprojectmanager cvs fakevim git
madde mercurial perforce qnx subversion valgrind)
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}"
# minimum Qt version required
QT_PV="4.8.0:4"
CDEPEND="
>=dev-qt/qthelp-${QT_PV}[doc?]
>=dev-qt/qtcore-${QT_PV}[ssl]
>=dev-qt/qtdeclarative-${QT_PV}
>=dev-qt/qtgui-${QT_PV}
>=dev-qt/qtscript-${QT_PV}
>=dev-qt/qtsql-${QT_PV}
>=dev-qt/qtsvg-${QT_PV}
debug? ( >=dev-qt/qttest-${QT_PV} )
!botan-bundled? ( >=dev-libs/botan-1.10.2 )
"
DEPEND="${CDEPEND}
!botan-bundled? ( virtual/pkgconfig )
"
RDEPEND="${CDEPEND}
>=sys-devel/gdb-7.2[python]
examples? ( >=dev-qt/qtdemo-${QT_PV} )
"
PDEPEND="
autotools? ( sys-devel/autoconf )
bazaar? ( dev-vcs/bzr )
cmake? ( dev-util/cmake )
cvs? ( dev-vcs/cvs )
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )
subversion? ( dev-vcs/subversion )
valgrind? ( dev-util/valgrind )
"
src_prepare() {
qt4-r2_src_prepare
# disable unwanted plugins
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
if ! use ${plugin%:*}; then
einfo "Disabling ${plugin%:*} plugin"
sed -i -re "/(^|SUBDIRS\s+\+=)\s+plugin_${plugin#*:}\>/d" src/plugins/plugins.pro \
|| die "failed to disable ${plugin} plugin"
fi
done
# fix translations
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
share/qtcreator/translations/translations.pro || die
if ! use botan-bundled; then
# identify system botan and pkg-config file
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
local lib_botan=$(pkg-config --libs botan-${botan_version})
einfo "Major version of system's botan library to be used: ${botan_version}"
# drop bundled libBotan. Bug #383033
rm -rf "${S}"/src/libs/3rdparty/botan || die
# remove references to bundled botan
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
for x in testrunner parsertests modeldemo; do
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
done
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
# link to system botan
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
# append botan refs to compiler flags
append-flags $(pkg-config --cflags --libs botan-${botan_version})
fi
}
src_configure() {
eqmake4 qtcreator.pro \
IDE_LIBRARY_BASENAME="$(get_libdir)" \
IDE_PACKAGE_MODE=yes
}
src_compile() {
emake
use doc && emake docs
}
src_install() {
emake INSTALL_ROOT="${ED}usr" install
dodoc dist/{changes-2.*,known-issues}
# Install documentation
if use doc; then
insinto /usr/share/doc/${PF}
doins share/doc/qtcreator/qtcreator{,-dev}.qch
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
fi
# Install desktop file
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
}

@ -1,14 +1,14 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_beta.ebuild,v 1.1 2013/03/02 15:24:29 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-2.7.0_rc.ebuild,v 1.1 2013/03/08 09:24:01 pesa Exp $
EAPI=4
EAPI=5
PLOCALES="cs de fr hu ja pl ru sl zh_CN"
PLOCALES="cs de es fr hu it ja pl ru sl uk zh_CN zh_TW"
inherit eutils flag-o-matic l10n multilib qt4-r2
inherit eutils l10n multilib qt4-r2
DESCRIPTION="Lightweight IDE for C++ development centering around Qt"
DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
LICENSE="LGPL-2.1"
@ -29,23 +29,23 @@ KEYWORDS="~amd64 ~x86"
QTC_PLUGINS=(android autotools:autotoolsprojectmanager bazaar
clearcase cmake:cmakeprojectmanager cvs fakevim git
madde mercurial perforce qnx subversion valgrind)
IUSE="+botan-bundled debug doc examples test ${QTC_PLUGINS[@]%:*}"
IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}"
# minimum Qt version required
QT_PV="4.8.0:4"
CDEPEND="
>=dev-qt/qthelp-${QT_PV}[doc?]
=dev-libs/botan-1.10*
>=dev-qt/qtcore-${QT_PV}[ssl]
>=dev-qt/qtdeclarative-${QT_PV}
>=dev-qt/qtgui-${QT_PV}
>=dev-qt/qthelp-${QT_PV}[doc?]
>=dev-qt/qtscript-${QT_PV}
>=dev-qt/qtsql-${QT_PV}
>=dev-qt/qtsvg-${QT_PV}
!botan-bundled? ( >=dev-libs/botan-1.10.2 )
"
DEPEND="${CDEPEND}
!botan-bundled? ( virtual/pkgconfig )
virtual/pkgconfig
test? ( >=dev-qt/qttest-${QT_PV} )
"
RDEPEND="${CDEPEND}
@ -78,40 +78,14 @@ src_prepare() {
# fix translations
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
share/qtcreator/translations/translations.pro || die
if ! use botan-bundled; then
# identify system botan and pkg-config file
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | cut -d '.' -f1,2)
local lib_botan=$(pkg-config --libs botan-${botan_version})
einfo "Major version of system's botan library to be used: ${botan_version}"
# drop bundled libBotan. Bug #383033
rm -rf "${S}"/src/libs/3rdparty/botan || die
# remove references to bundled botan
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die
for x in testrunner parsertests modeldemo; do
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die
done
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die
# link to system botan
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die
# append botan refs to compiler flags
append-flags $(pkg-config --cflags --libs botan-${botan_version})
fi
}
src_configure() {
eqmake4 qtcreator.pro \
IDE_LIBRARY_BASENAME="$(get_libdir)" \
IDE_PACKAGE_MODE=1 \
TEST=$(use test && echo 1 || echo 0)
}
src_compile() {
emake
use doc && emake docs
TEST=$(use test && echo 1 || echo 0) \
USE_SYSTEM_BOTAN=1
}
src_test() {
@ -126,13 +100,14 @@ src_install() {
dodoc dist/{changes-2.*,known-issues}
# Install documentation
# install documentation
if use doc; then
emake docs
insinto /usr/share/doc/${PF}
doins share/doc/qtcreator/qtcreator{,-dev}.qch
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
fi
# Install desktop file
# install desktop file
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/qthelp-4.8.4.ebuild,v 1.1 2013/03/02 15:30:20 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/qthelp-4.8.4.ebuild,v 1.2 2013/03/08 08:08:59 pesa Exp $
EAPI=4
@ -59,11 +59,11 @@ src_unpack() {
qt4-build_src_unpack
# compat version
# http://labs.qt.nokia.com/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/
# http://blog.qt.digia.com/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/
if use compat; then
unpack ${PN}-qassistantclient-library-compat-src-4.6.3.tar.gz \
${PN}-compat-headers-4.7.tar.gz
mv "${WORKDIR}"/${PN}-qassistantclient-library-compat-version-4.6.3 \
unpack qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz \
qt-assistant-compat-headers-4.7.tar.gz
mv "${WORKDIR}"/qt-assistant-qassistantclient-library-compat-version-4.6.3 \
"${S}"/tools/assistant/compat || die
mv "${WORKDIR}"/QtAssistant "${S}"/include/ || die
fi
@ -117,6 +117,7 @@ src_install() {
qt4-build_src_install
emake INSTALL_ROOT="${D}" install_qchdocs
# do not compress .qch files
docompress -x "${QTDOCDIR}"/qch

@ -1,3 +1,4 @@
DIST fxruby-1.6.20.gem 1392640 SHA256 ab64ec2495881574c098896b10a6db4c4f90e6f37312ddd9390be469df7a6726 SHA512 36770ef2f941553b3f57e0223d70a864db6b3a02589f8d528d3dba9fcff0f9cc89918b1bb3ee789c4e9581c1415605edcc81402791a54f81d446d4fd7301c265 WHIRLPOOL 7709da8aebfa77410caf5328f4c715d0e474d3bea3b156faf1292cd2585c99aadaf2321be10d80de63850b7e99ca36d7db2905b5c382cc24d49a4baa10ba0a47
DIST fxruby-1.6.23.gem 1419776 SHA256 eaf6f7b0a71b341ab5b0589652398be4d4531fa5092ae0981553335aab759c98 SHA512 aaf1434f5339f194bcad169d5023989186ac4dca146b8b403716a4495f007a6044ba08adf4a6df305e795d489f2343f05be4a39b81cf12645c56e0c996e2a9b0 WHIRLPOOL b039cfc2ed9e4eab58c0274e802466526dcf073e5a1dab805d0a37ab8ee1b92189e7e14e3999a0cc061f45ac7101a7eeac4daf7ebcc620c146d95abb93b37357
DIST fxruby-1.6.25.gem 1422848 SHA256 1a2bd0e74e9138df8004ddec006a7dd99646c08d68892898f0d6238e33e47a12 SHA512 82a2914bf8c770eea5732f26ac10ace39918b82ae30b51b20d9e6d1100ab8853e70e3ad36f7cffdee708cb677314c04cf3324d6727ea8f28d403f7c10c4102a3 WHIRLPOOL 3acb162cdd26a79855d4b2e793f13ca9d5eb8df8aa8bdf3ab6e453268bda250ce6dbb0652cb4bede8690d3edecb23076b9e4719a8d5d39945ddae5eb0bd85cdc
DIST fxruby-1.6.26.gem 1424384 SHA256 f728214fa82c03b2586bf4661acab157424580e266db5176a6293a8dfe19bfbf SHA512 a206486e7cfce72019ec47649297e1de8f1c8157f34c2276fce8c096a3961c32d0cc14eee46773f4aa2e95fc12433d9fd2987f893610e21de32f29569d1842c5 WHIRLPOOL 5b2fba8cc9d7bd1fc3b4fb59e127da55bfc11c584017a71a886047b37cb9044ea2d14e1498589a4740b53def151ec1301a6bb93d14ec2983440a9f231bea775b

@ -0,0 +1,80 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fxruby/fxruby-1.6.26.ebuild,v 1.1 2013/03/08 06:31:33 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19"
RUBY_FAKEGEM_NAME="fxruby"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_EXTRADOC="History.txt index.html README.rdoc TODO"
inherit multilib virtualx ruby-fakegem toolchain-funcs
DESCRIPTION="Ruby language binding to the FOX GUI toolkit"
HOMEPAGE="http://www.fxruby.org/"
LICENSE="LGPL-2.1"
SLOT="1.6"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="examples doc"
CDEPEND="x11-libs/fox:1.6 >=x11-libs/fxscintilla-1.62-r1"
DEPEND="${DEPEND} ${CDEPEND} dev-lang/swig"
RDEPEND="${RDEPEND} ${CDEPEND}"
ruby_add_bdepend "test? ( dev-ruby/ruby-opengl )"
ruby_add_bdepend "dev-ruby/hoe"
all_ruby_prepare() {
sed -i -e '/\[:compile\]/d' Rakefile || die
sed -i -e 's:libs, "fxscintilla":libs, "fxscintilla-1.6":g' \
ext/fox16_c/extconf.rb || die "sed error"
einfo "Avoid -O0 builds"
sed -i -e 's:-O0 -I:-I:' \
ext/fox16_c/extconf.rb || die "Can't fix forced -O0"
# Avoid a dependency on rake-compiler.
sed -i -e '/extensiontask/ s:^:#:' \
-e '/Rake::ExtensionTask/,$ s:^:#:' Rakefile || die
sed -i -e '/extension/ s:^:#:' \
-e '/Rake::ExtensionTask/,$ s:^:#:' \
-e '/CLEAN.include/ s:^:#:' \
-e '/task :cross/,/^end/ s:^:#:' Rakefile.cross || die
# Use a more modern swig.
sed -i -e 's/swig-1.3.22/swig/g' Rakefile || die
# Remove failing tests. We did not run tests before so this is not a
# regression for now.
rm test/TC_FXFileStream.rb test/TC_FXId.rb test/TC_FXMainWindow.rb test/TC_FXMaterial.rb || die
}
each_ruby_configure() {
${RUBY} -Cext/fox16_c extconf.rb || die
}
each_ruby_compile() {
CXX=$(tc-getCXX) emake -Cext/fox16_c || die
cp ext/fox16_c/fox16_c$(get_modname) lib/ || die
}
each_ruby_test() {
VIRTUALX_COMMAND=${RUBY} virtualmake -S rake test || die
}
all_ruby_install() {
all_fakegem_install
if use examples; then
for dir in sample samples example examples; do
if [ -d ${dir} ] ; then
dodir /usr/share/doc/${PF}
cp -pPR ${dir} "${D}"/usr/share/doc/${PF} || die "cp failed"
fi
done
fi
}

@ -1,4 +1,3 @@
DIST gettext_i18n_rails-0.4.6.gem 18432 SHA256 b027bfcfdf980a683d72460d809756dc189b9c3f114a93f0ca1cb90aefb1c681 SHA512 f75f6d8cbab830a75d73ec8e255739189852e4eac82dcc9b0e8a7a42e50b918c2e34e566e04e9a6c444c4d29de5a0b062ccf0a0f790f2b3df2f56e5817377e66 WHIRLPOOL ffba4ebc6d8ad92f18261ccdf746c0cb134bd176189f569ecd7f4daf7b5b935cf15ee4f0eb2f8c07b720a9b79cea13ef9f98f4b74021ab547139a007c1931d77
DIST gettext_i18n_rails-0.6.6.gem 19456 SHA256 55c004e1b7382930bbf475c216027e6b492921115ce779a23a3fc84427998ce1 SHA512 00efd11d748e0cc07357d05ca4f21c2767803312a2ee92f98811a6ddcb001a60b9d7a948574897dfff9e464a6a07d27d252a3d5ae43a61fd9400066311546482 WHIRLPOOL aa006205617ecb1a7e45123270a1b0ecdc62ec99a9f35b9f95f82b2b3260b2a52c927bb447efc96bcf798ddc89fc2833a73a37915d188677be815f4c547cf4df
DIST gettext_i18n_rails-0.7.1.gem 19968 SHA256 30984a7cf4b2db2938616d6fc65490d4f6640ae627ed679ff4fd39688142e615 SHA512 7db67841a52fe8b36d43bd4d263c561591bb0fda290ba6406596a93d13e0f96bf39174b3152d7352ea96a2c3bc89d364cc719e6ca4073926a1bc6efcec755c23 WHIRLPOOL 65520e7b0f7877c29be56f3407030e1e3ac51dc9a5028f1eed10890900585025aab81cea4b392ffd6f59d084eec81bd13f1d467b739fe6e4f9b787d05e2a932e
DIST gettext_i18n_rails-0.8.0.gem 20992 SHA256 c614bb7e4d2f02ed1a48767674a5ac63d5bd46db5e830026cccdec59c63d80b3 SHA512 95e77be93269a332078b68a39796f8ff66710f9e80e38b5194c77ad0336722c869ecd9ccd80ad4490394f76a9b83fb080e6997f903f0e9a2b4e766dd57f8a349 WHIRLPOOL d82746b67d08a24af7dd4215c266470ec30880f21dd495e50cdd2a8d417232ca34dc9b9406981f323c77c212d301bba9d40202e41c9e5b4a39cdd5f2b7be8908
DIST gettext_i18n_rails-0.9.2.gem 21504 SHA256 16dcc1404972854d9716682f68d877bea05817ffab77e19a8c3c7bc507941aa2 SHA512 899df8e3272edf908c02a084d7e6ae17240f5ea7f664fb52dc8247d599442d39e906989e5ac8508ce35aff4114e6c6fbdec8ee85da971de7387463f04d6de0a6 WHIRLPOOL 8d4dc9fccf1003a48b0d6e79f8f3d9bfb21d136f44eb15ed5c8ca5547229b0df468f804ef84f77abf838fe3838f2f4dd6a188b338a30c2980ca17ff984016a9c

@ -1,40 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.4.6.ebuild,v 1.3 2012/07/01 07:26:09 graaff Exp $
EAPI="4"
# jruby support requires sqlite3 support for jruby.
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="Readme.md"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_EXTRAINSTALL="init.rb VERSION"
inherit ruby-fakegem
DESCRIPTION="FastGettext / Rails integration."
HOMEPAGE="https://github.com/grosser/gettext_i18n_rails"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/activerecord[sqlite3] )"
ruby_add_rdepend "dev-ruby/fast_gettext"
all_ruby_prepare() {
rm Gemfile Gemfile.lock || die
# Remove specs for slim and hamlet, template engines we don't package.
rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/hamlet_parser_spec.rb || die
}
each_ruby_test() {
# Call specs directly because the Rakefile will use the wrong interpreter
${RUBY} -S rspec spec || die
}

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.6.6.ebuild,v 1.1 2012/08/06 18:13:45 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.2.ebuild,v 1.1 2013/03/08 06:28:55 graaff Exp $
EAPI="4"
EAPI=5
# jruby support requires sqlite3 support for jruby.
USE_RUBY="ruby18 ruby19 ree18"
@ -21,15 +21,15 @@ HOMEPAGE="https://github.com/grosser/gettext_i18n_rails"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/activerecord[sqlite3] dev-ruby/temple )"
ruby_add_rdepend "dev-ruby/fast_gettext"
ruby_add_rdepend ">=dev-ruby/fast_gettext-0.4.8"
all_ruby_prepare() {
rm Gemfile Gemfile.lock || die
# Remove specs for slim and hamlet, template engines we don't package.
rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/hamlet_parser_spec.rb || die
rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die
}

@ -1 +1,2 @@
DIST haml-3.1.6.gem 367616 SHA256 e052ee3e2fb1c93c2106d671102d49323ede481539fee202e1ed15845b261da8 SHA512 552083478d6241b84e0904e9f71b587128a419c4ffd54b54eac59bf8218b4b848ff084270a1344cec391e8d86e417759a8d6e2b697cbcf303459e1667b6f9ae5 WHIRLPOOL c83caf52502fb5ffbe4ae1e48dd89b6a18fe57f98fb01affed56cd6c6eba0c44f801c3fc9319380e04a40397925ec8642f40425bde821d255d87e0793c198261
DIST haml-3.1.8.gem 367616 SHA256 44f69d51810cfc5a0ffbb03fdc646afb2c2f4f841eacfab87caba02b59ae1617 SHA512 cb65e4b6b4eaf31b0d81376e819baf3a8e5216baa18fca744ac3297d207f26120c6571693459e06490dab587e7936624d14852504dd502de39dac3052181d4e7 WHIRLPOOL e6ea1e5f3074ec72d69ee99eeefacdea3dc36ff89ac6f29ae5e4fc0cc826ace375688a6126b1739e5bde0722fe0cf321f87561f68214ee72f5c60e1f8115c5a8

@ -0,0 +1,61 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/haml-3.1.8.ebuild,v 1.1 2013/03/08 06:39:58 graaff Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC="-Ilib doc"
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRAINSTALL="init.rb rails VERSION VERSION_NAME"
inherit ruby-fakegem
DESCRIPTION="HAML - a ruby web page templating engine"
HOMEPAGE="http://haml-lang.com/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
# TODO: haml has some emacs modes that it could be installing, in case
IUSE=""
ruby_add_rdepend "dev-ruby/sass"
# It could use merb during testing as well, but it's not mandatory
ruby_add_bdepend "
test? (
dev-ruby/minitest
dev-ruby/hpricot
dev-ruby/erubis
dev-ruby/rails
dev-ruby/ruby_parser
>=dev-ruby/sass-3.2.0
)
doc? (
dev-ruby/yard
dev-ruby/maruku
dev-ruby/sass
)"
all_ruby_prepare() {
# unbundle sass; remove dependency over fssm and add one over sass
# itself.
rm -r vendor/ || die
pushd .. &>/dev/null
epatch "${FILESDIR}"/${PN}-3.1.6-sass.patch
sed -i \
-e '/vendor\//d' \
metadata || die
popd &>/dev/null
# Use newer sass and update specs to make a consistent combination.
sed -i -e 's/fuchsia/magenta/' test/haml/results/filters.xhtml || die
}

@ -3,3 +3,4 @@ DIST metasploit_data_models-0.4.0.tar.gz 31045 SHA256 2a3213e229a61caca28f988676
DIST metasploit_data_models-0.5.0.tar.gz 50894 SHA256 52402a255def9fe08e4048ce24aad967c9911282bab92ea7eec4855e986c6ff7 SHA512 93cb7cff98e046e6e465a5ba32e0af34ca44f816f237a9e431e373cd27cb463b80ee4ab3fb7860e8888cf6e625db60772d40d1e9479ae4aa9c019b312f7ea790 WHIRLPOOL 2fcb953cafd5c0382db8dc99dcdb05d195931bee6ad173616a60916f0f7c1167a9b0e5d3e1b64868ae55265d5e51d0eb35791bb3aa87355b5c0943b1984a3a72
DIST metasploit_data_models-0.5.1.tar.gz 50933 SHA256 be9cf2647e0758ffed8f78a36584f86046015cf9ab7ff32582b28e8ab6160399 SHA512 436e5686dd3349a30c6dc4634d13895cb17bc6d5331599afa7b333cabdb1b07abfb653882f08f6b662adbb06764d1886f41614a91039fc460031062f27b12389 WHIRLPOOL 13c94a34c123a544af2f43333a96fd7ec8e74edc65b35e36d5c17b1feddb07418d3368760e9a703967ba022c3144b09b1bf0e80f85efeddda6e65dbecdd3bb7e
DIST metasploit_data_models-0.6.0.tar.gz 53998 SHA256 78149cd1d4ec7bc8c6db4bf49a70c20343962403a5ea4415bb00c6846e868817 SHA512 e8a8ed278695e516a60629169f7190d9628c7869d2d45f9a40b081a6bb4e4d7d783fdd0845a5688e13896de4319b79c2f4c390a0b368b5657ff4344004f5e6c0 WHIRLPOOL b66b8fbdaec60c9ac3e4830570ca78c7eed599f899ed7afe47eea246cef6d358b637d0203cc8c2de2653de4baa19acd7599004d737c3fc81ab832f59fbe3ad66
DIST metasploit_data_models-0.6.1.tar.gz 54418 SHA256 5dc8e93d42fee49af3748807c5cead957217eb53e4d0b878dfff9b80673dedd7 SHA512 5e78252bec868a783414534afbce93b258c5f2c45b225fb21d256ee945cca2653e7fea7a89605a874382c689dd10773e8d7b47dfbcd41960b071fa1347eb1aa2 WHIRLPOOL 8ce444abe4047c149610f26e480559f86e9d18b7009c731de6638e6e0782425d5939a443f8ea5a8befbb977eae5641525c9e5d5ab8e3ad5832746b39d1b3e4ac

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.4.0.ebuild,v 1.2 2013/03/06 02:27:33 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.4.0.ebuild,v 1.3 2013/03/07 19:35:16 zerochaos Exp $
EAPI=5
@ -20,8 +20,6 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="app-arch/unzip"
#pry isn't available for 1.9
#ruby_add_bdepend "test? ( dev-ruby/rails dev-ruby/pry )"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.5.0.ebuild,v 1.3 2013/03/06 02:27:33 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.5.0.ebuild,v 1.4 2013/03/07 19:35:16 zerochaos Exp $
EAPI=5
@ -20,8 +20,6 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="app-arch/unzip"
#pry isn't available for 1.9
#ruby_add_bdepend "test? ( dev-ruby/rails dev-ruby/pry )"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.5.1.ebuild,v 1.3 2013/03/06 02:27:33 zerochaos Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.5.1.ebuild,v 1.4 2013/03/07 19:35:16 zerochaos Exp $
EAPI=5
@ -20,8 +20,6 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="app-arch/unzip"
#pry isn't available for 1.9
#ruby_add_bdepend "test? ( dev-ruby/rails dev-ruby/pry )"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save