diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-03-24 22:12:41 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-03-24 22:12:41 -0500 |
commit | 834d12103d1937a83a2cb876dc45a89f187f86c0 (patch) | |
tree | 8694857e6be6d610e2d143aaf25cb703e76126ac /dev-python | |
parent | a122827ed9e5591c85ae0b304e07ded791f36fe4 (diff) | |
download | gentoo-834d12103d1937a83a2cb876dc45a89f187f86c0.tar.gz gentoo-834d12103d1937a83a2cb876dc45a89f187f86c0.tar.xz |
dev-python/oslo-utils: bup for mitaka
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/oslo-utils/Manifest | 1 | ||||
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-3.7.0.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index 425be4429bb..2dc13d94a4b 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,4 +1,5 @@ DIST oslo-utils-2.4.0.tar.gz 56342 SHA256 fe210740eca9ef168afbb98038b94e48e3beb17f48b8a771f044a5fbfc7d0397 SHA512 6fa0b065f905c09c02748b76ef1818789fb96773beb1ac5d2bebb8edf76794e411961fd259e4ecda754ec0b8ebd3d8e323ac6ac3f971c4bf2d6755e2ca2ab64e WHIRLPOOL 888057b8720fc91b3b6ac85d8c6db88b2998d0cec1b495da7aaf10d2cd2cba0e482dd667479d5bf21d2414fc26e9373afd9d4fa8d433d9734d6a33fd789ae4c3 +DIST oslo-utils-3.7.0.tar.gz 70033 SHA256 04f79a8d68c263e7e13babecd4f06f5799b682578571c17e383f6acc5d846fa3 SHA512 c36e02c19a4ea5d692e685082446205e25845916fe3d2f960e8f05ccbae76634ed590236c245db3209ccfeacdfbd9e95f6c5ba4619ac3b360210e40c7ce4421f WHIRLPOOL 3bfef1c629570317bcf41bd14429c9ddaf423a790c36d495d4c644ecbdb3d88c79584c4cb25b6fae6669c4dd8b869ab2daf6d87068f1ff36ec95b2b9f4f27f52 DIST oslo.utils-1.0.0.tar.gz 32719 SHA256 4d1fdb896eb7a690ddf2a04b47c347caefaf1117bb2be83723546fbaa5141864 SHA512 09c6b759f39eb90ec382f68f3cf70e600847bdc6c44802a82e279a10be75587fe5e67f5e5b136ab6ac338b69ff484a869dbf236e0e46fc72a90ca69619a53c9b WHIRLPOOL 470720887a248afc953c691ba8e659fb010b3b59708992a34387814487b3077f723879f603d931d1a14efd87fe95f868103ca7beaa8bb78c97a9510c28e8364c DIST oslo.utils-1.1.0.tar.gz 40359 SHA256 f12dfba246ff52e94ec005d5c5862c0300e6cd295ceb953b37b876571a544dc1 SHA512 6b6ffc086e88c0222e9931c78680f15f021b9e9bb211bcb9b4114cc62f47b5bf85846b58e7b792355c7bfe1c01dddcb78871f981fde719360c3889daa85a5ddc WHIRLPOOL f44c34acdecd1d4bd495c60e65d41cebdaa7ef1a39fc4a749a339161ec428e3d274462e34fa8729aa2e7bcdc1f0de66e8d3f87c022c6c91425f1778ca7bef145 DIST oslo.utils-1.2.1.tar.gz 54946 SHA256 9cd8bcde345554582fd12c6daab81a7327a90c72861aa644e8b7b3fbfed5deba SHA512 f928afe21ef908cb6f20beb42502c4709827fdcc7e44f81fd5adeb4ac8faf07649c813824702e0a1972e8100ec894f441017dfc3a887f1b56afd4bfa24846803 WHIRLPOOL c91b4e2eb283b46df6341d7f52ca61ee20b286c84afd8ca8a287627a7d3be914b343c9fd1ea141e02f2c7179c96921ab38c6d094666ba3979dc639fa5fb2e4f7 diff --git a/dev-python/oslo-utils/oslo-utils-3.7.0.ebuild b/dev-python/oslo-utils/oslo-utils-3.7.0.ebuild new file mode 100644 index 00000000000..a578013a432 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-3.7.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_{3,4,5}} ) + +inherit distutils-r1 vcs-snapshot + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Utility library" +HOMEPAGE="http://launchpad.net/oslo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +CDEPEND=" + >=dev-python/pbr-1.6[${PYTHON_USEDEP}] + <dev-python/pbr-2.0[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/coverage-3.6.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-3.4.0[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] + !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] +" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die +} + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +# Note: Tests fail due to requiring installation +# +# Installation appears to fail due to the use of namespace packages but root +# cause was never truly established. +# +# Tests fail with: +# ImportError: No module named 'oslo.utils + +#RESTRICT="test" + +python_test() { + distutils_install_for_testing + + cd "${TEST_DIR}"/lib || die + + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} |