mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
openstack p2, newton is done, will add heat later
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST oslo.rootwrap-4.1.0.tar.gz 35590 SHA256 083b6255228982484fc483db845a49e07f474cfc12ba1ba70490f56880027989 SHA512 ef06507989d168bed8d3943d69c53318b87a2de6f403b9563d79ca75b9e17da887ce68775c54cc0fb8488e99ae3dccb08f8c3e4cf2d46882b699625519a46705 WHIRLPOOL 638a8cbf3cf463067ddc26934b914d4bf50b7b6ce51ba48a83df7abcad62836a1bdb0f660120a04facf4d1cfec589bb690a7039486884cbf3013e1ab622f9dd1
|
||||
DIST oslo.rootwrap-5.1.0.tar.gz 36177 SHA256 7bcb7b6aa2fc15746b82cf9e301d1c0fe3179c374eaecb6f52a188bd5ab00167 SHA512 24b33672b8f575ff23cc463725717bf09bb70b3a5657846a63e7f9ea3627874a1865045ee62a46a449c70cb2eeaab690049f127a995943920123d2439396ad8b WHIRLPOOL c742a805a6e480ebaad1909286bc4ae247f20f467a6060ca89a37a14d11e06ebd48db66499c16922271b014abe3c289cb119fa92660dbb4d271994d0b712cd3f
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The Oslo Rootwrap allows fine filtering of shell commands to run as root from OpenStack services"
|
||||
DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.rootwrap-${PV}"
|
||||
|
||||
49
dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild
Normal file
49
dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
|
||||
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 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
|
||||
nosetests tests/ || die "test failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user