mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-03-28 05:57:27 -07:00
Add python 3 support now that it works. Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
31 lines
685 B
Bash
31 lines
685 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python{2_7,3_6,3_7} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="URDF parser for Python"
|
|
HOMEPAGE="http://wiki.ros.org/urdfdom_py"
|
|
SRC_URI="https://github.com/ros/urdf_parser_py/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
dev-python/lxml[${PYTHON_USEDEP}]
|
|
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
|
|
|
python_test() {
|
|
nosetests --with-coverage || die
|
|
}
|