From 902591cf8ec60c9912632100ddac83978d794560 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sat, 26 Aug 2017 20:32:07 -0500 Subject: [PATCH] dev-python/oslo-context: 2.17.0 bup Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- dev-python/oslo-context/Manifest | 1 + .../oslo-context/oslo-context-2.17.0.ebuild | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-python/oslo-context/oslo-context-2.17.0.ebuild diff --git a/dev-python/oslo-context/Manifest b/dev-python/oslo-context/Manifest index c0f849a37742..4b6fc777e847 100644 --- a/dev-python/oslo-context/Manifest +++ b/dev-python/oslo-context/Manifest @@ -1 +1,2 @@ DIST oslo.context-2.12.2.tar.gz 26860 SHA256 36decf5f8bd72a986d58c2e603c2e0d96d31da4283f2fbc145c6804113b86f64 SHA512 752d2e9744fbf94d23d6cc3205f3b4974d440bf71ab885de2feea3e706ed93b771b50df264c754cc8f6882f8526de0318cb3d1fc07a28a872f4b02e59118af98 WHIRLPOOL e54612a8fda6ee4a07ad603f54356f6bf5aa8bedcd11f9faaf88ff7f98ef79b0407dc50d9295b8131375fbc4916b5915096ce97a142a2c8c06eb9345749483e6 +DIST oslo.context-2.17.0.tar.gz 27756 SHA256 e4c2080dd4767a843f8f3c287e24f89bc749ec7cac34fa6ec2b4de3b1bff9085 SHA512 158ccfb5517f2e4521d9be0b4864b2f6cc491f2dc00b479ea6314892b24b0293fe1e5e654d1503b73f992d011bf79c0b3c5b1f7b69dc7d32549a8327897957ae WHIRLPOOL e48de23e16422c34b229c74d1d0b789f5db6ed43c3c8ec0db43ebc1b3e8e4ecb1edc22df2ce23e5d83c8c5fd1e01dd228d6b40f7acf44947a234ad9663a4f3c2 diff --git a/dev-python/oslo-context/oslo-context-2.17.0.ebuild b/dev-python/oslo-context/oslo-context-2.17.0.ebuild new file mode 100644 index 000000000000..14c2209fa7fe --- /dev/null +++ b/dev-python/oslo-context/oslo-context-2.17.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +inherit distutils-r1 + +DESCRIPTION="Helpers to maintain useful information about a request context" +HOMEPAGE="https://pypi.python.org/pypi/oslo.context" +SRC_URI="mirror://pypi/${PN:0:1}/oslo.context/oslo.context-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}] + )" +RDEPEND=" + ${CDEPEND} + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/positional-1.1.1[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/oslo.context-${PV}" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +# This time half the doc files are missing; Do you want them? +python_test() { + nosetests tests/ || die "test failed under ${EPYTHON}" +} -- 2.26.2