parent
4d3a19fb82
commit
94114963ea
@ -0,0 +1,37 @@
|
||||
@version: 3.5
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
source src { system(); internal(); };
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,25 @@
|
||||
@version: 3.5
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo.fbsd,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||
#
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src { system(); internal(); };
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
@ -0,0 +1,115 @@
|
||||
@version: 3.5
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.conf.gentoo.hardened,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=426814
|
||||
@include "scl.conf"
|
||||
|
||||
#
|
||||
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||
#
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/dev/log");
|
||||
internal();
|
||||
};
|
||||
source kernsrc {
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
#source net { udp(); };
|
||||
#log { source(net); destination(net_logs); };
|
||||
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||
|
||||
destination authlog { file("/var/log/auth.log"); };
|
||||
destination _syslog { file("/var/log/syslog"); };
|
||||
destination cron { file("/var/log/cron.log"); };
|
||||
destination daemon { file("/var/log/daemon.log"); };
|
||||
destination kern { file("/var/log/kern.log"); file("/dev/tty12"); };
|
||||
destination lpr { file("/var/log/lpr.log"); };
|
||||
destination user { file("/var/log/user.log"); };
|
||||
destination uucp { file("/var/log/uucp.log"); };
|
||||
#destination ppp { file("/var/log/ppp.log"); };
|
||||
destination mail { file("/var/log/mail.log"); };
|
||||
|
||||
destination avc { file("/var/log/avc.log"); };
|
||||
destination audit { file("/var/log/audit.log"); };
|
||||
destination pax { file("/var/log/pax.log"); };
|
||||
destination grsec { file("/var/log/grsec.log"); };
|
||||
|
||||
destination mailinfo { file("/var/log/mail.info"); };
|
||||
destination mailwarn { file("/var/log/mail.warn"); };
|
||||
destination mailerr { file("/var/log/mail.err"); };
|
||||
|
||||
destination newscrit { file("/var/log/news/news.crit"); };
|
||||
destination newserr { file("/var/log/news/news.err"); };
|
||||
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||
|
||||
destination debug { file("/var/log/debug"); };
|
||||
destination messages { file("/var/log/messages"); };
|
||||
destination console { usertty("root"); };
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
#destination loghost { udp("loghost" port(999)); };
|
||||
|
||||
destination xconsole { pipe("/dev/xconsole"); };
|
||||
|
||||
filter f_auth { facility(auth); };
|
||||
filter f_authpriv { facility(auth, authpriv); };
|
||||
filter f_syslog { not facility(authpriv, mail); };
|
||||
filter f_cron { facility(cron); };
|
||||
filter f_daemon { facility(daemon); };
|
||||
filter f_kern { facility(kern); };
|
||||
filter f_lpr { facility(lpr); };
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_user { facility(user); };
|
||||
filter f_uucp { facility(uucp); };
|
||||
#filter f_ppp { facility(ppp); };
|
||||
filter f_news { facility(news); };
|
||||
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||
filter f_messages { level(info..warn)
|
||||
and not facility(auth, authpriv, mail, news); };
|
||||
filter f_emergency { level(emerg); };
|
||||
|
||||
filter f_info { level(info); };
|
||||
|
||||
filter f_notice { level(notice); };
|
||||
filter f_warn { level(warn); };
|
||||
filter f_crit { level(crit); };
|
||||
filter f_err { level(err); };
|
||||
|
||||
filter f_avc { message(".*avc: .*"); };
|
||||
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||
|
||||
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||
log { source(src); filter(f_cron); destination(cron); };
|
||||
log { source(src); filter(f_daemon); destination(daemon); };
|
||||
log { source(kernsrc); filter(f_kern); destination(kern); };
|
||||
log { source(src); filter(f_lpr); destination(lpr); };
|
||||
log { source(src); filter(f_mail); destination(mail); };
|
||||
log { source(src); filter(f_user); destination(user); };
|
||||
log { source(src); filter(f_uucp); destination(uucp); };
|
||||
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||
log { source(src); filter(f_debug); destination(debug); };
|
||||
log { source(src); filter(f_messages); destination(messages); };
|
||||
log { source(src); filter(f_emergency); destination(console); };
|
||||
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||
log { source(src); destination(console_all); };
|
@ -0,0 +1,42 @@
|
||||
# Config file for /etc/init.d/syslog-ng
|
||||
|
||||
# If you are not using network logging, this entire section should be
|
||||
# commented out. Otherwise, choose one of the settings below based on
|
||||
# how you are configuring your network.
|
||||
#
|
||||
# If you are using the net.* scripts to configure your network, you should
|
||||
# set rc_need to match the interface through which your logging server
|
||||
# can be reached.
|
||||
#rc_need="net.eth0"
|
||||
#
|
||||
# If you are using an interface manager like wicd, dhcpcd in standalone
|
||||
# mode, networkmanager, etc to control your interfaces, set rc_need to
|
||||
# the name of that service.
|
||||
# rc_need="dhcpcd"
|
||||
#rc_need="networkmanager"
|
||||
#
|
||||
# If you are using newnet and configuring your interface statically with
|
||||
# the network script, you should use this setting.
|
||||
#rc_need="network"
|
||||
#
|
||||
# You can use this setting, but I do not recommend relying on it.
|
||||
#rc_need="net"
|
||||
#
|
||||
# You may also want to uncomment the following if you are using network
|
||||
# logging.
|
||||
#rc_use="stunnel"
|
||||
|
||||
# For very customized setups these variables can be adjusted as needed
|
||||
# but for most situations they should remain commented:
|
||||
# SYSLOG_NG_CONFIGFILE=/etc/syslog-ng/syslog-ng.conf
|
||||
# SYSLOG_NG_STATEFILE_DIR=/var/lib/syslog-ng
|
||||
# SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist
|
||||
# SYSLOG_NG_PIDFILE_DIR=/var/run
|
||||
# SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE_DIR}/syslog-ng.pid
|
||||
# SYSLOG_NG_GROUP=root
|
||||
# SYSLOG_NG_USER=root
|
||||
|
||||
# Put any additional options for syslog-ng here.
|
||||
# See syslog-ng(8) for more information.
|
||||
|
||||
SYSLOG_NG_OPTS=""
|
@ -0,0 +1,59 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/3.5/syslog-ng.rc6,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
SYSLOG_NG_CONFIGFILE=${SYSLOG_NG_CONFIGFILE:-/etc/syslog-ng/${RC_SVCNAME}.conf}
|
||||
SYSLOG_NG_STATEFILE_DIR=${SYSLOG_NG_STATEFILE_DIR:-/var/lib/syslog-ng}
|
||||
SYSLOG_NG_STATEFILE=${SYSLOG_NG_STATEFILE:-${SYSLOG_NG_STATEFILE_DIR}/syslog-ng.persist}
|
||||
SYSLOG_NG_PIDFILE_DIR=${SYSLOG_NG_PIDFILE_DIR:-/var/run}
|
||||
SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE:-${SYSLOG_NG_PIDFILE_DIR}/${RC_SVCNAME}.pid}
|
||||
|
||||
SYSLOG_NG_GROUP=${SYSLOG_NG_GROUP:-root}
|
||||
SYSLOG_NG_USER=${SYSLOG_NG_USER:-root}
|
||||
|
||||
command="/usr/sbin/syslog-ng"
|
||||
command_args="--persist-file \"${SYSLOG_NG_STATEFILE}\" --cfgfile \"${SYSLOG_NG_CONFIGFILE}\" --pidfile \"${SYSLOG_NG_PIDFILE}\" ${SYSLOG_NG_OPTS}"
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
pidfile="${SYSLOG_NG_PIDFILE}"
|
||||
start_stop_daemon_args="--user \"${SYSLOG_NG_USER}\":\"${SYSLOG_NG_GROUP}\""
|
||||
description="Syslog-ng is a syslog replacement with advanced filtering features."
|
||||
description_checkconfig="Check the configuration file that will be used by \"start\""
|
||||
description_reload="Reload the configuration without exiting"
|
||||
required_files="${SYSLOG_NG_CONFIGFILE}"
|
||||
required_dirs="${SYSLOG_NG_PIDFILE_DIR}"
|
||||
|
||||
depend() {
|
||||
use clock
|
||||
need hostname localmount
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
ebegin "Checking your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
syslog-ng -s -f "${SYSLOG_NG_CONFIGFILE}"
|
||||
eend $? "Configuration error. Please fix your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
checkpath \
|
||||
-d \
|
||||
--mode 0700 \
|
||||
--owner "${SYSLOG_NG_OWNER}:${SYSLOG_NG_GROUP}" \
|
||||
"${SYSLOG_NG_STATEFILE_DIR}"
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
[ "$RC_CMD" = restart ] && sleep 1
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
checkconfig || return 1
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened.in,v 1.1 2014/01/22 04:25:35 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng logrotate snippet for Hardened Gentoo Linux
|
||||
# contributed by Maciej Grela
|
||||
#
|
||||
# Updated bug #284669
|
||||
|
||||
# Generic
|
||||
/var/log/debug /var/log/syslog /var/log/kern.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# System services
|
||||
/var/log/cron.log /var/log/daemon.log /var/log/lpr.log /var/log/uucp.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# User log
|
||||
/var/log/user.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# News system
|
||||
/var/log/news/news.crit /var/log/news/news.err /var/log/news/news.notice {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Mail system
|
||||
/var/log/mail.log /var/log/mail.info /var/log/mail.err /var/log/mail.warn {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Hardened logs
|
||||
/var/log/avc.log /var/log/audit.log /var/log/pax.log /var/log/grsec.log {
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# Authentication
|
||||
/var/log/auth.log {
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
|
||||
# the rest
|
||||
/var/log/messages {
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.in,v 1.1 2014/01/22 04:25:35 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng logrotate snippet for Gentoo Linux
|
||||
# contributed by Michael Sterrett
|
||||
#
|
||||
|
||||
/var/log/messages {
|
||||
missingok
|
||||
sharedscripts
|
||||
postrotate
|
||||
@GENTOO_RESTART@ > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.5.3.ebuild,v 1.1 2014/01/22 04:25:36 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die
|
||||
cd "${TMPDIR}" || die
|
||||
|
||||
for f in *logrotate*.in ; do
|
||||
if use systemd ; then
|
||||
sed \
|
||||
's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \
|
||||
$f > ${f/.in/} || die
|
||||
else
|
||||
sed \
|
||||
's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:' \
|
||||
$f > ${f/.in/} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-docs \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${TMPDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${TMPDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.5-guides/en/syslog-ng-ose-v3.5-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.5.2.ebuild,v 1.5 2010/01/01 19:45:42 fauli Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="an easily extensible archive format"
|
||||
HOMEPAGE="http://code.google.com/p/xar"
|
||||
SRC_URI="http://xar.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="acl +bzip2"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
dev-libs/libxml2
|
||||
sys-libs/zlib
|
||||
acl? ( sys-apps/acl )
|
||||
bzip2? ( app-arch/bzip2 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-automagic_acl_and_bzip2.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable acl) $(use_enable bzip2)
|
||||
emake || die "emake failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodoc TODO
|
||||
}
|
@ -1,7 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0.83-respect-CFLAGS-and-dont-strip.patch 623 SHA256 f0412f5e697571bfd6a6a42f3415018c41175ae03b73ae1ab6cd93fb9b7b793f SHA512 1b1fab8bdcfac682d0927075a0614ae888a1b23382ce8484b2ab9eac316f46a907bbd872615553201c5ccbf1d8f677491612956075bffacced0d408defad9e07 WHIRLPOOL 77342c3343918897739756a460b527d6aa3260d8c218dc80c8ee1da6262f49360c66e4ad76193851bab6bb5e0c611e86ba32ba0b5642cb7d954f6736d8c33add
|
||||
AUX rotix-0.83-interix.patch 252 SHA256 4f9589c0816417a1f1389a3b70e5dc04dc8a4348ba131b3dbdf640c4c2733089 SHA512 4c3862c22fb6c39f8f9653d7415414f28c31f91eeac284fa277c2527abe0a4d549f1eda141a5409b9ba171bbab3c4a2b9c66ecf438413e542682a85b2c549b8c WHIRLPOOL 99db579f6c5835f917f5b94b50b9bfbaeedb550e5f3e147629a1e44174e2a722a23b814e60b42a02f46a9ce7d0e95c3c6b361173597f0bb1dc1ca068fc43eefa
|
||||
AUX rotix-0.83-locale.diff 256 SHA256 230fbef9431fa6019e6a465540dcd5447a0e8746db333ed80140ebf0577db695 SHA512 7b8c82bac78c48f5d43c0246c41e7a7910f0119cc7b56500789d722d87f00e9d2356150063e07ae281435d5af60f9e15956c5bc0b236ea5f225435886117c4b0 WHIRLPOOL e42edd4c0d5569fa324c740ddd802a0d30b02ad4359c7efce588241c914344497d4a813e520038578b175a4a73eb3f3f696c35241fdbc04267ccc1fd320d3cb2
|
||||
DIST rotix-0.83.tar.bz2 14685 SHA256 f25eae09e1c6eb95f44aec7a2aeaf9b4822da0304909e70149fda4603f1368bd SHA512 1f318e15bd51cc197d9d9fc36e37b29c18fe7a8e8c40654c69ccf97d32b896afa7cc517c562750f6c1262baddbb451bd8a29ada994176e442630d8ed56ccf572 WHIRLPOOL f376af910e0537e3101dcef1b8e224dd7064ab6aaeb788aa4fd76e1f715a3f5ed00a310605aff8021918fb99b5033af3a39a20b6c291b6d59d7f094d43a60ee8
|
||||
EBUILD rotix-0.83.ebuild 917 SHA256 bb63472a1a3aea2660b872aa8dc355910aa1bf0f258a607b40488c53549476ef SHA512 dbff819e6eedbd3b7245bcce69aa79134667e63507eeb782ae9769bd14c80affb90e93460740e7afe9ce9e33cb264db4233a9535c47cbca62be6c500cfa1f9ab WHIRLPOOL dd38382d9c5cfc5c87fb4159ba7dc7faee4f25d2fdc613371bbe7c374baa0d6fa0538c5e4abee0d950ed3e90f65207d376685246d5bc98c11f0b1c3eba991fcc
|
||||
MISC ChangeLog 1820 SHA256 f1d3bd748b1da1c602dc3041ccd3713193c9fc2908915e2adbe6d613e923aac0 SHA512 46f28521715540e85174461922aa870d22842eb8a2646048d90aac6938c02b417414f557aa9ec283c2675cc590c8527276539533128554fba50f8bdc88d052d6 WHIRLPOOL 79dccf73dc6dc296464eaad44207a27eba9fd1a147c6ee70599c4554a1eb521eda0b9dccc1c1e7d8fe946ddbbd29f3070352e17dbda844d6b4be37edfe78b86c
|
||||
EBUILD rotix-0.83.ebuild 920 SHA256 992513d03f95921389197d73ecc4761dcc6c70495b2738e8bb8892f352b8c4e9 SHA512 0eaf139a0c2222f1c0b225d53d7f79e3896e228efbd009d139a010fda09552bab0111ae1a3ba60d1b431d2d7ef99449ee18fb1952ffbf0ccb5a0e87de1b73700 WHIRLPOOL c6754500b8f145bf6196f5aebd68853c33901c801b6fd8f1fb5782ce8b7b352b7c7f582a61aa1f5827befccccf48b505a7539f90c1d4a104729bd84025de0fdf
|
||||
MISC ChangeLog 1906 SHA256 efc18c716f7827d959b879dc3b4afb364e80bd78b2f87c26d36b1e76a7a70d4c SHA512 26d372da2e70172c347471af35194e26d04256c84119c9da7642ff8a8de644f82dff13e064dae86d1a282e5c7c74192a06cc1bcdff6f9597b3d5745aaf6ad2e3 WHIRLPOOL f7562592bcc9d382b21d8c2b1c8dfe5a2d445ebd1bdf8b978fb8bc2fb992ae314ef36d4af80b1e3f69740a64e5c553c80056411d2d5c6e2b75dfcb3305045bc8
|
||||
MISC metadata.xml 268 SHA256 2089ca59285b2836a6ec1d5aef27f83d580e922212301f0b1eadb04400eb45eb SHA512 8e365ead118785104bc7576a48a106346ef24f5b709349f8ca3d5fb9107a248d0f172e6898fb4ba4b2b7f84e6c8c7960578a2919e1a3692664cb808b16e6b2b2 WHIRLPOOL 255e754b42ff038b07a48321ced9fe6f8acdc99bb85873807b3e902517a1764dabc7152e5ca9ad4d83ab5dc9d3a611f79e6c066121be77aed3cad1b0f3587b73
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iKYEAREIAGYFAlLd/xtfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
|
||||
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC
|
||||
Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1SxUgCfXxILWUnXBNN9q3SPr8faQQJc
|
||||
rvMAoKc6uvkxeysvXS2K/qLNj1j29iz5
|
||||
=NQTc
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.4.7.ebuild,v 1.32 2012/05/08 10:27:47 xarthisius Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png
|
||||
unicode? ( mirror://gentoo/${P}-utf8-ru.patch.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="doc latex unicode"
|
||||
|
||||
RDEPEND=">=media-gfx/graphviz-2.6
|
||||
latex? ( app-text/texlive-core
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-genericrecommended
|
||||
dev-texlive/texlive-fontsrecommended )
|
||||
app-text/ghostscript-gpl"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# still needs patch for Russian text in source files (see bug #112076)
|
||||
if use unicode; then
|
||||
epatch "${WORKDIR}/${P}-utf8-ru.patch" || die "utf8-ru patch failed"
|
||||
fi
|
||||
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf
|
||||
|
||||
# Consolidate patches, apply FreeBSD configure patch, codepage patch,
|
||||
# qtools stuff, and patches for bugs 129142, 121770, and 129560.
|
||||
epatch "${FILESDIR}/${PV}"
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
epause 6
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
local my_conf="--prefix ${D}usr"
|
||||
./configure ${my_conf} || die 'configure failed'
|
||||
|
||||
# and compile
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" \
|
||||
LINK_SHLIB="$(tc-getCXX)" all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use tetex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
if use tetex; then
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
dohtml -r html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "The USE flags doc, and tetex will enable "
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "See the Doxygen homepage for additional language support tools."
|
||||
elog
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/doxygen/doxygen-1.5.4.ebuild,v 1.24 2012/05/31 03:38:35 zmedico Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs fdo-mime
|
||||
|
||||
DESCRIPTION="documentation system for C++, C, Java, Objective-C, Python, IDL, and other languages"
|
||||
HOMEPAGE="http://www.doxygen.org/"
|
||||
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/${P}.src.tar.gz
|
||||
http://dev.gentoo.org/~xarthisius/distfiles/doxywizard.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="debug doc nodot latex elibc_FreeBSD"
|
||||
|
||||
RDEPEND="latex? ( app-text/texlive-core
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-genericrecommended
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-latexextra )
|
||||
dev-lang/python
|
||||
virtual/libiconv
|
||||
app-text/ghostscript-gpl
|
||||
!nodot? ( >=media-gfx/graphviz-2.6
|
||||
media-libs/freetype )"
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
${RDEPEND}"
|
||||
|
||||
EPATCH_SUFFIX="patch"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# use CFLAGS, CXXFLAGS, LDFLAGS
|
||||
sed -i.orig -e 's:^\(TMAKE_CFLAGS_RELEASE\t*\)= .*$:\1= $(ECFLAGS):' \
|
||||
-e 's:^\(TMAKE_CXXFLAGS_RELEASE\t*\)= .*$:\1= $(ECXXFLAGS):' \
|
||||
-e 's:^\(TMAKE_LFLAGS_RELEASE\s*\)=.*$:\1= $(ELDFLAGS):' \
|
||||
tmake/lib/{{linux,freebsd,netbsd,openbsd,solaris}-g++,macosx-c++}/tmake.conf \
|
||||
|| die "sed failed"
|
||||
|
||||
# Ensure we link to -liconv
|
||||
if use elibc_FreeBSD; then
|
||||
for pro in */*.pro.in */*/*.pro.in; do
|
||||
echo "unix:LIBS += -liconv" >> "${pro}"
|
||||
done
|
||||
fi
|
||||
|
||||
# Consolidate patches, apply FreeBSD configure patch, codepage patch,
|
||||
# qtools stuff, and patches for bugs 129142, 121770, and 129560.
|
||||
epatch "${FILESDIR}/${PN}-1.5-legacy-patches.diff"
|
||||
|
||||
# remove internal libpng - see bug #210237
|
||||
epatch "${FILESDIR}/${PN}-1.5-system-libpng.patch"
|
||||
|
||||
if [ $(get_libdir) == "lib64" ] ; then
|
||||
epatch "${FILESDIR}/${PN}-1.5-qtlibdir.patch"
|
||||
fi
|
||||
|
||||
if is-flagq "-O3" ; then
|
||||
echo
|
||||
ewarn "Compiling with -O3 is known to produce incorrectly"
|
||||
ewarn "optimized code which breaks doxygen."
|
||||
echo
|
||||
epause 6
|
||||
elog "Continuing with -O2 instead ..."
|
||||
echo
|
||||
replace-flags "-O3" "-O2"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ECFLAGS="${CFLAGS}" ECXXFLAGS="${CXXFLAGS}" ELDFLAGS="${LDFLAGS}"
|
||||
# set ./configure options (prefix, Qt based wizard, docdir)
|
||||
|
||||
if use debug; then
|
||||
local my_conf="--prefix ${D}usr --debug"
|
||||
else
|
||||
local my_conf="--prefix ${D}usr"
|
||||
fi
|
||||
|
||||
./configure ${my_conf} || die 'configure failed'
|
||||
|
||||
# and compile
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" \
|
||||
LINK_SHLIB="$(tc-getCXX)" all || die 'emake failed'
|
||||
|
||||
# generate html and pdf (if tetex in use) documents.
|
||||
# errors here are not considered fatal, hence the ewarn message
|
||||
# TeX's font caching in /var/cache/fonts causes sandbox warnings,
|
||||
# so we allow it.
|
||||
if use doc; then
|
||||
if use nodot; then
|
||||
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
|
||||
{Doxyfile,doc/Doxyfile} || ewarn "disabling dot failed"
|
||||
fi
|
||||
if use latex; then
|
||||
addwrite /var/cache/fonts
|
||||
addwrite /var/cache/fontconfig
|
||||
addwrite /usr/share/texmf/fonts/pk
|
||||
addwrite /usr/share/texmf/ls-R
|
||||
make pdf || ewarn '"make pdf docs" failed.'
|
||||
else
|
||||
cp doc/Doxyfile doc/Doxyfile.orig
|
||||
cp doc/Makefile doc/Makefile.orig
|
||||
sed -i.orig -e "s/GENERATE_LATEX = YES/GENERATE_LATEX = NO/" \
|
||||
doc/Doxyfile
|
||||
sed -i.orig -e "s/@epstopdf/# @epstopdf/" \
|
||||
-e "s/@cp Makefile.latex/# @cp Makefile.latex/" \
|
||||
-e "s/@sed/# @sed/" doc/Makefile
|
||||
make docs || ewarn '"make html docs" failed.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" MAN1DIR=share/man/man1 \
|
||||
install || die '"make install" failed.'
|
||||
|
||||
dodoc INSTALL LANGUAGE.HOWTO README
|
||||
|
||||
# pdf and html manuals
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
if use latex; then
|
||||
doins latex/doxygen_manual.pdf
|
||||
fi
|
||||
dohtml -r html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
elog
|
||||
elog "The USE flags doc, and latex will enable "
|
||||
elog "the html and pdf documentation, respectively. For examples"
|
||||
elog "and other goodies, see the source tarball. For some example"
|
||||
elog "output, run doxygen on the doxygen source using the Doxyfile"
|
||||
elog "provided in the top-level source dir."
|
||||
elog
|
||||
elog "Enabling the nodot USE flag will remove the GraphViz dependency,"
|
||||
elog "along with Doxygen's ability to generate diagrams in the docs."
|
||||
elog "See the Doxygen homepage for additional helper tools to parse"
|
||||
elog "more languages."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vagrant/vagrant-1.4.1.ebuild,v 1.1 2013/12/21 23:10:04 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="vagrant.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="config keys plugins templates"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A tool for building and distributing virtual machines using VirtualBox"
|
||||
HOMEPAGE="http://vagrantup.com/"
|
||||
SRC_URI="https://github.com/mitchellh/vagrant/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
# Missing ebuild for contest
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
net-misc/curl
|
||||
!x64-macos? ( || ( app-emulation/virtualbox app-emulation/virtualbox-bin ) )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/childprocess-0.3.7
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
dev-ruby/i18n:0.6
|
||||
>=dev-ruby/json-1.5.1
|
||||
>=dev-ruby/log4r-1.1.9
|
||||
>=dev-ruby/net-ssh-2.6.6
|
||||
>=dev-ruby/net-scp-1.1.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake
|
||||
test? ( dev-ruby/mocha virtual/ruby-minitest )
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove bundler support
|
||||
sed -i '/[Bb]undler/d' Rakefile || die
|
||||
rm Gemfile || die
|
||||
|
||||
# loosen dependencies
|
||||
sed -e '/childprocess\|erubis\|log4r\|net-scp\|net-ssh/s/~>/>=/' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.2.1-no-warning.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.2-rvm.patch
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x64-macos ; then
|
||||
ewarn
|
||||
ewarn "For Mac OS X prefixes, you must install the virtualbox"
|
||||
ewarn "package specifically for OS X which can be found at:"
|
||||
ewarn "https://www.virtualbox.org/wiki/Downloads"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,436 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.11.ebuild,v 1.1 2014/01/22 06:58:56 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="2.24"
|
||||
MV="4.5.2"
|
||||
PULSE_PATCHES="winepulse-patches-1.7.10"
|
||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
||||
)
|
||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
test? ( abi_x86_32 )
|
||||
elibc_glibc? ( threads )
|
||||
mono? ( abi_x86_32 )
|
||||
osmesa? ( opengl )" #286560
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
NATIVE_DEPEND="
|
||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
udisks? ( sys-apps/dbus )
|
||||
fontconfig? ( media-libs/fontconfig:= )
|
||||
gphoto2? ( media-libs/libgphoto2:= )
|
||||
openal? ( media-libs/openal:= )
|
||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups:= )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
gsm? ( media-sound/gsm:= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
netapi? ( net-fs/samba[netapi(+)] )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC:= )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends:= )
|
||||
ssl? ( net-libs/gnutls:= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
v4l? ( media-libs/libv4l )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
!amd64? ( ${NATIVE_DEPEND} )
|
||||
amd64? (
|
||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
||||
abi_x86_32? (
|
||||
truetype? ( || (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
||||
) )
|
||||
ncurses? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
sys-libs/ncurses[abi_x86_32]
|
||||
) )
|
||||
udisks? ( || (
|
||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
||||
sys-apps/dbus[abi_x86_32]
|
||||
) )
|
||||
fontconfig? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
media-libs/fontconfig[abi_x86_32]
|
||||
) )
|
||||
gphoto2? (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
openal? ( || (
|
||||
app-emulation/emul-linux-x86-sdl[development]
|
||||
media-libs/openal[abi_x86_32]
|
||||
) )
|
||||
gstreamer? (
|
||||
app-emulation/emul-linux-x86-gstplugins
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
)
|
||||
X? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
(
|
||||
x11-libs/libXcursor[abi_x86_32]
|
||||
x11-libs/libXext[abi_x86_32]
|
||||
x11-libs/libXrandr[abi_x86_32]
|
||||
x11-libs/libXi[abi_x86_32]
|
||||
x11-libs/libXxf86vm[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
xinerama? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXinerama[abi_x86_32]
|
||||
) )
|
||||
alsa? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[alsa,development]
|
||||
media-libs/alsa-lib[abi_x86_32]
|
||||
) )
|
||||
cups? ( app-emulation/emul-linux-x86-baselibs )
|
||||
opencl? ( virtual/opencl[abi_x86_32] )
|
||||
opengl? ( || (
|
||||
app-emulation/emul-linux-x86-opengl[development]
|
||||
(
|
||||
virtual/glu[abi_x86_32]
|
||||
virtual/opengl[abi_x86_32]
|
||||
)
|
||||
) )
|
||||
gsm? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
media-sound/gsm[abi_x86_32]
|
||||
) )
|
||||
jpeg? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
virtual/jpeg:0[abi_x86_32]
|
||||
) )
|
||||
ldap? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
lcms? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/lcms:2[abi_x86_32]
|
||||
) )
|
||||
mp3? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/mpg123-1.5.0[abi_x86_32]
|
||||
) )
|
||||
nls? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
||||
osmesa? ( || (
|
||||
>=app-emulation/emul-linux-x86-opengl-20121028[development]
|
||||
media-libs/mesa[osmesa,abi_x86_32]
|
||||
) )
|
||||
pulseaudio? ( || (
|
||||
app-emulation/emul-linux-x86-soundlibs[development]
|
||||
>=media-sound/pulseaudio-4.0-r1[abi_x86_32]
|
||||
) )
|
||||
xml? ( >=app-emulation/emul-linux-x86-baselibs-20131008[development] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
||||
ssl? ( app-emulation/emul-linux-x86-baselibs[development] )
|
||||
png? ( || (
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
media-libs/libpng:0[abi_x86_32]
|
||||
) )
|
||||
v4l? ( || (
|
||||
app-emulation/emul-linux-x86-medialibs[development]
|
||||
media-libs/libv4l[abi_x86_32]
|
||||
) )
|
||||
xcomposite? ( || (
|
||||
app-emulation/emul-linux-x86-xlibs[development]
|
||||
x11-libs/libXcomposite[abi_x86_32]
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dos? ( games-emulation/dosbox )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
prelink? ( sys-devel/prelink )
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
|
||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
||||
unpack "${WINE_GENTOO}.tar.bz2"
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${PN}-1.7.2-osmesa-check.patch #429386
|
||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
||||
)
|
||||
use pulseaudio && PATCHES+=(
|
||||
"../${PULSE_PATCHES}"/*.patch #421365
|
||||
)
|
||||
|
||||
autotools-utils_src_prepare
|
||||
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local myeconfargs=( "${myeconfargs[@]}" )
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myeconfargs+=( --enable-win64 )
|
||||
else
|
||||
use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
|
||||
# We currently don't have 32-bit libnetapi on amd64; #494394
|
||||
myeconfargs+=(
|
||||
--without-netapi
|
||||
--disable-win64
|
||||
)
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
local myeconfargs=( # common
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with png)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
use pulseaudio && myeconfargs+=( --with-pulse )
|
||||
|
||||
if use amd64 && use abi_x86_32; then
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
fi
|
||||
|
||||
multilib_parallel_foreach_abi do_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile depend
|
||||
autotools-multilib_src_compile all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
multilib_toolchain_setup x86
|
||||
local BUILD_DIR="${S}-${ABI}"
|
||||
cd "${BUILD_DIR}" || die
|
||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
autotools-multilib_src_install
|
||||
|
||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if use mono ; then
|
||||
insinto /usr/share/wine/mono
|
||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.5.5.ebuild,v 1.1 2014/01/22 04:39:33 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
VALA_MIN_API_VERSION="0.18"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
# Vapigen is needed for the vala binding
|
||||
# Valac is needed when building from git for the engine
|
||||
|
||||
inherit bash-completion-r1 eutils gnome2-utils multilib python-single-r1 vala virtualx
|
||||
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
|
||||
REQUIRED_USE="|| ( gtk gtk3 X )
|
||||
deprecated? ( python )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
|| ( deprecated ( gtk3 introspection ) ) )" #342903
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.26:2
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
app-text/iso-codes
|
||||
>=gnome-base/dconf-0.13.4
|
||||
x11-libs/libnotify
|
||||
|
||||
gconf? ( >=gnome-base/gconf-2.12:2 )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/gtk+:2 )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
|
||||
nls? ( virtual/libintl )
|
||||
wayland? ( dev-libs/wayland )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-apps/setxkbmap
|
||||
python? (
|
||||
dev-python/pyxdg
|
||||
deprecated? (
|
||||
>=dev-python/dbus-python-0.83
|
||||
dev-python/pygobject:2
|
||||
dev-python/pygtk:2 )
|
||||
gtk3? (
|
||||
dev-python/pygobject:3
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gtk+:3[introspection] )
|
||||
)"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-util/gtk-doc-am
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )
|
||||
vala? ( $(vala_depend) )
|
||||
gnome-base/gconf"
|
||||
|
||||
# stress test in bus/ fails
|
||||
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations
|
||||
sed -e 's/dconf update/$(NULL)/' \
|
||||
-i data/dconf/Makefile.{am,in} || die
|
||||
use vala && vala_src_prepare
|
||||
cp "${S}"/client/gtk2/ibusimcontext.c "${S}"/client/gtk3/ibusimcontext.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local python_conf
|
||||
if use python; then
|
||||
python_conf="PYTHON=${PYTHON}
|
||||
$(use_enable deprecated python-library)
|
||||
$(use_enable gtk3 setup)"
|
||||
else
|
||||
python_conf="--disable-python-library --disable-setup"
|
||||
fi
|
||||
econf \
|
||||
--enable-dconf \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable gconf) \
|
||||
$(use_enable gtk gtk2) \
|
||||
$(use_enable gtk xim) \
|
||||
$(use_enable gtk3) \
|
||||
$(use_enable gtk3 ui) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
${python_conf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}"
|
||||
rm -rf "${ED}"/usr/share/bash-completion || die
|
||||
newbashcomp "${T}"/ibus.bash ${PN}
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-ibus ibus.conf
|
||||
|
||||
keepdir /usr/share/ibus/{engine,icons} #289547
|
||||
|
||||
use deprecated && python_optimize
|
||||
use python && use gtk3 && python_optimize
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
gnome2_schemas_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
elog "To use ibus, you should:"
|
||||
elog "1. Get input engines from sunrise overlay."
|
||||
elog " Run \"emerge -s ibus-\" in your favorite terminal"
|
||||
elog " for a list of packages we already have."
|
||||
elog
|
||||
elog "2. Setup ibus:"
|
||||
elog
|
||||
elog " $ ibus-setup"
|
||||
elog
|
||||
elog "3. Set the following in your user startup scripts"
|
||||
elog " such as .xinitrc, .xsession or .xprofile:"
|
||||
elog
|
||||
elog " export XMODIFIERS=\"@im=ibus\""
|
||||
elog " export GTK_IM_MODULE=\"ibus\""
|
||||
elog " export QT_IM_MODULE=\"xim\""
|
||||
elog " ibus-daemon -d -x"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk2
|
||||
use gtk3 && gnome2_query_immodules_gtk3
|
||||
use gconf && gnome2_schemas_update
|
||||
gnome2_schemas_savelist
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r4.ebuild,v 1.1 2014/01/22 04:47:55 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1 #290284
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Tools to convert docbook to man and info"
|
||||
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
|
||||
HOMEPAGE="http://docbook2x.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
LICENSE="MIT"
|
||||
|
||||
# dev-perl/XML-LibXML - although not mentioned upstream is required
|
||||
# for make check to complete.
|
||||
DEPEND="dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-NamespaceSupport
|
||||
dev-perl/XML-SAX
|
||||
dev-perl/XML-LibXML
|
||||
app-text/docbook-xsl-stylesheets
|
||||
=app-text/docbook-xml-dtd-4.2*"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# Patches from debian, for description see patches itself.
|
||||
"${FILESDIR}/${P}-filename_whitespace_handling.patch"
|
||||
"${FILESDIR}/${P}-preprocessor_declaration_syntax.patch"
|
||||
"${FILESDIR}/${P}-error_on_missing_refentry.patch"
|
||||
# bug #296112
|
||||
"${FILESDIR}/${P}-drop-htmldir.patch"
|
||||
)
|
||||
src_prepare() {
|
||||
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die 'sed on configure.ac failed'
|
||||
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
--with-xslt-processor=libxslt
|
||||
--program-transform-name='/^docbook2/s,$,.pl,'
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
dosym docbook2man.pl /usr/bin/docbook2x-man
|
||||
dosym docbook2texi.pl /usr/bin/docbook2x-texi
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/llpp/llpp-17_p20140112.ebuild,v 1.1 2014/01/22 08:10:58 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a graphical PDF viewer which aims to superficially resemble less(1)"
|
||||
HOMEPAGE="http://repo.or.cz/w/llpp.git"
|
||||
#SRC_URI="http://repo.or.cz/w/llpp.git/snapshot/db515851a5cf04ecb4c06311c79ce9685324bc81.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~xmw/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt static"
|
||||
|
||||
LIB_DEPEND="~app-text/mupdf-1.3_p20140118:=[static-libs]
|
||||
media-libs/openjpeg:2[static-libs]
|
||||
media-libs/freetype:2[static-libs]
|
||||
media-libs/jbig2dec[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/jpeg:0[static-libs]
|
||||
x11-libs/libX11[static-libs]"
|
||||
RDEPEND="x11-misc/xsel
|
||||
!static? ( ${LIB_DEPEND//\[static-libs]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND}
|
||||
app-arch/bzip2[static-libs]
|
||||
media-libs/libXcm[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libXmu[static-libs] )
|
||||
dev-lang/ocaml[ocamlopt?]
|
||||
dev-ml/lablgl[glut,ocamlopt?]"
|
||||
|
||||
RESTRICT="!ocamlopt? ( strip )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-11-WM_CLASS.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local ocaml=$(usex ocamlopt ocamlopt.opt ocamlc.opt)
|
||||
local cmo=$(usex ocamlopt cmx cmo)
|
||||
local cma=$(usex ocamlopt cmxa cma)
|
||||
local ccopt="$(freetype-config --cflags ) -O -include ft2build.h -D_GNU_SOURCE"
|
||||
if use static ; then
|
||||
local cclib=""
|
||||
local slib=""
|
||||
local spath=( ${EROOT}usr/$(get_libdir) $($(tc-getPKG_CONFIG) --libs-only-L --static mupdf x11 | sed 's:-L::g') )
|
||||
for slib in $($(tc-getPKG_CONFIG) --libs-only-l --static mupdf x11) -ljpeg -ljbig2dec ; do
|
||||
case ${slib} in
|
||||
-lm|-ldl|-lpthread)
|
||||
einfo "${slib}: shared"
|
||||
cclib+="${slib} " ;;
|
||||
*)
|
||||
local ccnew=$(find ${spath} -name "lib${slib/-l}.a")
|
||||
einfo "${slib}: use ${ccnew}"
|
||||
cclib+="${ccnew} " ;;
|
||||
esac
|
||||
done
|
||||
else
|
||||
local cclib="$($(tc-getPKG_CONFIG) --libs mupdf x11) -lpthread"
|
||||
fi
|
||||
|
||||
verbose() { echo "$@" >&2 ; "$@" || die ; }
|
||||
verbose ocaml str.cma keystoml.ml < KEYS > help.ml
|
||||
verbose printf 'let version ="%s";;\n' ${PV} >> help.ml
|
||||
verbose ${ocaml} -c -o link.o -ccopt "${ccopt}" link.c
|
||||
verbose ${ocaml} -c -o help.${cmo} help.ml
|
||||
verbose ${ocaml} -c -o utils.${cmo} utils.ml
|
||||
verbose ${ocaml} -c -o wsi.cmi wsi.mli
|
||||
verbose ${ocaml} -c -o wsi.${cmo} wsi.ml
|
||||
verbose ${ocaml} -c -o parser.${cmo} parser.ml
|
||||
verbose ${ocaml} -c -o main.${cmo} -I +lablGL main.ml
|
||||
verbose ${ocaml} $(usex ocamlopt "" -custom) -o llpp -I +lablGL\
|
||||
str.${cma} unix.${cma} lablgl.${cma} link.o \
|
||||
-cclib "${cclib}" \
|
||||
help.${cmo} utils.${cmo} parser.${cmo} wsi.${cmo} main.${cmo}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc KEYS README Thanks fixme
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.3_p20140118.ebuild,v 1.1 2014/01/22 07:14:40 xmw Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="http://mupdf.com/"
|
||||
SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=01f0a0db15faf4bffaa2556ced74868572dac7f5;sf=tgz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/1.3"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X vanilla static static-libs"
|
||||
|
||||
LIB_DEPEND="dev-libs/openssl[static-libs?]
|
||||
media-libs/freetype:2[static-libs?]
|
||||
media-libs/jbig2dec[static-libs?]
|
||||
media-libs/openjpeg:2[static-libs?]
|
||||
net-misc/curl[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
X? ( x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?] )"
|
||||
RDEPEND="${LIB_DEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
static? ( ${LIB_DEPEND//?}
|
||||
app-arch/bzip2[static-libs]
|
||||
x11-libs/libXau[static-libs]
|
||||
x11-libs/libXdmcp[static-libs]
|
||||
x11-libs/libxcb[static-libs] )"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf thirdparty || die
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-CFLAGS.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-openjpeg2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-pkg-config.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-sys_curl.patch
|
||||
|
||||
sed -e "/^libdir=/s:/lib:/$(get_libdir):" \
|
||||
-e "/^prefix=/s:=.*:=${EROOR}/usr:" \
|
||||
-i platform/debian/${PN}.pc || die
|
||||
|
||||
use vanilla || epatch \
|
||||
"${FILESDIR}"/${PN}-1.3-zoom-2.patch \
|
||||
"${FILESDIR}"/${PN}-1.3-forward_back.patch
|
||||
|
||||
#http://bugs.ghostscript.com/show_bug.cgi?id=693467
|
||||
sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \
|
||||
-i platform/debian/${PN}.desktop || die
|
||||
|
||||
sed -e "\$aOS = Linux" \
|
||||
-e "\$aCC = $(tc-getCC)" \
|
||||
-e "\$aLD = $(tc-getCC)" \
|
||||
-e "\$aAR = $(tc-getAR)" \
|
||||
-e "\$averbose = true" \
|
||||
-e "\$abuild = debug" \
|
||||
-e "\$aprefix = ${ED}usr" \
|
||||
-e "\$alibdir = ${ED}usr/$(get_libdir)" \
|
||||
-i Makerules || die
|
||||
|
||||
if ! use X ; then
|
||||
sed -e "\$aNOX11 = yes" \
|
||||
-i Makerules || die
|
||||
fi
|
||||
|
||||
if use static-libs || use static ; then
|
||||
cp -a "${S}" "${S}"-static || die
|
||||
#add missing Libs.private for xcb and freetype
|
||||
sed -e 's:\(pkg-config --libs\):\1 --static:' \
|
||||
-e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \
|
||||
-e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \
|
||||
-i "${S}"-static/Makerules || die
|
||||
fi
|
||||
|
||||
my_soname=libmupdf.so.1.3
|
||||
my_soname_js_none=libmupdf-js-none.so.1.3
|
||||
sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \
|
||||
-e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \
|
||||
-e "\$a\$(MUPDF_JS_NONE_LIB):" \
|
||||
-e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \
|
||||
-e "/^MUPDF_JS_NONE_LIB :=/s:=.*:= \$(OUT)/${my_soname_js_none}:" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake XCFLAGS="-fpic"
|
||||
use static-libs && \
|
||||
emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a
|
||||
use static && \
|
||||
emake -C "${S}"-static XLIBS="-static"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
dobin platform/debian/${PN}-select-file
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
emake install
|
||||
dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a
|
||||
if use static ; then
|
||||
dobin "${S}"-static/build/debug/mu{tool,draw}
|
||||
use X && dobin "${S}"-static/build/debug/${PN}-x11
|
||||
fi
|
||||
use X && dosym ${PN}-x11 /usr/bin/${PN}
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README docs/*.{txt,c}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.12.ebuild,v 1.1 2014/01/21 15:09:49 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit autotools autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="http://sourceforge.net/projects/check/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs subunit"
|
||||
|
||||
DEPEND="subunit? ( dev-python/subunit )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch
|
||||
|
||||
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
|
||||
|
||||
# fix out-of-sourcedir build having inconsistent check.h files, for
|
||||
# example breaks USE=subunit.
|
||||
rm src/check.h || die
|
||||
|
||||
# Fix automake warnings being treated as errors, bug #420373
|
||||
sed -i -e s/-Werror// configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-dependency-tracking
|
||||
$(use_enable subunit)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.92.ebuild,v 1.1 2014/01/21 07:56:40 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A library to encapsulate CD-ROM reading and control"
|
||||
HOMEPAGE="http://www.gnu.org/software/libcdio/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="cddb +cxx minimal static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
>=sys-libs/ncurses-5.7-r7
|
||||
cddb? ( >=media-libs/libcddb-1.3.2 )
|
||||
)
|
||||
virtual/libiconv[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( dev-lang/perl )"
|
||||
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/cdio/cdio_config.h
|
||||
/usr/include/cdio/version.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
|
||||
-i configure || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local util_switch
|
||||
if ! multilib_is_native_abi || use minimal ; then
|
||||
util_switch="--without"
|
||||
else
|
||||
util_switch="--with"
|
||||
fi
|
||||
|
||||
# Tests fail if ECONF_SOURCE is not relative
|
||||
ECONF_SOURCE="../${P}" econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable cxx) \
|
||||
--disable-cpp-progs \
|
||||
--disable-example-progs \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable cddb) \
|
||||
--disable-vcd-info \
|
||||
${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read}
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
--- a/include/netlink/route/link.h
|
||||
+++ b/include/netlink/route/link.h
|
||||
@@ -98,7 +98,7 @@ typedef enum {
|
||||
|
||||
#define RTNL_LINK_STATS_MAX (__RTNL_LINK_STATS_MAX - 1)
|
||||
|
||||
-extern struct nla_policy link_policy[];
|
||||
+extern struct nla_policy rtln_link_policy[];
|
||||
|
||||
extern struct rtnl_link *rtnl_link_alloc(void);
|
||||
extern void rtnl_link_put(struct rtnl_link *);
|
||||
--- a/lib/route/link.c
|
||||
+++ b/lib/route/link.c
|
||||
@@ -262,7 +262,7 @@ static int link_clone(struct nl_object *_dst, struct nl_object *_src)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-struct nla_policy link_policy[IFLA_MAX+1] = {
|
||||
+struct nla_policy rtln_link_policy[IFLA_MAX+1] = {
|
||||
[IFLA_IFNAME] = { .type = NLA_STRING,
|
||||
.maxlen = IFNAMSIZ },
|
||||
[IFLA_MTU] = { .type = NLA_U32 },
|
||||
@@ -481,7 +481,7 @@ static int link_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who,
|
||||
int err, family;
|
||||
struct nla_policy real_link_policy[IFLA_MAX+1];
|
||||
|
||||
- memcpy(&real_link_policy, link_policy, sizeof(link_policy));
|
||||
+ memcpy(&real_link_policy, rtln_link_policy, sizeof(rtln_link_policy));
|
||||
|
||||
link = rtnl_link_alloc();
|
||||
if (link == NULL) {
|
||||
--- a/lib/route/link/veth.c
|
||||
+++ b/lib/route/link/veth.c
|
||||
@@ -65,7 +65,7 @@ static int veth_parse(struct rtnl_link *link, struct nlattr *data,
|
||||
err = nla_parse(peer_tb, IFLA_MAX,
|
||||
nla_data(nla_peer) + sizeof(struct ifinfomsg),
|
||||
nla_len(nla_peer) - sizeof(struct ifinfomsg),
|
||||
- link_policy);
|
||||
+ rtln_link_policy);
|
||||
if (err < 0)
|
||||
goto errout;
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- Tk-804.031/PNG/Makefile.PL.old 2014-01-21 17:04:09.961441121 +0400
|
||||
+++ Tk-804.031/PNG/Makefile.PL 2014-01-21 17:08:15.582448981 +0400
|
||||
@@ -17,10 +17,11 @@
|
||||
my $libpng_libs;
|
||||
system('pkg-config --exists libpng');
|
||||
if ($? == 0) {
|
||||
chomp($libpng_cflags = `pkg-config --cflags libpng`);
|
||||
chomp($libpng_libs = `pkg-config --libs libpng`);
|
||||
+ chomp($libpng_libs .= `pkg-config --libs zlib`);
|
||||
} else {
|
||||
warn "'pkg-config libpng' failed, continue with fallback values for cflags and libs...\n";
|
||||
$libpng_cflags = '-I/usr/local/include';
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-tk/perl-tk-804.31.0-r1.ebuild,v 1.1 2014/01/21 13:40:35 civil Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN=Tk
|
||||
MODULE_AUTHOR=SREZIC
|
||||
MODULE_VERSION=804.031
|
||||
inherit multilib perl-module
|
||||
|
||||
DESCRIPTION="A Perl Module for Tk"
|
||||
|
||||
LICENSE+=" BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
media-libs/freetype
|
||||
>=media-libs/libpng-1.4
|
||||
virtual/jpeg"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# No test running here, requires an X server, and fails lots anyway.
|
||||
SRC_TEST="skip"
|
||||
PATCHES=( "${FILESDIR}"/${P}-xorg.patch
|
||||
"${FILESDIR}/${P}"-fix-libpng-option.patch )
|
||||
|
||||
src_prepare() {
|
||||
MAKEOPTS+=" -j1" #333049
|
||||
myconf=( X11ROOT=${EPREFIX}/usr XFT=1 -I${EPREFIX}/usr/include/ -l${EPREFIX}/usr/$(get_libdir) )
|
||||
mydoc="ToDo VERSIONS"
|
||||
|
||||
perl-module_src_prepare
|
||||
# fix detection logic for Prefix, bug #385621
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" myConfig || die
|
||||
# having this around breaks with perl-module and a case-IN-sensitive fs
|
||||
rm build || die
|
||||
|
||||
# Remove all bundled libs, fixes #488194
|
||||
local BUNDLED="PNG/libpng \
|
||||
PNG/zlib \
|
||||
JPEG/jpeg"
|
||||
for dir in ${BUNDLED}; do
|
||||
rm -r "${S}/${dir}" || die "Can't remove bundle"
|
||||
# Makefile.PL can copy files to ${S}/${dir}, so recreate them back.
|
||||
mkdir -p "${S}/${dir}" || die "Can't restore bundled dir"
|
||||
sed -i "\#^${dir}#d" "${S}"/MANIFEST || die 'Can not remove bundled libs from MANIFEST'
|
||||
done
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/axiom/axiom-0.7.0.ebuild,v 1.1 2014/01/22 01:27:25 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit twisted-r1
|
||||
|
||||
DESCRIPTION="Object database implemented on top of SQLite."
|
||||
HOMEPAGE="http://divmod.org/trac/wiki/DivmodAxiom http://pypi.python.org/pypi/Axiom"
|
||||
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/epsilon-0.6.0-r2[${PYTHON_USEDEP}]
|
||||
dev-python/twisted-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.5.30-sqlite3_3.6.4.patch" )
|
||||
|
||||
TWISTED_PLUGINS+=( axiom.plugins )
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
touch "${D}$(python_get_sitedir)"/axiom/plugins/dropin.cache || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc NAME.txt
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test ${PN}/test/ || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
@ -1,26 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST pandas-0.12.0.tar.gz 3155059 SHA256 be9b4c3611801b366873531bc87a87dd16b19e7d78fa84c21898cd007931c86d SHA512 da5dbd6109f7c96b762fcdf695ed50da8059ca78f645b0dec9a741ed89638ba43f8b336d339d3d4c250585ddfddff240b40bb25e99ab642eed825c649f2fd59e WHIRLPOOL 19cb14eff3b397d80d2c33d55c980b1db1793c087048be9cc13718e50f6034aa3f15fe27866cc13f778fa71cf3c91147449865b9597087622fa9cf24e71d527d
|
||||
DIST pandas-0.13.0.tar.gz 3604253 SHA256 5bb3f7a5f24fe8280e84e5407dc129364e7825cbe366b79676bd5f37a9b2bf0e SHA512 c5e2673f9a3b1e28d038bf3e5911445c8e77f4669eb5df5849062b41c96f93b6f09fa87421ae7382ba50f53c9ac0cf9564bbff5b300f097bf929fca366a500a6 WHIRLPOOL 91257ed915f7ead4d68e0ebf360f326e4e32e8de51c79c315902f297e3c05bd3a525861e6f575419c6c6eb141ecbb0228e6886c02be49a565324b319b0a65fd0
|
||||
EBUILD pandas-0.12.0.ebuild 3654 SHA256 851dc4547bc39ccca9e40103b058f2d15d7fdf54fffd926995fa8c45472a2e9b SHA512 ee82fe8878fb36b9cfd2ac1584a62ebbf36ce4c59d79c5c901667297e68977309eca1b79090fb6dd17608ee5feef4d2669ba857580c08016fd3213c23b5b5ed6 WHIRLPOOL db99a58b8c803a5f3c9bf7ba5f0f1c2c6a191e18a407fde45f06f93c3112f191781181b3cef060ecd6a1d1f8a37d2b347cea0f89a5be8127e38dc9e98cfea29b
|
||||
MISC ChangeLog 3471 SHA256 071e0c709b26fc5407f9fad17b47d515863e1daa28de5b1d6f014b24977ba3e5 SHA512 150157658638d2ea6a5d3f224e1d26263219786fa6fbb34d97e4563046735b7b811ef5c8aceb58b9ea6043b6e051b8283c5d42d4c9639ccc2cdd3b8730ed6f66 WHIRLPOOL 50d3fc9242e168a302a5941f81060ba4bedafbc5391810d403310410f259442ce2135ed36863b11c86fa8276042beedd15cf7995017263e8527290e13d7178ba
|
||||
MISC metadata.xml 747 SHA256 15e7e8d9d4454fc8ab901571f19f25a1d3da0cae5feb6df370cbb7a8df51b8f6 SHA512 166165a9ef4af866624a04b276804111171f8f2a3c5e4d7145ff814818dc17cc53989b543b04f17e669f80fdf02f8839a08b564dbd2dac38a9b812fae4def1ef WHIRLPOOL eaa57e5cedfa3b563a37201f1729fbde649af5e7665cab45bbb5161205e4f1a22c7e41b9eba499e45a11d8f07d25cb701450d3d3293ad2b5bb3c4c93b6d72e35
|
||||
EBUILD pandas-0.13.0.ebuild 3652 SHA256 de69a6a11085c2c47f0dfdc46f5f853053262cd848bc75751c3350ceadf65deb SHA512 1e8f404e4258aa44c11a453fcaa12c1b79b0c8fdf7280c51bb6f2bcc96ca0cc1b8077e8d00a7b5c4174fdb1a3507011ee7c2a3895cc2df0a6e333443b1fb8be7 WHIRLPOOL 96de74e850e4d79192a916ebf5e3b386d67943b97fa9bcd43ac1a7ce3ac862c2f90eace007179d18abddb571931a81f57ef2523efb1ecdc48b5d5a156fcbf5f3
|
||||
MISC ChangeLog 3610 SHA256 76c672426aadf1a4bfdccddd2fb4ca20ad27ba69a00ceca505a524bfa236854a SHA512 e68a924ce4fb3758a35ce6725e3cb4f48a9717d08380753627493ad6509fbad21fb2ee91b2ddbe122b0ffd95d2b22b43e9646246f64f7455687aae98cd3419e4 WHIRLPOOL 99fd5537a812b81cf940cc02d63613ca3bcfe7ef05a16282231808d2f6551eadf8b62c14892c721abedc559718526055700bd44a33aebfbdf5b32ce279393744
|
||||
MISC metadata.xml 761 SHA256 d6a013946aa3cb90f176a93e53c34181d9eb9c4d379bb4cfc59d8382778dd3ba SHA512 365960584b40b5d4dcf65342a80e9ea8a8688c3d24548a56e91cc2c1df4e4684ef0c4ff8d4304f2cd72e298491efc42ea921a18a994c3c5959c6259334ae42ba WHIRLPOOL be3231594b15f8e2f817b1988efc191b6a1b05f948ef55a672c4bb3b48135c5eded3a3f745a84d0d0719d7dfb2fa8306caf4932ce16e09f3c0fc469880e91752
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQJ8BAEBCABmBQJSbMlmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOvDwQAKm4NCXJaGnjaPtkvZMMWFTD
|
||||
APeBmaalmGEGCrKdTI3Z1d42EtKCTJCD3y31/EaMQlZDhl8H9uuKEzfaUNZddNuK
|
||||
KKgH3wYGJLT03YdWcr/ZzheRmhO6nOdYiaXJyXAeEdKqHiVO8cCNdsud9gali2Ou
|
||||
sclOXiMtg9V/gLTIvOBikibjK3wNTk08sTcwy4iK4K2qhZK3xznKtXu2gYfwGGpR
|
||||
nh3IX/aZPBAMlzNXe55fOYiZzxtCmOx2+SOkrcCX3dh5O66RfAqFK8iBORpDohsp
|
||||
XZTKKjKPc9eGuDUQH9bwzmmPe1soYu5R+qPKrtM43xzFJo72HKevEn2lCJP8qRQ5
|
||||
HVi2ZOoYEvBRgyQ4jiEJOhCtYbGF6GU/XSGWbJ075V3WuoQB5GgEh4vnFEtenG/L
|
||||
R1+43/FtQlSZaEI+nQ7crAWCsH6jV1OnNSbb/e2jIsb9YEUqGCSUhzrd2EgYOvSx
|
||||
b9SVxR1AjJHGpRoXhmqh098Un+BxoLWD/SgkF9EQTQXBtYYSYjlfdA6ZDuVTz24M
|
||||
os8PDfbrVuvGL93arwUoosUbPwHfsD3s5I9/FnKYru27R6+qsjW2qGvjZQpKhuy+
|
||||
09YAkzd4btl3v2b3RtFksnRt7WR3IGXY5+oPhBrBSTZ/4qrjNbsYqveQztx3OQTr
|
||||
xeTCFsKzcYJeZpCFMOCF
|
||||
=4lNl
|
||||
iQIcBAEBCgAGBQJS33pJAAoJELnU8jG9FVirrzkP/1EI+1x02sTZuMTKKv8ZyOAM
|
||||
cK7WERuF8FcCv2Ldr9RC8nSnP74QxMwnLm8+wcBgqjKX+XUE9pj79GwU2l010Vn9
|
||||
1DmctvCD1zveU1HS4KRNWWUAaF7w3k63a/Io0U9vjGMGtyZGSWxAkac39TXPJ3Su
|
||||
/k7yNejtWIfsKAqODZ8gjjfkrAVUyiiX7V236WJyDUvdzhHH9mVRLLkXbBPKWqhP
|
||||
sFBmPywdyembI2clm1lzXRsladrn5DqyzDAu7Yt6uVEGzU9duZRwkj6vC/JhPCHq
|
||||
L4bpwp3yM0tYGoFhLpi9E+Mo1DylLUXPP/DHS5JBP32KuzM7WrI/jzivP+BfWbqW
|
||||
uxWnBzZsag7VbDGUEa6SsStElUoyE1HzamaYvup8C/29os0WU9Rg5qou4FZVrVGJ
|
||||
AJz5ulaQl+YetGPGW0Uw/Itbmu3FdoyoxSqJPU9ZQelRHC+KUeTwT8PSyIwG5//J
|
||||
CUzMa/0xeLQxCrbWBqNgwYxFbGQdrlrgWmJN83yRxBZwfQzihrsbRF1WtUm+r9yV
|
||||
AqcjuEaLAer7t3kE1sS8BpX/+zSiKDTStqnTqMORGh6O7P8ZeU9K5dGnSDlVzXAf
|
||||
ye9fapXvL3KkjpnmwLNfFww0oAJ+hVn7Mgh5pQmdmZ/HLzXgXVNLsimzloUcTcN/
|
||||
4GJBUxnz5URtwoCqdi3h
|
||||
=BvmT
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
Pandas is a Python package providing fast, flexible, and expressive
|
||||
data structures designed to make working with "relational" or
|
||||
"labeled" data both easy and intuitive. It aims to be the
|
||||
fundamental high-level building block for doing practical, real
|
||||
world data analysis in Python.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
|
||||
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
|
||||
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,117 @@
|
||||
# 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.13.0.ebuild,v 1.1 2014/01/22 07:59:04 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
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"
|
||||
|
||||
REQUIRED_USE="
|
||||
excel? ( !python_targets_python3_2 )
|
||||
doc? ( !python_targets_python3_2 )
|
||||
R? ( !python_targets_python3_2 )
|
||||
"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${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/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[$(python_gen_usedep 'python2_7')]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
|
||||
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[${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*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
# Prevent un-needed download during build
|
||||
sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
|
||||
-e "s:^ 'statsmodels:# 'statsmodels:" \
|
||||
-e "s:^ 'python:# 'python:" \
|
||||
-e "s:^}:#}:" \
|
||||
-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_test() {
|
||||
# test can't survive py2.6, alternately patch to skip under unittest2
|
||||
if [[ ${EPYTHON} == "python2.6" ]]; then
|
||||
rm $(find "${BUILD_DIR}" -name test_array.py) || die
|
||||
fi
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
|
||||
virtualmake || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
dohtml -r 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
|
||||
|
||||
if use examples; then
|
||||
# example python modules not to be compressed
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r "${S}"/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,28 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST python-augeas-0.4.0.tar.gz 88982 SHA256 f7a38913bb7aa1b94dd1cda86d9179902e89ba9f70dd41401989db844a69e590 SHA512 cf9c110b7ca98c1f7ca87273891366c879c1360e2c3f7ec0bc10929ce29c89a8c7009dd25bb6158aa0ca79bd725bad2c013d00e25a445763de84b0c0998a9d38 WHIRLPOOL 898ae74d46c1593578c33738339036075c13c09f6e51209680f946d8facc9df6a26bec251f148e30307739bb80d265bfb954de0854e81a87a041899f0e47b4e1
|
||||
DIST python-augeas-0.4.1.tar.gz 89652 SHA256 2d9e618fad03f68033b5ac94d0d57136df9ed75bf21c6e7877d3107866af89bf SHA512 ccd6ea10f927f06eba74dd48c21c7ca9a99c2910741ef925f078c09cd8a3421e63de3b74df2903a2cfd17f3defaa8df4624c9743d20e13bb5bfeacd7d50c5938 WHIRLPOOL bdb389691d85b259f0dba50205f99efa48ccec1676b48b2df2a7180079d1b3a91bd59f1020adbfe0088e7a5912fad6a0313d8c65cfb785fcbea87914d2676aec
|
||||
DIST python-augeas-0.4.2_pre131218.tar.xz 77636 SHA256 1ef4547c48e8ea155a1fd9908fc6b8e4d9bdfd9d51aa79488352de4ef3d40f50 SHA512 3677dfa4d7b6bbb22009ebee4ed4b46e50f7e5712354f5061476d5d21c86b956c4408f5ca005b674ad0e14e26c970830572aa077af6bb594dbff116991676e86 WHIRLPOOL 8bd303ce00811a2c686ccb840cb445eaa35e47888f5a53599e49d848020201adfe0a17b37137817d1cafd05d61b0783e6a65bb989bfb7195ec59d6c7eb438046
|
||||
EBUILD python-augeas-0.4.0.ebuild 741 SHA256 bf895c476146c76ceb59c8cc95d991a962b395b6559152405fb3de32d3cd609e SHA512 aa8cf4584509e8a603014c00331cb75c221b474783366f91e692cf23a253beb09bdbb8f60de397236e3a605c2fa59d4d27e5322650b7ceb562fecac1f3bba4f3 WHIRLPOOL fb70ee1cf863fc8cabbf43bd6cf6dffdb9fcb1c83a749ae49f3718fcfd7e77846ebe58a65acbb130fb8c6c70df1f3e78c93f1422349cb0abffa2d865bf61b33a
|
||||
EBUILD python-augeas-0.4.1.ebuild 670 SHA256 54f5c1a5eb48975297fc81c38c14d7932d07dc734e42740b15c550f9200a8f79 SHA512 5a19baf5b4fc1b8fd356e7222299a3373f7ff65832a32f6f6bf42cb7119961f90cb7abfc5ebbbb8c53417bc583ac867a4b47eed205e9b99ab6a1bef75b09ff06 WHIRLPOOL fac7c1541fb5cff1dc09cc5d35ce5e2ad9e4b08044ee18a3b82824618c0e0b9f4d482ee6b6516a362f30a75bab0630138934f31953fb279bc13d933088958676
|
||||
EBUILD python-augeas-0.4.2_pre131218.ebuild 749 SHA256 a0865fa2da504b4b50a646623548426419469c69250a11abaa5dcc25a19b13ee SHA512 3c6b7a743300de919a2142363ae5ccd15194e08ab35f9a28cd4b5739f5f80ec52e50abd963cb747c0973c6035f16baf7d3b37978823ed628718efe2ef0bcda05 WHIRLPOOL 9e06d8a4e0ae48c42f39812a26ad83ed09c273bf197d4cda0e39a79e374c41dfed7874fc9f27abdef4f5fbb9357c07f9586d6d4ab73c548c40c1293febc4e80d
|
||||
MISC ChangeLog 1232 SHA256 c86f80330baa25342673bc59e04585680abe602273c76f2f91b8e858052a0fda SHA512 f7badbbd84071346f6cb8db0bd572e5e0f32aa98fa97338effc4bd3cb001994caa537a98d72d67b29f883ed600d0198974bc316cf590ef41bc004f131dc0933a WHIRLPOOL 4795e2dd0051d10240fbdcddf3bcd9bf0a52829bf76ff3b3bda68a1247de13bdcabcf514ee1c310c9725ada9436a8fbc7379caf164e064fb24748487883173bf
|
||||
EBUILD python-augeas-0.4.2_pre131218.ebuild 744 SHA256 5949a469da05c58ad5dffe5ea342635656e51698d6d17773f40e306c1bab962a SHA512 2d9762209550720cf06dc7930b72038b1fc0400ad7c46e9aee9f282c40be65f9241bced3cf07249a9daf2cd926ddca963b98a55c72eb2b25b4e724bd7caa9e9f WHIRLPOOL 63564cb814d24c0a4226668a63daa35f36f84bfc83c71005afb0d27efc7bbd2963c5a79c3246096e9cf7f9748d27f4f0c0abbac4d5dd5ab3396744c13689f1e9
|
||||
MISC ChangeLog 1364 SHA256 e7763003dd708840003a666052fe9a1768044c635ae58070d51132be90b7c083 SHA512 1271a231d0cb46d4562b179d236257b0f45bde9ff6fd7aa933fc60dcc1729966b4534da5a35e727a816d1c1a5790e457c994ac37681aa81303225e5007fde0c7 WHIRLPOOL fd2fd0cee68e2fc693dd09389c6fb936dfc93c0cd325e5de50520c4dee008ffa24ed637857758946ddb550d1c60a2fe630724db17e9fa18b884158f2bdb0c9cf
|
||||
MISC metadata.xml 321 SHA256 969cdaf5bb2ab06236d1cc2b41646931428b093606df637029b356437d88f45e SHA512 c2e8b772fbfe2cf87bce9e75a50119e41c1e62bf013bd18fbeb98d23c17f9aea29b8c9000693b1010acc4148ce3ecbb1623c5f610e0b299ecb687292f1bbe7e8 WHIRLPOOL 9a69013ea71512f601007406285c5957165a17791f1ad1ce2959ed611b27bcd9827b15e861cf6a0efe5e2e33b755dcb4acec04cb6c61ef0d358d393b6856ab1f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJSsVYCAAoJELnU8jG9FVirQr0P/1OHSCW5zph3TT2CyxlozAEe
|
||||
LGVou3NnpZsR5GMKn4lm7xL2X/iOPJ1RDAJqEfTUw26v47+CM/6aejs4GaKTSDqU
|
||||
Cm2vSA1j+lqEOBHTqvWpSMQAtqTPa8VyiXdXPssXvKrTBsjxRp5kgmv6LlZj9LnU
|
||||
lWDDRhSMZh4brmZtYmuTzbh/ZI4ku8eGn71LDyNVgljHps5wKy8iA8Hkp210cYkB
|
||||
ZV2yaCDVh0oslyUoqCqiSkaxNTU8c/OG8SvhCExgUGz9ft6bnMOX1MMeLLt2VFLx
|
||||
Cim7/vxS9Q9UNtjvf54h8I3CSaw0fPUdJfsFe5WTzYOYKY0pfgeih29KfcdYuWSt
|
||||
JhfMewpmLL7J1l9N9iSYMa3KAmvVZjwA22Yll3hKbB9njR0Q4vtCnAxfVCK100Na
|
||||
VAonBMA1r1Ly22rdmyqB1xXpJVc3nCBPpM4XbLMQ5/tLNiRksyjvOFIMFdjCvN0v
|
||||
E9OZlff7PfqIZN7C+rLjGscSVVdw/X4eIMvOVYE7FeIP4gD2MNNacd+sQ8bHMlP+
|
||||
LW0M1J8zZ9PwNJRmDX9Xc9IIqSvvskkt0i8WQiu4eRZC1in+WGqacSSNgffbcRnS
|
||||
nncX0A97RvUU3IPslQDjLkUjRyYhSp/lZ7B8jUBJsQ5i+U1Vg+zU8e4dBYNKm/1l
|
||||
d3vDQHhQbbH7jYhDooIW
|
||||
=4a68
|
||||
iF4EAREIAAYFAlLeZBYACgkQKiQSS7ZY+hM6DQEAvfVjp7bS1rUwHPFjGS5vU9sO
|
||||
NXFvRx+VwmHLnqZ16c4A/RRYqvSSNrT6vSFExSiThSGKXqTUblaTuEcXsahnAWbO
|
||||
=ehXo
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,24 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST python-geoclue-0.1.0.tar.gz 61062 SHA256 51748c22244f974854eacbf518a11a72cdf76045b7ab9cae44b7a592dfa4e259 SHA512 844c877038f9b8db096a33605be16f8aaea8e66fa84e3a42927f103afa9c8ab565b28cc69b9d02d30bfd02a20e6e20e7fdf28a7d06900db9d288775bb153c533 WHIRLPOOL b59fc942e9686e55f8a6d2aab2a335f51b0f8de4a13bd6d9f3945cabd5133fffd125b7373f3dc9c9b7941d66ef27e41aa832cf3e2f1ca332dfd6376b5dedaa08
|
||||
EBUILD python-geoclue-0.1.0-r1.ebuild 964 SHA256 2b203f70088f79182284c45c1fe5dd6324140d5ce89adb532cb230bfd4a8c905 SHA512 8d5c6996695c287441254e261eeb3c2a71d5f96e904bf68bdd9900bec22544b2bb795833feea7c32fec41d51ebea4b066e5566403b7a1084cd204f6ebbe568dc WHIRLPOOL 830bea6fcde9e101f6071b697fbb4b70b3483b91ee18a05d9ff93d98b151d7561cc06899524b52528573ad2807c959dafbb35d2d7f4c556e8cde84ae41bfd5f2
|
||||
MISC ChangeLog 2822 SHA256 60f23f073fde61845bac3fb9d1988495aaafecd3cdc6c363753f8582c2060191 SHA512 7f1e80c8019a606d955e64dadc4dbf095db218a3470d9fd7213c00bdc2536d37582ae284f1f4c55b84fd7f5a1205ac7424703b4ab8dff4b153e2fbf086b5d50f WHIRLPOOL 304e1739513d2766c658b635d510d628306fb5fb9dbaca4410bff91f08bc958e7ee459c2a5f66dadd8e26637d5a35686ddc92014a5df7a96089aa0a78a0e5138
|
||||
EBUILD python-geoclue-0.1.0-r1.ebuild 968 SHA256 dfec69017fe649d811ccf346ba164b9bc1edb7c5017f8aeabc93834da8da9f10 SHA512 12ec577b04a5901027a461d06220b598a53d0366df637f97c460af5e72dd8de03629646328fb36ed7e58e9eb06fa00ceaef6abd1825f800a6be73dda96225f13 WHIRLPOOL 0304717b60940b3aee8d60ae88852a23c5b76d6b05bb8b2a25e00bad57149c9ebee174e15146862d0ea4e46530048322b40973e489040eac72484f8cb75c04ca
|
||||
MISC ChangeLog 2946 SHA256 a25c4b51bd069a05fae132f509c332232d2b20e79ffcb0fc5961ddfe6366b105 SHA512 5db998b5b632e0c218908f5dc68b7b917d4b9f7f505b1a306de56dfdb89c9ae99c1a62f1f85bd0a3a0169a2e97f4ad512f4eb2ad4494e5a759f26d3644ef9021 WHIRLPOOL 2ee4f5c5fe827baa8d6f0d0fc49b1a053e47e2a236578185553ecb81b19c5ac9cd1e1da227392fbd78303169986a68bda995c250a8acb9a65e3ce2c32f5da2af
|
||||
MISC metadata.xml 227 SHA256 aef43758cae524923aefea72b3a1f2896b3dcca8d0135dc75a08149549388105 SHA512 40677314811b092252949d13d1d07aaf721f7e8ba47da28ac21239f881e7c919bcad9384d2f0bf0eff95e11912443aa1f2bab7e94e1a3029c9aa97a3654795dc WHIRLPOOL 1ce8a3cc4ae9ce91daa6bd030e5be25fdbee0fc29e14b943024c932cff8d6da58c6d152d02fb8703fc285331f3dd010ec832f8a5ddb18c7cd33c9ae97507dd76
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJSymdZAAoJELnU8jG9FVirYegP/RQ60Ymt1Ynr3ikZKDfl4W62
|
||||
vVuqntSkIXr5ZXiogVozM1WLcPoeBfHbRTTWxnz81P9Tm9PtSSx+7yBpi+fAazIx
|
||||
bLTcSgbdjPYtAiVtbs4SxHrlKl1azUMDLdwNIAJqCjNYKxoiNw0Uuf/U4X3jJsf2
|
||||
DPf83ZFiJ7WgNXtv330QjDodLZHUayH+yHYPi1NcoMTM6kI15v7HSO7DGWhule5F
|
||||
A+WfSd3deqIy06aDTBit4a0X8bmLhAPTvFsHrT16/NwVuJ/3wEQsegTuymAxAhdE
|
||||
Hx2+gCkpQa8abXEdeMCK2KtYCe7NNlQlFvtVsHD/M53lry1TseFrzyOKzaodkMuF
|
||||
JIgAX8d7pLqJscnlPwGpsCTdyw9m+fhtw4xWSvAJdQkerFv6xmRTOCgR74M/ibTV
|
||||
MB65TG5shTXPVlTOz9yUEBKUBPrMYhHxnlKJfaBPA2hlReQfSpOOgW4q/A5iTevf
|
||||
L5RFZXePB9+mp9QGZ5H+GCHGaPX/1zx49gzB2zuQmzfN7xEtuNYVxcQr4k5J5hhJ
|
||||
lxNMNmIBeS2yGpos1ePMXW+PBCvmMT22g1BHAdzlS6g4fm4IeFurgHckeiuXTKU+
|
||||
topsQe9qrZ0+H0CmqZkc2W04OLg7Rt88cPnEw/o6jxUH6vkQxF/9VjMcQulWletz
|
||||
GqLjp6vqvfUhx2vrUI7E
|
||||
=WB7z
|
||||
iEYEAREIAAYFAlLe+PoACgkQ1fmVwcYIWAYTowCgmhbiqEAB+xM1ODYC1oNqc0o3
|
||||
zvMAmwTzyVydhuGc6uinSjU5Rg/+gIgd
|
||||
=xCKy
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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-ruby/deep_merge/deep_merge-1.0.1.ebuild,v 1.1 2014/01/22 06:42:20 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple set of utility functions for Hash"
|
||||
HOMEPAGE="http://trac.misuse.org/science/wiki/DeepMerge"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S testrb test/test_*.rb || die
|
||||
}
|
@ -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-ruby/faraday/faraday-0.9.0.ebuild,v 1.1 2014/01/22 07:14:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="HTTP/REST API client library with pluggable components"
|
||||
HOMEPAGE="http://github.com/lostisland/faraday"
|
||||
SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0"
|
||||
USE_RUBY="ruby18" ruby_add_rdepend "dev-ruby/system_timer"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/test-unit-2.4
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/net-http-persistent
|
||||
dev-ruby/patron
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support.
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
|
||||
sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
|
||||
|
||||
# Remove simplecov and coveralls support, not needed to run tests.
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Remove tests for adapters that are not packaged for Gentoo.
|
||||
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure the test scripts use the right ruby interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' script/* || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
each_fakegem_test
|
||||
|
||||
# Sleep some time to allow the sinatra test server to die
|
||||
einfo "Waiting for test server to stop"
|
||||
sleep 10
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST flexmock-1.3.1.gem 96768 SHA256 029a89ff57fcdd6b4691c10e1c4f8a6507c955df53df5cbf4b03723f1bda4404 SHA512 07f5254a4a66efc5dde2416c50ef419748bd4968abe731bf7fece8f678dc5a8b67715c6717d1ec008ca3ded672922ccedff21f6ae5215736981426867012de0c WHIRLPOOL 7a5e35d44757ead68c5b8d05533cda4e40df5ad22d09544c737b9e132e648ccc9f4498e81f6755e021d4bce35c08e02b7c80ef53359fa334db473a0dde905645
|
||||
DIST flexmock-1.3.2.gem 96256 SHA256 01d7c35bd5fab02604e91ee1049182bc8b6ebd3544f710f7283759d05ac71f35 SHA512 d0eb13a60c9a74b67f17a7a35bae8c8d8b5e2d0bca0a257a4d512fbece88b9b9e0e7c3ebfa5500d320988863ede1ff2af4ce8b2903fe774bf358764f3d43b6dc WHIRLPOOL c5b92bc733ac557585cf2dccc9221c0619876733a8b264d99d714d3ea09b3497b336d1c899cf8bd33ecf41cdb95b90167095b035d85e219d7435679ab6a8e5e2
|
||||
DIST flexmock-1.3.3.gem 81920 SHA256 1d9cc7dd01b43a25447d85477b8ab096481be0a6536aa6587286082c40f35f9d SHA512 2d440ec5bdbaea0a314f9e40645b194d9e5d29e9dc93c9b38d7fdb256bd4ffb3dba312d7a5630e6d849e360b7f337f6e5e0995a5da6210db2577516a62a66f54 WHIRLPOOL 568005d1238f3927e188cc74756e54512855f146ec729309946837fa2235c0bcf18e05a0bcfd78b938b76fddb239c857bff12a37495fc47d68cf31c25db64c52
|
||||
EBUILD flexmock-1.3.1.ebuild 909 SHA256 e626f2c7af4d38ef20d9509ae259f9373189d05aa5bf9558b2dd72e3dd8469e0 SHA512 b980e040b00d66802eb72019c95aa2a19e787302c1e37fea2d48587e9af45770a1c33f27b49ddb14a578607a92b7d39d8b1d6fd3693bae6ddaa6999017e11bcb WHIRLPOOL db7f4f4d90d59a7224f497a96ed3b8002d556a5b74b16ab303f6e78309b35589e0ca711a204a4622395d32cf14e0e04e55cd5d178efd83e10b7ee5e54b59015b
|
||||
EBUILD flexmock-1.3.2-r1.ebuild 926 SHA256 ee340e86711db742233b98ed417c731490c622c893380a10bdcfa58bb38501ac SHA512 4f9aace14a37ff701b6e38a5b252a25ce54cf6d3dd3c001755bec27677ec8c1a1e60f9d071b7ad1ceeaa2b30fd13495040e275dbd4278416605b4f21cf43aa8b WHIRLPOOL c79644c1a02b97711d903bbb02e10b94b0dad0997a5d1d4deaea17872c443834edc23399b2388548acb31c125cf1d7d8287a71eb04bdd6fc914ac2dc492f6d8a
|
||||
MISC ChangeLog 4985 SHA256 965614437e0c6675a196ab8ec47ac4e1a1b15fdb8146f95ab175ca9f4ffbb0d9 SHA512 b3f423151e6054ca357e938242ea334b45717a87f5b8fe581959d6b66b18e5432bb2a1e0803ce72c4fb84b033005587235598b10ae91fe8b09963278e1e9e17f WHIRLPOOL 7af8927990d2c4b0dc63374805c9ed0ec877d5a6eede42073cbf856eb0c825d9ed84c373261c02af809ccecba33da523600865934b144b436932451c39ce4e82
|
||||
EBUILD flexmock-1.3.3.ebuild 923 SHA256 f18dbb43a85aa24b684568d7f9fffb2186b84adf9478e0a03b41754fa0804ea4 SHA512 0bdf4ddeed4f7c0a242d75350c363fb271d2a463ff7d9abdc31935bb6a049cbd8cd41f341bfd98b06e2e59fc5f6b04a9e647ee2b832777ac187ef424b2fc1bc5 WHIRLPOOL 31a828c9a6e3109e22e0834ea8371fe4b73e6a94426c0e51ba226789d9d1581a143b5ff6feeedbef3f9a72460f3446ab15afd2f684fc2e0d812933e6c29944e5
|
||||
MISC ChangeLog 5105 SHA256 12e09370a621fff711ee44ec6b5ccd67107ff9e370340804f3e27b1278272444 SHA512 029fb646df115d265a837a4905614a643b8f99d221914978efd3397dce049e8adf6011375dc6cd6b386ca03bf528ba2a6f2cf6bfe19559fad303a547ee333722 WHIRLPOOL b5679e939c60db37a727544a25776136cf2969dee92816504b3a0429621e59e4704737eeb3d4a47090bc0d86d707b1c78eb01e479c4874c287ac5b0e98a69b9e
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
|
@ -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-ruby/flexmock/flexmock-1.3.3.ebuild,v 1.1 2014/01/21 13:14:19 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Simple mock object library for Ruby unit testing"
|
||||
HOMEPAGE="http://flexmock.rubyforge.org/"
|
||||
|
||||
LICENSE="flexmock"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/rspec:2
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_rspec test/rspec_integration
|
||||
${RUBY} -S testrb -Ilib:. test/*_test.rb || die
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.1.ebuild,v 1.1 2012/09/02 07:47:53 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
# There are tests in the upstream SVN rubyforge repo.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README examples/*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="http://httpauth.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.2.0.ebuild,v 1.2 2012/11/25 19:27:50 tomka Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
# There are tests in the upstream SVN rubyforge repo.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="http://httpauth.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpauth/httpauth-0.2.1.ebuild,v 1.1 2014/01/21 13:21:04 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md TODO"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A library supporting the full HTTP Authentication protocol as specified in RFC 2617."
|
||||
HOMEPAGE="https://github.com/Manfred/HTTPauth http://httpauth.rubyforge.org/"
|
||||
SRC_URI="https://github.com/Manfred/HTTPauth/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RUBY_S=HTTPauth-${PV}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/[Bb]undler/d" Rakefile || die
|
||||
}
|
@ -1,4 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST oauth2-0.9.2.gem 22016 SHA256 6d69c7efcd39c808b8faca37c84f46d04d6298451c9cce04d0d8316329ca6116 SHA512 5c47fd8450f91ad645eec03f24532c8e22f89ec2c11390f4cf75edd15ac96c9a9fe247f8f260261490bcce103c5e9c6eaf68a3505429231b02af96f3c992da09 WHIRLPOOL fedf329f2d3a2505212138ad41552fdb1e8ed243bc25fbf5d99b297f20c0683e797202c957a0f085aa54c00b7d8d5fec9fbb1ff6728e59e945e2ff0ae7364055
|
||||
DIST oauth2-0.9.3.gem 23552 SHA256 60ee80ea74541394f35c06330ec440470cb023e354bcce3ff4c55b6339546de5 SHA512 bec97c2aea2dc02ea8901ff37440761b6b810d0294f6875e687997b9ba97768fea9ad7e062f0a958113485c22213d3c56dc01fd24f1be8168df374410a58a445 WHIRLPOOL fbdb1e0b52f2faa87b5e0c5ab4a98d2c3b7ff8dd724fd39547daf34465b978fe5850170181c217fb631464999afa1c10b80a0d265b2a24625110ddea2773f2c1
|
||||
EBUILD oauth2-0.9.2.ebuild 984 SHA256 b545337c24a54ca5012d4d822c50907e4e4ac7c99a62244eadb0473fbc6d51ed SHA512 51b6a46b570943283dabeece86590ae4f130d50afd459c7b7aca421cc2fe8f2c672fb971fd4fe5a963ca13cd18b851cfd2e3b7eafc349682ccf36cbac76e98a0 WHIRLPOOL dc781cd4a424202025d07b18e877f43efbc1d6ae866f2871c8bf0a6ec342507a61e8db04e06da7c7841d8af70881a774eecd2378ac51c28a0a44b590ee48cf8a
|
||||
MISC ChangeLog 2782 SHA256 460960cac2e8282341c60d7fd58af1b45208acf1e5aa95a676eb3906930d074c SHA512 83315b75c653ce096b45f07dd9855cf7c91497ff8c533e2d738796b1434897065c3142f136ee8037ab8aa0f85c5f1fcd1aa4fae25c63502e5f5b4af193530886 WHIRLPOOL 430aced2f5fffd18cc88bc34ff5b659b8f62fe37834f2b563f7b0d2c716a6c68a0147fe33dcd7b861233f07a0b9d4d68907175062af562c1ce0e6e7706b1a13e
|
||||
EBUILD oauth2-0.9.3.ebuild 1004 SHA256 1ee952e999405670a84a71d8b5779f82e0cbc79f11567562f08d508f23f41582 SHA512 d209a31103563faacb2163e250e7941e34a3f0904416c744e9c54565f3c1d711805c1365be6f43f62d1736b16fab50214c5d4cfcdf8b1d86e3cbb72b6dfb5207 WHIRLPOOL c373efe0f662042aa17f05ca932c4522b290c1fb3fb1d41d84c51a4d72609c4fc8d4b47c2279d3f1ca13faf31308e269d2e2d883635ae8042bb339c5190eeb14
|
||||
MISC ChangeLog 2901 SHA256 90abe021e6851b9e8acd620362c2b1ae8ad75b1305d5a6ae30994759fa9529d7 SHA512 00211ebffab0f9413fb2f9f258d12e43cc26dbf04139afd8c8e148fe157a2f1c3213b7f1e003082ba9bf3c9a9994f1a1f0a6f98616be28c043c554e78fab9841 WHIRLPOOL ee06c4b6aacd877d228f2842b08cca840fb4f54646f977ae437e3d03625805a5e121de8d9ae1efec3e39e7fc1a25eb32c5cafe280f580426ed31f503b7344a8d
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlLfbF0ACgkQiIP6VqMIqNeEMgD8CNb4LCV17OphD6VE/dTGZVqn
|
||||
ALoFWMwFslF15e00FmUA/2bA+Q0y/nRXo3wh4lGcBwuA+Gjpe4KvhzQjdUw/noLE
|
||||
=sQGy
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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/dev-ruby/oauth2/oauth2-0.9.3.ebuild,v 1.1 2014/01/22 06:59:40 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="Ruby wrapper for the OAuth 2.0 protocol built with a similar style to the original OAuth gem."
|
||||
HOMEPAGE="http://github.com/intridea/oauth2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/faraday-0.8
|
||||
>=dev-ruby/jwt-0.1.8
|
||||
>=dev-ruby/multi_json-1.0.3
|
||||
>=dev-ruby/multi_xml-0.5
|
||||
>=dev-ruby/rack-1.2"
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.5.0:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
|
||||
sed -i -e '/yardstick/,/^end/ s:^:#:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,4 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX redis-3.0.6-local-redis-server.patch 1610 SHA256 cd12cf912da42671277f5102e90f3d775b754b7b7d00bec09eb78db1de4c7c52 SHA512 e50ce8472356b20327d97cc41718f4e8080616e09bd87abc36075cf234c6314233df0e195bf10c15b2d7ebefb9dc130fb5829c5072e90a47766ebb1c54d2ce2f WHIRLPOOL 16e64df50186915a2374bf6f504b2fb08324edcb1d28e737ebdd74987849c3af1380d086ea18ec5adf756379c726ac4b22f982243b4c143016f30ef46e05101e
|
||||
DIST redis-rb-3.0.5.tar.gz 59798 SHA256 fb00ecf1859abf393c6965200fa994203f0fddb61bf07dff956669c358877f7d SHA512 a889ab22b04ff557254b7f7408a4a23222062d3fee3acbaf7b4e999ff4eba5977e7be46fdd7c7e93fe6953e6923eebaace2face7c2376da8bf8b844884fadb9b WHIRLPOOL facd93cb1c4c5b49f5c5ff9b147ff60371ebe4ba550b5d46e3b0e7cfe39e7d521712f0e6f20227e0ce1cc1cd723315a47c4b01786ae518a2719b5a9dc98afa65
|
||||
DIST redis-rb-3.0.6.tar.gz 62335 SHA256 06cad67fdfd6955112a65d05e0fff62b003439404f20d8b926ce92f6c5eabe4b SHA512 966a2b9bf5d3af51020015e8b066b728b0632093eedcf1ca41f82b3340d54b0bffb305a0aa7ec5c8534db0a71cd6de006a943a0ebef234a4f93204ea41a431b1 WHIRLPOOL cdeec7ccbe3dd6a4c4ea6e9e786c072cab436abacc48538501234cd58f8bb21bc8a43ad8a4db68b607c5ee9313daffe9e1eb0255057e6306db2c55d920673609
|
||||
EBUILD redis-3.0.5.ebuild 940 SHA256 0897aa6c53d3a7884aaa2f2b2e0f2992cc00f689ea3506abacc54f9bcb9bd18d SHA512 02121adbca0014a50676cfc18f523467cb20a14e414362e2ef2505c31cb91de288903932d6075f20f69121b3e236171174ee579e1d44f97c6120509ebc41893f WHIRLPOOL 05ac09d8472e8f3b765dc4ed0db152968eddf83bb00a07424980e0c1c814e2479d53f37d891b499806df04b6048844d26411a618bb5319934f7f025469d3e8d9
|
||||
MISC ChangeLog 369 SHA256 4a4ca5a9314f16313ed77f764ae3b339fb6addd14d1ce917fd7ffcc7915f7252 SHA512 c5cb3f9206b98fbbf4e4ea032638c4390cb9f2671623527aabcb3cc0c680bf4a9f7e5023ea1efdf32c3569f7b80a8dfa39fdfeff412f74e2a0d669186a723ba7 WHIRLPOOL 37c1aa165c1d318f18a494882c889e2e4db400f15e2df707069da1c2e09ced550fed902b4013a7bff30f93c1aff783ce1968351454c217a6bcc8546db64fa229
|
||||
EBUILD redis-3.0.6.ebuild 1215 SHA256 e1d3fd2ba34cfbfd722d02987e112235545c8f1ab8b8c8cbacc1631ace183f63 SHA512 bbb515e7d810e137a7524844df56852626848243894a2c5177cb1a1924dc6f6cbeaa5a5178a0cf8f5ab8999ff14775b6c77e69e0fb8b6a4f84783d11ed18489c WHIRLPOOL 2040e7d1eb395fbcc3475495606060e17e12d36bc3173e3fa0476f3862d0b5003d4f87447ab4f743e01be2c8ab94c0ae449d4033070d807b8e97416a50564690
|
||||
MISC ChangeLog 570 SHA256 c971db20366eab64ec5fb202beb01ccbe853ec87f63c9fd1e5814f924951d87c SHA512 0a1f23adcd381f99094967ebcaef0165bfd9e04ea9b37a93ce56e2b0f60c07193e9a532117fa6ad226529ea78ace809cf8a91a0e1baebb710510b20df6f9439b WHIRLPOOL 97e53ee88007e3507a6050ba3be0f146c3875199168dd07e9a94dfeab94b6b9d827ad4ec0fdcf0e7ad5d124d5c495e27d0ad9a4785c1775b5e170af8694d242f
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlLexOoACgkQiIP6VqMIqNf1RAD/SuuwKtgeBNQBZT3VKh8PLRzY
|
||||
jzMierxknW2I1ozXFrUA/A0I30UzkhvuGdGV5PnmO/gvA30IT4P1domaRd81SWKj
|
||||
=A8C6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue