parent
6a06e37880
commit
8b69fee583
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/rex/rex-0.55.1.ebuild,v 1.1 2014/11/10 03:01:11 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=JFRIED
|
||||
MODULE_VERSION=0.53.1
|
||||
MODULE_A=Rex-${PV}.tar.gz
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="(R)?ex is a small script to ease the execution of remote commands"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Net-SSH2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/JSON-XS
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Digest-SHA1
|
||||
dev-perl/Digest-HMAC
|
||||
dev-perl/Expect
|
||||
dev-perl/DBI
|
||||
dev-perl/yaml
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/String-Escape
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/Parallel-ForkManager"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/Rex-${PV}"
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/libu2f-host/libu2f-host-0.0-r1.ebuild,v 1.3 2014/10/25 17:36:45 flameeyes Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils linux-info udev
|
||||
|
||||
DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library"
|
||||
HOMEPAGE="https://developers.yubico.com/libu2f-host/"
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="kernel_linux systemd"
|
||||
|
||||
RDEPEND="dev-libs/hidapi
|
||||
dev-libs/json-c"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${RDEPEND}
|
||||
systemd? ( sys-apps/systemd[acl] )"
|
||||
|
||||
CONFIG_CHECK="~HIDRAW"
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
sed -i -e 's:|\([^0]\):|0\1:g' 70-u2f.rules || die
|
||||
|
||||
sed -e 's:GROUP="plugdev":TAG+="uaccess":g' 70-u2f.rules > 70-u2f-systemd.rules || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use kernel_linux; then
|
||||
if use systemd; then
|
||||
udev_newrules 70-u2f-systemd.rules 70-u2f.rules
|
||||
else
|
||||
udev_dorules 70-u2f.rules
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,335 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.4-r1.ebuild,v 1.1 2014/11/10 07:58:51 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit 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/emacs/${P}.tar.xz
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-2.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"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
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:0= )
|
||||
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? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
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
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
#AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
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; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
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
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (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}"
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# 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
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
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 https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
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
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ecb-2.40.tar.gz 986581 SHA256 5a6609699b844b535cc26fac1d6740ffeeb07d9895e8eb8214d3dbe77a34e53e SHA512 c22ff9a848f03a0ddb57401166532377f62722a793b3b8366c8fd9160f30cd2798b4af5744a276e7b3bcb5e098fdcc9733fd92d60b3a7279c60a0aba4754739a WHIRLPOOL e8ff82f20055338a7c819782632ccc31eba3c7656ccd156a3ea344720c8780516e6f90775157ae5516e62112356dd993dcf4f91e1393c100d531b836cae633f8
|
||||
DIST ecb-2.41_pre20140215.tar.xz 2357656 SHA256 b2a485570fb57eb88ccb7c94dbf176cdb1c95573eb95d95e43e86d2bf6dc2660 SHA512 771fce07ea810d9c539c24bd2b1a0711c6ff92d4d12950f3c67ec43bd134d85cba86d8b6c2322c241803e8b60b9c2f0f8ba97a54036ae15b01fbf9234b3ba565 WHIRLPOOL f47bb43c119fe903eb4763ce55922ab88841e456cada0a7cb5da2324406dbbf62d12f2dcbb0a279305b84e1fb6b4c992ec32e24480ac40554a4c20c9292066cb
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.41_pre20140215.ebuild,v 1.1 2014/11/10 08:21:22 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Source code browser for Emacs"
|
||||
HOMEPAGE="http://ecb.sourceforge.net/"
|
||||
# snapshot of https://github.com/alexott/ecb.git
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="java"
|
||||
|
||||
DEPEND="java? ( app-emacs/jde )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
DOC_CONTENTS="ECB is autoloaded in site-gentoo.el. Add the line
|
||||
\n\t(require 'ecb)
|
||||
\nto your ~/.emacs file to enable all features on Emacs startup."
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.32-gentoo.patch"
|
||||
sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local loadpath="" sl=${EPREFIX}${SITELISP}
|
||||
if use java; then
|
||||
loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp"
|
||||
fi
|
||||
|
||||
emake LOADPATH="${loadpath}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r ecb-images
|
||||
|
||||
doinfo info-help/ecb.info*
|
||||
dohtml html-help/*.html
|
||||
dodoc CYCLE_PROPOSAL NEWS README RELEASE_NOTES TODO
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-2.1-r92.ebuild,v 1.1 2014/11/09 20:41:38 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~mgorny/dist/bashcomp2-pre1.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( >=app-shells/bash-4.3_p30-r1 app-shells/zsh )
|
||||
sys-apps/miscfiles
|
||||
!app-admin/eselect-bashcomp
|
||||
!!<app-shells/bash-4.3_p30-r1"
|
||||
|
||||
# Remove unwanted completions.
|
||||
STRIP_COMPLETIONS=(
|
||||
# Included in util-linux, bug #468544
|
||||
cal dmesg eject hd hexdump hwclock ionice look ncal renice rtcwake
|
||||
|
||||
# Slackware package stuff, quite generic names cause collisions
|
||||
# (e.g. with sys-apps/pacman)
|
||||
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
|
||||
|
||||
# Debian/Red Hat network stuff
|
||||
ifdown ifup ifstatus
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/bashcomp2-pre1/*.patch
|
||||
}
|
||||
|
||||
src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
|
||||
|
||||
src_install() {
|
||||
# work-around race conditions, bug #526996
|
||||
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
|
||||
|
||||
emake DESTDIR="${D}" profiledir=/etc/bash/bashrc.d install
|
||||
|
||||
# use the copies from >=sys-apps/util-linux-2.23 wrt #468544 -> hd and ncal
|
||||
# becomes dead symlinks as a result
|
||||
local file
|
||||
for file in "${STRIP_COMPLETIONS[@]}"; do
|
||||
rm "${ED}"/usr/share/bash-completion/completions/${file} || die
|
||||
done
|
||||
|
||||
# use the copy from app-editors/vim-core:
|
||||
rm "${ED}"/usr/share/bash-completion/completions/xxd || die
|
||||
|
||||
# use the copy from net-misc/networkmanager:
|
||||
rm "${ED}"/usr/share/bash-completion/completions/nmcli || die
|
||||
|
||||
dodoc AUTHORS CHANGES README
|
||||
|
||||
# install the eselect module
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${WORKDIR}"/bashcomp2-pre1/bashcomp.eselect
|
||||
doman "${WORKDIR}"/bashcomp2-pre1/bashcomp.eselect.5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 2.1-r90 ${v}; then
|
||||
ewarn "For bash-completion autoloader to work, all completions need to"
|
||||
ewarn "be installed in /usr/share/bash-completion/completions. You may"
|
||||
ewarn "need to rebuild packages that installed completions in the old"
|
||||
ewarn "location. You can do this using:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
|
||||
ewarn
|
||||
ewarn "After the rebuild, you should remove the old setup symlinks:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
|
||||
fi
|
||||
done
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,248 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.3_p30-r1.ebuild,v 1.1 2014/11/09 20:41:28 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# The version of readline this bash normally ships with.
|
||||
READLINE_VER="6.3"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-${READLINE_VER} )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases.
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
fi
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.3-compat-lvl.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-parse-time-keyword.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-append-process-segfault.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.3-term-cleanup.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER}
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
if use plugins; then
|
||||
append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
else
|
||||
# Disable the plugins logic by hand since bash doesn't
|
||||
# provide a way of doing it.
|
||||
export ac_cv_func_dl{close,open,sym}=no \
|
||||
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
|
||||
sed -i \
|
||||
-e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
|
||||
configure || die
|
||||
fi
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--docdir='$(datarootdir)'/doc/${PF} \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
dodir /bin
|
||||
mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/bash_logout
|
||||
newins "${FILESDIR}"/bashrc-r1 bashrc
|
||||
keepdir /etc/bash/bashrc.d
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${ED}"/etc/skel/.bashrc \
|
||||
"${ED}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,startup-files} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${EROOT}"/etc/bash
|
||||
mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${EROOT}/bin/sh ]] ; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${EROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${EROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${EROOT}/bin/sh ]] ; then
|
||||
ln -sf bash "${EROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
# /etc/bash/bashrc
|
||||
#
|
||||
# This file is sourced by all *interactive* bash shells on startup,
|
||||
# including some apparently interactive shells such as scp and rcp
|
||||
# that can't tolerate any output. So make sure this doesn't display
|
||||
# anything or bad things will happen !
|
||||
|
||||
|
||||
# Test for an interactive shell. There is no need to set anything
|
||||
# past this point for scp and rcp, and it's important to refrain from
|
||||
# outputting anything in those cases.
|
||||
if [[ $- != *i* ]] ; then
|
||||
# Shell is non-interactive. Be done now!
|
||||
return
|
||||
fi
|
||||
|
||||
# Bash won't get SIGWINCH if another process is in the foreground.
|
||||
# Enable checkwinsize so that bash will check the terminal size when
|
||||
# it regains control. #65623
|
||||
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
|
||||
shopt -s checkwinsize
|
||||
|
||||
# Enable history appending instead of overwriting. #139609
|
||||
shopt -s histappend
|
||||
|
||||
# Change the window title of X terminals
|
||||
case ${TERM} in
|
||||
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
|
||||
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
|
||||
;;
|
||||
screen*)
|
||||
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"'
|
||||
;;
|
||||
esac
|
||||
|
||||
use_color=false
|
||||
#BSD#@# BSD doesn't typically come with dircolors so we need
|
||||
#BSD#@# to hardcode some terminals in here.
|
||||
#BSD#@case ${TERM} in
|
||||
#BSD#@ xterm*|rxvt*|Eterm|aterm|kterm|gnome*|screen|cons25) use_color=true;;
|
||||
#BSD#@esac
|
||||
|
||||
# Set colorful PS1 only on colorful terminals.
|
||||
# dircolors --print-database uses its own built-in database
|
||||
# instead of using /etc/DIR_COLORS. Try to use the external file
|
||||
# first to take advantage of user additions. Use internal bash
|
||||
# globbing instead of external grep binary.
|
||||
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
|
||||
match_lhs=""
|
||||
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
|
||||
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
|
||||
[[ -z ${match_lhs} ]] \
|
||||
&& type -P dircolors >/dev/null \
|
||||
&& match_lhs=$(dircolors --print-database)
|
||||
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
|
||||
|
||||
if ${use_color} ; then
|
||||
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
|
||||
if type -P dircolors >/dev/null ; then
|
||||
if [[ -f ~/.dir_colors ]] ; then
|
||||
eval $(dircolors -b ~/.dir_colors)
|
||||
elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
|
||||
else
|
||||
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
|
||||
fi
|
||||
|
||||
#BSD#@export CLICOLOR=1
|
||||
#GNU#@alias ls='ls --color=auto'
|
||||
alias grep='grep --colour=auto'
|
||||
alias egrep='egrep --colour=auto'
|
||||
alias fgrep='fgrep --colour=auto'
|
||||
else
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
# show root@ when we don't have colors
|
||||
PS1='\u@\h \W \$ '
|
||||
else
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
fi
|
||||
|
||||
for sh in /etc/bash/bashrc.d/* ; do
|
||||
[[ -r ${sh} ]] && source "${sh}"
|
||||
done
|
||||
|
||||
# Try to keep environment pollution down, EPA loves us.
|
||||
unset use_color safe_term match_lhs sh
|
@ -0,0 +1,182 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.7_beta3.ebuild,v 1.1 2014/11/10 04:27:09 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 python-utils-r1 flag-o-matic
|
||||
|
||||
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/icu4j:52
|
||||
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.7"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.7
|
||||
app-arch/unzip
|
||||
test? (
|
||||
dev-java/junit:4
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="asm-4,commons-compress,guava-13,jffi-1.2,jline,jnr-constants"
|
||||
EANT_GENTOO_CLASSPATH+=",script-api,servlet-api-2.5,stringtemplate,xerces-2,icu4j-52"
|
||||
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"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.2-distutils_scripts_location.patch
|
||||
"${FILESDIR}"/${PN}-2.5.2-respect_PYTHONPATH.patch
|
||||
"${FILESDIR}"/${PN}-2.7_beta1-ant.patch
|
||||
"${FILESDIR}"/${PN}-2.7_beta1-dont-always-recompile-classes.patch
|
||||
"${FILESDIR}"/${PN}-2.7_beta2-maxrepeat-import.patch
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
find \( -name '*.jar' -o -name '*.class' \
|
||||
-o -name '*.pyc' -o -name '*.exe' \) -delete
|
||||
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
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
|
||||
|
||||
# apparently this can cause problems
|
||||
append-flags -fno-stack-protector
|
||||
}
|
||||
|
||||
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() {
|
||||
local instdir=/usr/share/${PN}-${SLOT}
|
||||
|
||||
java-pkg_newjar dist/${PN}-dev.jar
|
||||
|
||||
java-pkg_register-optional-dependency jdbc-mysql
|
||||
java-pkg_register-optional-dependency jdbc-postgresql
|
||||
|
||||
insinto ${instdir}
|
||||
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}${instdir}" \
|
||||
-Dpython.cachedir="${T}/.jythoncachedir" \
|
||||
-Duser.home="${T}" \
|
||||
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}${instdir}"/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}${instdir}"/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
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/core_kernel/core_kernel-111.28.00.ebuild,v 1.1 2014/11/10 08:29:52 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="System-independent part of Core"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV}/individual/${P}.tar.gz
|
||||
http://dev.gentoo.org/~aballier/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-ml/bin-prot-109.53.00:=
|
||||
>=dev-ml/comparelib-109.27.00:=
|
||||
>=dev-ml/fieldslib-109.20.00:=
|
||||
>=dev-ml/herelib-109.35.00:=
|
||||
>=dev-ml/pa_ounit-109.27.00:=
|
||||
>=dev-ml/pipebang-109.15.00:=
|
||||
>=dev-ml/sexplib-109.20.00:=
|
||||
>=dev-ml/variantslib-109.15.00:=
|
||||
dev-ml/enumerate:=
|
||||
dev-ml/pa_bench:=
|
||||
>=dev-ml/typerep-111.17:=
|
||||
!dev-ml/zero
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-ml/pa_ounit
|
||||
>=dev-ml/core-109.60.00
|
||||
)"
|
||||
DOCS=( "README.md" )
|
@ -0,0 +1 @@
|
||||
DIST enumerate-111.08.00.tar.gz 52498 SHA256 a604f8df852ba4f5781ea87da7f901278520a4329d93a9768d97d1006ee9d52c SHA512 fdedc584923552e898e0932c75b9a9c48c7c90291239cf6b5b26860b0714f2f3582f1d00acc247fb28ecb8c6e26867fc1e56c7df18fefd70eb2910ef1dfdcc3c WHIRLPOOL 8d9d2fd60d7476c22ff0c9abd2adc74b1b8cd976e32b7234e59d74da625c2b252a627fd4d757ae291ba649cf70ad73ac11be08b6e3372db4c2bc13e715cc63ce
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/enumerate/enumerate-111.08.00.ebuild,v 1.3 2014/11/10 07:44:51 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit oasis
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
DESCRIPTION="Syntax extension to produce a list of all values of a type"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-ml/type-conv-111.13:=
|
||||
|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
DOCS=( README.md )
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ml</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST pa_bench-109.55.02.tar.gz 51237 SHA256 98f0158e0997ab400d182537a6f6bff4ebccf0e14424fa470391b17c2e1e5dc8 SHA512 fa129c3d3b1c3a6e6f09f43751eba8cb4bb775b6a1b2031249507c05538364710844d0d6efc58b283552980629d0f2a2189b75aa24d58daa8d8ce12883f2ee89 WHIRLPOOL f0b81d9c6ac377684adc0a86b91042a1ce1ba2d15cd9f86093cd58d44f90d8917807c9ebc460b577251d8194a97ae06561e51de22ccb586ba53518809fbd26e3
|
||||
DIST pa_bench-111.28.00.tar.gz 53158 SHA256 2cbb6fca9ba8889c97236e05d92451cf3880aabbe4430519d131f5f68d80f4f3 SHA512 0eb7af5e2db9889dcbae244569a3cd5c5f631e7abc70684056f1c11d8702225f16e954d79e98ec373af424819183aa33835a8b70cb14fe544ffc475e98684ef1 WHIRLPOOL 5a7b32062b9599b5d25c1b34009e47d899a33a4ea092aa10de9f896bcedf0dfc4766872b4155cb11e4a4ef0319aec26b2f1ac8082e54f59762e7ff3cc3ee2177
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pa_bench/pa_bench-111.28.00.ebuild,v 1.1 2014/11/10 07:31:05 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit oasis
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
DESCRIPTION="Syntax extension writing inline benchmarks"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-ml/type-conv-109:=
|
||||
dev-ml/pa_ounit:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/postgresql-ocaml/postgresql-ocaml-2.1.2.ebuild,v 1.1 2014/11/10 07:30:02 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="A package for ocaml that provides access to PostgreSQL databases"
|
||||
SRC_URI="https://github.com/mmottl/postgresql-ocaml/releases/download/v${PV}/${P}.tar.gz"
|
||||
HOMEPAGE="http://mmottl.github.io/postgresql-ocaml/"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
virtual/postgresql[server]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-ml/findlib-1.5"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="LGPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
DOCS=( "AUTHORS.txt" "CHANGES.txt" "README.md" )
|
||||
|
||||
src_install() {
|
||||
oasis_src_install
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST typerep-109.55.02.tar.gz 140713 SHA256 dd2c473d416cc0d537aa33c1dfbd9374b93db049b709a8f88563aac8399ea014 SHA512 19e3cd88db93e42ce7a516d83b6fcec623c8ce60a4e02effc2b2221884d8c2d37d20d8f3b63da32bc1f7b9afeda6624c7043f2397579269451d2491f24088d78 WHIRLPOOL 44cb12802660345e1aaff3c0b54d2d317b8e8a9d3a1466ef3ec6940a68652e9cc0efe4b0076d5cf6e50f4cdb4f2d827cf2b1951bf4591d62fdad66625529af64
|
||||
DIST typerep-111.17.00.tar.gz 140974 SHA256 588774b4edfc2805df64169b01f0c66ec5b0a27ee242a9f39da64264e8477163 SHA512 b662a16e7723dbecdadac6d21dff8935c741ac9c6a660f631c1453bd7996c7a6f5cb663353592b109d20336dc86cf0d879519401f6c7f7e2dea64d4c0b1323da WHIRLPOOL c595c426bb023cf37168ebd87a8f5ee42f1007d9ee1441192a8ade4b5ffdcf44b2673b12f1dd72f35cbe40bbb2b68284d9a3e638587dc8ca8d4954047dee0c01
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/typerep/typerep-111.17.00.ebuild,v 1.1 2014/11/10 08:29:07 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit oasis
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
DESCRIPTION="Library for creating runtime representation of OCaml types"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}.00/individual/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~aballier/distfiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=dev-ml/type-conv-111.13:=
|
||||
dev-ml/sexplib:=
|
||||
dev-ml/bin-prot:=
|
||||
|| ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -0,0 +1 @@
|
||||
DIST bashate-0.3.1.tar.gz 16016 SHA256 2398140c35fcb03249640708aa7de652f9cbe680ad6cb09074a89255f6a30419 SHA512 dfa3e8f98879169cef445cc9a788b4ed051630330e2270c721e472f080899d6742cd3deb571049ba6b943ada0fc77a70f5a7e4742a54d1ca6d5f075a92a00ffb WHIRLPOOL d35e19ee324aa419e855ab4093b3b57f0420a5d9fcc15ff64c32935865e8680b21278f529f87ec0338807d7e903af5918f78a0c780ca7a89f672c0cc87b884bc
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bashate/bashate-0.3.1.ebuild,v 1.1 2014/11/10 05:22:44 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
DISTUTILS_IN_SOURCE_BUILD=TRUE
|
||||
|
||||
# time
|
||||
RESTRICT="test"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pep8 equivalent for bash scripts"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/bashate"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A pep8 equivalent for bash scripts
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST dockerpty-0.2.4.tar.gz 16655 SHA256 5c8f8e894516a957d0eee737eeb50736b585ebdf4420f6c6fcb5aa6cc0a4c926 SHA512 37e7d8aa0cb6228518d4feef2d6b14584511a8594ec52f449df7092f110cdc46afddb820d7dbebe4d4b0160b9857f7f55d7fdf9d8b37e13e7f81beaa3e483bd3 WHIRLPOOL bc06296318801e5b4cf25eaf7c7f98586cb2d942b6a28ad632c10ac1136c12c473c680f762942cc9344c3c97c17a8a98438faf21dc05d0b1ec58d163683fe451
|
||||
DIST dockerpty-0.3.2.tar.gz 16808 SHA256 c937518704d5ced544a556f97efef57327690f1cd64d413767d79dadd062d85f SHA512 fccb52cfabe5bc8fe81e18179737a4aa9bb35d064d08b081dddd17805c47d8cc3aec23e49b3d0cc6b165fda158166965e56555a6ce8e633d5ba057d35e4061e4 WHIRLPOOL 0c0a1c0ce5e748f5771a776abfd3bb1300dc3d088ecec0620fa4ff6946ca9206297c770b57801380d2d160f358df91977ff977d3d3bfc9488958d53365939594
|
||||
|
@ -0,0 +1,47 @@
|
||||
# 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.3.2.ebuild,v 1.1 2014/11/10 02:01:16 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_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}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST dogpile.cache-0.5.1.tar.gz 169450 SHA256 1f3165222bc23418cb9d3f1a2c9d554a091f412e5bc871ea0c48a19b576d06c0 SHA512 e9b9b8b7caf269cfecc8d333bd04714d908860e1e54720ce3329fae7be14995f8de6f1225e0cf6a782d5ef53ddd3482acc36a3440eb772e03f3d5029faeecc5c WHIRLPOOL ba14fc61604c78af038b6520079bbca1a46a889abebf69305f5722142cd47a45da966d8db64ec24cc7148363a22b109d89e4200087cc235a0721aea94f5c6a2c
|
||||
DIST dogpile.cache-0.5.2.tar.gz 173765 SHA256 acdcb69e7eb8421678172fe8709d6d92bf7249022a70e4d7c84316d4e2d1d1b5 SHA512 dcce0e06de4d053e16020ca32f210c79a7eab21b7d09a8041e655940f03e32c91919a26d75114fffa087bc8a33052d5b1b04aeaea92d663ba4237f2990de2f05 WHIRLPOOL 8cec6f397487dbd2d61e1ed0f9b96f08d0f560af2f13b92b819d5fb402616d59a8c1a50aab518c07413af40b9405214ff4b66448912e33839a7a8b9920541b76
|
||||
DIST dogpile.cache-0.5.4.tar.gz 185676 SHA256 9eab7a5dc05ad1b6573144c4a2717226b5c38811f9ec29b514e774535a91ea24 SHA512 ae73b8c82745cbde7b46f532e127c044a01e7b85d2e91b5f0a16da51fb9d70d48e2de55278db68f892a9b604e4f32e19a4a73c11393e04b599c8892280f9b5fe WHIRLPOOL 97b6dd6374940f081d60a7eba43844f17f39dbfa6df14ef18e9e8241b844f467126f4ffca3dd284408855d46c7f2299bb24bc9f2715271e2303e440a3b912f95
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dogpile-cache/dogpile-cache-0.5.4.ebuild,v 1.1 2014/11/10 06:52:43 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The Oslo configuration API supports parsing command line arguments
|
||||
and ini style configuration files"
|
||||
HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.cache"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/dogpile.cache/dogpile.cache-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dogpile.cache-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}] )"
|
||||
|
||||
# for testsuite
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
# This time half the doc files are missing; Do you want them? toss a coin
|
||||
|
||||
python_test() {
|
||||
# crikey. testsuite written for py3, 5 tests fail under py2.7
|
||||
if [[ "${EPYTHON}" != "python2.7" ]]; then
|
||||
nosetests || die "test failed under ${EPYTHON}"
|
||||
else
|
||||
einfo "testsuite restricted for python2.7"
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ldappool-1.0.tar.gz 6795 SHA256 1fc36c617ffa6195a738ca99ae7f2178271ebe30a5ee6d41abdb49168afb75aa SHA512 081dc08833d95bb0d3ce396cbbe697252e2b483cc3703e87f00f8af0513f9fdca4ff9c97295fb439ff1fcd404027d5922c2a6337665cfad526be3c6b83acfa53 WHIRLPOOL e5cb9b61848cb3fa7314eeeb25fd9bed89ec7e4dca50eb501f80f952ca3aab78017962c85359efbe6d741ec9b38450d78a06a287aee8e7e935db391c3856a68a
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ldappool/ldappool-1.0.ebuild,v 1.1 2014/11/10 05:37:01 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A connection pool for python-ldap"
|
||||
HOMEPAGE="http://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/python-ldap[${PYTHON_USEDEP}]
|
||||
"
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A simple connector pool for python-ldap.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST oslo.db-1.0.2.tar.gz 90060 SHA256 7092525eab0352748fc0c58a7facd3d6ae967d9130589b4afc12bfa171bee837 SHA512 77412e531f93966229c6cb866f34cb22c9b97e419f6035f0cb51a093ed218277aed85bf6b8a684b68ceb212ca9f17b0bda8073601cc4a569c3503d2dd1b59311 WHIRLPOOL ccde39e352adf7916b73b9883da1ef3aa99ce862d3dbd4b3ce86c058118cd49a43a50918237e0fb13ce7655cc6a88b3f745a5aee47af9af9e2a431dbb6cd4714
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
OpenStack Common DB Code
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -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/dev-python/oslo-db/oslo-db-1.0.2.ebuild,v 1.1 2014/11/10 07:07:19 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack Common DB Code"
|
||||
HOMEPAGE="http://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.db/oslo.db-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.db-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+sqlite mysql postgres"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/alembic-0.6.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-0.3.0[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.8.4[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[sqlite,${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.9.7[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/sqlalchemy-migrate-0.9.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST oslo.messaging-1.3.0.tar.gz 115501 SHA256 5abcb4c8725319e18a2d7d86f3768dfb3beb2b598cb4761879d45f509c95743c SHA512 bb15dee7f50e87a4aaa0a43437be9d084cbe02a51092a3ce0adac9ad3cb8ee21e6011e6f8d835464ae021be9db0be6defe23e6911b5fea118b00ba50e8a78dc3 WHIRLPOOL 649557bee31530bb2f40f4d6e1c640f5735cdc0c5cd4b7e2761f06a1365214195f0b37aa8ac4da8ac3b10826de94a46077ece955eaee5d81a38d4da0e346d954
|
||||
DIST oslo.messaging-1.4.1.tar.gz 144160 SHA256 28243db5fb84287016d6f58fa485a71496c825bcfca3ae806035017700a11945 SHA512 e5099bafa81f0dd86459034cf8a11031fb84b1af3b1fa7820e526f45241f37e8b2eea1a11b7aa420e38b36b3d7fbc2116ceeffe6cf635af9c36cc4ef8bb3b76a WHIRLPOOL 5732bcc2857448e996743914dc1e43b56fe13c6d5715b40967177dfbe0718b6e9d166e5a90fb394ae210150487bca2e3977335971ee9bf2780003ee790cb81d3
|
||||
|
@ -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/dev-python/oslo-messaging/oslo-messaging-1.4.1.ebuild,v 1.1 2014/11/10 06:40:45 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Messaging API for RPC and notifications over a number of different messaging transports"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslo.messaging"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.messaging/oslo.messaging-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.messaging-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
dev-python/oslotest[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND=">=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-0.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]"
|
||||
|
||||
# This time half the doc files are missing; Do you want them?
|
||||
|
||||
python_test() {
|
||||
nosetests tests/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST posix_ipc-0.9.8.tar.gz 66589 SHA256 271446eb133efb7410eb51265807aa54e0acb8eb7c2abcf027e51b4cb36d36dd SHA512 d0618c302e6d0f9113b9515627095d6baf383dcf4ac603b3a4596ee814873a0baa473e8505918859bda37cb539f98e76fd601e29f6772dbc14f74d6059fd4200 WHIRLPOOL 1c7ff555fdd9050b6c075873141030e0672c6f159ba68ea2f1f9d80cb18539ed7cd9fbfba772ee2be7754fad85943befc11805f8b4ba7eb2bf0cbcf7db5eafe3
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
POSIX IPC primitives (semaphores, shared memory and message queues) for Python
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/posix_ipc/posix_ipc-0.9.8.ebuild,v 1.1 2014/11/10 06:46:06 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="POSIX IPC primitives (semaphores, shared memory and message queues) for Python"
|
||||
HOMEPAGE="http://semanchuk.com/philip/posix_ipc/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND=""
|
@ -1 +1,2 @@
|
||||
DIST pycadf-0.5.tar.gz 273168 SHA256 b150df953b822c0317c6f1fbd35b950db0d2ce8bc53bb7319cc921e3018e59e1 SHA512 c7c108ba79c8f34ffcac77d43317d6bed34ecd9e23980ecf4a061c5d9fa52d446835a92263bef030cfb974e750245c19c634902f3e3b79233a12a02affdb9a54 WHIRLPOOL c058201b9e396930de463fa43ba73145663c7efa0a2e4c57303e1d5919ad7ecc7e972d010ea48427b8984ea536cf75a5e71c13a868b7ef12c79162229b7b4a31
|
||||
DIST pycadf-0.6.0.tar.gz 277434 SHA256 9ba1e9ac52ee2a2d6d9cc89847323559cc2ffe7b4d80b703944a0a1f75c7093f SHA512 97e223296e5cf77bbc2f7f8b2caba70f76d418ccd476bbc07462dac2c01399f920ae7801f1e30ef91ac6dbfe340b8b45dff2426bf457c1239f54293dbadeef61 WHIRLPOOL 96644ae4b82352cd0a296f3a9adf161b8500d043d8d2bce239c23473a53e1a2feb43f60d92c67bf1543b3b101bbf722bf9104b2c6b16fa7240b94e86cc6a2aa1
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycadf/pycadf-0.6.0.ebuild,v 1.1 2014/11/10 06:49:00 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python implementation of DMTF Cloud Audit (CADF) data model"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pycadf"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.2[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}]
|
||||
~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
RDEPEND=">=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/posix_ipc[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2010h[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=()
|
||||
|
||||
python_prepare_all() {
|
||||
# ? typo error in conf.py
|
||||
sed -e s':oslosphinx:oslo.sphinx:' -i doc/source/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests ${PN}/tests || die "test failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST pysaml2-2.1.0.tar.gz 12697706 SHA256 0843cbe784fd3b8b798d8b476fe871d48f0f2aab2bd95036a6e50eda99860340 SHA512 ba2076bd81465f3bbaeac11e9a6908f1ab899aa301c909b6bc67a681e94a7260ab214bad949dc937b4673bbed2aa550bf196ee8b055939fce62c628056df18ac WHIRLPOOL beee7908e4bec5512c3a7c11fb94dfdbf2dfe284bffd86ec487100f81129928e1dc1512aed054939eedcb79205e32690b21f3fd50d768cef1ad4decfd00ba75b
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Python implementation of SAML Version 2 to be used in a WSGI environment
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pysaml2/pysaml2-2.1.0.ebuild,v 1.1 2014/11/10 06:09:43 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of SAML Version 2 to be used in a WSGI environment"
|
||||
HOMEPAGE="https://github.com/rohe/pysaml2"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
net-zope/zope-interface[${PYTHON_USEDEP}]
|
||||
dev-python/repoze-who[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST repoze.who-2.2.tar.gz 308593 SHA256 322629ec7c779dce4700e8f3ba531002b724d2429178c1cbb0dc169255dc9a8b SHA512 1d4ea83e0b5c0d57ff56e19b9922d88b37bca4dfd5ec49df2bf5a1f2aeae15a5698f839e0071cda8cedee69fe4abbfdcb3fa632d4d4c8407739999853df87f63 WHIRLPOOL 24985fd0187131a2062e45529ae656a9de8ff86b3663862872d32cc38b138670b848905d6470496b1b9036c0dccd0ff139282447af133595d4d9f196a0e52915
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
an identification and authentication framework for WSGI.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-who/repoze-who-2.2.ebuild,v 1.1 2014/11/10 06:08:51 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="repoze.who is an identification and authentication framework for WSGI."
|
||||
HOMEPAGE="http://www.repoze.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/repoze.who/repoze.who-${PV}.tar.gz"
|
||||
S="${WORKDIR}/repoze.who-${PV}"
|
||||
|
||||
LICENSE="repoze"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/webob[${PYTHON_USEDEP}]
|
||||
net-zope/zope-interface[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,2 +1,3 @@
|
||||
DIST blankslate-2.1.2.4.gem 6144 SHA256 9d35768449b5615bd3a2d21b278800d687b952dbc91ccadccac2f35670c1d64a SHA512 cfd3fdd4b4e0d2eb5bdaa70e7dec1f0255d97335aaafea72e84b586eb809345761b3dc6da7eb0e98c5d504e5037ebac287f0d19312984bb029fcf332d38b3ae8 WHIRLPOOL fa4419bd2c4657706d87cb55fd7a38e6a80fa82ff511090cfd46f6395cf2673ed059c60bd856520c86f1172ef5b03c00c3224ce8cfe8ad070b4e3e5cd892d151
|
||||
DIST blankslate-3.1.2.gem 17920 SHA256 2c31bf17c70b9fa96a5d05f8a33b2556ef23a6ba8a488bee42f278945c67b3b6 SHA512 b12737592b8d716a2255d1a08ce3fa3691fe1dcfb34fe770749b387aa07648f14fcd5b9fa3c91effa2b784b7401e75929c6ed94b4c280155d4545e9c359c84b3 WHIRLPOOL 672d4cf67526336fc4604c4aeafb24ccaeb1a98b0d50f593592b7a1605cca9fff0dc067bc779a2740d57325d4eff9d6be62f2e70c05793b61a33f186576dae2b
|
||||
DIST blankslate-3.1.3.gem 8192 SHA256 dd3373df0478cb82e83a7711469ea2bc3ce11fdfdd0acbdb3eec25191a59933b SHA512 4164c2e9ecb6a294fbd0d25f70bae36ee9277da3a75aae6c99d37147f8111c40a6cfb85ddc3819e45c361c49fd9c3fc724ecea201763f7f9891b96589226f245 WHIRLPOOL c8a131597c9af64f7a48beedf4c198a0fcd55d77b390b24bcb57aac01657d3553099f7d10a20381c47eafbcceb190cfcb49d7bcf64effdd37acdb7e501d421d8
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/blankslate/blankslate-3.1.3.ebuild,v 1.1 2014/11/10 07:01:48 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A base class where almost all of the methods from Object and Kernel have been removed"
|
||||
HOMEPAGE="https://rubygems.org/gems/blankslate"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid test failing with rspec 2.x.
|
||||
sed -i -e '/cleanliness/,/^ end/ s:^:#:' spec/blankslate_spec.rb || die
|
||||
}
|
@ -1 +1 @@
|
||||
DIST fuzzyocr-3.6.0.tar.gz 127103 SHA256 dd345c9500c3c3cdc33503863fe234bf3c2720c54b303e6cbc94dbe8aaf3a218
|
||||
DIST fuzzyocr-3.6.0.tar.gz 127103 SHA256 dd345c9500c3c3cdc33503863fe234bf3c2720c54b303e6cbc94dbe8aaf3a218 SHA512 f863cba997dc86fcb7416799c0bd7e9e1ed261e01d7e4274560ce9777b257da7ca4407ab21d8c485707be7e8e353795586830b34881e52309518ff46dd7549cc WHIRLPOOL bddbbbbc201667407cb6eb60a4ef395fd91bccc3cd804fbc65807d2bfa3c1672f8d08779f7cf3fc79b3c5215c324f939573b2c1162226a6dfe0dc6f4d0a688f3
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST compface-1.5.1.tar.gz 30565 RMD160 97eedb887cca3f1bce5f087b142dbf794b128c38 SHA1 d97f3dd098da94e6869a8a82c225a902fe297b2b SHA256 bd2a0ea6866d5b34220ef66f8aeca9ec5faa310f210ef6e45277c9b534447ac6
|
||||
DIST compface-1.5.2.tar.gz 46970 RMD160 17174e8c263ae3984dd74fa7e93f8835773cd742 SHA1 72dad8774b3301a1562bdbd5b3c5536ebf86a03d SHA256 a6998245f530217b800f33e01656be8d1f0445632295afa100e5c1611e4f6825
|
||||
DIST compface-1.5.1.tar.gz 30565 SHA256 bd2a0ea6866d5b34220ef66f8aeca9ec5faa310f210ef6e45277c9b534447ac6
|
||||
DIST compface-1.5.2.tar.gz 46970 SHA256 a6998245f530217b800f33e01656be8d1f0445632295afa100e5c1611e4f6825 SHA512 0da9ee4c5fb2b5c712466d9fa6170e5687b23c038e6304baa42d7ede6d9bd50a1b84da416eb853a420c01a6b9eccd5e7d92a4ebc26295714b85254c05c9e3360 WHIRLPOOL 4dce7203717a30f40d303935aaac301be78407ebd3b1b12532d031f24155a030556ce96773321f213c32affbcdd472081ac64a786d4b4f46b98ffa9faad3952c
|
||||
|
@ -1 +1 @@
|
||||
Sun, 09 Nov 2014 19:37:20 +0000
|
||||
Mon, 10 Nov 2014 08:37:06 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 09 Nov 2014 19:37:21 +0000
|
||||
Mon, 10 Nov 2014 08:37:06 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue