From: Alexis Ballier Date: Mon, 27 Feb 2017 10:28:31 +0000 (+0100) Subject: dev-ros/genpy: Add python 3.6 support and use standard ros-catkin.eclass src_test... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=48b5dc400c7a3223c191fffac1753954e33c0e85;p=gentoo.git dev-ros/genpy: Add python 3.6 support and use standard ros-catkin.eclass src_test that works. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/dev-ros/genpy/genpy-0.6.3.ebuild b/dev-ros/genpy/genpy-0.6.3.ebuild index b393c061a86b..bd9c12937753 100644 --- a/dev-ros/genpy/genpy-0.6.3.ebuild +++ b/dev-ros/genpy/genpy-0.6.3.ebuild @@ -6,7 +6,7 @@ EAPI=5 ROS_REPO_URI="https://github.com/ros/genpy" KEYWORDS="~amd64 ~arm" -PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) inherit ros-catkin @@ -23,12 +23,3 @@ 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 -} diff --git a/dev-ros/genpy/genpy-9999.ebuild b/dev-ros/genpy/genpy-9999.ebuild index b393c061a86b..bd9c12937753 100644 --- a/dev-ros/genpy/genpy-9999.ebuild +++ b/dev-ros/genpy/genpy-9999.ebuild @@ -6,7 +6,7 @@ EAPI=5 ROS_REPO_URI="https://github.com/ros/genpy" KEYWORDS="~amd64 ~arm" -PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} ) inherit ros-catkin @@ -23,12 +23,3 @@ 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 -}