1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
9 if [ "${PV#9999}" != "${PV}" ] ; then
11 EGIT_REPO_URI="https://github.com/vcstools/wstool"
14 inherit ${SCM} distutils-r1
16 DESCRIPTION="Commands to manage several local SCM repositories for ROS"
17 HOMEPAGE="http://wiki.ros.org/wstool"
18 if [ "${PV#9999}" != "${PV}" ] ; then
22 SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
23 http://github.com/vcstools/wstool/archive/${PV}.tar.gz -> ${P}.tar.gz
25 KEYWORDS="~amd64 ~arm"
33 dev-python/pyyaml[${PYTHON_USEDEP}]
34 dev-python/vcstools[${PYTHON_USEDEP}]
39 dev-python/nose[${PYTHON_USEDEP}]
40 dev-python/coverage[${PYTHON_USEDEP}]
48 PATCHES=( "${FILESDIR}/prefix.patch" )
49 DISTUTILS_IN_SOURCE_BUILD="yes"
53 # Set git config to silence some stuff in the tests
54 git config --global user.email "foo@example.com"
55 git config --global user.name "Foo Bar"
57 echo -e "[ui]\nusername = Your Name <your@mail.com>" >> ~/.hgrc
59 bzr whoami "Your Name <name@example.com>"
60 # command to run tests
61 nosetests --with-coverage --cover-package=wstool || die