parent
906003d0c5
commit
902c1f17c0
@ -0,0 +1,405 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.488.ebuild,v 1.1 2014/10/26 17:52:52 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
gnome? ( >=gnome-base/libgnomeui-2.6 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
tcl? ( dev-lang/tcl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
dev-util/ctags
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --disable-gpm --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable netbeans)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable session xsmp)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk gnome GNOME2
|
||||
# -aqua gtk -gnome GTK2
|
||||
# -aqua -gtk motif MOTIF
|
||||
# -aqua -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua ; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=" --enable-darwin --enable-gui=carbon"
|
||||
elif use gtk ; then
|
||||
myconf+=" --enable-gtk2-check"
|
||||
if use gnome ; then
|
||||
einfo "Building gvim with the Gnome 2 GUI"
|
||||
myconf+=" --enable-gui=gnome2"
|
||||
else
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=" --enable-gui=gtk2"
|
||||
fi
|
||||
elif use motif ; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=" --enable-gui=motif"
|
||||
elif use neXt ; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=" --enable-gui=nextaw"
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=" --enable-gui=athena"
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim --with-x \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start
|
||||
# in vim for how this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../testvim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
|
||||
doicon "${FILESDIR}"/gvim.xpm
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
echo
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Update fdo mime stuff, bug #78394
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,231 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.488.ebuild,v 1.1 2014/10/26 17:47:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
DEPEND="sys-devel/autoconf"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-features=tiny \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
cd src || die "cd src failed"
|
||||
emake \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
install-icons \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r4 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal ; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
|
||||
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
|
||||
rm "${ED}"/usr/bin/vimtutor
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
# These files might have slight security issues, so we won't
|
||||
# install them. See bug #77841. We don't mind if these don't
|
||||
# exist.
|
||||
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
}
|
@ -0,0 +1,378 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.488.ebuild,v 1.1 2014/10/26 17:51:35 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
VIM_VERSION="7.4"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE=threads
|
||||
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://vim.googlecode.com/hg/"
|
||||
EHG_PROJECT="vim"
|
||||
else
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
|
||||
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="http://www.vim.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="vim"
|
||||
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
luajit? ( lua )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? (
|
||||
luajit? ( dev-lang/luajit )
|
||||
!luajit? ( dev-lang/lua[deprecated] )
|
||||
)
|
||||
!minimal? (
|
||||
~app-editors/vim-core-${PV}
|
||||
dev-util/ctags
|
||||
)
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
tcl? ( dev-lang/tcl )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-vi-1.1
|
||||
sys-devel/autoconf
|
||||
>=sys-libs/ncurses-5.2-r2
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/vim${VIM_VERSION/.}
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home
|
||||
export HOME="${T}"/home
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
|
||||
# Apply any patches available from vim.org for this version
|
||||
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
|
||||
fi
|
||||
|
||||
if [[ -d "${WORKDIR}"/patches/ ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches/
|
||||
fi
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|
||||
|| die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager ; then
|
||||
cat <<-END > "${S}"/runtime/macros/manpager.sh
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
END
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]] ; then
|
||||
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile
|
||||
fi
|
||||
|
||||
if version_is_at_least 7.3.122 ; then
|
||||
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
|
||||
fi
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
if version_is_at_least 7.3 ; then
|
||||
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.in is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -f src/auto/configure
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
|
||||
[[ -e ${file} ]] && addwrite $file
|
||||
done
|
||||
|
||||
if use minimal ; then
|
||||
myconf="--with-features=tiny \
|
||||
--disable-nls \
|
||||
--disable-multibyte \
|
||||
--disable-acl \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-luainterp \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-mzschemeinterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-selinux \
|
||||
--disable-tclinterp \
|
||||
--disable-gpm"
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable cscope)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable lua luainterp)"
|
||||
myconf+=" $(use_with luajit)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable racket mzschemeinterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" $(use_enable selinux)"
|
||||
myconf+=" $(use_enable tcl tclinterp)"
|
||||
|
||||
if use python ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
myconf+=" --enable-python3interp"
|
||||
export vi_cv_path_python3="${PYTHON}"
|
||||
else
|
||||
myconf+=" --enable-pythoninterp"
|
||||
export vi_cv_path_python="${PYTHON}"
|
||||
fi
|
||||
else
|
||||
myconf+=" --disable-pythoninterp --disable-python3interp"
|
||||
fi
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope ; then
|
||||
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
|
||||
die "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
|
||||
fi
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
echo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
echo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# We've got to call make test from within testdir, since the Makefiles
|
||||
# don't pass through our VIMPROG argument
|
||||
cd "${S}"/src/testdir
|
||||
|
||||
# Test 49 won't work inside a portage environment
|
||||
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
|
||||
sed -i 's~test49.out~~g' Makefile
|
||||
|
||||
# We don't want to rebuild vim before running the tests
|
||||
sed -i 's,: \$(VIMPROG),: ,' Makefile
|
||||
|
||||
# Don't try to do the additional GUI test
|
||||
emake -j1 VIMPROG=../vim nongui
|
||||
}
|
||||
|
||||
# Make convenience symlinks, hopefully without stepping on toes. Some
|
||||
# of these links are "owned" by the vim ebuild when it is installed,
|
||||
# but they might be good for gvim as well (see bug 45828)
|
||||
update_vim_symlinks() {
|
||||
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
|
||||
local f syms
|
||||
syms="vimdiff rvim rview"
|
||||
einfo "Calling eselect vi update..."
|
||||
# Call this with --if-unset to respect user's choice (bug 187449)
|
||||
eselect vi update --if-unset
|
||||
|
||||
# Make or remove convenience symlink, vim -> gvim
|
||||
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
|
||||
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
|
||||
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
rm "${EROOT}"/usr/bin/vim
|
||||
fi
|
||||
|
||||
# Make or remove convenience symlinks to vim
|
||||
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
|
||||
for f in ${syms}; do
|
||||
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
|
||||
done
|
||||
else
|
||||
for f in ${syms}; do
|
||||
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
|
||||
rm -f "${EROOT}"/usr/bin/${f}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# This will still break if you merge then remove the vi package,
|
||||
# but there's only so much you can do, eh? Unfortunately we don't
|
||||
# have triggers like are done in rpm-land.
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
|
||||
# We shouldn't be installing the ex or view man page symlinks, as they
|
||||
# are managed by eselect-vi
|
||||
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
if use X ; then
|
||||
echo
|
||||
elog "The 'X' USE flag enables vim <-> X communication, like"
|
||||
elog "updating the xterm titlebar. It does not install a GUI."
|
||||
fi
|
||||
echo
|
||||
elog "To install a GUI version of vim, use the app-editors/gvim"
|
||||
elog "package."
|
||||
echo
|
||||
elog "Vim 7 includes an integrated spell checker. You need to install"
|
||||
elog "word list files before you can use it. There are ebuilds for"
|
||||
elog "some of these named app-vim/vim-spell-*. If your language of"
|
||||
elog "choice is not included, please consult vim-spell.eclass for"
|
||||
elog "instructions on how to make a package."
|
||||
echo
|
||||
ewarn "Note that the English word lists are no longer installed by"
|
||||
ewarn "default."
|
||||
fi
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Make convenience symlinks
|
||||
update_vim_symlinks
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.7.6.4.ebuild,v 1.1 2014/10/26 17:45:52 sping Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
|
||||
HOMEPAGE="https://github.com/gentoo/elogv"
|
||||
SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="linguas_de linguas_es linguas_it linguas_pl"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# unset LINGUAS => install all languages
|
||||
# empty LINGUAS => install none
|
||||
local i
|
||||
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||
for i in $(ls "${ED}"/usr/share/locale/) ; do
|
||||
if ! has ${i} ${LINGUAS} ; then
|
||||
rm -rf "${ED}"/usr/share/{locale,man}/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Optional dependencies:"
|
||||
elog " dev-python/pyliblzma (for xz compressed elog files)"
|
||||
elog
|
||||
elog "In order to use this software, you need to activate"
|
||||
elog "Portage's elog features. Required is"
|
||||
elog " PORTAGE_ELOG_SYSTEM=\"save\" "
|
||||
elog "and at least one out of "
|
||||
elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
|
||||
elog "More information on the elog system can be found"
|
||||
elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example"
|
||||
elog
|
||||
elog "To operate properly this software needs the directory"
|
||||
elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage."
|
||||
elog "To start the software as a user, add yourself to the portage"
|
||||
elog "group."
|
||||
elog
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/elogv/elogv-0.7.6.5.ebuild,v 1.1 2014/10/26 20:05:14 sping Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
inherit distutils-r1 prefix
|
||||
|
||||
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
|
||||
HOMEPAGE="https://github.com/gentoo/elogv"
|
||||
SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="linguas_de linguas_es linguas_it linguas_pl"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# unset LINGUAS => install all languages
|
||||
# empty LINGUAS => install none
|
||||
local i
|
||||
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||
for i in $(ls "${ED}"/usr/share/locale/) ; do
|
||||
if ! has ${i} ${LINGUAS} ; then
|
||||
rm -rf "${ED}"/usr/share/{locale,man}/${i}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Optional dependencies:"
|
||||
elog " dev-python/pyliblzma (for xz compressed elog files)"
|
||||
elog
|
||||
elog "In order to use this software, you need to activate"
|
||||
elog "Portage's elog features. Required is"
|
||||
elog " PORTAGE_ELOG_SYSTEM=\"save\" "
|
||||
elog "and at least one out of "
|
||||
elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
|
||||
elog "More information on the elog system can be found"
|
||||
elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example"
|
||||
elog
|
||||
elog "To operate properly this software needs the directory"
|
||||
elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage."
|
||||
elog "To start the software as a user, add yourself to the portage"
|
||||
elog "group."
|
||||
elog
|
||||
}
|
@ -1,21 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST unpaper-0.4.2.tar.xz 2855372 SHA256 93743a7c9c85463dceed2520b3f5a6cc3f94a289a670cde753bba0ec8035d453 SHA512 a64c5c5ba437e9718120fee66b9a63cb59558a9c09047ce6ab88b38d6a34ff62e37ffa6670c5c2fd491351092f775cd01668c8b8cd353fac80db6b2dfacdc79c WHIRLPOOL fcc5adb53fc0cd1f2032d6d5373c2723ea1c87adfd655c1d3cc0a1cdd96ea26182d6f026792c72f5cf02ba397ebcd31d09419750fe0fc02f860f0882592b1d13
|
||||
DIST unpaper-5.1.tar.xz 2861432 SHA256 5380417efb5a766d132b496000ad9772a5338b87e37abfa3f10255e9f59ee7c1 SHA512 5ccd90c4c92774085df6cee5552d72d538d3ee553f95ca3d2bea850975ac6e728be97aa7dca194ba44ef8156c26c19d61d051c4581100f8c553998d9a86cefdf WHIRLPOOL 75006b03908c6086236744cdff51d1dc66b80a94e9f7e3630444af149ce235c7b0c54af2954e7f093ecc23f6e86d1478333d991db8ae223e212ebc0a92c6dfee
|
||||
EBUILD unpaper-0.4.2.ebuild 893 SHA256 3de50e630d77b1e48ae839f4eeb294287534b84dca9ff597994a4ed8318610c0 SHA512 eb8ab35b69362ecc8e3e78f5589fb0919db7c6a84070d097a51b649ed52810c80fc7d93dd826920bfe04d9062147abd8fad81939ea3cd02b0d088acffb497384 WHIRLPOOL 385f52c71c1cb8a9bea19c889e7071d4e62abfb1d902b751ad992df609330ff5780427d45dc298378967c32b4a379840fff2adbc3c72de9cb1a610f4a4aa8bb2
|
||||
EBUILD unpaper-5.1.ebuild 864 SHA256 acffb6864a36613934005a9196854eca1f99e9d919fbb757eed3de60c2cd111d SHA512 f0d5a63b4427da46d74f55b2797d5b9b9278c4d9abe1a18f56bdc4dd5051d7ee0b42e9b0acf2f513299e92df80d797dc85ff68dd9b58a56c38810308baff285e WHIRLPOOL 1c349676e5c4450f32c227241e9d382504fd42f4a6776cc2acc31f0f760ca9918a615134e9410411dc0327fb9bf207facf55190a19b553ae6ed323e093825702
|
||||
EBUILD unpaper-9999.ebuild 865 SHA256 51885f198ec6ad53a70a92b5d8c50c9cd36a90efe07aebbb7a6588b6e7a65f06 SHA512 7dfbd0bc12ab56360c41347ac8aa612130b5fe52453293d57c52c7c485ab9017348c786bd40a05eb4409e7457ec9820c82ba4d2e004fc3c85c0688f5f2637023 WHIRLPOOL 6eaec01c9755a2873c66317e80262b1a0b509c66b40461271c81ef589f46e57431294256562d244043f83fcc4cc597605fd829817224bd93d27cf857781d383e
|
||||
MISC ChangeLog 2199 SHA256 c5b1343beddd667c5d037e1bde350a1fb032bfd2e76e89336579581dc96ceea7 SHA512 e09822cf107aa41edbc8a5fbd152cf71fdbe755e5a439419c39e78479819e91ff67dacf8bd3d5672a38d0524bd54956698831f56f79651f6c5c83d4a50095f1a WHIRLPOOL fc92a5af76ffc12a55932ba22510011eb2edebd4bd1e3d6c501b7258d435497a9a77e918a43f7ca8e1fe425fb8e078f18970e103e5c5825d5024394b6333e83e
|
||||
MISC metadata.xml 210 SHA256 033e97715bc19256fb7c105f739eeb5d7e58c4556fdb08face36c7270ce0c82a SHA512 e75fe043a3cde9b1ada5b898aea2b39f952dd8075f8cc158c2177a5d088e98731401482bfca552bd25a9e5b0ed995c9a8afcea783b62ca6b61ed22b3d287ab2b WHIRLPOOL 1d9f183be62d7aa946de6c01ab2bd0ea3e61fce56430f0fa72ee57f38c61c60e9d14531c19252005bfb773cf773fc1380984ae52e2d6233f883c8205fbd47976
|
||||
DIST unpaper-6.1.tar.xz 2655724 SHA256 237c84f5da544b3f7709827f9f12c37c346cdf029b1128fb4633f9bafa5cb930 SHA512 afef705985d3c265672c9e42130acc34befc080c361f3169e299b5110c662d0b9845a9d0ca4fc3aad468f49967ded36fb60ffed296373569dd7337c3cb81e79c WHIRLPOOL e88a296f1b0718a593d70b769e4ed122b4ca92fb802d3a8e74da49dbf756cac2782cbe754ed7a6c0cf73adf73b7aa970ef6154ee2c8ce5f42da127ccee2d8936
|
||||
EBUILD unpaper-5.1.ebuild 866 SHA256 6672d0c97fd9f283b4f8e5da5f85274d6273c2dae1701c0937f223b499ad421c SHA512 07a094fdfe7d30a833ed250480a3c7721d67ddd36d7f183171c3b5155628da7e51f629ca1a8ed012e2fe6b44d3b329b7274908ae1d8f12f7ec405b5d2d9ad194 WHIRLPOOL 08b10330f54783201e8adba5a29747c5e1011634792cf14538f648da15c1e150348102c5ba6a54f186ac32e903bf06282c09f5f72c01df2230b4c8c2ba3d09a9
|
||||
EBUILD unpaper-6.1.ebuild 1025 SHA256 c9283f1474c37c7eb0999d60ee7793f3d7cb4701fd877a8e51b5816fc30ca9f5 SHA512 26f59a78feb6f63755a66e2734ea83d46e5ca5d7852599e07d9704a4315c4258dcd0d748fa287594b2240a597c47ddb53b180bb7189b5273cc4d34c900e3c306 WHIRLPOOL 3b16b723e9d6bf770a747b6392960546d3cd18af01ca8875672f5a5bbd69d8630a2a12f66fe4b663c4feb1ac160ae4361037040a7de4b0662f5fdf07423e3332
|
||||
EBUILD unpaper-9999.ebuild 1026 SHA256 fbe9a7b39661d3a088619a6a475dd5e7d8c6b6fa28a94c8191ed488aeccc011b SHA512 ea9e5bf8a3c4bce8f6b2e3a579822bb50887860b31dbb0b96ed9660d7750838abfc568dd691ba46f54d971e120cbef02c7d1a32fe3a5b46d8c30b5510dd263f0 WHIRLPOOL ed4ba90bee2666d2a96bd749f8887eea9ce8743c1e553566865e8287259b91be4e6105b151b0705c2ee052628f18c3051dd456303f9737042b7e8844d52d6929
|
||||
MISC ChangeLog 2516 SHA256 54e18ade6ae9610d814ce248fac5e5ffa244c7f24651ffc253a6bd39dc741489 SHA512 b80f0d28e617ae1cdbdd9355556a0a460be825b3fb80e35c78c4544b2d4d421a97e6b608b40835d28e0c1d3f1c50944756656218d86edafb8e727981406ab438 WHIRLPOOL e17936b784a919543a233760b2ad1f528d6d03ec7dc680729548f3ff1a7ea718f28df96746355e90819ce6b6c09c049119e326eee6c675778d6e2ebf636e5550
|
||||
MISC metadata.xml 363 SHA256 274960f6ae8fffefe6d9b596e8514d9ca024f75140d9620b8a7da32978bffde5 SHA512 ced597c8204620d861a84fd322cbf5c29069342ab5c2df21fcf6f83c9aba2cefb0e4a26986d805fac061cdb7aa88fe77c2b3c4ae2b5ba4f236a0281f571adfef WHIRLPOOL 5d85ca066ff38dfd4769e30d69db19c890e51df8fa20247a4d9cb89a293f3cb773c2f7afc424578cf4c36814a89c0d2dfb4d94f6fee200c265ed33fe01540d27
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJR2oSGAAoJEBzRPIrUMBNCqRkIAJ2DZ7LIVPWN3sywiC2AVIYP
|
||||
4WKbb9GSarc95HyAp9kGmy7SkfhBU2KSkxKQiXsINy4uxk5aV4uVPznXbqmYnV5U
|
||||
Y9KEqDPZ7ZxUjaIkG4mQYrPBbH+lEGPoGFOyvv4zCshVIl/XqtfZ0I8e8eL++e1R
|
||||
daOuhIiZ+rdAutgYeYyV0jENYgUENZHK5Nr20FhHdWI8p5qLX7mW04Dww03aSyxb
|
||||
m7zmSXigHekgeVr6s+DWvgIBMyYVMTq4cYLBuAZC6SCiCV4dPoTKrofggLA5FXyA
|
||||
Mwz8Pochy6XTmlNA/Mo4wQFSl0oIpmoAGLFJcgpMoOmxJwWq0HazO4yjPl8SU6s=
|
||||
=idCI
|
||||
iQEcBAEBCAAGBQJUTX7OAAoJEBzRPIrUMBNCwQkH/jgEQ5veJ0kbn1Rk/CC7D12p
|
||||
4clDb9O7Exef90/LTnC8Im356ttWXEuB8+hqfGBg+xfk/tkAXK1ltxyE8nw2D+aL
|
||||
GDceDYMUivCeininFAqKIc1SS8w7g8RFVcSSjosHE4+yCHIyHN3viaEL0uhO0Jg2
|
||||
/3EjreKWokc9j5DkP4rI5UtkgGl3rRnP2omWfkyMe0KFxQUe9iU6xGx9eiMIpC7T
|
||||
tMV2W4De+UXy3H3qYi4DIVsdoNwQHmS548nQNmzz4uDpZGo3pmi6l/XjtgAcAaYE
|
||||
vG7h//Hj7RHXRb8pGi70rqnygrU/g+tRj9pAE6zFRgaO1pfKAPR9QJX+XrpKjgg=
|
||||
=QQCp
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-0.4.2.ebuild,v 1.1 2012/06/22 21:30:51 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="git://github.com/Flameeyes/unpaper.git"
|
||||
inherit git-2 autotools
|
||||
else
|
||||
SRC_URI="http://www.flameeyes.eu/files/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Post-processor for scanned and photocopied book pages"
|
||||
HOMEPAGE="http://www.flameeyes.eu/projects/unpaper"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( media-libs/netpbm[png] )
|
||||
dev-libs/libxslt
|
||||
app-text/docbook-xsl-ns-stylesheets"
|
||||
RDEPEND=""
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unpaper/unpaper-6.1.ebuild,v 1.1 2014/10/26 23:07:48 flameeyes Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
|
||||
inherit git-2 autotools
|
||||
else
|
||||
SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Post-processor for scanned and photocopied book pages"
|
||||
HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="|| ( >=media-video/libav-10[encode] >=media-video/ffmpeg-2[encode] )"
|
||||
DEPEND="dev-libs/libxslt
|
||||
app-text/docbook-xsl-ns-stylesheets
|
||||
virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
# gcc can generate slightly different code that leads to slightly different
|
||||
# images. Wait until we get a better testsuite.
|
||||
RESTRICT="test"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
fi
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.20.1-r1.ebuild,v 1.1 2014/10/15 22:30:56 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||
|
||||
PATCH_VER=1
|
||||
|
||||
PERL_OLDVERSEN=""
|
||||
MODULE_AUTHOR=RJBS
|
||||
|
||||
SHORT_PV="${PV%.*}"
|
||||
MY_P="perl-${PV/_rc/-RC}"
|
||||
MY_PV="${PV%_rc*}"
|
||||
|
||||
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
|
||||
|
||||
SRC_URI="
|
||||
mirror://cpan/src/5.0/${MY_P}.tar.bz2
|
||||
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
|
||||
http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-patches-${PATCH_VER}.tar.xz
|
||||
"
|
||||
HOMEPAGE="http://www.perl.org/"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0/${SHORT_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb debug doc gdbm ithreads"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3 )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
|
||||
"
|
||||
PDEPEND="
|
||||
>=app-admin/perl-cleaner-2.5
|
||||
>=virtual/perl-File-Temp-0.230.400-r2
|
||||
"
|
||||
# bug 390719
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
dual_scripts() {
|
||||
src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
|
||||
src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
|
||||
src_remove_dual perl-core/CPAN 1.980.0 cpan
|
||||
src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
|
||||
src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
|
||||
src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
|
||||
src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
|
||||
src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
|
||||
src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
|
||||
src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
|
||||
src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
|
||||
src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
|
||||
src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
|
||||
src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
|
||||
src_remove_dual perl-core/Test-Harness 3.230.0 prove
|
||||
src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
|
||||
src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
|
||||
}
|
||||
|
||||
# eblit-include [--skip] <function> [version]
|
||||
eblit-include() {
|
||||
local skipable=false
|
||||
[[ $1 == "--skip" ]] && skipable=true && shift
|
||||
[[ $1 == pkg_* ]] && skipable=true
|
||||
|
||||
local e v func=$1 ver=$2
|
||||
[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
|
||||
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
|
||||
e="${FILESDIR}/eblits/${func}${v}.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
${skipable} && return 0
|
||||
die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
|
||||
}
|
||||
|
||||
# eblit-run-maybe <function>
|
||||
# run the specified function if it is defined
|
||||
eblit-run-maybe() {
|
||||
[[ $(type -t "$@") == "function" ]] && "$@"
|
||||
}
|
||||
|
||||
# eblit-run <function> [version]
|
||||
# aka: src_unpack() { eblit-run src_unpack ; }
|
||||
eblit-run() {
|
||||
eblit-include --skip common "${*:2}"
|
||||
eblit-include "$@"
|
||||
eblit-run-maybe eblit-$1-pre
|
||||
eblit-${PN}-$1
|
||||
eblit-run-maybe eblit-$1-post
|
||||
}
|
||||
|
||||
#src_unpack() { eblit-run src_unpack v50160001 ; }
|
||||
src_prepare() { eblit-run src_prepare v50160001 ; }
|
||||
src_configure() { eblit-run src_configure v50180002 ; }
|
||||
#src_compile() { eblit-run src_compile v50160001 ; }
|
||||
src_test() { eblit-run src_test v50160001 ; }
|
||||
src_install() { eblit-run src_install v50160001 ; }
|
||||
|
||||
# FILESDIR might not be available during binpkg install
|
||||
# FIXME: version passing
|
||||
for x in setup {pre,post}{inst,rm} ; do
|
||||
e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
|
||||
fi
|
||||
done
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-FastMmap/Cache-FastMmap-1.400.0.ebuild,v 1.1 2014/10/26 22:24:08 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
MODULE_AUTHOR=ROBM
|
||||
MODULE_VERSION=1.40
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='Uses an mmaped file to act as a shared memory interprocess cache'
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/perl-Storable
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for dev-perl/Cache-FastMmap
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Cache-FastMmap/ChangeLog,v 1.1 2014/10/26 22:24:08 dilfridge Exp $
|
||||
|
||||
*Cache-FastMmap-1.400.0 (26 Oct 2014)
|
||||
|
||||
26 Oct 2014; Andreas K. Huettel <dilfridge@gentoo.org>
|
||||
+Cache-FastMmap-1.400.0.ebuild, +metadata.xml:
|
||||
New package, based on an ebuild by Andreis Vinogradovs. Bug 434124.
|
||||
|
@ -0,0 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST Cache-FastMmap-1.40.tar.gz 47952 SHA256 0d12bcf5bc53a43cb71c1c721a36186ef942f749955440e86ec63646409e6c40 SHA512 55c038cc99b4f6177f45f1610c72a57eb893bfc4598909a6f10352422b8c64376e938b1b175dd417667f7fb0732a420e23bb037ce51b16ee2db2d1a712c892d1 WHIRLPOOL ba3c3122feafccd5021f6c3f08df66000403300f3ccf60c85e929382481254334a3a33e6ab3fe7c7d8d348a75fed2bd3f9b76a8b5f3c01e89f480b3f610f2bbd
|
||||
EBUILD Cache-FastMmap-1.400.0.ebuild 561 SHA256 2a07d4dc2794d11411d31fc514e63dd2b90064f32ffb8296952fff951cc54870 SHA512 af2ce264f23a5bc592bc8d68273eebc99643e740915b37575b806417c330cb26b5f5b98a93702a736789b1b201f6f3e2ac18ea0607a5db50b515334552d04c8f WHIRLPOOL 1c1eb8520eb83477081f0ed0b07410e657cf00d7c09145f701542cf30542bf98ae154ceac561005deddc627bd8b414951a3d9155438f634f8bd9b23b1d7b1f23
|
||||
MISC ChangeLog 438 SHA256 28bd95a56e90278ac8c0825459511ca65944665d66a57b3cc904ac7d2e5612af SHA512 81afbdd1ef3876122d18db0614fee1136ec8f38a12e3cea02bdc29b271b3becc07f24db9c0d178d2362828b507a071ce57f44a8433e96beece9057b0dc9b02cf WHIRLPOOL 4df1f6057454c1aa757a45488d8f083f1767551ae3295dd88e4ad2cf327cb15b09d452fd62467ef2264c919d66c1b3bee2f901fe6f5820f9826797cac61be2e5
|
||||
MISC metadata.xml 159 SHA256 9e7c719a784bb48388c9a12217b85baa75f1b04e9bf049d74b740785fa5006dd SHA512 5ff7b5593ea8976b44c7d63c7cd649f56d649b0d7c4fa5a16bf71ecdf36e40afa8fd9c28df0b8f0c7f9577c47b6ee63d3330f9304d545b46657d6a5f2bfa124a WHIRLPOOL 7ca7b971bad6145bdf2215f73d158f190984644554e8f32132c57c22f1209a5684060661c02e181c135c34c8729d491090ff6d4b23614198e19b9e2deda35a0a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCABmBQJUTXSOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
|
||||
QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcdoUP/1pNaDGFE0U384wMecR0kdMA
|
||||
vyUovCceDZJ3hxFmyHngHzg4/P56gIWVyS6OlujgrAqulOEyj0EU7qbvUpWw6oME
|
||||
cnFQyfjDsu/g3y5LH1Xrrx5AzDmvUKy1ocR/4M0gOo7gUQZLMQ4HzHaK0QHHVnE/
|
||||
ckTqrtrK7Jb+ccAUKTkqYK7cwBz3zpoRMdvVqWqd2crgUjVwm3wudYcja2NkcZpN
|
||||
muIMNpqpmuEhtJQrEvL6ujiWdbicsb2KZCj28F/QW2NKinxMIS6/1V1Pp9UHqn8c
|
||||
T1LKC00woGkz4KGkKz9iufQCn+HN7+q2BJAq+DwxKZ+uAllrghlcwf6bKUlL/ol+
|
||||
nruQ7BgjPfaBuSPLOkzqVBml2SM+9m07UxjVWQinnstUixClSEtuiqXie6c7ck7G
|
||||
daR2YIb3yYuXL1xgveWnAYRMmF8kcSwRGG2vNoxJT4s8e29hybISIb/4g27MSGmb
|
||||
dGeqEFNnId+QZVzuNIQavnCq3ig7A3xF98hjGzLOiQpMzo0GoFL1kFdpQ1RaIHjC
|
||||
Z7Sz4dX6T2HLSw/bcagrvRbViK4D/TdBrT5m90Mgl54cwrpZF9RMZ2ukRFytJC9w
|
||||
AVovStErMpvPIXtqN8/yJyjy9xA49GhhVic87wqSC7K0j6hBfkDRjOY7FCZYEnaI
|
||||
cLTisxt1+n1uZHuMGsWE
|
||||
=5mNH
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -1,19 +1,31 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX LWP-Protocol-https-6.60.0-CVE-2014-3230.patch 903 SHA256 a27fa98068979ab94040d41f9d8a48466b52bf14eac8638bea939f791f8a015d SHA512 028cfcdd4fd0cab46b2d1aef4a59fd575a3180bc34a69d8973c67177d27fc7995dac0e003983e448354858747f3f3d19ec3eaf6a42e2619cfde1275ea7e41ec1 WHIRLPOOL 3e07cc7b8044ad34057390af89dd6bde15b82b03b9c5611dfd49e71f1bb2acfd773fa685bdb3d8727dbed8009b0230af2bcfd721da0eca641411910a922a2603
|
||||
AUX LWP-Protocol-https-6.60.0-etcsslcerts.patch 1193 SHA256 c8e58f754e619bea03e3d41895b742736c63f08022186b43c8cafd411011a12c SHA512 09fb5755f9a56199c1b6aea9c3e75bf397424f041474904e1c93545ce676edbac4fafd105c1a87038576e2e5017186c2836357dbefe89b1872186027b318ea34 WHIRLPOOL 8a853d5c8f9f78e36e357d589f8472308e52417ca1e33c01a2c7d56365985677aa8962fdb5683b0900b38dadb4f259e0beca643052387c3ca91b58a30a2e4e80
|
||||
DIST LWP-Protocol-https-6.03.tar.gz 3555 SHA256 cb864de7677cc3fc9f8f4aaa17c2984d970fdfa46fc7e3cb90bc5ef2c3e3c6f1 SHA512 531326ba359e242d552f091f270ad4d5b80090093b3b2c89fec5f93f9e7f8807b5db95590f620d026e9090794f3e7775bf27480cba087af170207d99e25e6c14 WHIRLPOOL c0509f659f30c62370bfe3414cfef5e8c06ef653698902291ffa3cefc3623b33c41eb8d78cceda61d93d856df351b143612f145cc7f43ae15f14e64e910638f8
|
||||
DIST LWP-Protocol-https-6.04.tar.gz 4035 SHA256 1ef67750ee363525cf729b59afde805ac4dc80eaf8d36ca01082a4d78a7af629 SHA512 93b40c2ebc75c1ab4a2c2d0c58a2eeccd619baaa71257eecc0fce970362811404ec9a115ad8848663ac9020ba03a776165f2ae6952ff54e1c1d58299b603f1b1 WHIRLPOOL 0e021f3802ff97dbfe924454552344aa73792f66d73d144c32130db779ba7d2515022bc3a20adb0bdea1fa590164c17fbb5bff63efff8d62d7406c580a953e9b
|
||||
DIST LWP-Protocol-https-6.06.tar.gz 8376 SHA256 b86c83cc1dcf4a6f84e2fbe32f9c39591a36e6e418af00533505f3452496adef SHA512 acc65d63da858f25cf9cc1e11d074f035e8ead4c1ffea22bac930f61100ff98f2bf0bb4ede12219d6c22bd5fe4d99532a45fe5cbc9a4b863dd16b0c379f8d2ea WHIRLPOOL a7baea45b51a4646ca014eb63684ea21a86d89b53e6ee551276b9b94fe4508b102c20e6e1f5fc6507ccedd1f4fa4cf38888dfb3e68d7982e5c3c1822631f4883
|
||||
DIST LWP-Protocol-https_ca-cert-r1.patch.gz 597 SHA256 c8eee81eb55537aa47637b3e218a6c1fec13ca362a9d397b085eb8703fbee851 SHA512 9cc73a042e8c8a9e6bcd377d70978063d3da4c263da35097306b916990845d19580c7cb9fbf7b63efa280366969fcda38a9ac8c2b443891dcf6ac522edab6c0c WHIRLPOOL 743d272adbd4ce461ce50072ba443557a4eb9cf4cf1f0d4d867a19515e4d8bd85bf3bcfa0bd6f1657d758cef3ba24022aafca6cd029d352aa02651f6bdbfc05f
|
||||
EBUILD LWP-Protocol-https-6.30.0-r1.ebuild 978 SHA256 9a0691a4a6b6abe534ffbfc6ccb38cef2901d5a4b9ed98305d58403dddb45d2e SHA512 79f22ed58b23f3aadf6fb2ec927407bb24e918bd025decb39555124ade34b662c385f5636e61741a1ee04f4c9c903e80e77fb94b871b02f80c8880a645d99b44 WHIRLPOOL 9c966e06bcc859481a068e987b7a91a1b2cfe5b6cc940474932e247e83eb23f4be9a94dc67c59ec3d183fe237ffde8d25f7637664215ec950288bc5ff12abf37
|
||||
EBUILD LWP-Protocol-https-6.40.0.ebuild 990 SHA256 f8998c9543e17df238e3f2e2b536462837e7cf4b671e129bbc568e6579a7e858 SHA512 cf3b57d30210284a3e6cf29040bede2a57e47ba02d9d7ff2ad95a4a30253d5d005b6b07bc91a0fa50be2c9d6fb1ea75648b9e7456450b415dda97385c3a1e232 WHIRLPOOL 52867e923133a31fcf19b1e6a7786dfa0bb80378aa861f51a821710333333372dc52fe6744c8fb331361804043952a35f86174cbfcc77ae65abbd72953e1b82e
|
||||
MISC ChangeLog 4857 SHA256 82d9898fdfdb0cc6948188d653acd83c29d25f87b58762a466fbabf46a1ddd76 SHA512 26eb4f49be8a708f4a18100f3e38fefcc753df614ba336a6d671a07c8675d9e649186762414223815b3d997547722f652573bb2815342ca091ff6f782abc11d1 WHIRLPOOL 681a30a9d7cbb5b3afa073ea8e64373335c29d1712d9bd7e29ed595152ce113019eed79ad24f943f8b8c1beed93d7f63a98de6acaba8ed6618e8ffd6ac467c89
|
||||
EBUILD LWP-Protocol-https-6.60.0.ebuild 1055 SHA256 8d7aeccfdf162fc36dafa41e55e62ec0a2b372f8b170242e952c4a131046bf0a SHA512 1996030043d1b69dc604c089007ab7d79dd05c5294c3c7f44d60049e93689bc4ae67cec361aa79e302c27d1e304183c146383e6d2ead279ba031dac6cd95b1b5 WHIRLPOOL 794616fafe3ac2c4da435cb0fc611b1830230c763717c8cb58165b3ae78aa3f67ba8ba3ef8a49bef8f52eadacd12fa8d75ee7a1ad7399f1853650aba0e163bb4
|
||||
MISC ChangeLog 5185 SHA256 e06c3b24735dbed156bc473eef9654dd3ba3899bfc334fb8215837c0346c8921 SHA512 ebf60ef64745022de5b472e60e996ed0aeae24e856dc93538a434e8e4c86a6b006657da4e435b48742bdb2ffd11c0dc60c5a632cb380941992caa4d5df284b46 WHIRLPOOL 730d24fc8fe83a2e2a3d0e6dba1ffbfa5cb384d790330eeea2fd1c63780269f9b0ab9d9b851885877a5756245cc26aadbf09afa2ffa5a3a1a9e005af585001f7
|
||||
MISC metadata.xml 377 SHA256 fe8114ebb9d41b089b9b2c19cde58314ed956fbe4161a186dc1d5198961b3510 SHA512 39c586f02df167b489dfcd7f542acd971fcc14e3375f3ea66add286b8d2093a095cfc8c9d4abda6324a0b915683342e2db60a5c9e6afa8ca5d81a348d9d41e83 WHIRLPOOL cdf8c27aa39c2d1a5e38d18eb6696468bb7865c0688a1ac2921ba42980d7c3cdeec7fb02cc3df894fa2faa04867c1f7b24aa0867a4b6844c74d62e0d52bdbff4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iJwEAQEIAAYFAlP/bZUACgkQG9wOWsQutdaS7AQAtWxPNH69T52HM50U83c5m4i4
|
||||
jt7GRFBo4b3rGeLbROmVjDaIttyoGQj7qO9xPoSR+MT479Lckxgw2tsuQ2WFu1Z/
|
||||
SWkVfv2zf24E95YEi2TUfexJOZhAXWvo4o3nn8/KrUUIt2Pz8SrVTBKKBjIpwnVm
|
||||
gsc/tqYcV6RoC557UEo=
|
||||
=Y9g5
|
||||
iQJ8BAEBCABmBQJUTX8SXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
|
||||
QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOckpgP/R9HVJVa9fAcDgacv0ruBWLb
|
||||
8m5rTCLFJZXxYhcd2nu+v6oMmVjoqdTPFuOYAly5lfWP3/N8cn2X2E1lF9Mgmyy6
|
||||
BjtRRsNA1f/1HouMuUYWGjCF5gJRXfjUlMGaUYcYVnwvuLXuV0qHidHAuM2HHfU6
|
||||
Fs19zOvPX5XJ5whCivQKn0J+W26PSouhHijLB1pcanyrzOcvCXS5d/uxDftJ78EW
|
||||
eBQVf7K2oUqTQKD+Y7WYE0wwty7VD7A04cl91Ts04W76iMvdPHTWCl+t6AhGW94k
|
||||
odCnypNeU7DKID8BF/NsitgKrWva3gERxcRDOas/CZ1+ZcUq7BT/yfsUoJpc3d5Q
|
||||
/YOZrMsGCvBe0eXeBK0+7AcB8EhCHG2d6JyMR0YTRZ0H48/Co9nYqZNQ9EIvu9XT
|
||||
USGOA5FAv5d1xnMqD3W21EN6XxsZxGjprcMjHrUD+EWzpg+j9amdC42Oca4Pd/c2
|
||||
HsLTWnuMCyZ1jX/JroH9u/GTOI8nibxqc4bt/Uv9uEEd+SYTDPtoLV/uvs7BPWyW
|
||||
jYXK4z6CPVSjY9ESoAyF1RjuYEbuEUanCepCAj7rvgzlvJyrt1lUdiEzKdWh8WGd
|
||||
iMX3dHym/BZdXg3jgNBEjTB7Str6SlI0wudTAihv3itp81LyMIDxNXpCDNBzLqme
|
||||
qYlUG4OPBIymJF3WrjXi
|
||||
=uoFM
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,22 @@
|
||||
Source: https://bugzilla.redhat.com/show_bug.cgi?id=1094440
|
||||
|
||||
This patch combines the following two:
|
||||
https://bugzilla.redhat.com/attachment.cgi?id=894747
|
||||
https://bugzilla.redhat.com/attachment.cgi?id=894748
|
||||
|
||||
diff -ruN LWP-Protocol-https-6.06.orig/lib/LWP/Protocol/https.pm LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm
|
||||
--- LWP-Protocol-https-6.06.orig/lib/LWP/Protocol/https.pm 2014-04-18 18:33:26.000000000 +0200
|
||||
+++ LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm 2014-10-26 23:57:27.714303175 +0100
|
||||
@@ -21,7 +21,11 @@
|
||||
$ssl_opts{SSL_verifycn_scheme} = 'www';
|
||||
}
|
||||
else {
|
||||
- $ssl_opts{SSL_verify_mode} = 0;
|
||||
+ if ( $Net::HTTPS::SSL_SOCKET_CLASS eq 'Net::SSL' ) {
|
||||
+ $ssl_opts{SSL_verifycn_scheme} = '';
|
||||
+ } else {
|
||||
+ $ssl_opts{SSL_verifycn_scheme} = 'none';
|
||||
+ }
|
||||
}
|
||||
if ($ssl_opts{SSL_verify_mode}) {
|
||||
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
|
@ -0,0 +1,33 @@
|
||||
See https://bugs.gentoo.org/358081
|
||||
|
||||
|
||||
diff -ruN LWP-Protocol-https-6.06.orig/lib/LWP/Protocol/https.pm LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm
|
||||
--- LWP-Protocol-https-6.06.orig/lib/LWP/Protocol/https.pm 2014-04-18 18:33:26.000000000 +0200
|
||||
+++ LWP-Protocol-https-6.06/lib/LWP/Protocol/https.pm 2014-10-27 00:04:50.604802937 +0100
|
||||
@@ -25,25 +25,7 @@
|
||||
}
|
||||
if ($ssl_opts{SSL_verify_mode}) {
|
||||
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
|
||||
- eval {
|
||||
- require Mozilla::CA;
|
||||
- };
|
||||
- if ($@) {
|
||||
- if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
|
||||
- $@ = <<'EOT';
|
||||
-Can't verify SSL peers without knowing which Certificate Authorities to trust
|
||||
-
|
||||
-This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
|
||||
-environment variable or by installing the Mozilla::CA module.
|
||||
-
|
||||
-To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
|
||||
-environment variable to 0. If you do this you can't be sure that you
|
||||
-communicate with the expected peer.
|
||||
-EOT
|
||||
- }
|
||||
- die $@;
|
||||
- }
|
||||
- $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file();
|
||||
+ $ssl_opts{SSL_ca_path} = '/etc/ssl/certs';
|
||||
}
|
||||
}
|
||||
$self->{ssl_opts} = \%ssl_opts;
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for dev-python/dockerpty
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dockerpty/ChangeLog,v 1.1 2014/10/27 02:02:53 alunduil Exp $
|
||||
|
||||
*dockerpty-0.2.4 (27 Oct 2014)
|
||||
|
||||
27 Oct 2014; Alex Brandt <alunduil@gentoo.org> +dockerpty-0.2.4.ebuild,
|
||||
+metadata.xml:
|
||||
add ebuild written by me
|
||||
|
@ -0,0 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST dockerpty-0.2.4.tar.gz 16655 SHA256 5c8f8e894516a957d0eee737eeb50736b585ebdf4420f6c6fcb5aa6cc0a4c926 SHA512 37e7d8aa0cb6228518d4feef2d6b14584511a8594ec52f449df7092f110cdc46afddb820d7dbebe4d4b0160b9857f7f55d7fdf9d8b37e13e7f81beaa3e483bd3 WHIRLPOOL bc06296318801e5b4cf25eaf7c7f98586cb2d942b6a28ad632c10ac1136c12c473c680f762942cc9344c3c97c17a8a98438faf21dc05d0b1ec58d163683fe451
|
||||
EBUILD dockerpty-0.2.4.ebuild 1634 SHA256 c0f63f559cc18d80e9db18754feb95e94ad33ac73cce793a7bc32efdedc1cec6 SHA512 aba9f40e70d751683ff04ae7df69454de01d87a418e2b1909fe225fd64b351e03b659b0e0b781b946273d174bb199dcb2ac75e4bbbbd8670658311a0d08edf7a WHIRLPOOL fe8e78e09f553c332a33c5c296a777bdaac12acfeeae3e1a33fe8ff3cc86539d543f22f456580fd6d457794171fbff5de39650c49d4cbac0305079c46fa1efd1
|
||||
MISC ChangeLog 366 SHA256 de74bde7ef3326d728c4e30ee9b49f7fd312cd48825cc5cc3be474790fddf273 SHA512 840605816972838fd27fbd7da07ef7b207739b07b1a9516217a88ecd194f8108873096fb00bf93952b8c69b2642b12c1b1e435cd7eb510f3666dd55b7f925942 WHIRLPOOL 5d9a23830daab45da6c08383436d7bc6439e803036768bfd4669ab2012e0de146568f0854e34f800c2c11db8a6c8a37ab5e73100d0e69cc03c0c41005bb451e5
|
||||
MISC metadata.xml 281 SHA256 4f517e212ebf30022599267011b7d752fb61f1063c90f9d442242fba23e5207f SHA512 c4d7e9c37508015a286fc8288d3c201c5779aca1252bc6ed7f25ce87555b513817d4e3fa624255e7644b24e4db0e1b976ea34810ece8f718dac3b027a3e601ba WHIRLPOOL d144bd0785d423f05e5ff568d7c7c5b6f4aa6d651d44ec9f55dce23aafc6552d0d39f8229a612109665cfb3e839ff746e64c0cb0130fe93e9f231238c61a87ba
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJUTafOAAoJECZUyt4RqCF85NYP/2l/l/wRvQ2ye2eo47+oDv/p
|
||||
W5rudOAfqmhVgfzSPd3mGrTQ1VbGKfV3tezEnPNfOVQnpEQUQ7IQw52qDrtLU6MU
|
||||
W5aBHo2Q3BSoFiq3A6woEaIUyh1mKseqCB194x5K3mEQ6F2HNNEC9NMUdnHQi2y8
|
||||
OeyUX7/v19lFqWCCcgJ+lPSPSS67fSeeA4wyMpTM4yIlyeP6pgEBhtQauePHX7VO
|
||||
FMEn9CY72h/C23kVZkNN/5AflPnmBf7ZftHjJrN3dFroAvUIg2r82JKl2yqEzcx/
|
||||
jITItPtxlnMD4fLhPSD4y0wTe2KNY2+/0J9LegtsT8sEIpwFN1dzyJN80pNU8PLy
|
||||
tdjOSVf/JVAMAFoNbv5QuskvW57To73QgCMNCNzCE9+2LuV67TNp1PQn5teoWHUF
|
||||
Ba4VBGzl5Uztyf2rqf+dNFXpoJDFJop/6CzikPeUTynRDQ9fQhj6A18oEcShU7R4
|
||||
M7fRFPJvlHo2J9h3Qwgdh7Rv77L2akhRWyHeD0et27OeQD9/YZXDRD7gcwC1i16H
|
||||
SxMO/Qf89z1/gdUgsUqIBZQjRjitu7/HhUdUto3etJ2kliG8N+i78iBabNpRh93Q
|
||||
C6amXAwI5zCzPIE3l/RZY5uiCu9jhYjVt956InDlVRleJKZQrY0S/nN0l4+XrRGg
|
||||
c4JStwQnG24tU7T7pZU5
|
||||
=asRt
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dockerpty/dockerpty-0.2.4.ebuild,v 1.1 2014/10/27 02:02:53 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Python library to use the pseudo-tty of a docker container"
|
||||
HOMEPAGE="https://github.com/d11wtq/dockerpty"
|
||||
SRC_URI="https://github.com/d11wtq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/behave-1.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/expects-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.5.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND=">=dev-python/docker-py-0.3.2[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# Note: https://github.com/d11wtq/dockerpty/issues/20
|
||||
ebegin 'patching features/interactive_terminal.feature'
|
||||
sed \
|
||||
-e '100,119d' \
|
||||
-i features/interactive_terminal.feature
|
||||
STATUS=$?
|
||||
eend ${STATUS}
|
||||
[[ ${STATUS} -gt 0 ]] && die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local RUN_FEATURES=0
|
||||
|
||||
ewarn "${PN} tests require portage to be in the docker group!"
|
||||
getent group docker |& grep portage 1>/dev/null 2>&1
|
||||
RUN_FEATURES+=$?
|
||||
|
||||
ewarn "${PN} tests require a running docker service!"
|
||||
which docker 1>/dev/null 2>&1 && docker info 1>/dev/null 2>&1
|
||||
RUN_FEATURES+=$?
|
||||
|
||||
if [[ ${RUN_FEATURES} -eq 0 ]]; then
|
||||
behave || die "Feature tests failed under ${EPYTHON}"
|
||||
|
||||
fi
|
||||
|
||||
py.test tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.0.ebuild,v 1.1 2014/10/26 19:41:19 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 virtualx flag-o-matic
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.sourceforge.net/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples excel html test R"
|
||||
|
||||
CDEPEND="
|
||||
>dev-python/numpy-1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
<dev-python/openpyxl-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytables-3.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2_7')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2_7')]
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="${CDEPEND}
|
||||
>=dev-python/numexpr-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
excel? (
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2_7')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2_7')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
_python_compile() {
|
||||
# https://github.com/pydata/pandas/issues/8033
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
local CXXFLAGS=${CXXFLAGS}
|
||||
export CFLAGS
|
||||
export CXXFLAGS
|
||||
append-cflags -fno-strict-aliasing
|
||||
append-cxxflags -fno-strict-aliasing
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
nosetests --verbosity=3 -A 'not network and not disabled' pandas \
|
||||
|| die "Tests failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dodoc -r "${BUILD_DIR}"/lib/doc/build/html
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ply-3.4.tar.gz 138342 SHA256 af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b SHA512 6f6ee528393ff83eff2530ca468caf12e4c89b817a38302738597f1478dd41758036c8f32f88f60d1a26e70d9cfceab5530ddcfd3f058c1ee722be95c27e6bcc WHIRLPOOL f2f58e2d0c1170d35554999ca643c102d6821a7535b5782ee7317a4100cf56b5648d643c274cefd66a7b484ae3a9e952bcf4b98d50e7fd1ff220853f982a2f4c
|
||||
EBUILD ply-3.4-r1.ebuild 1065 SHA256 606724f3a31f4786a1db2e0dff8680aca81879d7114992bd8c0cc6cb89ead0b2 SHA512 75a44973e11b1c40efc888938e7b93e812d424939a5d5c2ebb0290649239c68285d6064b0d359447463e688783fe6196534cfc292535bf9da0350c6a5874a258 WHIRLPOOL ea2db1596cf4df14ba0b89117602d45dbc2f866b0b8771d6251b21131d0195cd46b996b058bd2cdb99f26957dbd69d812b3e88a7996198829d61991e4a1795d9
|
||||
EBUILD ply-3.4-r1.ebuild 1152 SHA256 0d02fb36775c8550276742b08756bb8364476c68f7a45311b146c2b192d8083a SHA512 70e1e1370f80626b39832d4358b1afc2d40ea39778e93184eab302f9701ba7e7ffec73121eb783e007c7037de752b8d9c6447851eebc57fc1aa74e5af2047ffe WHIRLPOOL 9db88ab8f9929ae500334ffb3d16642eb6159f414dd0f88412559b7b2c0f786244d5ceafabc94d23cfde8a8dde5a159815f14273807c16e67950dd8db1ea0930
|
||||
EBUILD ply-3.4.ebuild 1195 SHA256 0a40751bd6b67eb42dd731c31acdc6bbe7b549021318b50340c3b1c88a3b5608 SHA512 2db3a59fd507be399c978306f62f16bb7390fefa48e1a6f65a2ab99cebbd4b49d32761147322e2c3720a9d9aa2117056be01d64b0110ac44e89733eb3a28eb92 WHIRLPOOL 9c9b407dba7ee1e6983aa21ff3156d4795467e15f60335f111306c86a2ede94de40f7e245061c1994f392301174ac4ae542cf3febd3a5d1b206159c944b955dc
|
||||
MISC ChangeLog 4203 SHA256 1252a17efbfee434c7f7451d186d49ca5f688383878df77e089454b34248cc7a SHA512 2dd74ddec3c1d3956dda2161ee67c7b8a5295269439753dc7b92a84487395bf37bac1de5a42a108adbcf364515dbd60ae9563971676a6e8047e5097d7806bebd WHIRLPOOL 6b273acd295036d045866750ded857d6eb5ff62154003c7bd2d147834719881ce78ccaf2498926b56d5cd6bceb37229622b0e953693a29844c6f5c877ecf86be
|
||||
MISC ChangeLog 4311 SHA256 7f518fc2a9bbd5f17922c9abc306aa03ff1f6b029b6f03d31df2b72d68f194f3 SHA512 19fc81a548b574eae1aed8b7e06be5125b85b05b6bf176acbb6f12ab27a9a42cce7f7bbafdaafe34cc7e8d9f2d3a5c78a98f6560cab78740c60f8db689a211c1 WHIRLPOOL cf2d6befca6901e0b9bd25d14c446609eb1dde9acc61f55e7ffdc5954ed990fb83bda8152eaf16f1aeb8667aebc58e65ffd4a60edd253d7df76059070bb6636b
|
||||
MISC metadata.xml 1268 SHA256 552871264db95b1396b369f4b152d1d467c6885804462efb9e53bd0a8a7426a2 SHA512 73836e626c98dc37f7c7af87ca20803d724f88186c1d36f5b6d28b9a53fff57a9c43fcf0ebe6726964de924e95f1f145564b1b0f2387d0749061f82dbd1779e5 WHIRLPOOL 136222ec500b259e65f1d6a06244bca8cedc7b31d70e0da0731fd2eaf8d5c0c86f789f7926d551281a20314edb123d737fba73838a78a415051cb7888858d5ba
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlRNReAACgkQX3X2B8XHTolglgCfSP5Gf9E2flvlpmYNtkM4ppUg
|
||||
NCMAn1BeSEq7QGTuKIJpPuCfmrXApPUR
|
||||
=1Gjd
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy-migrate/sqlalchemy-migrate-0.7.2-r1.ebuild,v 1.5 2014/10/27 02:42:11 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SQLAlchemy Schema Migration Tools"
|
||||
HOMEPAGE="http://code.google.com/p/sqlalchemy-migrate/ http://pypi.python.org/pypi/sqlalchemy-migrate"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.8[${PYTHON_USEDEP}]
|
||||
dev-python/tempita[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
# for tests: unittest2 and scripttest
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue