dev-ros/genpy: bump to 0.6.2; improve testing
authorAlexis Ballier <aballier@gentoo.org>
Tue, 13 Sep 2016 06:54:24 +0000 (08:54 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 13 Sep 2016 12:30:42 +0000 (14:30 +0200)
Package-Manager: portage-2.3.0

dev-ros/genpy/Manifest
dev-ros/genpy/genpy-0.6.2.ebuild [new file with mode: 0644]
dev-ros/genpy/genpy-9999.ebuild

index 5fbc550cf0e6af34a1d6e8c5b55a6dbe5717dd0d..e014b8f3aab4cc72582c215353451c061934a903 100644 (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
diff --git a/dev-ros/genpy/genpy-0.6.2.ebuild b/dev-ros/genpy/genpy-0.6.2.ebuild
new file mode 100644 (file)
index 0000000..73461c0
--- /dev/null
@@ -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
+}
index e18cd2aa843cc1434031ce60dadfc2958bffeacf..73461c06fef66f1c32d85c5ffb9a24e2405761ca 100644 (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
+}