blob: b9f48650e6daddc10a46f3c4a6ea2bd86fdf6241 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 2008-2012 Funtoo Technologies
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
inherit distutils
DESCRIPTION="The installer for ROS"
HOMEPAGE="http://www.ros.org/wiki"
SRC_URI="
mirror://pypi/r/${PN}/${P}.tar.gz
http://pr.willowgarage.com/downloads/${PN}/${P}.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="
dev-python/setuptools
"
RDEPEND="
dev-python/pyyaml
dev-python/vcstools
"
src_install () {
distutils_src_install
# fix for Funtoo users
if [ `cut -f1 -d' ' < /etc/gentoo-release` == "Funtoo" ]; then
version=`cut -f5 -d' ' < /etc/gentoo-release`
echo "ROS_OS_OVERRIDE=\"gentoo:$version\"" > "${T}"/50rosinstall
doenvd "${T}"/50rosinstall
fi
}
|