gentoo/dev-python/bashate/bashate-0.3.1.ebuild
Michał Górny cd3f25deb1
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-05 11:55:46 +01:00

34 lines
687 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_6 )
DISTUTILS_IN_SOURCE_BUILD=TRUE
# time
RESTRICT="test"
inherit distutils-r1
DESCRIPTION="A pep8 equivalent for bash scripts"
HOMEPAGE="https://pypi.org/project/bashate/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
<dev-python/pbr-2.0[${PYTHON_USEDEP}]
"
RDEPEND="
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
}