dev-ros/genpy: bump to 0.6.2; improve testing

Package-Manager: portage-2.3.0
This commit is contained in:
Alexis Ballier
2016-09-13 08:54:24 +02:00
parent 0d4121b600
commit 931b1bb4e9
3 changed files with 45 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST genpy-0.6.0.tar.gz 60238 SHA256 f8da9af40a507bb0d18a5de8dac0f2149140b82c59a8bb2bac903e364c05dd37 SHA512 83c365d5a4dcc9aa8ae1bd75030ca1630674c11e53dbd5ed8ee6f763e6bca904e45ac1527e7928aba914c28010ceb02f5ec5e0001557e8d189457e7c89776a95 WHIRLPOOL 3ab2b827d3ab69f16dbd2c03cd0a9adc786dca2b81d228bed7cad004e67ab5937f4a619a0ead6d430d872b1e50d02ed62b0e4a33bc013d3c420a361d44edbb5e
DIST genpy-0.6.2.tar.gz 60939 SHA256 dc1a77d534702136f635b110eb20a4072e5946ff8aa237f5bae2cb37c298e922 SHA512 39fa71f113dbc0165ef7d0aa7d7a60795f8919649fbae46a9e4e3e9020c60df91f979f19283a7ea20803f6d97ec3f0e12bb19a788033e499e1f1c84587bfae4b WHIRLPOOL a0f665d419e886d8f3a0f8aa5725e6e6e32fdd889b4b1ea1fc6939c16c01970d904ecb6df63613f037348df7b06738184ffc41af0d66d90519876e9aa11ccfb3

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/genpy"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit ros-catkin
DESCRIPTION="Python ROS message and service generators"
HOMEPAGE="http://wiki.ros.org/genpy"
LICENSE="BSD"
SLOT="0/${PV}"
IUSE=""
RDEPEND="dev-ros/genmsg[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_test() {
cd "${BUILD_DIR}"
PYTHONPATH="${S}/src" nosetests --verbose -w "${S}/test" || die
}
src_test() {
python_foreach_impl python_test
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -23,3 +23,12 @@ DEPEND="${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_test() {
cd "${BUILD_DIR}"
PYTHONPATH="${S}/src" nosetests --verbose -w "${S}/test" || die
}
src_test() {
python_foreach_impl python_test
}