mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -07:00
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
32 lines
689 B
Bash
32 lines
689 B
Bash
# Copyright 2019-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Parser for the manifest files in the ament buildsystem"
|
|
HOMEPAGE="https://github.com/ament/ament_package"
|
|
SRC_URI="https://github.com/ament/ament_package/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
DEPEND="${DEPEND}
|
|
test? (
|
|
dev-python/flake8[${PYTHON_USEDEP}]
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
|
|
python_test() {
|
|
py.test || die
|
|
}
|