diff options
-rw-r--r-- | dev-python/oslo-log/Manifest | 1 | ||||
-rw-r--r-- | dev-python/oslo-log/oslo-log-3.36.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/oslo-log/Manifest b/dev-python/oslo-log/Manifest index 6a02cd19d8a2..1890b8a03186 100644 --- a/dev-python/oslo-log/Manifest +++ b/dev-python/oslo-log/Manifest @@ -1 +1,2 @@ DIST oslo.log-3.30.2.tar.gz 78807 BLAKE2B d2042a185daed8aedd2f3ff7ef1a5a47b730b1a79c05e73aba60a635a459f1f683d27e422568f1798713e0d095863bbdb0580a4a6f8263c1f47a6055aa1f81ab SHA512 c4e7b9f5c7a3d813ea816b06cea58cc1d8908f4914bf3221f564c65bb8998e4fed7df96faa54d69782e5ce43258339f32330b12f51b4a4cdb9bfdd5aa092e7a6 +DIST oslo.log-3.36.0.tar.gz 81964 BLAKE2B f08a5cc5160da123e7a0acef96f94a20b4051c415056e639b4eb20a10ca725da2527a5c6c25cbce8e532606ab390bd273be54b691d52e6e93a1a51b59f8ba909 SHA512 47234c4bef09e105709b765fe0d5b297312ac73169a438f2759cbff335f059afdefc323c290a32bb587dbb6d2095de536ae7111a31e6c5b280e760b9b6b971c6 diff --git a/dev-python/oslo-log/oslo-log-3.36.0.ebuild b/dev-python/oslo-log/oslo-log-3.36.0.ebuild new file mode 100644 index 000000000000..757cfe037db4 --- /dev/null +++ b/dev-python/oslo-log/oslo-log-3.36.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 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="OpenStack logging config library, configuration for all openstack projects." +HOMEPAGE="https://pypi.python.org/pypi/oslo.log https://github.com/openstack/oslo.log" +SRC_URI="mirror://pypi/o/oslo.log/oslo.log-${PV}.tar.gz" +S="${WORKDIR}/oslo.log-${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}]" +RDEPEND=" + ${CDEPEND} + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyinotify-0.9.6[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + test? ( ${RDEPEND} + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.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.17.0[${PYTHON_USEDEP}] + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests oslo_log/tests || die "Tests fail with ${EPYTHON}" +} |