From 09987c008c73fc5c2a80ed8767f1f9265d02d8f6 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sun, 26 Feb 2017 19:48:07 -0600 Subject: [PATCH] dev-python/oslo-service: bup Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-python/oslo-service/Manifest | 1 + .../oslo-service/oslo-service-1.19.0.ebuild | 62 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/oslo-service/oslo-service-1.19.0.ebuild diff --git a/dev-python/oslo-service/Manifest b/dev-python/oslo-service/Manifest index 9bec4e50dfca..a8935075a682 100644 --- a/dev-python/oslo-service/Manifest +++ b/dev-python/oslo-service/Manifest @@ -1,2 +1,3 @@ DIST oslo.service-1.16.0.tar.gz 69762 SHA256 5a0d4743ece2f481fe95bf0e1be67fbfabf63adaeabca5f1acdc2a0280244fec SHA512 4ad1feb736cb678e9375c654fc728e6f58b17f01018a28576b51de8803492c21c9abac4f73cac76214f2f41ac40d29b849ca9f2fc000ddf9e3de5955f8212907 WHIRLPOOL b5689435782aafe38ce03595b99287069ededced82ef6c38d0db847fc32e75597c3a4c26564c4e39e63a0fe8728ffbf722a2760c5b9ef118914a32246ba97bd4 +DIST oslo.service-1.19.0.tar.gz 74937 SHA256 4c4e0198b6d87b6566f48c8e89cbe87386d4b44ba03159f28655f911a65dbff8 SHA512 d9f8c5d07d418ab2d0234299071e4ff129ec4af4bf8f2973f7899c1a7636fc67f1ce16e770ada7c7fe8a19f28a156536e1c159546a0dd708f26404dffceb5c70 WHIRLPOOL fc413ac2f7e3acff1664b1a98aeebeac6a2e42b2e82f276f628386754f962542c7c83edbc026ad66ad93067e1c5368f52bdf3bc3c8cb9cf222a2c0ac551cf215 DIST oslo.service-1.8.0.tar.gz 66072 SHA256 cfd519945adb986f3e9e9bb01bebe1a0875ba38b1463a7deb6a7cba5a4e02d4d SHA512 f84aae9eddd4a702b289a2265bc4d53f4d0f01ebeba3c48b2614942eff6beeb3da7a978dcfccc58c9ddcc28031f358da3875926e8baece9d96bf5829a1c3b9e5 WHIRLPOOL 3da0853cb7568fbfde61e9a08cf2bbeaf741011e4768774c5e1423093adca8028861bcedf0b1451fce4c5154af17932a2944c07412d6fac3262653c8a11f4392 diff --git a/dev-python/oslo-service/oslo-service-1.19.0.ebuild b/dev-python/oslo-service/oslo-service-1.19.0.ebuild new file mode 100644 index 000000000000..0660928ac7c8 --- /dev/null +++ b/dev-python/oslo-service/oslo-service-1.19.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit distutils-r1 + +DESCRIPTION="Library for running OpenStack services" +HOMEPAGE="https://pypi.python.org/pypi/oslo.service" +SRC_URI="mirror://pypi/${PN:0:1}/oslo.service/oslo.service-${PV}.tar.gz" +S="${WORKDIR}/oslo.service-${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/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] + =dev-python/reno-1.8.0[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + )" +RDEPEND=" + ${CDEPEND} + >=dev-python/webob-1.6.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] + !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] + !~dev-python/routes-2.0[${PYTHON_USEDEP}] + !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] + !~dev-python/routes-2.3[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] +" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests tests/ || die "test failed under ${EPYTHON}" +} -- 2.26.2