diff options
-rw-r--r-- | dev-python/oslo-service/Manifest | 1 | ||||
-rw-r--r-- | dev-python/oslo-service/oslo-service-1.25.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/oslo-service/Manifest b/dev-python/oslo-service/Manifest index 98f91a0f4386..a56e999cd952 100644 --- a/dev-python/oslo-service/Manifest +++ b/dev-python/oslo-service/Manifest @@ -1,2 +1,3 @@ DIST oslo.service-1.19.0.tar.gz 74937 SHA256 4c4e0198b6d87b6566f48c8e89cbe87386d4b44ba03159f28655f911a65dbff8 SHA512 d9f8c5d07d418ab2d0234299071e4ff129ec4af4bf8f2973f7899c1a7636fc67f1ce16e770ada7c7fe8a19f28a156536e1c159546a0dd708f26404dffceb5c70 WHIRLPOOL fc413ac2f7e3acff1664b1a98aeebeac6a2e42b2e82f276f628386754f962542c7c83edbc026ad66ad93067e1c5368f52bdf3bc3c8cb9cf222a2c0ac551cf215 DIST oslo.service-1.19.1.tar.gz 76246 SHA256 b7106bd22a092b358f929f28b2e4726b42c470b32d3e146d9c69e05661e0c37d SHA512 3298ba9e0dddfe477c324b3eb55d4d20ab5da6231488658b78290d1e9e9eafab758885d350471d1c87c24d01551a4643c1f748323a8455d743f0dbe74d4c5d68 WHIRLPOOL 748820fb92e5a273ff2dcf9a20cf040c30e965ce2dc8743a74679ec961fd7d46325de3c5923949fa60f49f98ec160d568bdfda04ebb06c8fd74270b127fa3d39 +DIST oslo.service-1.25.0.tar.gz 76400 SHA256 6de577c01866c970abd00bea1d6cd03eb8adaea86667ec8accfdfb3f1076e33b SHA512 829c9be54813900c4bce0072e408a4c996548ca123524c76b4a3b99d7bc940d22f7d4a0a1d6e02ce88b252fa34bdedf26129bdfd4894c4b5b14c8ec71b85629c WHIRLPOOL 3b56c1693cbf417e27ba0d02ee4d5ea06018f2fe39ed6f5481d5a70971e37395efd2ecbe6c0899adf3fe643098686ac4e0a232f57949c0a8d9ae78b774da873d diff --git a/dev-python/oslo-service/oslo-service-1.25.0.ebuild b/dev-python/oslo-service/oslo-service-1.25.0.ebuild new file mode 100644 index 000000000000..cdb2b857ef46 --- /dev/null +++ b/dev-python/oslo-service/oslo-service-1.25.0.ebuild @@ -0,0 +1,65 @@ +# 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-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/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}] + dev-python/doc8[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + )" +RDEPEND=" + ${CDEPEND} + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-4.0.0[${PYTHON_USEDEP}] + !~dev-python/oslo-config-4.3.0[${PYTHON_USEDEP}] + !~dev-python/oslo-config-4.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.22.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + !~dev-python/oslo-i18n-3.15.2[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${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}" +} |