dev-python/oslo-rootwrap: new version

Closes: https://bugs.gentoo.org/800332
Closes: https://bugs.gentoo.org/800329
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-29 14:42:47 +02:00
parent e847680c74
commit bc43993963
3 changed files with 40 additions and 23 deletions

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
HOMEPAGE="
https://pypi.org/project/oslo.rootwrap
https://opendev.org/openstack/oslo.rootwrap
https://launchpad.net/oslo.rootwrap
"
SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
S="${WORKDIR}/oslo.rootwrap-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
test? (
>=dev-python/hacking-3.0.1[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}]
>=dev-python/reno-3.1.0[${PYTHON_USEDEP}]
>=dev-python/bandit-1.3.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest