parent
078264290e
commit
74e6c45fd9
@ -1,112 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need localmount logger
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
DAEMON_UTIL="/usr/lib/ganeti/daemon-util"
|
||||
|
||||
check_config() {
|
||||
if ! $DAEMON_UTIL check-config ; then
|
||||
eend 0 "Incomplete configuration, will not run."
|
||||
fi
|
||||
}
|
||||
|
||||
check_exitcode() {
|
||||
RC=${1}
|
||||
if errmsg=$(${DAEMON_UTIL} check-exitcode ${RC}) ; then
|
||||
eend 0 "${errmsg}"
|
||||
else
|
||||
eend 1 "${errmsg}"
|
||||
fi
|
||||
}
|
||||
|
||||
start_action() {
|
||||
# called as start_action daemon-name
|
||||
local daemon="${1}"
|
||||
ebegin "Starting ${daemon}"
|
||||
${DAEMON_UTIL} start "${@}"
|
||||
check_exitcode ${?}
|
||||
}
|
||||
|
||||
stop_action() {
|
||||
# called as stop_action daemon-name
|
||||
local daemon="${1}"
|
||||
ebegin "Stopping ${daemon}"
|
||||
${DAEMON_UTIL} stop "${@}"
|
||||
check_exitcode ${?}
|
||||
}
|
||||
|
||||
maybe_do() {
|
||||
requested="${1}"; shift
|
||||
action="${1}"; shift
|
||||
target="${1}"
|
||||
if [ -z "${requested}" -o "${requested}" = "${target}" ] ; then
|
||||
${action} "${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
get_master_node() {
|
||||
MASTER_NODE="$(gnt-cluster getmaster)"
|
||||
NODE_HOSTNAME="$(hostname -f)"
|
||||
if [ "$MASTER_NODE" == "$NODE_HOSTNAME" ] ; then
|
||||
MASTER=1
|
||||
else
|
||||
MASTER=0
|
||||
fi
|
||||
}
|
||||
|
||||
start_all() {
|
||||
check_config
|
||||
get_master_node
|
||||
for i in $($DAEMON_UTIL list-start-daemons); do \
|
||||
GANETI_START_OPTS="${GANETI_OPTS}"
|
||||
case "${i}" in
|
||||
ganeti-masterd)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_MASTERD_OPTS}"
|
||||
;;
|
||||
ganeti-rapid)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_RAPI_OPTS}"
|
||||
;;
|
||||
ganeti-noded)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_NODED_OPTS}"
|
||||
;;
|
||||
ganeti-confd)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_CONFD_OPTS}"
|
||||
;;
|
||||
esac
|
||||
# Don't start if not master
|
||||
if [ $MASTER = 0 -a $i = "ganeti-masterd" ] ; then
|
||||
continue
|
||||
elif [ $MASTER = 0 -a $i = "ganeti-rapi" ] ; then
|
||||
continue
|
||||
else
|
||||
maybe_do "${1}" start_action ${i} ${GANETI_OPTS}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
stop_all() {
|
||||
get_master_node
|
||||
for i in $($DAEMON_UTIL list-stop-daemons) ; do \
|
||||
if [ $MASTER = 0 -a $i = "ganeti-masterd" ] ; then
|
||||
continue
|
||||
elif [ $MASTER = 0 -a $i = "ganeti-rapi" ] ; then
|
||||
continue
|
||||
else
|
||||
maybe_do "${1}" stop_action ${i} ${GANETI_OPTS}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
start() {
|
||||
start_all
|
||||
}
|
||||
|
||||
stop() {
|
||||
stop_all
|
||||
}
|
@ -1,113 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need localmount logger
|
||||
after bootmisc
|
||||
use net
|
||||
}
|
||||
|
||||
DAEMON_UTIL="/usr/lib/ganeti/daemon-util"
|
||||
|
||||
check_config() {
|
||||
if ! $DAEMON_UTIL check-config ; then
|
||||
eend 0 "Incomplete configuration, will not run."
|
||||
fi
|
||||
}
|
||||
|
||||
check_exitcode() {
|
||||
RC=${1}
|
||||
if errmsg=$(${DAEMON_UTIL} check-exitcode ${RC}) ; then
|
||||
eend 0 "${errmsg}"
|
||||
else
|
||||
eend 1 "${errmsg}"
|
||||
fi
|
||||
}
|
||||
|
||||
start_action() {
|
||||
# called as start_action daemon-name
|
||||
local daemon="${1}"
|
||||
ebegin "Starting ${daemon}"
|
||||
${DAEMON_UTIL} start "${@}"
|
||||
check_exitcode ${?}
|
||||
}
|
||||
|
||||
stop_action() {
|
||||
# called as stop_action daemon-name
|
||||
local daemon="${1}"
|
||||
ebegin "Stopping ${daemon}"
|
||||
${DAEMON_UTIL} stop "${@}"
|
||||
check_exitcode ${?}
|
||||
}
|
||||
|
||||
maybe_do() {
|
||||
requested="${1}"; shift
|
||||
action="${1}"; shift
|
||||
target="${1}"
|
||||
if [ -z "${requested}" -o "${requested}" = "${target}" ] ; then
|
||||
${action} "${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
get_master_node() {
|
||||
MASTER_NODE="$(gnt-cluster getmaster)"
|
||||
NODE_HOSTNAME="$(hostname -f)"
|
||||
if [ "$MASTER_NODE" == "$NODE_HOSTNAME" ] ; then
|
||||
MASTER=1
|
||||
else
|
||||
MASTER=0
|
||||
fi
|
||||
}
|
||||
|
||||
start_all() {
|
||||
check_config
|
||||
get_master_node
|
||||
for i in $($DAEMON_UTIL list-start-daemons); do \
|
||||
GANETI_START_OPTS="${GANETI_OPTS}"
|
||||
case "${i}" in
|
||||
ganeti-masterd)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_MASTERD_OPTS}"
|
||||
;;
|
||||
ganeti-rapid)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_RAPI_OPTS}"
|
||||
;;
|
||||
ganeti-noded)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_NODED_OPTS}"
|
||||
;;
|
||||
ganeti-confd)
|
||||
GANETI_OPTS="${GANETI_START_OPTS} ${GANETI_CONFD_OPTS}"
|
||||
;;
|
||||
esac
|
||||
# Don't start if not master
|
||||
if [ $MASTER = 0 -a $i = "ganeti-masterd" ] ; then
|
||||
continue
|
||||
elif [ $MASTER = 0 -a $i = "ganeti-rapi" ] ; then
|
||||
continue
|
||||
else
|
||||
maybe_do "${1}" start_action ${i} ${GANETI_OPTS}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
stop_all() {
|
||||
get_master_node
|
||||
for i in $($DAEMON_UTIL list-stop-daemons) ; do \
|
||||
if [ $MASTER = 0 -a $i = "ganeti-masterd" ] ; then
|
||||
continue
|
||||
elif [ $MASTER = 0 -a $i = "ganeti-rapi" ] ; then
|
||||
continue
|
||||
else
|
||||
maybe_do "${1}" stop_action ${i} ${GANETI_OPTS}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
start() {
|
||||
start_all
|
||||
}
|
||||
|
||||
stop() {
|
||||
stop_all
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
From 49767a66e27a1cb61abb8f812b2e61eba03a9594 Mon Sep 17 00:00:00 2001
|
||||
From: Lance Albertson <lance@osuosl.org>
|
||||
Date: Wed, 25 Jul 2012 16:21:21 -0700
|
||||
Subject: [PATCH 2/2] Check if process is already running and skip if so
|
||||
|
||||
Gentoo uses a modified version of start-stop-daemon which returns an error if it
|
||||
sees another process running with the same name. This happens during cluster
|
||||
initialization since ganeti-noded gets fired off first.
|
||||
---
|
||||
daemons/daemon-util.in | 12 +++++++-----
|
||||
1 file changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/daemons/daemon-util.in b/daemons/daemon-util.in
|
||||
index c19daa7..7be9d8b 100644
|
||||
--- a/daemons/daemon-util.in
|
||||
+++ b/daemons/daemon-util.in
|
||||
@@ -222,11 +222,13 @@ start() {
|
||||
@PKGLIBDIR@/ensure-dirs
|
||||
|
||||
if type -p start-stop-daemon >/dev/null; then
|
||||
- start-stop-daemon --start --quiet \
|
||||
- --pidfile $pidfile \
|
||||
- --exec $daemonexec \
|
||||
- --user $usergroup \
|
||||
- -- $args "$@"
|
||||
+ if ! ret=$(/usr/bin/pgrep $name) ; then
|
||||
+ start-stop-daemon --start --quiet \
|
||||
+ --pidfile $pidfile \
|
||||
+ --exec $daemonexec \
|
||||
+ --user $usergroup \
|
||||
+ -- $args "$@"
|
||||
+ fi
|
||||
else
|
||||
# TODO: Find a way to start daemon with a group, until then the group must
|
||||
# be removed
|
||||
--
|
||||
1.7.9.5
|
||||
|
@ -1,45 +0,0 @@
|
||||
From 0491397d7648fd70ad0a6cef9e8626b9c2a968e9 Mon Sep 17 00:00:00 2001
|
||||
From: Lance Albertson <ramereth@gmail.com>
|
||||
Date: Mon, 8 Aug 2011 23:34:33 -0700
|
||||
Subject: [PATCH 1/2] Remove/fix deprecated start-stop-daemon functions
|
||||
|
||||
daemon-util uses the deprecated functions --startas, --chuid and, most
|
||||
importantly, --oknodo. The last one causes start-stop-daemon to exit with a
|
||||
non-zero status, which makes openrc think it crashed (when in reality it just
|
||||
shut down properly) [1].
|
||||
|
||||
[1] https://bugs.gentoo.org/show_bug.cgi?id=377905
|
||||
---
|
||||
daemons/daemon-util.in | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/daemons/daemon-util.in b/daemons/daemon-util.in
|
||||
index b754e7f..c19daa7 100644
|
||||
--- a/daemons/daemon-util.in
|
||||
+++ b/daemons/daemon-util.in
|
||||
@@ -222,10 +222,10 @@ start() {
|
||||
@PKGLIBDIR@/ensure-dirs
|
||||
|
||||
if type -p start-stop-daemon >/dev/null; then
|
||||
- start-stop-daemon --start --quiet --oknodo \
|
||||
+ start-stop-daemon --start --quiet \
|
||||
--pidfile $pidfile \
|
||||
- --startas $daemonexec \
|
||||
- --chuid $usergroup \
|
||||
+ --exec $daemonexec \
|
||||
+ --user $usergroup \
|
||||
-- $args "$@"
|
||||
else
|
||||
# TODO: Find a way to start daemon with a group, until then the group must
|
||||
@@ -248,7 +248,7 @@ stop() {
|
||||
local pidfile=$(_daemon_pidfile $name)
|
||||
|
||||
if type -p start-stop-daemon >/dev/null; then
|
||||
- start-stop-daemon --stop --quiet --oknodo --retry 30 \
|
||||
+ start-stop-daemon --stop --quiet --retry 30 \
|
||||
--pidfile $pidfile
|
||||
else
|
||||
_ignore_error killproc -p $pidfile $name
|
||||
--
|
||||
1.7.9.5
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- configure.ac.orig 2013-11-13 01:56:03.819694900 +0000
|
||||
+++ configure.ac 2013-11-13 01:56:34.350116602 +0000
|
||||
@@ -493,8 +493,8 @@
|
||||
has_confd=False
|
||||
if test "$enable_confd" != no; then
|
||||
CONFD_PKG=
|
||||
- AC_GHC_PKG_CHECK([regex-pcre], [HS_REGEX_PCRE=],
|
||||
- [CONFD_PKG="$CONFD_PKG regex-pcre"])
|
||||
+ AC_GHC_PKG_CHECK([regex-pcre-builtin], [HS_REGEX_PCRE=],
|
||||
+ [CONFD_PKG="$CONFD_PKG regex-pcre-builtin"])
|
||||
AC_GHC_PKG_CHECK([Crypto], [], [CONFD_PKG="$CONFD_PKG Crypto"])
|
||||
AC_GHC_PKG_CHECK([text], [], [CONFD_PKG="$CONFD_PKG text"])
|
||||
AC_GHC_PKG_CHECK([hinotify], [], [CONFD_PKG="$CONFD_PKG hinotify"])
|
||||
@@ -578,7 +578,7 @@
|
||||
AC_GHC_PKG_CHECK([vector], [], [HS_NODEV=1])
|
||||
AC_GHC_PKG_CHECK([process], [], [HS_NODEV=1])
|
||||
AC_GHC_PKG_CHECK([snap-server], [], [HS_NODEV=1])
|
||||
-AC_GHC_PKG_CHECK([regex-pcre], [], [HS_NODEV=1])
|
||||
+AC_GHC_PKG_CHECK([regex-pcre-builtin], [], [HS_NODEV=1])
|
||||
AC_GHC_PKG_CHECK([Crypto], [], [HS_NODEV=1])
|
||||
AC_GHC_PKG_CHECK([text], [], [HS_NODEV=1])
|
||||
AC_GHC_PKG_CHECK([hinotify], [], [HS_NODEV=1])
|
@ -1,47 +0,0 @@
|
||||
From 9f8f304c983635e0ead6adadd1c4a62be6e92e01 Mon Sep 17 00:00:00 2001
|
||||
From: Lance Albertson <ramereth@gmail.com>
|
||||
Date: Mon, 8 Aug 2011 23:34:33 -0700
|
||||
Subject: [PATCH] Remove/fix deprecated start-stop-daemon functions
|
||||
|
||||
daemon-util uses the deprecated functions --startas, --chuid and, most
|
||||
importantly, --oknodo. The last one causes start-stop-daemon to exit with a
|
||||
non-zero status, which makes openrc think it crashed (when in reality it just
|
||||
shut down properly) [1].
|
||||
|
||||
[1] https://bugs.gentoo.org/show_bug.cgi?id=377905
|
||||
|
||||
Signed-off-by: Lance Albertson <ramereth@gmail.com>
|
||||
---
|
||||
daemons/daemon-util.in | 8 ++++----
|
||||
1 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/daemons/daemon-util.in b/daemons/daemon-util.in
|
||||
index 819fd6b..00fe1b6 100644
|
||||
--- a/daemons/daemon-util.in
|
||||
+++ b/daemons/daemon-util.in
|
||||
@@ -172,10 +172,10 @@ start() {
|
||||
|
||||
@PKGLIBDIR@/ensure-dirs
|
||||
|
||||
- start-stop-daemon --start --quiet --oknodo \
|
||||
+ start-stop-daemon --start --quiet \
|
||||
--pidfile $(_daemon_pidfile $name) \
|
||||
- --startas $(_daemon_executable $name) \
|
||||
- --chuid $(_daemon_usergroup $plain_name) \
|
||||
+ --exec $(_daemon_executable $name) \
|
||||
+ --user $(_daemon_usergroup $plain_name) \
|
||||
-- $args "$@"
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ stop() {
|
||||
|
||||
local name="$1"; shift
|
||||
|
||||
- start-stop-daemon --stop --quiet --oknodo --retry 30 \
|
||||
+ start-stop-daemon --stop --quiet --retry 30 \
|
||||
--pidfile $(_daemon_pidfile $name)
|
||||
}
|
||||
|
||||
--
|
||||
1.7.4.1
|
||||
|
@ -1,16 +0,0 @@
|
||||
# /etc/conf.d/ganeti: config file for /etc/init.d/ganeti
|
||||
|
||||
# Extra options to pass to all of the ganeti daemons
|
||||
# GANETI_OPTS="-d"
|
||||
|
||||
# Options to pass to ganeti-masterd
|
||||
# GANETI_MASTERD_OPTS=""
|
||||
|
||||
# Options to pass to ganeti-rapi
|
||||
# GANETI_RAPI_OPTS=""
|
||||
|
||||
# Options to pass to ganeti-noded
|
||||
# GANETI_NODED_OPTS=""
|
||||
|
||||
# Options to pass to ganeti-confd
|
||||
# GANETI_CONFD_OPTS=""
|
@ -1,57 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need localmount xend drbd
|
||||
before ganeti-kvm-poweroff
|
||||
after bootmisc nfsmount
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
for fname in /var/lib/ganeti/ssconf_node_pass /var/lib/ganeti/server.pem
|
||||
do
|
||||
if [[ ! -f "$fname" ]]
|
||||
then
|
||||
eerror "Config file $fname not found, will not run."
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting ganeti-master"
|
||||
/usr/sbin/ganeti-master start
|
||||
ret=$?
|
||||
eend ${ret}
|
||||
[[ "${ret}" != 0 ]] && return 1
|
||||
|
||||
ebegin "Starting ganeti-noded"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/ganeti-noded
|
||||
ret=$?
|
||||
eend ${ret}
|
||||
[[ "${ret}" != 0 ]] && return 1
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ganeti-noded"
|
||||
start-stop-daemon --stop --quiet --name ganeti-noded
|
||||
ret=$?
|
||||
eend ${ret}
|
||||
[[ "${ret}" != 0 ]] && return 1
|
||||
|
||||
ebegin "Stopping ganeti-master"
|
||||
/usr/sbin/ganeti-master start
|
||||
ret=$?
|
||||
eend ${ret}
|
||||
[[ "${ret}" != 0 ]] && return 1
|
||||
|
||||
return 0
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need localmount drbd
|
||||
after bootmisc
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
for fname in /var/lib/ganeti/server.pem
|
||||
do
|
||||
if [[ ! -f "$fname" ]]
|
||||
then
|
||||
eerror "Config file $fname not found, will not run."
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
start_action() {
|
||||
# called as start_action daemon pidfile
|
||||
local daemon="${1}"; shift
|
||||
local pidfile="${1}"; shift
|
||||
ebegin "Starting ${daemon}"
|
||||
start-stop-daemon --start --quiet --exec "${daemon}" --pidfile "${pidfile}" \
|
||||
-- "${@}"
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
stop_action() {
|
||||
# called as stop_action daemon pidfile
|
||||
ebegin "Stopping ${1}"
|
||||
start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile "${2}"
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
start_action /usr/sbin/ganeti-noded /var/run/ganeti/ganeti-noded.pid
|
||||
start_action /usr/sbin/ganeti-masterd /var/run/ganeti/ganeti-masterd.pid
|
||||
start_action /usr/sbin/ganeti-rapi /var/run/ganeti/ganeti-rapi.pid
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
stop_action /usr/sbin/ganeti-rapi /var/run/ganeti/ganeti-rapi.pid
|
||||
stop_action /usr/sbin/ganeti-masterd /var/run/ganeti/ganeti-masterd.pid
|
||||
stop_action /usr/sbin/ganeti-noded /var/run/ganeti/ganeti-noded.pid
|
||||
return 0
|
||||
}
|
@ -1,175 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
use test && PYTHON_REQ_USE="ipv6"
|
||||
|
||||
inherit eutils confutils autotools bash-completion-r1 python-single-r1 versionator
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
# you will need to pull in the haskell overlay for pandoc
|
||||
GIT_DEPEND="app-text/pandoc
|
||||
dev-python/docutils
|
||||
dev-python/sphinx
|
||||
media-libs/gd[fontconfig,jpeg,png,truetype]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://downloads.ganeti.org/releases/${SERIES}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="https://code.google.com/p/ganeti/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kvm xen lxc drbd htools syslog ipv6 haskell-daemons rbd test"
|
||||
REQUIRED_USE="|| ( kvm xen lxc )"
|
||||
|
||||
HASKELL_DEPS=">=dev-lang/ghc-6.12:0=
|
||||
<dev-lang/ghc-7.8
|
||||
dev-haskell/json:0=
|
||||
dev-haskell/curl:0=
|
||||
dev-haskell/network:0=
|
||||
dev-haskell/parallel:3=
|
||||
dev-haskell/hslogger:0=
|
||||
dev-haskell/utf8-string:0=
|
||||
dev-haskell/attoparsec:0=
|
||||
dev-haskell/crypto:0="
|
||||
|
||||
DEPEND="xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu )
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? ( <sys-cluster/drbd-8.5 )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
haskell-daemons? (
|
||||
${HASKELL_DEPS}
|
||||
dev-haskell/text:0=
|
||||
dev-haskell/hinotify:0=
|
||||
dev-haskell/regex-pcre-builtin:0=
|
||||
dev-haskell/vector:0=
|
||||
)
|
||||
dev-libs/openssl:0
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/bitarray[${PYTHON_USEDEP}]
|
||||
net-analyzer/arping
|
||||
net-analyzer/fping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
${PYTHON_DEPS}
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
DEPEND+="${HASKELL_DEPS}
|
||||
sys-devel/m4
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pyyaml
|
||||
dev-haskell/test-framework:0=
|
||||
dev-haskell/test-framework-hunit:0=
|
||||
dev-haskell/test-framework-quickcheck2:0=
|
||||
dev-haskell/temporary:0=
|
||||
sys-apps/fakeroot
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.6-fix-args.patch"
|
||||
"${FILESDIR}/${PN}-2.6-add-pgrep.patch"
|
||||
"${FILESDIR}/${PN}-2.7-fix-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-disable-root-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-regex-builtin.patch"
|
||||
"${FILESDIR}/${PN}-2.9-skip-cli-test.patch"
|
||||
"${FILESDIR}/${PN}-2.10-rundir.patch"
|
||||
"${FILESDIR}/${PN}-lockdir.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup () {
|
||||
confutils_use_depend_all haskell-daemons htools
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
[[ ${PV} == "9999" ]] && ./autogen.sh
|
||||
rm autotools/missing
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
econf --localstatedir=/var \
|
||||
--sharedstatedir=/var \
|
||||
--disable-symlinks \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/${PN}/os \
|
||||
$(use_enable syslog) \
|
||||
$(usex kvm '--with-kvm-path=' '' '/usr/bin/qemu-kvm' '') \
|
||||
$(usex haskell-daemons "--enable-confd=haskell" '' '' '')
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake V=1 DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/ganeti.confd-r2 ${PN}
|
||||
|
||||
use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
dohtml -r doc/html/*
|
||||
rm -rf "${D}"/{usr/share/doc/${PN},run}
|
||||
|
||||
docinto examples
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup} doc/examples/*.ocf
|
||||
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins doc/examples/ganeti.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins doc/examples/ganeti.logrotate ${PN}
|
||||
|
||||
python_fix_shebang "${D}"/usr/"$(get_libdir)"/${PN}/${SERIES}
|
||||
|
||||
keepdir /var/{lib,log}/${PN}/
|
||||
keepdir /usr/share/${PN}/${SERIES}/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
|
||||
dosym ${SERIES} "/usr/share/${PN}/default"
|
||||
dosym ${SERIES} "/usr/$(get_libdir)/${PN}/default"
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
||||
|
||||
src_test () {
|
||||
emake check || die "emake check failed"
|
||||
}
|
@ -1,253 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
use test && PYTHON_REQ_USE="ipv6"
|
||||
|
||||
inherit eutils user confutils autotools bash-completion-r1 python-single-r1 versionator pax-utils
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
# you will need to pull in the haskell overlay for pandoc
|
||||
GIT_DEPEND="app-text/pandoc
|
||||
dev-python/docutils
|
||||
dev-python/sphinx
|
||||
media-libs/gd[fontconfig,jpeg,png,truetype]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://downloads.ganeti.org/releases/${SERIES}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="https://code.google.com/p/ganeti/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen"
|
||||
REQUIRED_USE="|| ( kvm xen lxc )"
|
||||
|
||||
USER_PREFIX="${GANETI_USER_PREFIX:-"gnt-"}"
|
||||
GROUP_PREFIX="${GANETI_GROUP_PREFIX:-"${USER_PREFIX}"}"
|
||||
|
||||
# the haskell less-than atoms list are resolver hints, they aren't actual
|
||||
# direct dependencies, just hints to help the resolver fufill the dependency
|
||||
# on an older transformer.
|
||||
# these need to stay until 2.14.0
|
||||
DEPEND="
|
||||
dev-libs/openssl:0
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/bitarray[${PYTHON_USEDEP}]
|
||||
net-analyzer/arping
|
||||
net-analyzer/fping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
>=dev-lang/ghc-7.6.0:0=
|
||||
>=dev-haskell/json-0.9:0=
|
||||
<dev-haskell/monad-control-1.0.0.0:0=
|
||||
<dev-haskell/transformers-0.4.0:0=
|
||||
dev-haskell/curl:0=
|
||||
dev-haskell/network:0=
|
||||
dev-haskell/parallel:3=
|
||||
>=dev-haskell/hslogger-1.2.6:0=
|
||||
dev-haskell/snap-server:0=
|
||||
dev-haskell/utf8-string:0=
|
||||
dev-haskell/attoparsec:0=
|
||||
dev-haskell/crypto:0=
|
||||
dev-haskell/vector:0=
|
||||
dev-haskell/hinotify:0=
|
||||
dev-haskell/regex-pcre-builtin:0=
|
||||
dev-haskell/zlib:0=
|
||||
>=dev-haskell/lifted-base-0.2.3.3:0=
|
||||
<dev-haskell/lens-3.10:0=
|
||||
dev-haskell/base64-bytestring:0=
|
||||
<dev-haskell/mtl-2.2
|
||||
<dev-haskell/contravariant-0.6
|
||||
<dev-haskell/profunctors-4.3
|
||||
<dev-haskell/distributive-0.4.4
|
||||
<dev-haskell/comonad-4.2.2
|
||||
<dev-haskell/transformers-compat-0.3
|
||||
<dev-haskell/transformers-base-0.4.4
|
||||
<dev-haskell/semigroupoids-4.0
|
||||
<dev-haskell/semigroupoid-extras-4.0
|
||||
<dev-haskell/groupoids-4.0
|
||||
xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu )
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? ( <sys-cluster/drbd-8.5 )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
haskell-daemons? ( dev-haskell/text:0= )
|
||||
${PYTHON_DEPS}
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
DEPEND+="sys-devel/m4
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pyyaml
|
||||
dev-haskell/haddock:0=
|
||||
dev-haskell/test-framework:0=
|
||||
dev-haskell/test-framework-hunit:0=
|
||||
dev-haskell/test-framework-quickcheck2:0=
|
||||
dev-haskell/temporary:0=
|
||||
sys-apps/fakeroot
|
||||
net-misc/socat
|
||||
dev-util/shelltestrunner
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.12-start-stop-daemon-args.patch"
|
||||
"${FILESDIR}/${PN}-2.11-add-pgrep.patch"
|
||||
"${FILESDIR}/${PN}-2.12-daemon-util.patch"
|
||||
"${FILESDIR}/${PN}-2.7-fix-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-disable-root-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.11-regex-builtin.patch"
|
||||
"${FILESDIR}/${PN}-2.9-skip-cli-test.patch"
|
||||
"${FILESDIR}/${PN}-2.10-rundir.patch"
|
||||
"${FILESDIR}/${PN}-2.12-qemu-enable-kvm.patch"
|
||||
"${FILESDIR}/${PN}-2.11-tests.patch"
|
||||
"${FILESDIR}/${PN}-lockdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-useradd.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-nest-libdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-print-man-help.patch"
|
||||
"${FILESDIR}/${PN}-2.11-daemon-util-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.12-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.12-cfgupgrade-state.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="kvm? ( || ( amd64 x86 ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup () {
|
||||
local user
|
||||
confutils_use_depend_all haskell-daemons htools
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
if use multiple-users; then
|
||||
for user in gnt-{masterd,confd,luxid,rapi,daemons,admin}; do
|
||||
enewgroup ${user}
|
||||
enewuser ${user} -1 -1 -1 ${user}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local testfile
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# not sure why these tests are failing
|
||||
# should remove this on next version bump if possible
|
||||
for testfile in test/py/import-export_unittest.bash; do
|
||||
printf '#!/bin/bash\ntrue\n' > "${testfile}"
|
||||
done
|
||||
|
||||
[[ ${PV} == "9999" ]] && ./autogen.sh
|
||||
rm autotools/missing
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
|
||||
local kvm_arch
|
||||
|
||||
if use amd64; then
|
||||
kvm_arch=x86_64
|
||||
elif use x86; then
|
||||
kvm_arch=i386
|
||||
elif use kvm; then
|
||||
die "Could not determine qemu system to use for kvm"
|
||||
fi
|
||||
|
||||
econf --localstatedir=/var \
|
||||
--sharedstatedir=/var \
|
||||
--disable-symlinks \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/${PN}/os \
|
||||
$(usex multiple-users "--with-user-prefix=" "" "${USER_PREFIX}" "") \
|
||||
$(usex multiple-users "--with-group-prefix=" "" "${GROUP_PREFIX}" "") \
|
||||
$(use_enable syslog) \
|
||||
$(use_enable monitoring) \
|
||||
$(usex kvm '--with-kvm-path=' '' "/usr/bin/qemu-system-${kvm_arch}" '') \
|
||||
$(usex haskell-daemons "--enable-confd=haskell" '' '' '')
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake V=1 DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/ganeti.confd-r2 ${PN}
|
||||
|
||||
if use kvm; then
|
||||
newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
fi
|
||||
|
||||
# ganeti installs it's own docs in a generic location
|
||||
rm -rf "${D}"/{usr/share/doc/${PN},run}
|
||||
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
dohtml -r doc/html/* doc/css/*.css
|
||||
|
||||
docinto examples
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup} doc/examples/*.ocf
|
||||
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins doc/examples/ganeti.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins doc/examples/ganeti.logrotate ${PN}
|
||||
|
||||
keepdir /var/{lib,log}/${PN}/
|
||||
keepdir /usr/share/${PN}/${SERIES}/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
|
||||
dosym ${SERIES} "/usr/share/${PN}/default"
|
||||
dosym ${SERIES} "/usr/$(get_libdir)/${PN}/default"
|
||||
|
||||
python_fix_shebang "${ED}" "${D}"/usr/"$(get_libdir)"/${PN}/${SERIES}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use multiple-users; then
|
||||
elog "You have enable multiple user support, the users for this must"
|
||||
elog "be created. You can use the provided tool for this, which is"
|
||||
elog "located at:"
|
||||
elog " /usr/$(get_libdir)/${PN}/tools/users-setup"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
emake check || die "emake check failed"
|
||||
}
|
@ -1,309 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
PYTHON_REQ_USE="ipv6(+)?"
|
||||
|
||||
inherit eutils user autotools bash-completion-r1 python-single-r1 versionator
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
MY_PV="${MY_PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
GIT_DEPEND="dev-python/docutils
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://www.ganeti.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen"
|
||||
REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
USER_PREFIX="${GANETI_USER_PREFIX:-"gnt-"}"
|
||||
GROUP_PREFIX="${GANETI_GROUP_PREFIX:-"${USER_PREFIX}"}"
|
||||
|
||||
DOC_DEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/docutils
|
||||
media-fonts/urw-fonts
|
||||
media-gfx/graphviz"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:0
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/bitarray[${PYTHON_USEDEP}]
|
||||
net-analyzer/arping
|
||||
net-analyzer/fping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal:0=
|
||||
dev-haskell/cabal-install:0=
|
||||
>=dev-haskell/mtl-2.1.1:0=
|
||||
>=dev-haskell/old-time-1.1.0.0:0=
|
||||
>=dev-haskell/random-1.0.1.1:0=
|
||||
haskell-daemons? ( >=dev-haskell/text-0.11.1.13:0= )
|
||||
>=dev-haskell/transformers-0.3.0.0:0=
|
||||
|
||||
>=dev-haskell/attoparsec-0.10.1.1:0=
|
||||
<dev-haskell/attoparsec-0.13:0
|
||||
>=dev-haskell/base64-bytestring-1.0.0.1:0=
|
||||
<dev-haskell/base64-bytestring-1.1:0=
|
||||
>=dev-haskell/crypto-4.2.4:0=
|
||||
<dev-haskell/crypto-4.3:0=
|
||||
>=dev-haskell/curl-1.3.7:0=
|
||||
<dev-haskell/curl-1.4:0=
|
||||
>=dev-haskell/hinotify-0.3.2:0=
|
||||
<dev-haskell/hinotify-0.4:0=
|
||||
>=dev-haskell/hslogger-1.1.4:0=
|
||||
<dev-haskell/hslogger-1.3:0=
|
||||
>=dev-haskell/json-0.5:0=
|
||||
<dev-haskell/json-0.9:0=
|
||||
>=dev-haskell/lens-3.10:0=
|
||||
<dev-haskell/lens-4.8:0=
|
||||
>=dev-haskell/lifted-base-0.2.0.3:0=
|
||||
<dev-haskell/lifted-base-0.3:0=
|
||||
>=dev-haskell/monad-control-0.3.1.3:0=
|
||||
<dev-haskell/monad-control-1.1:0=
|
||||
>=dev-haskell/network-2.3.0.13:0=
|
||||
<dev-haskell/network-2.7:0=
|
||||
>=dev-haskell/parallel-3.2.0.2:3=
|
||||
<dev-haskell/parallel-3.3:3=
|
||||
>=dev-haskell/temporary-1.1.2.3:0=
|
||||
<dev-haskell/temporary-1.3:0=
|
||||
>=dev-haskell/regex-pcre-0.94.2:0=
|
||||
<dev-haskell/regex-pcre-0.95:0=
|
||||
>=dev-haskell/transformers-base-0.4.1:0=
|
||||
<dev-haskell/transformers-base-0.5:0=
|
||||
>=dev-haskell/utf8-string-0.3.7:0=
|
||||
<dev-haskell/utf8-string-0.4:0=
|
||||
>=dev-haskell/zlib-0.5.3.3:0=
|
||||
<dev-haskell/zlib-0.6:0=
|
||||
|
||||
>=dev-haskell/psqueue-1.1:0=
|
||||
<dev-haskell/psqueue-1.2:0=
|
||||
>=dev-haskell/snap-core-0.8.1:0=
|
||||
<dev-haskell/snap-core-0.10:0=
|
||||
>=dev-haskell/snap-server-0.8.1:0=
|
||||
<dev-haskell/snap-server-0.10:0=
|
||||
>=dev-haskell/case-insensitive-0.4.0.1
|
||||
|
||||
dev-haskell/vector:0=
|
||||
<dev-haskell/semigroupoids-4.1:0=
|
||||
<dev-haskell/contravariant-0.6
|
||||
<dev-haskell/transformers-compat-0.4[three]
|
||||
xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? (
|
||||
dev-python/psutil
|
||||
app-emulation/qemu
|
||||
)
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? (
|
||||
|| (
|
||||
<sys-cluster/drbd-8.5
|
||||
sys-cluster/drbd-utils
|
||||
)
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
${PYTHON_DEPS}
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
DEPEND+="sys-devel/m4
|
||||
app-text/pandoc
|
||||
>=dev-haskell/test-framework-0.6:0=
|
||||
<dev-haskell/test-framework-0.9:0=
|
||||
>=dev-haskell/test-framework-hunit-0.2.7:0=
|
||||
<dev-haskell/test-framework-hunit-0.4:0=
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.12.1:0=
|
||||
<dev-haskell/test-framework-quickcheck2-0.4:0=
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pyyaml
|
||||
dev-haskell/haddock:0=
|
||||
>=dev-haskell/hunit-1.2.4.2:0=
|
||||
<dev-haskell/hunit-1.3:0=
|
||||
>=dev-haskell/quickcheck-2.4.2:2=
|
||||
<dev-haskell/quickcheck-2.8:2=
|
||||
sys-apps/fakeroot
|
||||
net-misc/socat
|
||||
dev-util/shelltestrunner
|
||||
${DOC_DEPEND}
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.12-start-stop-daemon-args.patch"
|
||||
"${FILESDIR}/${PN}-2.11-add-pgrep.patch"
|
||||
"${FILESDIR}/${PN}-2.15-daemon-util.patch"
|
||||
"${FILESDIR}/${PN}-2.7-fix-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-disable-root-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-skip-cli-test.patch"
|
||||
"${FILESDIR}/${PN}-2.10-rundir.patch"
|
||||
"${FILESDIR}/${PN}-2.12-qemu-enable-kvm.patch"
|
||||
"${FILESDIR}/${PN}-2.11-tests.patch"
|
||||
"${FILESDIR}/${PN}-lockdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-nest-libdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-print-man-help.patch"
|
||||
"${FILESDIR}/${PN}-2.11-daemon-util-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.13-process_unittest.patch"
|
||||
"${FILESDIR}/${PN}-2.15-python-mock.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="kvm? ( || ( amd64 x86 ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_WX_LOAD="
|
||||
usr/lib*/${PN}/${SERIES}/usr/sbin/ganeti-*d
|
||||
usr/lib*/${PN}/${SERIES}/usr/bin/htools
|
||||
"
|
||||
|
||||
pkg_setup () {
|
||||
local user
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
if use multiple-users; then
|
||||
for user in gnt-{masterd,confd,luxid,rapi,daemons,admin}; do
|
||||
enewgroup ${user}
|
||||
enewuser ${user} -1 -1 -1 ${user}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local testfile
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# not sure why these tests are failing
|
||||
# should remove this on next version bump if possible
|
||||
for testfile in test/py/import-export_unittest.bash; do
|
||||
printf '#!/bin/bash\ntrue\n' > "${testfile}"
|
||||
done
|
||||
|
||||
# take the sledgehammer approach to bug #526270
|
||||
grep -lr '/bin/sh' "${S}" | xargs -r -- sed -i 's:/bin/sh:/bin/bash:g'
|
||||
|
||||
[[ ${PV} =~ [9]{4,} ]] && ./autogen.sh
|
||||
rm autotools/missing
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
|
||||
local kvm_arch
|
||||
|
||||
if use amd64; then
|
||||
kvm_arch=x86_64
|
||||
elif use x86; then
|
||||
kvm_arch=i386
|
||||
elif use kvm; then
|
||||
die "Could not determine qemu system to use for kvm"
|
||||
fi
|
||||
|
||||
econf --localstatedir=/var \
|
||||
--sharedstatedir=/var \
|
||||
--disable-symlinks \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/${PN}/os \
|
||||
$(use_enable test haskell-tests) \
|
||||
$(usex multiple-users "--with-default-user=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-user-prefix=" "" "${USER_PREFIX}" "") \
|
||||
$(usex multiple-users "--with-default-group=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-group-prefix=" "" "${GROUP_PREFIX}" "") \
|
||||
$(use_enable syslog) \
|
||||
$(use_enable monitoring) \
|
||||
$(usex kvm '--with-kvm-path=' '' "/usr/bin/qemu-system-${kvm_arch}" '') \
|
||||
$(usex haskell-daemons "--enable-confd=haskell" '' '' '')
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake V=1 DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/ganeti.confd-r2 ${PN}
|
||||
|
||||
if use kvm; then
|
||||
newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
fi
|
||||
|
||||
# ganeti installs it's own docs in a generic location
|
||||
rm -rf "${D}"/{usr/share/doc/${PN},run}
|
||||
|
||||
sed -i "s:/usr/$(get_libdir)/${PN}/tools/burnin:burnin:" doc/examples/bash_completion
|
||||
newbashcomp doc/examples/bash_completion gnt-instance
|
||||
bashcomp_alias gnt-instance burnin ganeti-{cleaner,confd} \
|
||||
h{space,check,scan,info,ail,arep,roller,squeeze,bal} \
|
||||
gnt-{os,job,filter,debug,storage,group,node,network,backup,cluster}
|
||||
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
dohtml -r doc/html/* doc/css/*.css
|
||||
|
||||
docinto examples
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup} doc/examples/*.ocf
|
||||
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins doc/examples/ganeti.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins doc/examples/ganeti.logrotate ${PN}
|
||||
|
||||
# need to dodir rather than keepdir here (bug #552482)
|
||||
dodir /var/lib/${PN}
|
||||
|
||||
keepdir /var/log/${PN}/
|
||||
keepdir /usr/share/${PN}/${SERIES}/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
|
||||
dosym ${SERIES} "/usr/share/${PN}/default"
|
||||
dosym ${SERIES} "/usr/$(get_libdir)/${PN}/default"
|
||||
|
||||
python_fix_shebang "${ED}" "${D}"/usr/"$(get_libdir)"/${PN}/${SERIES}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use multiple-users; then
|
||||
elog "You have enable multiple user support, the users for this must"
|
||||
elog "be created. You can use the provided tool for this, which is"
|
||||
elog "located at:"
|
||||
elog " /usr/$(get_libdir)/${PN}/tools/users-setup"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
}
|
@ -1,309 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
use test && PYTHON_REQ_USE="ipv6"
|
||||
|
||||
inherit eutils user autotools bash-completion-r1 python-single-r1 versionator
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
MY_PV="${MY_PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
GIT_DEPEND="dev-python/docutils
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://www.ganeti.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen"
|
||||
REQUIRED_USE="|| ( kvm xen lxc ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
USER_PREFIX="${GANETI_USER_PREFIX:-"gnt-"}"
|
||||
GROUP_PREFIX="${GANETI_GROUP_PREFIX:-"${USER_PREFIX}"}"
|
||||
|
||||
DOC_DEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/docutils
|
||||
media-fonts/urw-fonts
|
||||
media-gfx/graphviz"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:0
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/bitarray[${PYTHON_USEDEP}]
|
||||
net-analyzer/arping
|
||||
net-analyzer/fping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal:0=
|
||||
dev-haskell/cabal-install:0=
|
||||
>=dev-haskell/mtl-2.1.1:0=
|
||||
>=dev-haskell/old-time-1.1.0.0:0=
|
||||
>=dev-haskell/random-1.0.1.1:0=
|
||||
haskell-daemons? ( >=dev-haskell/text-0.11.1.13:0= )
|
||||
>=dev-haskell/transformers-0.3.0.0:0=
|
||||
|
||||
>=dev-haskell/attoparsec-0.10.1.1:0=
|
||||
<dev-haskell/attoparsec-0.13:0
|
||||
>=dev-haskell/base64-bytestring-1.0.0.1:0=
|
||||
<dev-haskell/base64-bytestring-1.1:0=
|
||||
>=dev-haskell/crypto-4.2.4:0=
|
||||
<dev-haskell/crypto-4.3:0=
|
||||
>=dev-haskell/curl-1.3.7:0=
|
||||
<dev-haskell/curl-1.4:0=
|
||||
>=dev-haskell/hinotify-0.3.2:0=
|
||||
<dev-haskell/hinotify-0.4:0=
|
||||
>=dev-haskell/hslogger-1.1.4:0=
|
||||
<dev-haskell/hslogger-1.3:0=
|
||||
>=dev-haskell/json-0.5:0=
|
||||
<dev-haskell/json-0.9:0=
|
||||
>=dev-haskell/lens-3.10:0=
|
||||
<dev-haskell/lens-4.8:0=
|
||||
>=dev-haskell/lifted-base-0.2.0.3:0=
|
||||
<dev-haskell/lifted-base-0.3:0=
|
||||
>=dev-haskell/monad-control-0.3.1.3:0=
|
||||
<dev-haskell/monad-control-1.1:0=
|
||||
>=dev-haskell/network-2.3.0.13:0=
|
||||
<dev-haskell/network-2.7:0=
|
||||
>=dev-haskell/parallel-3.2.0.2:3=
|
||||
<dev-haskell/parallel-3.3:3=
|
||||
>=dev-haskell/temporary-1.1.2.3:0=
|
||||
<dev-haskell/temporary-1.3:0=
|
||||
>=dev-haskell/regex-pcre-0.94.2:0=
|
||||
<dev-haskell/regex-pcre-0.95:0=
|
||||
>=dev-haskell/transformers-base-0.4.1:0=
|
||||
<dev-haskell/transformers-base-0.5:0=
|
||||
>=dev-haskell/utf8-string-0.3.7:0=
|
||||
<dev-haskell/utf8-string-0.4:0=
|
||||
>=dev-haskell/zlib-0.5.3.3:0=
|
||||
<dev-haskell/zlib-0.6:0=
|
||||
|
||||
>=dev-haskell/psqueue-1.1:0=
|
||||
<dev-haskell/psqueue-1.2:0=
|
||||
>=dev-haskell/snap-core-0.8.1:0=
|
||||
<dev-haskell/snap-core-0.10:0=
|
||||
>=dev-haskell/snap-server-0.8.1:0=
|
||||
<dev-haskell/snap-server-0.10:0=
|
||||
>=dev-haskell/case-insensitive-0.4.0.1
|
||||
|
||||
dev-haskell/vector:0=
|
||||
<dev-haskell/semigroupoids-4.1:0=
|
||||
<dev-haskell/contravariant-0.6
|
||||
<dev-haskell/transformers-compat-0.4[three]
|
||||
xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? (
|
||||
dev-python/psutil
|
||||
app-emulation/qemu
|
||||
)
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? (
|
||||
|| (
|
||||
<sys-cluster/drbd-8.5
|
||||
sys-cluster/drbd-utils
|
||||
)
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
${PYTHON_DEPS}
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
DEPEND+="sys-devel/m4
|
||||
app-text/pandoc
|
||||
>=dev-haskell/test-framework-0.6:0=
|
||||
<dev-haskell/test-framework-0.9:0=
|
||||
>=dev-haskell/test-framework-hunit-0.2.7:0=
|
||||
<dev-haskell/test-framework-hunit-0.4:0=
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.12.1:0=
|
||||
<dev-haskell/test-framework-quickcheck2-0.4:0=
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pyyaml
|
||||
dev-haskell/haddock:0=
|
||||
>=dev-haskell/hunit-1.2.4.2:0=
|
||||
<dev-haskell/hunit-1.3:0=
|
||||
>=dev-haskell/quickcheck-2.4.2:2=
|
||||
<dev-haskell/quickcheck-2.8:2=
|
||||
sys-apps/fakeroot
|
||||
net-misc/socat
|
||||
dev-util/shelltestrunner
|
||||
${DOC_DEPEND}
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.12-start-stop-daemon-args.patch"
|
||||
"${FILESDIR}/${PN}-2.11-add-pgrep.patch"
|
||||
"${FILESDIR}/${PN}-2.15-daemon-util.patch"
|
||||
"${FILESDIR}/${PN}-2.7-fix-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-disable-root-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-skip-cli-test.patch"
|
||||
"${FILESDIR}/${PN}-2.10-rundir.patch"
|
||||
"${FILESDIR}/${PN}-2.12-qemu-enable-kvm.patch"
|
||||
"${FILESDIR}/${PN}-2.11-tests.patch"
|
||||
"${FILESDIR}/${PN}-lockdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-nest-libdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-print-man-help.patch"
|
||||
"${FILESDIR}/${PN}-2.11-daemon-util-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.13-process_unittest.patch"
|
||||
"${FILESDIR}/${PN}-2.15-python-mock.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="kvm? ( || ( amd64 x86 ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_WX_LOAD="
|
||||
usr/lib*/${PN}/${SERIES}/usr/sbin/ganeti-*d
|
||||
usr/lib*/${PN}/${SERIES}/usr/bin/htools
|
||||
"
|
||||
|
||||
pkg_setup () {
|
||||
local user
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
if use multiple-users; then
|
||||
for user in gnt-{masterd,confd,luxid,rapi,daemons,admin}; do
|
||||
enewgroup ${user}
|
||||
enewuser ${user} -1 -1 -1 ${user}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local testfile
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# not sure why these tests are failing
|
||||
# should remove this on next version bump if possible
|
||||
for testfile in test/py/import-export_unittest.bash; do
|
||||
printf '#!/bin/bash\ntrue\n' > "${testfile}"
|
||||
done
|
||||
|
||||
# take the sledgehammer approach to bug #526270
|
||||
grep -lr '/bin/sh' "${S}" | xargs -r -- sed -i 's:/bin/sh:/bin/bash:g'
|
||||
|
||||
[[ ${PV} =~ [9]{4,} ]] && ./autogen.sh
|
||||
rm autotools/missing
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
|
||||
local kvm_arch
|
||||
|
||||
if use amd64; then
|
||||
kvm_arch=x86_64
|
||||
elif use x86; then
|
||||
kvm_arch=i386
|
||||
elif use kvm; then
|
||||
die "Could not determine qemu system to use for kvm"
|
||||
fi
|
||||
|
||||
econf --localstatedir=/var \
|
||||
--sharedstatedir=/var \
|
||||
--disable-symlinks \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/${PN}/os \
|
||||
$(use_enable test haskell-tests) \
|
||||
$(usex multiple-users "--with-default-user=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-user-prefix=" "" "${USER_PREFIX}" "") \
|
||||
$(usex multiple-users "--with-default-group=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-group-prefix=" "" "${GROUP_PREFIX}" "") \
|
||||
$(use_enable syslog) \
|
||||
$(use_enable monitoring) \
|
||||
$(usex kvm '--with-kvm-path=' '' "/usr/bin/qemu-system-${kvm_arch}" '') \
|
||||
$(usex haskell-daemons "--enable-confd=haskell" '' '' '')
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake V=1 DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/ganeti.confd-r2 ${PN}
|
||||
|
||||
if use kvm; then
|
||||
newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
fi
|
||||
|
||||
# ganeti installs it's own docs in a generic location
|
||||
rm -rf "${D}"/{usr/share/doc/${PN},run}
|
||||
|
||||
sed -i "s:/usr/$(get_libdir)/${PN}/tools/burnin:burnin:" doc/examples/bash_completion
|
||||
newbashcomp doc/examples/bash_completion gnt-instance
|
||||
bashcomp_alias gnt-instance burnin ganeti-{cleaner,confd} \
|
||||
h{space,check,scan,info,ail,arep,roller,squeeze,bal} \
|
||||
gnt-{os,job,filter,debug,storage,group,node,network,backup,cluster}
|
||||
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
dohtml -r doc/html/* doc/css/*.css
|
||||
|
||||
docinto examples
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup} doc/examples/*.ocf
|
||||
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins doc/examples/ganeti.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins doc/examples/ganeti.logrotate ${PN}
|
||||
|
||||
# need to dodir rather than keepdir here (bug #552482)
|
||||
dodir /var/lib/${PN}
|
||||
|
||||
keepdir /var/log/${PN}/
|
||||
keepdir /usr/share/${PN}/${SERIES}/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
|
||||
dosym ${SERIES} "/usr/share/${PN}/default"
|
||||
dosym ${SERIES} "/usr/$(get_libdir)/${PN}/default"
|
||||
|
||||
python_fix_shebang "${ED}" "${D}"/usr/"$(get_libdir)"/${PN}/${SERIES}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use multiple-users; then
|
||||
elog "You have enable multiple user support, the users for this must"
|
||||
elog "be created. You can use the provided tool for this, which is"
|
||||
elog "located at:"
|
||||
elog " /usr/$(get_libdir)/${PN}/tools/users-setup"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
}
|
@ -1,309 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
PYTHON_REQ_USE="ipv6(+)?"
|
||||
|
||||
inherit eutils user autotools bash-completion-r1 python-single-r1 versionator
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
MY_PV="${MY_PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
SERIES="$(get_version_component_range 1-2)"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
GIT_DEPEND="dev-python/docutils
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://downloads.ganeti.org/releases/${SERIES}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://www.ganeti.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen"
|
||||
REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
USER_PREFIX="${GANETI_USER_PREFIX:-"gnt-"}"
|
||||
GROUP_PREFIX="${GANETI_GROUP_PREFIX:-"${USER_PREFIX}"}"
|
||||
|
||||
DOC_DEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/docutils
|
||||
media-fonts/urw-fonts
|
||||
media-gfx/graphviz"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:0
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
dev-python/bitarray[${PYTHON_USEDEP}]
|
||||
net-analyzer/arping
|
||||
net-analyzer/fping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal:0=
|
||||
dev-haskell/cabal-install:0=
|
||||
>=dev-haskell/mtl-2.1.1:0=
|
||||
>=dev-haskell/old-time-1.1.0.0:0=
|
||||
>=dev-haskell/random-1.0.1.1:0=
|
||||
haskell-daemons? ( >=dev-haskell/text-0.11.1.13:0= )
|
||||
>=dev-haskell/transformers-0.3.0.0:0=
|
||||
|
||||
>=dev-haskell/attoparsec-0.10.1.1:0=
|
||||
<dev-haskell/attoparsec-0.13:0
|
||||
>=dev-haskell/base64-bytestring-1.0.0.1:0=
|
||||
<dev-haskell/base64-bytestring-1.1:0=
|
||||
>=dev-haskell/crypto-4.2.4:0=
|
||||
<dev-haskell/crypto-4.3:0=
|
||||
>=dev-haskell/curl-1.3.7:0=
|
||||
<dev-haskell/curl-1.4:0=
|
||||
>=dev-haskell/hinotify-0.3.2:0=
|
||||
<dev-haskell/hinotify-0.4:0=
|
||||
>=dev-haskell/hslogger-1.1.4:0=
|
||||
<dev-haskell/hslogger-1.3:0=
|
||||
>=dev-haskell/json-0.5:0=
|
||||
<dev-haskell/json-0.9:0=
|
||||
>=dev-haskell/lens-3.10:0=
|
||||
<dev-haskell/lens-4.8:0=
|
||||
>=dev-haskell/lifted-base-0.2.0.3:0=
|
||||
<dev-haskell/lifted-base-0.3:0=
|
||||
>=dev-haskell/monad-control-0.3.1.3:0=
|
||||
<dev-haskell/monad-control-1.1:0=
|
||||
>=dev-haskell/network-2.3.0.13:0=
|
||||
<dev-haskell/network-2.7:0=
|
||||
>=dev-haskell/parallel-3.2.0.2:3=
|
||||
<dev-haskell/parallel-3.3:3=
|
||||
>=dev-haskell/temporary-1.1.2.3:0=
|
||||
<dev-haskell/temporary-1.3:0=
|
||||
>=dev-haskell/regex-pcre-0.94.2:0=
|
||||
<dev-haskell/regex-pcre-0.95:0=
|
||||
>=dev-haskell/transformers-base-0.4.1:0=
|
||||
<dev-haskell/transformers-base-0.5:0=
|
||||
>=dev-haskell/utf8-string-0.3.7:0=
|
||||
<dev-haskell/utf8-string-0.4:0=
|
||||
>=dev-haskell/zlib-0.5.3.3:0=
|
||||
<dev-haskell/zlib-0.6:0=
|
||||
|
||||
>=dev-haskell/psqueue-1.1:0=
|
||||
<dev-haskell/psqueue-1.2:0=
|
||||
>=dev-haskell/snap-core-0.8.1:0=
|
||||
<dev-haskell/snap-core-0.10:0=
|
||||
>=dev-haskell/snap-server-0.8.1:0=
|
||||
<dev-haskell/snap-server-0.10:0=
|
||||
>=dev-haskell/case-insensitive-0.4.0.1
|
||||
|
||||
dev-haskell/vector:0=
|
||||
<dev-haskell/semigroupoids-4.1:0=
|
||||
<dev-haskell/contravariant-0.6
|
||||
<dev-haskell/transformers-compat-0.4[three]
|
||||
xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? (
|
||||
dev-python/psutil
|
||||
app-emulation/qemu
|
||||
)
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? (
|
||||
|| (
|
||||
<sys-cluster/drbd-8.5
|
||||
sys-cluster/drbd-utils
|
||||
)
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
${PYTHON_DEPS}
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
DEPEND+="sys-devel/m4
|
||||
app-text/pandoc
|
||||
>=dev-haskell/test-framework-0.6:0=
|
||||
<dev-haskell/test-framework-0.9:0=
|
||||
>=dev-haskell/test-framework-hunit-0.2.7:0=
|
||||
<dev-haskell/test-framework-hunit-0.4:0=
|
||||
>=dev-haskell/test-framework-quickcheck2-0.2.12.1:0=
|
||||
<dev-haskell/test-framework-quickcheck2-0.4:0=
|
||||
test? (
|
||||
dev-python/mock
|
||||
dev-python/pyyaml
|
||||
dev-haskell/haddock:0=
|
||||
>=dev-haskell/hunit-1.2.4.2:0=
|
||||
<dev-haskell/hunit-1.3:0=
|
||||
>=dev-haskell/quickcheck-2.4.2:2=
|
||||
<dev-haskell/quickcheck-2.8:2=
|
||||
sys-apps/fakeroot
|
||||
net-misc/socat
|
||||
dev-util/shelltestrunner
|
||||
${DOC_DEPEND}
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.12-start-stop-daemon-args.patch"
|
||||
"${FILESDIR}/${PN}-2.11-add-pgrep.patch"
|
||||
"${FILESDIR}/${PN}-2.15-daemon-util.patch"
|
||||
"${FILESDIR}/${PN}-2.9-disable-root-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.9-skip-cli-test.patch"
|
||||
"${FILESDIR}/${PN}-2.10-rundir.patch"
|
||||
"${FILESDIR}/${PN}-2.12-qemu-enable-kvm.patch"
|
||||
"${FILESDIR}/${PN}-2.11-tests.patch"
|
||||
"${FILESDIR}/${PN}-lockdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-nest-libdir.patch"
|
||||
"${FILESDIR}/${PN}-2.11-dont-print-man-help.patch"
|
||||
"${FILESDIR}/${PN}-2.11-daemon-util-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.13-process_unittest.patch"
|
||||
"${FILESDIR}/${PN}-2.15-python-mock.patch"
|
||||
"${FILESDIR}/${PN}-2.15.2-remove-sandbox-failing-tests.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="kvm? ( || ( amd64 x86 ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_WX_LOAD="
|
||||
usr/lib*/${PN}/${SERIES}/usr/sbin/ganeti-*d
|
||||
usr/lib*/${PN}/${SERIES}/usr/bin/htools
|
||||
"
|
||||
|
||||
pkg_setup () {
|
||||
local user
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
if use multiple-users; then
|
||||
for user in gnt-{masterd,confd,luxid,rapi,daemons,admin}; do
|
||||
enewgroup ${user}
|
||||
enewuser ${user} -1 -1 -1 ${user}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local testfile
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# not sure why these tests are failing
|
||||
# should remove this on next version bump if possible
|
||||
for testfile in test/py/import-export_unittest.bash; do
|
||||
printf '#!/bin/bash\ntrue\n' > "${testfile}"
|
||||
done
|
||||
|
||||
# take the sledgehammer approach to bug #526270
|
||||
grep -lr '/bin/sh' "${S}" | xargs -r -- sed -i 's:/bin/sh:/bin/bash:g'
|
||||
|
||||
[[ ${PV} =~ [9]{4,} ]] && ./autogen.sh
|
||||
rm autotools/missing
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
# this is kind of a hack to work around the removal of the qemu-kvm wrapper
|
||||
local kvm_arch
|
||||
|
||||
if use amd64; then
|
||||
kvm_arch=x86_64
|
||||
elif use x86; then
|
||||
kvm_arch=i386
|
||||
elif use kvm; then
|
||||
die "Could not determine qemu system to use for kvm"
|
||||
fi
|
||||
|
||||
econf --localstatedir=/var \
|
||||
--sharedstatedir=/var \
|
||||
--disable-symlinks \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/${PN}/os \
|
||||
$(use_enable test haskell-tests) \
|
||||
$(usex multiple-users "--with-default-user=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-user-prefix=" "" "${USER_PREFIX}" "") \
|
||||
$(usex multiple-users "--with-default-group=" "" "gnt-daemons" "") \
|
||||
$(usex multiple-users "--with-group-prefix=" "" "${GROUP_PREFIX}" "") \
|
||||
$(use_enable syslog) \
|
||||
$(use_enable monitoring) \
|
||||
$(usex kvm '--with-kvm-path=' '' "/usr/bin/qemu-system-${kvm_arch}" '') \
|
||||
$(usex haskell-daemons "--enable-confd=haskell" '' '' '')
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake V=1 DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}"/ganeti.initd-r3 ${PN}
|
||||
newconfd "${FILESDIR}"/ganeti.confd-r2 ${PN}
|
||||
|
||||
if use kvm; then
|
||||
newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
fi
|
||||
|
||||
# ganeti installs it's own docs in a generic location
|
||||
rm -rf "${D}"/{usr/share/doc/${PN},run}
|
||||
|
||||
sed -i "s:/usr/$(get_libdir)/${PN}/tools/burnin:burnin:" doc/examples/bash_completion
|
||||
newbashcomp doc/examples/bash_completion gnt-instance
|
||||
bashcomp_alias gnt-instance burnin ganeti-{cleaner,confd} \
|
||||
h{space,check,scan,info,ail,arep,roller,squeeze,bal} \
|
||||
gnt-{os,job,filter,debug,storage,group,node,network,backup,cluster}
|
||||
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
dohtml -r doc/html/* doc/css/*.css
|
||||
|
||||
docinto examples
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup} doc/examples/*.ocf
|
||||
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
insinto /etc/cron.d
|
||||
newins doc/examples/ganeti.cron ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins doc/examples/ganeti.logrotate ${PN}
|
||||
|
||||
# need to dodir rather than keepdir here (bug #552482)
|
||||
dodir /var/lib/${PN}
|
||||
|
||||
keepdir /var/log/${PN}/
|
||||
keepdir /usr/share/${PN}/${SERIES}/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
|
||||
dosym ${SERIES} "/usr/share/${PN}/default"
|
||||
dosym ${SERIES} "/usr/$(get_libdir)/${PN}/default"
|
||||
|
||||
python_fix_shebang "${ED}" "${D}"/usr/"$(get_libdir)"/${PN}/${SERIES}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use multiple-users; then
|
||||
elog "You have enable multiple user support, the users for this must"
|
||||
elog "be created. You can use the provided tool for this, which is"
|
||||
elog "located at:"
|
||||
elog " /usr/$(get_libdir)/${PN}/tools/users-setup"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test () {
|
||||
PATH="${S}/scripts:${S}/src:${PATH}" \
|
||||
TMPDIR="/tmp" \
|
||||
GANETI_MASTER="$(hostname -f)" \
|
||||
emake check || die "emake check failed"
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils confutils bash-completion-r1
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="https://code.google.com/p/ganeti/"
|
||||
SRC_URI="https://ganeti.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="kvm xen drbd +filestorage syslog ipv6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu )
|
||||
drbd? ( >=sys-cluster/drbd-8.3 )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
dev-libs/openssl
|
||||
dev-python/paramiko
|
||||
dev-python/pyopenssl
|
||||
dev-python/pyparsing
|
||||
dev-python/pycurl
|
||||
dev-python/pyinotify
|
||||
dev-python/simplejson
|
||||
net-analyzer/arping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-emulation/ganeti-htools-0.3"
|
||||
|
||||
pkg_setup () {
|
||||
confutils_require_any kvm xen
|
||||
}
|
||||
|
||||
src_prepare () {
|
||||
epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
local myconf
|
||||
if use filestorage ; then
|
||||
myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
|
||||
else
|
||||
myconf="--with-file-storage-dir=no"
|
||||
fi
|
||||
if use kvm && [ -f /usr/bin/qemu-kvm ] ; then
|
||||
myconf="--with-kvm-path=/usr/bin/qemu-kvm"
|
||||
fi
|
||||
econf --localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/ganeti/os \
|
||||
$(use_enable syslog) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
|
||||
newconfd "${FILESDIR}"/ganeti.confd ganeti
|
||||
use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
rm -rf "${D}"/usr/share/doc/ganeti
|
||||
docinto examples
|
||||
#dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup}
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
keepdir /var/{lib,log,run}/ganeti/
|
||||
keepdir /usr/share/ganeti/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file}/
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST xdvik-22.85.tar.gz 4128828 SHA256 91f08103e53ab46efc83053e648bdd07aa100043233dadcb7384efc83fa2dde8 SHA512 9220bac0dea21d617b4ea7129ca8133fd447fb1adc26c699970cae7d3e168e32f4745b0936d18d8f769f3926c526e085f0c92a4d99d5faff8301e3c4ebc297b5 WHIRLPOOL 57ffc2d6a326b754b63aed54836c05b2e9431b01faba6d9bdc347b07094a62a7569d7746f556366b282808cc93a41a81cbda4fd82cdf4972133f8addc74e4e75
|
||||
DIST xdvik-22.86.tar.gz 4412419 SHA256 a3dffb8d878e6039ebc168d3bd82d194912dac53177673f818d0baac2dc27203 SHA512 f2cf15b8f94ae1a43b749fc9355eac1b427a41d690299ad4a221d51ef21eb0adcf6986c13f03d8c681e6cc2522229a2843b5c6f1ad359c5f0a28933e6d11c8eb WHIRLPOOL 8031f1ddc0eb8de415446752c07c0b7a22f35ffcd6f44a2b025cdb1bf1593bbe37306da5c93d620fe9f00b14fd6fc061c0f432afd7294ccf774e5e4e4fbd8f9d
|
||||
DIST xdvik-22.87.03.tar.gz 4760306 SHA256 a1b8631b6650c534cf8dc584a9f106b5df0771613743139c8a644a19f14611fc SHA512 d4d418d78658f16d4d278e387ed484b291afc8623b00acaf4110e9f123ed76568714ad50f80588373657f412e8fff36f3e76b3e43f69756d46f031c0f2269a88 WHIRLPOOL da8227daa34ac69b60c447e3c929aaf353697add104245b64815b2f42ad03c189c353c7b4d34359f5897a26e5dd811fa3ef21254ee18c243d557860f697bfba6
|
||||
DIST xdvik-22.87.tar.gz 4600576 SHA256 920a20928b4360a1ab83843cffb98c129a54c6462ee014d0e5c4b209b8840ea7 SHA512 cb0c15e88ce42b25cd5edfc8fb84a8afdcc821a6444ba1c5f9f1365a7f62e57cbf37729b276de033b4abfd0f6fe32fa5789f6efd5a0c042e1195c4dc971c8b9f WHIRLPOOL 06ff8d6920ece92d711a432ed19998290f7bda30ad545b3c2bceb505f0fa3a03d680d6694f60a49c44d1b13b1429b45f6c451ec3f0d8f2723b74190065fc9417
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic elisp-common toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="DVI previewer for X Window System"
|
||||
HOMEPAGE="http://xdvi.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="motif neXt Xaw3d emacs"
|
||||
|
||||
RDEPEND="media-libs/freetype:2
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXp
|
||||
x11-libs/libXpm
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
dev-libs/kpathsea"
|
||||
DEPEND="sys-devel/flex
|
||||
virtual/yacc
|
||||
virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
RDEPEND="${RDEPEND}
|
||||
virtual/latex-base
|
||||
!<app-text/texlive-2007"
|
||||
S=${WORKDIR}/${P}/texk/xdvik
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
# Make sure system kpathsea headers are used
|
||||
cd "${WORKDIR}/${P}/texk/kpathsea"
|
||||
for i in *.h ; do echo "#include_next \"$i\"" > $i; done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
|
||||
local toolkit
|
||||
|
||||
if use motif ; then
|
||||
toolkit="motif"
|
||||
use neXt && ewarn "neXt USE flag ignored (superseded by motif)"
|
||||
use Xaw3d && ewarn "Xaw3d USE flag ignored (superseded by motif)"
|
||||
elif use neXt ; then
|
||||
toolkit="neXtaw"
|
||||
use Xaw3d && ewarn "Xaw3d USE flag ignored (superseded by neXt)"
|
||||
elif use Xaw3d ; then
|
||||
toolkit="xaw3d"
|
||||
else
|
||||
toolkit="xaw"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-system-freetype2 \
|
||||
--with-system-kpathsea \
|
||||
--with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea \
|
||||
--with-xdvi-x-toolkit="${toolkit}" \
|
||||
--x-includes="${EPREFIX}"/usr/include \
|
||||
--x-libraries="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake kpathsea_dir="${EPREFIX}/usr/include/kpathsea"
|
||||
use emacs && elisp-compile xdvi-search.el
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/texmf-dist/dvips/config
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dosym /usr/share/texmf-dist/xdvi/XDvi /usr/share/X11/app-defaults/XDvi
|
||||
|
||||
dodoc BUGS FAQ README.*
|
||||
|
||||
use emacs && elisp-install tex-utils *.el *.elc
|
||||
|
||||
doicon "${FILESDIR}"/${PN}.xpm
|
||||
make_desktop_entry xdvi "XDVI" xdvik "Graphics;Viewer"
|
||||
echo "MimeType=application/x-dvi;" >> "${ED}"usr/share/applications/xdvi-"${PN}".desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use emacs; then
|
||||
elog "Add"
|
||||
elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")"
|
||||
elog " (require 'xdvi-search)"
|
||||
elog "to your ~/.emacs file"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST aerospike-server-community-3.7.5-debian7.tgz 10810815 SHA256 9177bc49b732534371a27544adafa6792504b90ecb2e1992de7882ed7b221c32 SHA512 55b78b1992fac52f85d0405ae78b590b8af60880da0fc307570e13c2468f7e83fc1b61c3425e4c98fdb955c3d19c96c3f8e557f803c6d8154ec9d3fd453b2ca9 WHIRLPOOL 5569dd54bf68ee68ebb4bc709d8a5d816115781dd3a05997685c1408dfc1129e83f251b973c4f5e736a728998cf8f54543f9800214c9efe6077f1a92c5f40cee
|
||||
DIST aerospike-server-community-3.7.5.1-debian7.tgz 10811406 SHA256 8f6647c64a9431a7cdc92276ced5146fad6bba45d5cdec53474c739697ecf432 SHA512 125664a82f757ee647d80cf09f7874cec9cef2cb319dad2563b4aea7045c7797755474aacd3d35b52b1f0d1fd37cbf7ca85e985a3d0a29278ffa35fc92f13af2 WHIRLPOOL 1a8d55814567e49e1787de3d9b76641e4ff41a6dd15d913c6f93f3c6ec8e3a13f90c9365691bf8a74fb02c928eadc41ea9230b3137570e521bfc5312c2eeeda2
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Flash-optimized, in-memory, nosql database"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}-debian7.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}-debian7"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup aerospike
|
||||
enewuser aerospike -1 /bin/bash /opt/aerospike aerospike
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local server_deb="${P}.debian7.x86_64.deb"
|
||||
local tools_deb="aerospike-tools-3.7.5.debian7.x86_64.deb"
|
||||
|
||||
ar x "${server_deb}" || die
|
||||
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||
|
||||
ar x "${tools_deb}" || die
|
||||
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||
|
||||
rm *.deb asinstall control.tar.gz debian-binary LICENSE SHA256SUMS
|
||||
rm usr/bin/{asfixownership,asmigrate2to3}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/
|
||||
doins -r opt/aerospike
|
||||
|
||||
fperms +x -R /opt/aerospike/bin/
|
||||
fperms +x -R /opt/aerospike/lib/python/
|
||||
|
||||
for dir in '/etc' '/var/log'; do
|
||||
keepdir "${dir}/aerospike"
|
||||
done
|
||||
|
||||
insinto /etc/aerospike
|
||||
for conf in 'aerospike.conf' 'aerospike_mesh.conf' 'aerospike_ssd.conf'; do
|
||||
doins "${FILESDIR}/${conf}"
|
||||
done
|
||||
|
||||
insinto /usr/bin
|
||||
doins usr/bin/*
|
||||
fperms +x -R /usr/bin/asd
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/aerospike.logrotate aerospike
|
||||
|
||||
newinitd "${FILESDIR}"/aerospike.init aerospike
|
||||
|
||||
fowners -R aerospike:aerospike /opt/aerospike/
|
||||
fowners aerospike:aerospike /usr/bin/asd
|
||||
fowners -R aerospike:aerospike /var/log/aerospike
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST CEGUI-0.6.2-DOCS.tar.gz 18396638 SHA256 f1ea46bd583c486a6c588118573ebde55b06e90b190083e95525820e950ce2c8 SHA512 56ded923f21f18d837d71425e06fe8675a2efa979edde461a9e4e558c213cbb79ff8eeb576211da6ade56526ccdd9644a7a45b3619058615388e3882f96b9fb4 WHIRLPOOL f67c9dba4558c43ec9d14c160f228e974de4364bfe36ebfa9f3fe6bfc290fd5c4f024e954525845cd83645a06d53e6d63776137cbe58c459bcdd0e350d12e9c7
|
||||
DIST CEGUI-0.6.2b.tar.gz 2628081 SHA256 eb77741cd9fcc927a876e8116b98691212e973d2264e2071406423f6ca3e305f SHA512 52ed7e7a97024138af957815a396dda74b650e7c53542d2d48c5eb95335bec270abca3685c49b05078f4338079334df6bfbcec75e9b7eb21ee40bdbff5f57b20 WHIRLPOOL 3fde683a82fb0be33565adb28fbcb4b7001be99f1b3bdb2d3af9abecc5dc7681d633f141cc19f9eb1dc264d0fb0b2084ea604202a22a3e2cc415bdb6b9686161
|
||||
DIST cegui-0.8.4.tar.bz2 17894771 SHA256 b5fcbd548b83045e92c4da413928113be77ebee0117368925e1904b3b957a388 SHA512 493c949426ff2d9b760712b5fe7ed6a427404cd13934c36c7bdf207c0458686bcc74b675e9aeb5d16cd04f0874515503b8d3135ceb71b4d74738f047e4da39c7 WHIRLPOOL 1550a7fe2688c8247c8036e7302b0990b3abf3b16d794cd1d7f38a4af1feb4d373db476d911428e1380b79ff0feba1dedc1abefba17255b46eb6fa4956c39bc4
|
||||
DIST cegui-0.8.5.tar.bz2 18112881 SHA256 a82b0d970c6ceccb8db419a1dc81b5fc3e0e4afb5888fe8d58c63561c82884ce SHA512 b2d9b378f1ddbfc5612d05d2d86cdd98887b4a6e6286a796c338410dd527b05c84db712621ffc474a2690646e23b43b5207fd5f4709c69c9879639ad7292a7c4 WHIRLPOOL b3b562b56229a0fc73187899f36844225a70aaa92113a05498fa4cb88b14c1bc3b58221305782f54974d05147b279f3859eeb0eeede956411633f720a8aa8307
|
||||
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# TODO: multiple ABI?
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils flag-o-matic cmake-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Crazy Eddie's GUI System"
|
||||
HOMEPAGE="http://www.cegui.org.uk/"
|
||||
SRC_URI="mirror://sourceforge/crayzedsgui/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ppc ~x86"
|
||||
IUSE="bidi debug devil doc freeimage expat irrlicht lua ogre opengl pcre python static-libs tinyxml truetype xerces-c +xml zip"
|
||||
REQUIRED_USE="|| ( expat tinyxml xerces-c xml )
|
||||
${PYTHON_REQUIRED_USE}" # bug 362223
|
||||
|
||||
# gles broken
|
||||
# gles? ( media-libs/mesa[gles1] )
|
||||
# directfb broken
|
||||
# directfb? ( dev-libs/DirectFB )
|
||||
RDEPEND="
|
||||
virtual/libiconv
|
||||
bidi? ( dev-libs/fribidi )
|
||||
devil? ( media-libs/devil )
|
||||
expat? ( dev-libs/expat )
|
||||
freeimage? ( media-libs/freeimage )
|
||||
irrlicht? ( dev-games/irrlicht )
|
||||
lua? (
|
||||
dev-lang/lua:0
|
||||
dev-lua/toluapp
|
||||
)
|
||||
ogre? ( >=dev-games/ogre-1.7 )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
media-libs/glew
|
||||
)
|
||||
pcre? ( dev-libs/libpcre )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/boost:=[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
tinyxml? ( dev-libs/tinyxml )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
xerces-c? ( dev-libs/xerces-c )
|
||||
xml? ( dev-libs/libxml2 )
|
||||
zip? ( sys-libs/zlib[minizip] )"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
opengl? ( media-libs/glm )"
|
||||
|
||||
src_configure() {
|
||||
# http://www.cegui.org.uk/mantis/view.php?id=991
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCEGUI_BUILD_IMAGECODEC_CORONA=OFF
|
||||
$(cmake-utils_use devil CEGUI_BUILD_IMAGECODEC_DEVIL)
|
||||
$(cmake-utils_use freeimage CEGUI_BUILD_IMAGECODEC_FREEIMAGE)
|
||||
-DCEGUI_BUILD_IMAGECODEC_PVR=OFF
|
||||
-DCEGUI_BUILD_IMAGECODEC_SILLY=OFF
|
||||
-DCEGUI_BUILD_IMAGECODEC_STB=ON
|
||||
-DCEGUI_BUILD_IMAGECODEC_TGA=ON
|
||||
$(cmake-utils_use lua CEGUI_BUILD_LUA_GENERATOR)
|
||||
$(cmake-utils_use lua CEGUI_BUILD_LUA_MODULE)
|
||||
$(cmake-utils_use python CEGUI_BUILD_PYTHON_MODULES)
|
||||
-DCEGUI_BUILD_RENDERER_DIRECTFB=OFF
|
||||
$(cmake-utils_use irrlicht CEGUI_BUILD_RENDERER_IRRLICHT)
|
||||
-DCEGUI_BUILD_RENDERER_NULL=ON
|
||||
$(cmake-utils_use ogre CEGUI_BUILD_RENDERER_OGRE)
|
||||
$(cmake-utils_use opengl CEGUI_BUILD_RENDERER_OPENGL)
|
||||
$(cmake-utils_use opengl CEGUI_BUILD_RENDERER_OPENGL3)
|
||||
-DCEGUI_BUILD_RENDERER_OPENGLES=OFF
|
||||
$(cmake-utils_use static-libs CEGUI_BUILD_STATIC_CONFIGURATION)
|
||||
-DCEGUI_BUILD_TESTS=OFF
|
||||
$(cmake-utils_use expat CEGUI_BUILD_XMLPARSER_EXPAT)
|
||||
$(cmake-utils_use xml CEGUI_BUILD_XMLPARSER_LIBXML2)
|
||||
-DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF
|
||||
$(cmake-utils_use tinyxml CEGUI_BUILD_XMLPARSER_TINYXML)
|
||||
$(cmake-utils_use xerces-c CEGUI_BUILD_XMLPARSER_XERCES)
|
||||
$(cmake-utils_use truetype CEGUI_HAS_FREETYPE)
|
||||
$(cmake-utils_use zip CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER)
|
||||
$(cmake-utils_use pcre CEGUI_HAS_PCRE_REGEX)
|
||||
-DCEGUI_SAMPLES_ENABLED=OFF
|
||||
$(cmake-utils_use bidi CEGUI_USE_FRIBIDI)
|
||||
-DCEGUI_USE_MINIBIDI=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use doc && emake -C "${BUILD_DIR}" html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use doc && dohtml "${BUILD_DIR}"/doc/doxygen/html/*
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="amd64? ( http://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux-gnu.tar.gz )
|
||||
x86? ( http://static.rust-lang.org/dist/${MY_P}-i686-unknown-linux-gnu.tar.gz )"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
|
||||
!dev-lang/rust:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/rustc-bin-${PV}
|
||||
opt/${P}/bin/rustdoc-bin-${PV}
|
||||
opt/${P}/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/lib/*.so
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
local postfix
|
||||
use amd64 && postfix=x86_64-unknown-linux-gnu
|
||||
use x86 && postfix=i686-unknown-linux-gnu
|
||||
mv "${WORKDIR}/${MY_P}-${postfix}" "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local std=$(grep 'std' ./components)
|
||||
local components="rustc,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${D}/opt/${P}" \
|
||||
--mandir="${D}/usr/share/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
local rustc=rustc-bin-${PV}
|
||||
local rustdoc=rustdoc-bin-${PV}
|
||||
local rustgdb=rust-gdb-bin-${PV}
|
||||
|
||||
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die
|
||||
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die
|
||||
mv "${D}/opt/${P}/bin/rust-gdb" "${D}/opt/${P}/bin/${rustgdb}" || die
|
||||
|
||||
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
|
||||
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
|
||||
dosym "/opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/opt/${P}/lib"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
EOF
|
||||
dodir /etc/env.d/rust
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
|
||||
|
||||
if has_version app-editors/emacs || has_version app-editors/emacs-vcs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-mode to get vim support for rust."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog "install app-shells/rust-zshcomp to get zsh completion for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust unset --if-invalid
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libsodium-1.0.10.tar.gz 1827211 SHA256 71b786a96dd03693672b0ca3eb77f4fb08430df307051c0d45df5353d22bc4be SHA512 ff52e7f25787cc858e8d26be10913c689bd3dd394c8e163133920141be67a292a1dba066a1037e83cf0ced155a1554f07f24c2f33a7a6aa52521d39f537cd515 WHIRLPOOL 452ac241c26284e433c4a4595b45a1470da0be15a78761dd825460d676e48a3f36eb37ddf2c1843e3fdc64cc7cddf70dbc1aa1a983a249e1440521dc58cacf8a
|
||||
DIST libsodium-1.0.2.tar.gz 1673394 SHA256 961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19 SHA512 15fc47516f0e35906c1c304205fa991e74a273e4e6fc2186b6c16f0e41523de24493e149262b97ef03e4adc221232372ef1f283c4c23f96e4c5d99023d361e14 WHIRLPOOL 18509d9911c1d0ec6e8b9a8735abfeb2c1623669d31045abc6d9dd1289571fbe3a055f960f42a86779e7c03967532d71d7b9d0597ecfe457672e69b27b577e48
|
||||
DIST libsodium-1.0.7.tar.gz 1808032 SHA256 7ad1e78763510c163ca48f05133057726a825cf97386c581bf12b01d7654204a SHA512 21a2991010bc4e6e03d42c6df5443049c99f7622dc68a7bdc3d6d082621a165faab32612280526509d310ad1faefc00aa21c594a384a7fa8b05f4666e82e5e1d WHIRLPOOL a8fe262217365f348c36c6a789fdd7fe479e72c88a8314804b3d7b6154a8cad0ab8517ee9d517fdf407d7d5b6a789868a4a5ac66d9ecf2575917c42bbc3eb49c
|
||||
DIST libsodium-1.0.8.tar.gz 1794750 SHA256 c0f191d2527852641e0a996b7b106d2e04cbc76ea50731b2d0babd3409301926 SHA512 8f85e85e699c2b45674befd466e018c9f2ff1333c8fa806da49d9674068c33929bd3463e8908ffcd9c6154d430737e08e0522ac8ed4219e4fffe2e0a7a611c65 WHIRLPOOL 379addb00b366d2de887749fa72b17c003fa583728788e416e363a64196ade3ead9b5e12691f7693f0554323b88dc3c0cb6038c7abaf7f1291d60b97cc24daf6
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST sdformat-3.6.0.tar.bz2 426280 SHA256 c7ddf7958aaae2b143c713a44a4e83210f9753bce8f0dccbaf9cfc41293896cd SHA512 01d765b4dbcc53a0c8f6e3bee738a7ebd1d3c14f5485848ddaa620ef150fe10f4ea891a5b10eb82308e83063b7467b2a84004b19825b7f3798ab049ebca9ee68 WHIRLPOOL 4ca9d2d9de6977fc61c2b12681800b9cb880cee97e6ee2f77af5a408905ece67e902165715e1a3768b95a5c3fb2758b0eafb4a498b748eac048b7c9ce8eff3c8
|
||||
DIST sdformat-3.7.0.tar.bz2 437218 SHA256 18251b133e4fde105f883518691f15fc9f1fc2af8b89ab6de4bc26b9df42761e SHA512 574132d91e20cf5a049d4d90602021f402ba9a6712d1db9ea513119ceb619af8efef0b5c637a755675896ba46e6325b8a038d4074e11b1de80a577696c73d650 WHIRLPOOL 5302c75b26ffd5517bf1254afef2e38ce0d845fb7a7db761f65cb6b03a27a86672a99b6610af257948074bfbbe13cc24042ed7699b4f2d0dacb5157aa8cd6026
|
||||
DIST sdformat-4.0.0.tar.bz2 443383 SHA256 b0f94bb40b0d83e35ff250a7916fdfd6df5cdc1e60c47bc53dd2da5e2378163e SHA512 1717695adad041ba1dac9407412ffd7a40bc41483dd637c40a7a9f8773197f5b16d670b2bbb511e88d90b7806f4b81f271084ece787e398d554ab95443bd81c9 WHIRLPOOL d35fc6af8edefe0271fd363605675c85ff7860bab18e50bed980daf2a76a4c8d63bb3198e774b51269525373a4c9ee69d20c6fad2bf208e345396a1caee6c135
|
||||
DIST sdformat-4.1.0.tar.bz2 455347 SHA256 0f63e446a29073affed2427214aa04d23c1cb8331cdd1bd7d48768d7eee5862a SHA512 ce9b89c39b636de12811181dd9f52a7e6ff3abd1ac3ca9195cd93dd2665eadd455a5e989c063046ea5c1db3eb1898017a2546189027ed93e240f1457b47cd604 WHIRLPOOL c55353b8531a787092ac5ad4d225a38fcc5a0825792422a44a8d81e8e69ec22e9cd6a05948e68ff5756df3691c0ee12d596ce577b66b52566713a6fc69a39107
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Simulation Description Format (SDF) parser"
|
||||
HOMEPAGE="http://sdformat.org/"
|
||||
SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# subslot = libsdformat major
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/urdfdom
|
||||
dev-libs/tinyxml
|
||||
dev-libs/boost:=
|
||||
sci-libs/ignition-math:2=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/ruby:*
|
||||
virtual/pkgconfig
|
||||
"
|
||||
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
||||
src_configure() {
|
||||
echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake"
|
||||
sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die
|
||||
local mycmakeargs=(
|
||||
"-DUSE_EXTERNAL_URDF=ON"
|
||||
"-DUSE_EXTERNAL_TINYXML=ON"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1 +1 @@
|
||||
DIST squareball-0.1.tar.xz 239784 SHA256 6af816486f9d6bc6ffe1375413b573047192cff935231269b1708c07356e0ecd SHA512 50e88af8ded3fdbf6d67de57931226740d1f66b370580ef3815443a0e95219a753f85bda111bb34874b32c267a5ce2ac5f7e4833d5c688b274e0459215c97a83 WHIRLPOOL 4202a381731df7313a1d57b0a67a8f7ef0a342fd54b32a6e6ae9f5d58bd3e36b2f87c847c1998a1823d8da0b615f6081be605b0d80a63e6e78bf9588ef471944
|
||||
DIST squareball-0.2.0.tar.xz 231844 SHA256 5ab3ce24a0a340a2f49e91b6474d4edac3a243cb063679a06a820f6172083f0c SHA512 be039d2e2120e87bb7289e75185c9ad46452fe6ae167dda2b60944d0a32f7ff7e89504f5ddd8343e0150d12ef22d71c51ab9290e90c43a930773bd39576bdf31 WHIRLPOOL 544ecd8e0f7639cf5ff0b1110a68673a5f4a1d46131b3d0d07e35400863fb6df01fe10a2f6219ddd3f80fc905d4c1e5d27080ad5453752a8592d8ca2d2185163
|
||||
|
@ -1 +1,2 @@
|
||||
DIST ocaml-hashcons-1.0.tar.gz 19624 SHA256 b32d9f9fb933708e9ab51184bb9d6a1523cea0d775a66c78161f30f5d7365cf3 SHA512 58afc7f65920f4e31884ecd7e7538dd86b2a7a7f4f449cae098d510ac0446fcb663bf29fbbb4a2c44ad0e6d93d83901d1af1b81d0f8770530a77e8d127dd5186 WHIRLPOOL 6e412db459c815469d02867c93a516d3b7633a16001688c6818c8a281fc64a5f819f5020adfff569ff37d23b005acfb48a1b2c94727d3121e4f40151c41c9812
|
||||
DIST ocaml-hashcons-1.2.tar.gz 19775 SHA256 de48e8e3e19b8cf84fb4d8d2484f0bb44dc6ced160b0d22b74d4de7236c821bb SHA512 167ed8d74c5080ef14af0ac1232ea16faee3f0e09e0a65cd72447266939ce7ed5416f4cf6a3021e5ca8215726df129d3f05c9e0c12dcd36f845b060fd93072b2 WHIRLPOOL 4d89bbf99826dbc1e5d8e46f03d71357b0b6c6b71ba76f9b7a8dcaa4906b976c4edd30407d0d1cb183e9cb5ef8b11f412fee98beb8eb1d4a6113cc9650eea0a3
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools findlib
|
||||
|
||||
DESCRIPTION="OCaml hash-consing library"
|
||||
HOMEPAGE="https://github.com/backtracking/ocaml-hashcons"
|
||||
SRC_URI="https://github.com/backtracking/ocaml-hashcons/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
sed -i -e 's/$(OCAMLFIND) remove/#/' Makefile.in || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt; then
|
||||
emake opt byte
|
||||
else
|
||||
emake byte
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "$(ocamlfind printconf destdir)/hashcons"
|
||||
emake DESTDIR="-destdir ${D}/$(ocamlfind printconf destdir)/" $(usex ocamlopt install-opt install-byte)
|
||||
dodoc README.md CHANGES
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 bash-completion-r1
|
||||
|
||||
DESCRIPTION="Bash tab completion for argparse"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/argcomplete"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# purge test folder to avoid file collisions
|
||||
sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} test/test.py || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
sed \
|
||||
-e "/complete /d" \
|
||||
-i argcomplete/bash_completion.d/python-argcomplete.sh || die
|
||||
|
||||
distutils-r1_python_install_all
|
||||
newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST babelfish-0.4.0.tar.gz 89386 SHA256 1c22bf70ecc61d0ebe637edc3868dfb146dc5a458be353b20386406e28a18710 SHA512 f9e2cf8ec367cead528d99019fc1e597a94b6654cd2b5c39ba3e2deb9e579bd8af54f463510f709c5c540911e01ed830511f833fe2400bd7ec6a70cd05ee642f WHIRLPOOL 0034705cf62bde3851e9edc4cc63316c4874c404c65fd0ff33937acb1fc4da29e54ad03aa8e11ecf98bcf0f8bc5f2c1b89be7963f63611a481650dfc709e73ab
|
||||
DIST babelfish-0.5.1.tar.gz 89683 SHA256 bd78ecacc684aac8939c2937fe25c85179123940997943381ae9c22e37bf964f SHA512 24f192867ba5e34fbe5f5f90cae479b095577b6b6a0a0f6e778f68130b0010c382e204cb1da15f062929ce231f3f9a5bb5c7e4c01a4a2dcbf975e884a25e4210 WHIRLPOOL 3f0dc56b981ac2ec59bb4ba88f27419de0e7276fbd05e845c76f46081afb2561e6852081a1be6f0df36a9fe110419c49679d8e4255ca4e1b37e6689133b05114
|
||||
DIST babelfish-0.5.3.tar.gz 90579 SHA256 4fbdd172d0feec0861ccf9ed8e36abb09d36c88c216eeedca2661fec5b103c73 SHA512 c419f8d881ba9995f45f212b7182d2f95a28b5fd911933a1c10768506682068abc7ea0394d6ef6dc337be47f601ae479582571c6d1753870671dec77e67156a9 WHIRLPOOL f64268ca394f19be03a67aa38de7dade7b0d17219c2d5b4db994d6e0d32f067b899a8aaa548fa5cbcb067efd67b7a123407d9d69d081521cf09b13d51857812c
|
||||
DIST babelfish-0.5.5.tar.gz 90398 SHA256 8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104 SHA512 71504dd0203ad85a6a69107d67df3bd5ae4193515e74c05b346a8bd0aab425fc1534d54d1c74b14e48580ee5e76f04705e35c2d359fbe46254bee37e41cb4bfa WHIRLPOOL 53f3a5620a0d4affdb7248883166a44bada2e7824a4ea38ecb40dba9ffc49c696c1247ffd195118b5abdc338c3e29d8b5c9def85059180036a76a7b90c7ac694
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/Diaoul/babelfish.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to work with countries and languages"
|
||||
HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.python.org/pypi/babelfish"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A security linter from OpenStack Security"
|
||||
HOMEPAGE="https://openstack.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/git-python-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python package for creating beautiful command line interfaces"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST glueviz-0.7.0.tar.gz 10185362 SHA256 ed5e4d45ad33bb21ecc59feadfd8dce7ee8cc9becb64398f65021a0c821dbcc1 SHA512 004b7f8115cac113e3965990a53c1f8838ba35f765e9a6b7dabe2ee2f067f665c300d3759dc71545462c95fa3a8d47177ab559f6000897da60bda20cc2176deb WHIRLPOOL 182d95d7dba6d77e55dc07e16a6df70467e1b54774988c87ab36da5bb34516bbb2fb92e9661453a5a75355fdae1540ef9918d9a846aa593520966a970770fe2f
|
||||
DIST glueviz-0.7.1.tar.gz 10206580 SHA256 1868fc30319d10361bf3bddc382ddc2f7ee6d1425995a5ba5cb3bed11b42c0df SHA512 5ed5fe3ecb71afa84e8c201670e0dc730b63fc00e3e381f9efd648987fe61099c7b2d083d1c9a46a57171d22e7f4a42da900043ba4b044a98b62c0e0fb96f2d3 WHIRLPOOL 3d9b665ffd814b60339ba8beabae1710a403e6dcfca45c71096cf0a1ddf2b65cf4d11013eda5f2f7fbe6ab9ac1df55e9c1fb4dae016715a8e78d665c0deac52a
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Python library to explore relationships within and among related datasets"
|
||||
HOMEPAGE="http://www.glueviz.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
# too much work to fix
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( README.md CHANGES.md )
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/PyQt4[${PYTHON_USEDEP}]
|
||||
dev-python/pyside[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Interactive Ipython terminal" \
|
||||
dev-python/ipython \
|
||||
dev-python/ipykernel \
|
||||
dev-python/qtconsole \
|
||||
dev-python/traitlets \
|
||||
dev-python/pygments \
|
||||
dev-python/zmq
|
||||
optfeature "Parse AVM metadata" dev-python/pyavm
|
||||
optfeature "Save ${PN} sessions" dev-python/dill
|
||||
optfeature "Support HDF5 files" dev-python/h5py
|
||||
optfeature "Image processing calculations" sci-libs/scipy
|
||||
optfeature "Read popular image formats" sci-libs/scikits_image
|
||||
optfeature "Export plots to plot.ly" dev-python/plotly
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/wackou/guessit.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/wackou/guessit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="library for guessing information from video files"
|
||||
HOMEPAGE="http://guessit.readthedocs.org https://github.com/wackou/guessit https://pypi.python.org/pypi/guessit"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/pytest-2.7.3[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-capturelog[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD="1"
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Python wrapper around the llvm C++ library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/llvmlite"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
=sys-devel/llvm-3.7*:=[multitarget]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e 's/-flto$/-flto -fPIC/' ffi/Makefile.linux || die
|
||||
|
||||
# disable test using installed instance to read version info
|
||||
sed -e 's:test_version:_&:' -i llvmlite/tests/test_binding.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m "llvmlite.tests" || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
|
||||
HOMEPAGE="http://numba.pydata.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/llvmlite-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3})
|
||||
virtual/python-funcsigs[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( virtual/python-singledispatch[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Delete intersphinx & entry to set sphinxjp.themecore, which is absent from portage, from conf.py
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.19.2-docbuild.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set them of doc build to one provided by sphinx
|
||||
if has_version ">=dev-python/sphinx-1.3.1"; then
|
||||
sed -e 's:basicstrap:classic:' -i docs/source/conf.py || die
|
||||
else
|
||||
sed -e 's:basicstrap:default:' -i docs/source/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs/ html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib* || die
|
||||
${PYTHON} -c "import numba; numba.test()" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
# doc needs obsolete sphinxjp package
|
||||
# use doc && dodoc docs/Numba.pdf
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST rosdistro-0.4.4.tar.gz 40001 SHA256 1c7c6886c2e61dd8143d3c08f5690f30e9d4e081d348c78bb0b2e8d32773c57b SHA512 4f6b79d88687f6e6147b95bef484a1555639d65044d01812af60eb072579345b5233bcda8fba251f0685a28b756addff7468c34978b0cc04c871ce4fe30fbe2c WHIRLPOOL 99a29b8c7ef475cd4599d2d9e8e28210af2a9d50b280dc9c315f16b3ae3be8b85e4da55a1c8cb6af55795b98207601307e7e846c0a8cdae6a5b4af356ff7b044
|
||||
DIST rosdistro-0.4.5.tar.gz 40510 SHA256 6c0ba15916e2dcde6d8399aa32d315b3bc7428d0655c36a92dafe1a08d412753 SHA512 0a6d394eaa2aae75d6d2aad88d1b81f63c0dd8706ff502af75bb57bbf0682c887b4726405e3d239fec22524870145d6d54e9972fcb2f124542682fef82e2751d WHIRLPOOL 29b8ccb67117ab7a3c667db0dd24a3a4b5fcef786cd9d3e4bac14f181284a993371ca8cfaf12377f6739ca7bb4db044b1a5cdc165c0042d4fcc32bbdb682c7a5
|
||||
DIST rosdistro-0.4.7.tar.gz 42265 SHA256 7b98e5c82ce81bd8080f159a7c907bca8bf77f6cb4bae8a3265f44e3d73b838f SHA512 adc841b19ad247f44d52cb819851715c94a73fc99ac175c0ee5656f69b86f7630a84259a9c96fa20a687ad32fa9e8e9f77802ae7b70700e53c87ee938bac2cac WHIRLPOOL 85d36fae44f895176a2ef151129baa86a9eef53700496dda2129d74d40fe67f0dbd4109df0ac7c534db1b3c712eafa73bcf3deabdd3f2dda3b5777d96a70ea69
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to work with catkinized rosdistro files"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdistro"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
http://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST Whoosh-2.6.0.zip 1193541 SHA256 7de7bc4d00a6d051dbb360b48eb7f3cd002373d87252fb0b284a3c9c453a7677 SHA512 e50e47ec0d1c65ad3c7d657586f5380a1be748945c1ce964305fa68b99379f0da676faef6f0ca45ef151df7be71150601162ee966f3aaf84047a20bca36f7e37 WHIRLPOOL c42e9760833db7186f3df5946f6dd071288cfccf2eaefba95520a2415ca377c49cf74307b3fa2c9e655f134b086ae637e5db06330248b4a27e12175920f3c7b8
|
||||
DIST Whoosh-2.7.0.zip 1080985 SHA256 733df1ad4142fcd1e8f3259070de0521d272d7685e2febc0f4fdd1668cfe0d48 SHA512 5126a9ed5ef50af391905347c7aa1c1cc7d100213c29f5a5f67fcfabab9cdcfcd14a6b75735df8e343f61254d1fec8610f0e1260167a321ab303a0a55b02673f WHIRLPOOL 6a35448280e3c6382b8a4b50432d5def3a910d9af95d35afc11544030b69f0103aae910bbf91cb5942ec80f10a848bbd32dbd828c71482f5e2fc15a9cd29c249
|
||||
DIST Whoosh-2.7.2.zip 1096847 SHA256 0f72a49e02e2669a50f1ecaf0364fe0451619473c404efeca9914dd878de73f2 SHA512 3a5e41328e9bce102b9e68d648f6a0e61fa7e6be1585fd70a5885afb885717d0a4e73ef1b6d2086edec996228bbfbd6d7e01eaa64e831223ef1ea7b764d25d7f WHIRLPOOL eaaa85fd62e03bb63ac8cc48c9e29b2c9daf435e848aec7b7747e6fd390245bda044c5e9bafbf9e5f7df22b93e4cfacdc180cc821e3bd4739c229f6aaf9b58e0
|
||||
DIST Whoosh-2.7.3.zip 1097515 SHA256 aa6db447522e208ae652c6ce063bb23cedec47f5ed630121b3debaa011fcb9c4 SHA512 3df18ed30f63aaa9f858d596919fa8a927f7203a52bdb4c584117b28bce313cbbb530cdb144e35af99763edbbc7d3f5c79680d04fa7c04efa91376ba62b6f556 WHIRLPOOL 1829fd083485367dd0751844c77e5f7e8c8edee4021b8518415ab6cd6f8db84b5f2f188d6e2128a105cfd8076d8101c1421838ac18f10cd632c64eed5828a44e
|
||||
DIST Whoosh-2.7.4.zip 1097662 SHA256 e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69 SHA512 8ea2f10152b0eb9fbf516a3faeed5a466216eb468f0e4b88d156591d5a36c5dc7d3408928bbd693de98bb0351b9c33cc62900c13ea56d3b3d989c1a4bbeba139 WHIRLPOOL 56622fc1049c2bfefdb4ec49e4784e7d751837cdd0cc379e7eb737da34a2dc0c6d3e7e85696ba0be60c3dd55f1981b6473391555d3851c82b7e816bab20db5d8
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
|
||||
|
||||
MY_PN="Whoosh"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast, pure-Python full text indexing, search and spell checking library"
|
||||
HOMEPAGE="https://bitbucket.org/mchaput/whoosh/wiki/Home/ https://pypi.python.org/pypi/Whoosh/"
|
||||
SRC_URI="mirror://pypi/W/${MY_PN}/${MY_PN}-${PV}.zip"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_prepare_all() {
|
||||
# (backport from upstream)
|
||||
sed -i -e '/cmdclass/s:pytest:PyTest:' setup.py || die
|
||||
|
||||
# Prevent un-needed download during build
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# https://bitbucket.org/mchaput/whoosh/issue/403/
|
||||
use doc && sphinx-build -b html -c docs/source/ docs/source/ docs/source/build/html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bitbucket.org/mchaput/whoosh/issue/412/tarball-of-whoosh-270-pypi-missing-english
|
||||
# tarball missing a file english-words.10.gz which when added sees all tests pass.
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( README.txt )
|
||||
use doc && local HTML_DOCS=( docs/source/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST robot_model-1.11.10.tar.gz 1292754 SHA256 a43a17e8f19a41fba5660f94eb40e89f2b3fecab81fe8b54f657d430dd936cd4 SHA512 95770807d22de4581a87e7297fc9f9e0e781ad2a8f273a3f4781ac2864f53b73b408dde9c696aa934bab1dada5bac396a8c65d62e4a941884cc9966c680da4a8 WHIRLPOOL c41f637723ac00331abf0d52d9b6d6546205d25e0adc972b4cc793ce4a9351e0246bf42d59a5755532ca54bdc186b6055b2412777601bcbfc09d1399a0b46292
|
||||
DIST robot_model-1.11.8.tar.gz 364741 SHA256 781a0510136a820d217862f7491183b3deeadaf18aa0fabeb28d79e365510e12 SHA512 65471bb58c7383987f587a61f9e32fbd991c4eb26f1d5a819db8a5f456def7566ab9d16ab343a885fba73e0a017f5729815501356ef85b6aff0b4f0544a41212 WHIRLPOOL 95a9e654c1e7324593d2671a37b4c16aeee373450d5cb52508435b643c80c72c7263506914459c3c320af47355129dc0e906cdfb30d0e3bda1fd418e016e3a39
|
||||
DIST robot_model-1.11.9.tar.gz 1292675 SHA256 145d43c32cb93888f8555bdcbce48ea417515fb17dbd2445fa1ed7ac32e2399b SHA512 10afe675739746ba313d5c3b4758940c9896bd96fbd3b81fb4809d18cf39d49b36e9b24b28af38f700a65c7c2fb572186dc3920ab2cbd190cc79b485c54eb78d WHIRLPOOL cc176a18819258d6c2af33024b1f92e301f656949d0073f90659b22dd7532708b65b1fefaa3d684bf0f425acb66225eb25bc96bf6272bacbd733451e7e549ec5
|
||||
DIST robot_model-1.12.0.tar.gz 1292282 SHA256 942edd173fde0efd3c7dab03a30cc1b96b9aa513ed914f00b45f603476ec46fe SHA512 6faf6219788d6cbd6765ff1cb55e7cbc1f3bc414f3f83ac0d46ff7a8617cfe477871104eef846c9a47ffb09c69a948d080e199d455d1269fe043ed11a7d1e335 WHIRLPOOL c487eaea77598b8663d3239142864da9b2dd02d8f6ec321e9beb88ec31fa03d90d77e1fcd7bc0ea7b9afda168a4c46ee4f27b4f8867e70ef9f7ab3d3e00a9e3e
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/robot_model"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="C++ parser for the Collada robot description format"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-ros/urdf_parser_plugin
|
||||
dev-ros/roscpp
|
||||
dev-ros/class_loader
|
||||
dev-libs/urdfdom_headers
|
||||
dev-libs/collada-dom
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST robot_model-1.11.10.tar.gz 1292754 SHA256 a43a17e8f19a41fba5660f94eb40e89f2b3fecab81fe8b54f657d430dd936cd4 SHA512 95770807d22de4581a87e7297fc9f9e0e781ad2a8f273a3f4781ac2864f53b73b408dde9c696aa934bab1dada5bac396a8c65d62e4a941884cc9966c680da4a8 WHIRLPOOL c41f637723ac00331abf0d52d9b6d6546205d25e0adc972b4cc793ce4a9351e0246bf42d59a5755532ca54bdc186b6055b2412777601bcbfc09d1399a0b46292
|
||||
DIST robot_model-1.11.8.tar.gz 364741 SHA256 781a0510136a820d217862f7491183b3deeadaf18aa0fabeb28d79e365510e12 SHA512 65471bb58c7383987f587a61f9e32fbd991c4eb26f1d5a819db8a5f456def7566ab9d16ab343a885fba73e0a017f5729815501356ef85b6aff0b4f0544a41212 WHIRLPOOL 95a9e654c1e7324593d2671a37b4c16aeee373450d5cb52508435b643c80c72c7263506914459c3c320af47355129dc0e906cdfb30d0e3bda1fd418e016e3a39
|
||||
DIST robot_model-1.11.9.tar.gz 1292675 SHA256 145d43c32cb93888f8555bdcbce48ea417515fb17dbd2445fa1ed7ac32e2399b SHA512 10afe675739746ba313d5c3b4758940c9896bd96fbd3b81fb4809d18cf39d49b36e9b24b28af38f700a65c7c2fb572186dc3920ab2cbd190cc79b485c54eb78d WHIRLPOOL cc176a18819258d6c2af33024b1f92e301f656949d0073f90659b22dd7532708b65b1fefaa3d684bf0f425acb66225eb25bc96bf6272bacbd733451e7e549ec5
|
||||
DIST robot_model-1.12.0.tar.gz 1292282 SHA256 942edd173fde0efd3c7dab03a30cc1b96b9aa513ed914f00b45f603476ec46fe SHA512 6faf6219788d6cbd6765ff1cb55e7cbc1f3bc414f3f83ac0d46ff7a8617cfe477871104eef846c9a47ffb09c69a948d080e199d455d1269fe043ed11a7d1e335 WHIRLPOOL c487eaea77598b8663d3239142864da9b2dd02d8f6ec321e9beb88ec31fa03d90d77e1fcd7bc0ea7b9afda168a4c46ee4f27b4f8867e70ef9f7ab3d3e00a9e3e
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/robot_model"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Tool to convert Unified Robot Description Format (URDF) documents into COLLADA documents"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-ros/angles
|
||||
dev-ros/collada_parser
|
||||
dev-ros/resource_retriever
|
||||
dev-ros/urdf
|
||||
dev-ros/geometric_shapes
|
||||
dev-ros/tf
|
||||
media-libs/assimp
|
||||
dev-libs/tinyxml
|
||||
dev-libs/collada-dom
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,3 +1,4 @@
|
||||
DIST robot_model-1.11.10.tar.gz 1292754 SHA256 a43a17e8f19a41fba5660f94eb40e89f2b3fecab81fe8b54f657d430dd936cd4 SHA512 95770807d22de4581a87e7297fc9f9e0e781ad2a8f273a3f4781ac2864f53b73b408dde9c696aa934bab1dada5bac396a8c65d62e4a941884cc9966c680da4a8 WHIRLPOOL c41f637723ac00331abf0d52d9b6d6546205d25e0adc972b4cc793ce4a9351e0246bf42d59a5755532ca54bdc186b6055b2412777601bcbfc09d1399a0b46292
|
||||
DIST robot_model-1.11.8.tar.gz 364741 SHA256 781a0510136a820d217862f7491183b3deeadaf18aa0fabeb28d79e365510e12 SHA512 65471bb58c7383987f587a61f9e32fbd991c4eb26f1d5a819db8a5f456def7566ab9d16ab343a885fba73e0a017f5729815501356ef85b6aff0b4f0544a41212 WHIRLPOOL 95a9e654c1e7324593d2671a37b4c16aeee373450d5cb52508435b643c80c72c7263506914459c3c320af47355129dc0e906cdfb30d0e3bda1fd418e016e3a39
|
||||
DIST robot_model-1.11.9.tar.gz 1292675 SHA256 145d43c32cb93888f8555bdcbce48ea417515fb17dbd2445fa1ed7ac32e2399b SHA512 10afe675739746ba313d5c3b4758940c9896bd96fbd3b81fb4809d18cf39d49b36e9b24b28af38f700a65c7c2fb572186dc3920ab2cbd190cc79b485c54eb78d WHIRLPOOL cc176a18819258d6c2af33024b1f92e301f656949d0073f90659b22dd7532708b65b1fefaa3d684bf0f425acb66225eb25bc96bf6272bacbd733451e7e549ec5
|
||||
DIST robot_model-1.12.0.tar.gz 1292282 SHA256 942edd173fde0efd3c7dab03a30cc1b96b9aa513ed914f00b45f603476ec46fe SHA512 6faf6219788d6cbd6765ff1cb55e7cbc1f3bc414f3f83ac0d46ff7a8617cfe477871104eef846c9a47ffb09c69a948d080e199d455d1269fe043ed11a7d1e335 WHIRLPOOL c487eaea77598b8663d3239142864da9b2dd02d8f6ec321e9beb88ec31fa03d90d77e1fcd7bc0ea7b9afda168a4c46ee4f27b4f8867e70ef9f7ab3d3e00a9e3e
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/robot_model"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Tool for setting and publishing joint state values for a given URDF"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-ros/rospy[${PYTHON_USEDEP}]
|
||||
dev-python/wxpython[${PYTHON_USEDEP}]
|
||||
dev-ros/sensor_msgs[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,3 +1,4 @@
|
||||
DIST robot_model-1.11.10.tar.gz 1292754 SHA256 a43a17e8f19a41fba5660f94eb40e89f2b3fecab81fe8b54f657d430dd936cd4 SHA512 95770807d22de4581a87e7297fc9f9e0e781ad2a8f273a3f4781ac2864f53b73b408dde9c696aa934bab1dada5bac396a8c65d62e4a941884cc9966c680da4a8 WHIRLPOOL c41f637723ac00331abf0d52d9b6d6546205d25e0adc972b4cc793ce4a9351e0246bf42d59a5755532ca54bdc186b6055b2412777601bcbfc09d1399a0b46292
|
||||
DIST robot_model-1.11.8.tar.gz 364741 SHA256 781a0510136a820d217862f7491183b3deeadaf18aa0fabeb28d79e365510e12 SHA512 65471bb58c7383987f587a61f9e32fbd991c4eb26f1d5a819db8a5f456def7566ab9d16ab343a885fba73e0a017f5729815501356ef85b6aff0b4f0544a41212 WHIRLPOOL 95a9e654c1e7324593d2671a37b4c16aeee373450d5cb52508435b643c80c72c7263506914459c3c320af47355129dc0e906cdfb30d0e3bda1fd418e016e3a39
|
||||
DIST robot_model-1.11.9.tar.gz 1292675 SHA256 145d43c32cb93888f8555bdcbce48ea417515fb17dbd2445fa1ed7ac32e2399b SHA512 10afe675739746ba313d5c3b4758940c9896bd96fbd3b81fb4809d18cf39d49b36e9b24b28af38f700a65c7c2fb572186dc3920ab2cbd190cc79b485c54eb78d WHIRLPOOL cc176a18819258d6c2af33024b1f92e301f656949d0073f90659b22dd7532708b65b1fefaa3d684bf0f425acb66225eb25bc96bf6272bacbd733451e7e549ec5
|
||||
DIST robot_model-1.12.0.tar.gz 1292282 SHA256 942edd173fde0efd3c7dab03a30cc1b96b9aa513ed914f00b45f603476ec46fe SHA512 6faf6219788d6cbd6765ff1cb55e7cbc1f3bc414f3f83ac0d46ff7a8617cfe477871104eef846c9a47ffb09c69a948d080e199d455d1269fe043ed11a7d1e335 WHIRLPOOL c487eaea77598b8663d3239142864da9b2dd02d8f6ec321e9beb88ec31fa03d90d77e1fcd7bc0ea7b9afda168a4c46ee4f27b4f8867e70ef9f7ab3d3e00a9e3e
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/robot_model"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Constructs a KDL tree from an XML robot representation in URDF"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-ros/roscpp
|
||||
dev-ros/rosconsole
|
||||
dev-ros/urdf
|
||||
sci-libs/orocos_kdl
|
||||
dev-libs/tinyxml
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
|
@ -1,2 +1,3 @@
|
||||
DIST robot_model-1.11.10.tar.gz 1292754 SHA256 a43a17e8f19a41fba5660f94eb40e89f2b3fecab81fe8b54f657d430dd936cd4 SHA512 95770807d22de4581a87e7297fc9f9e0e781ad2a8f273a3f4781ac2864f53b73b408dde9c696aa934bab1dada5bac396a8c65d62e4a941884cc9966c680da4a8 WHIRLPOOL c41f637723ac00331abf0d52d9b6d6546205d25e0adc972b4cc793ce4a9351e0246bf42d59a5755532ca54bdc186b6055b2412777601bcbfc09d1399a0b46292
|
||||
DIST robot_model-1.11.9.tar.gz 1292675 SHA256 145d43c32cb93888f8555bdcbce48ea417515fb17dbd2445fa1ed7ac32e2399b SHA512 10afe675739746ba313d5c3b4758940c9896bd96fbd3b81fb4809d18cf39d49b36e9b24b28af38f700a65c7c2fb572186dc3920ab2cbd190cc79b485c54eb78d WHIRLPOOL cc176a18819258d6c2af33024b1f92e301f656949d0073f90659b22dd7532708b65b1fefaa3d684bf0f425acb66225eb25bc96bf6272bacbd733451e7e549ec5
|
||||
DIST robot_model-1.12.0.tar.gz 1292282 SHA256 942edd173fde0efd3c7dab03a30cc1b96b9aa513ed914f00b45f603476ec46fe SHA512 6faf6219788d6cbd6765ff1cb55e7cbc1f3bc414f3f83ac0d46ff7a8617cfe477871104eef846c9a47ffb09c69a948d080e199d455d1269fe043ed11a7d1e335 WHIRLPOOL c487eaea77598b8663d3239142864da9b2dd02d8f6ec321e9beb88ec31fa03d90d77e1fcd7bc0ea7b9afda168a4c46ee4f27b4f8867e70ef9f7ab3d3e00a9e3e
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros/robot_model"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Python tools to construct a KDL tree from an XML robot representation in URDF"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/urdf[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
|
@ -1,2 +1,3 @@
|
||||
DIST python_qt_binding-0.2.17.tar.gz 12133 SHA256 7f0b5147c7b3908a09c7e771160a27d77b9047c095aa33f110345bf483b775e6 SHA512 332d63962f40d41e236a7f85e7859f1ed78dda4f02ae388e2026b53622e2551b2a702624aabf98e3fbe5d55d24f92b9c0a127386407e20ff60a5ebfbd63ffda0 WHIRLPOOL 05ecfbfaf37c94a333a517c655347f61eae17d5fa6af503e89c5f65ca624e143f7f9c097fa3f3cdda1d90b678805c1ea1228880f7074fb122fc3ebc166de2444
|
||||
DIST python_qt_binding-0.2.18.tar.gz 12168 SHA256 c38e36a8e4f8aa1d1241ee03bf1527837424bed4323dc941c21f9504956f8d8d SHA512 3bb7393e582c4e8cd5f11884b31671f73248a13141c800c902c080c370615417ccd3b7673871f6bc56e4ac078efcb991118090d8037f911d2214c94353fcf833 WHIRLPOOL 0082c6464cfca8eb817da65119ee58fcd03a0ffad347888c02a642f985b30254d0d0135c76c65112a51e066891d85cb66f3110c4743a09726a911f85e690d0f8
|
||||
DIST python_qt_binding-0.3.0.tar.gz 11872 SHA256 b623e293fba060a0822a4f0d0979672ceb6886192f7e38a5cd2c29169010ded9 SHA512 d5b5e2f3f12b5b8decebdff7834cfae4ae2d581ad851a40e31c5ffc6a15e480526d0d6c6571fd8b2cc73c6d6a5315e330fd2a15944690c6712a385341b0e1133 WHIRLPOOL 7b6ea8c36e0b15b57a409c75abf53f574e230037e661a15186531402ffb4dba6306889a5efc6ed86edb9f1935d86037444670146d066d8a225c0d98ef02451e0
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
ROS_REPO_URI="https://github.com/ros-visualization/python_qt_binding"
|
||||
KEYWORDS="~amd64"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Infrastructure for an integrated graphical user interface based on Qt"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +1,3 @@
|
||||
DIST qt_gui_core-0.2.29.tar.gz 85881 SHA256 7c51b4fd7e795e37e3f8a4b691a5e520466105fdddbc85e194c10c608fe7448c SHA512 958526a3bd76070e121d75a82c589894aef980870091cb853802fcb60328b54cbc95ee0c9eececa18e24608808cca2c722c5699b662c2a578f150995171d71db WHIRLPOOL f83328ce59fd9cd8db5a066f1a2a93bde54b28268891b18cf73b31d5584b0dc7f932350a39e729c97be3bc3b6780422dd2538321f29b0acd13d06387e0054975
|
||||
DIST qt_gui_core-0.2.30.tar.gz 86567 SHA256 d2c7240161dd84b02b024a66119d122a7607dd0e27a299d53d1c75c36d203847 SHA512 4a9671c8814f16a371e77840d6df268e763ce5932d6e85842af34ee5322701ffa19d97d4d75b4fb6d4d272497281462296dc9cfc25d4efd96246a88a8ee08978 WHIRLPOOL c072605d884a051a03ea3e77147fce7e7f3f94c4b5eb253779022a18cf3141d357fdb9fc45c9b5b6917d3e73cc2cfde4d384d64de26f164b4920911965be20e7
|
||||
DIST qt_gui_core-0.3.0.tar.gz 86904 SHA256 f785ad2ffcee822edaf8f8baef8f440d3c596fbb2cbc99508f5aef650e00dc28 SHA512 6b14dafdc087f3fccfeacf2aedd438b069cd3592d6f834ba0d277107da936bbf0d3a40d0cd18468615fd9c508fb1fc5109ef83c4970031a7dca923b85270b385 WHIRLPOOL fdc0e46cc9e308999553ffa911acd7cb3fa64c8088fe270eb831143deef03e903cc1abfaf748fe4e8484a91acc2d926d8d03bdec4225082c56fc958fe16dfdfa
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue