dev-python/oslo-context: 2.12.2 bup

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Matthew Thode
2017-07-06 11:40:10 -05:00
parent fc51e19489
commit ef94747c7b
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST oslo.context-2.12.1.tar.gz 25879 SHA256 e257c5962928c564ad323a436703733662b39e45d4892d5aff3f290e89e95b94 SHA512 075f402786dfe0e153c0fe21f2a2a8a2099cc2451a6f891fef00e0fd460f9f39220d390c9ae7ba0515a3ad79a94a1b2288c65029aea8f5e7481f8fe181d877b4 WHIRLPOOL 9df270cd41bc2067dcbbba4312fd60682a4f2a5f461d61c80d4b5d5e19a4b1c691c08e8bd34d581e89e4998760f950cc7e8964d04a23c6188cf906892623c55b
DIST oslo.context-2.12.2.tar.gz 26860 SHA256 36decf5f8bd72a986d58c2e603c2e0d96d31da4283f2fbc145c6804113b86f64 SHA512 752d2e9744fbf94d23d6cc3205f3b4974d440bf71ab885de2feea3e706ed93b771b50df264c754cc8f6882f8526de0318cb3d1fc07a28a872f4b02e59118af98 WHIRLPOOL e54612a8fda6ee4a07ad603f54356f6bf5aa8bedcd11f9faaf88ff7f98ef79b0407dc50d9295b8131375fbc4916b5915096ce97a142a2c8c06eb9345749483e6

View File

@@ -0,0 +1,47 @@
# 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-1.8[${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/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
<dev-python/sphinx-1.4[${PYTHON_USEDEP}]
>=dev-python/reno-1.8.0[${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}"
}