diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-09-30 18:43:23 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-09-30 21:12:13 -0500 |
commit | b54a183dd82914e18bd3ddaae8605e029c4ad14d (patch) | |
tree | 41edd0e616280b03be74d6e95c057720ae2678d9 /dev-python/oslo-rootwrap | |
parent | media-libs/webrtc-audio-processing: x86 stable, bug 587010 (diff) | |
download | gentoo-b54a183dd82914e18bd3ddaae8605e029c4ad14d.tar.gz gentoo-b54a183dd82914e18bd3ddaae8605e029c4ad14d.tar.bz2 gentoo-b54a183dd82914e18bd3ddaae8605e029c4ad14d.zip |
openstack p2, newton is done, will add heat later
Diffstat (limited to 'dev-python/oslo-rootwrap')
-rw-r--r-- | dev-python/oslo-rootwrap/Manifest | 1 | ||||
-rw-r--r-- | dev-python/oslo-rootwrap/oslo-rootwrap-4.1.0.ebuild | 4 | ||||
-rw-r--r-- | dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild | 49 |
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/oslo-rootwrap/Manifest b/dev-python/oslo-rootwrap/Manifest index 8e7e8ab9d3a2..911697447855 100644 --- a/dev-python/oslo-rootwrap/Manifest +++ b/dev-python/oslo-rootwrap/Manifest @@ -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 diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-4.1.0.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-4.1.0.ebuild index c848f801e33b..88aecff0ca85 100644 --- a/dev-python/oslo-rootwrap/oslo-rootwrap-4.1.0.ebuild +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-4.1.0.ebuild @@ -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}" diff --git a/dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild b/dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild new file mode 100644 index 000000000000..d3093616b124 --- /dev/null +++ b/dev-python/oslo-rootwrap/oslo-rootwrap-5.1.0.ebuild @@ -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}" +} |