summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-09-13 08:54:24 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-09-13 14:30:42 +0200
commit931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f (patch)
tree32a3ca46e127fe86648536fe0305033c0c817b19
parentdev-ros/genpy: remove old (diff)
downloadgentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.tar.gz
gentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.tar.bz2
gentoo-931b1bb4e9e92af1752c6519ef4aa5e8b9790f4f.zip
dev-ros/genpy: bump to 0.6.2; improve testing
Package-Manager: portage-2.3.0
-rw-r--r--dev-ros/genpy/Manifest1
-rw-r--r--dev-ros/genpy/genpy-0.6.2.ebuild34
-rw-r--r--dev-ros/genpy/genpy-9999.ebuild11
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-ros/genpy/Manifest b/dev-ros/genpy/Manifest
index 5fbc550cf0e6..e014b8f3aab4 100644
--- a/dev-ros/genpy/Manifest
+++ b/dev-ros/genpy/Manifest
@@ -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
diff --git a/dev-ros/genpy/genpy-0.6.2.ebuild b/dev-ros/genpy/genpy-0.6.2.ebuild
new file mode 100644
index 000000000000..73461c06fef6
--- /dev/null
+++ b/dev-ros/genpy/genpy-0.6.2.ebuild
@@ -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
+}
diff --git a/dev-ros/genpy/genpy-9999.ebuild b/dev-ros/genpy/genpy-9999.ebuild
index e18cd2aa843c..73461c06fef6 100644
--- a/dev-ros/genpy/genpy-9999.ebuild
+++ b/dev-ros/genpy/genpy-9999.ebuild
@@ -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
+}