diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-26 11:42:28 +0000 |
commit | 89c6c06b8c42107dd231687a1012354e7d3039fc (patch) | |
tree | dad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /dev-python/oslo-utils | |
parent | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff) |
gentoo resync : 26.11.2017
Diffstat (limited to 'dev-python/oslo-utils')
-rw-r--r-- | dev-python/oslo-utils/Manifest | 10 | ||||
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-3.28.1.ebuild | 99 |
2 files changed, 104 insertions, 5 deletions
diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index e084bc7d5c7a..cc1f6b8c54d8 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1,7 +1,7 @@ DIST oslo-utils-3.22.1.tar.gz 84249 SHA256 9825db6337ce10e7c383d2598f87865605d35af15fa9ece7212838ba7d33730e SHA512 afb21f8267f815e192a667fec247ae2e0d8163d7872805d36c4399928b475e34790136810607e8706ea37e32eb31da2fdc2b9defb2e06f7ba0a7235b2de1abc9 WHIRLPOOL 501cb7c18b2997635b5a2ffd91fd472f84168730e2cc76cb13f4937e657448e535d614e9eea64595bce31211af4e1ce0590cb8e313dd31785fe7700c4776585a DIST oslo-utils-3.28.0.tar.gz 85122 SHA256 46abd731d8cfdb682eb5b1d22a2da3c549d79f889bd3db998eac4b64a955769f SHA512 0206f4e0fcf0c3bdc46062a37e14e37d7a2d141665b7f1ff4c0d5966d04403dffba8814d216b3dc010d0e845c983f3335095c1dee0373b82150447c914f37fe4 WHIRLPOOL 40ed09a867e69d46657d76b505705b6161382b11bb5f870b33746d75a67e57320d44df57cf83ea6f68fd48098e49fbb75712e3bf99b695f6f3ae25f78874e3a6 -EBUILD oslo-utils-3.22.1.ebuild 2692 SHA256 d285701e55c833ad41a700f761c4be91b2621f466ee3f662fdbf7866231496b6 SHA512 be67e1492be16e46cdc3468a17b0f1445b841e1cef81dbf5133741645a3e9461d38cca6416cbc182c0428aff13f3db7d5c7fc1dcf375b22f1b4ad4e3558d6e3f WHIRLPOOL da1ccd253e28ecc63d5dad011ffca6f8a15bbbc7a16eb03481779fa934b08246526ea9403eb3ce851a8917d35a42e3498b97a078f72795c8fb3c9151371cf48c -EBUILD oslo-utils-3.28.0.ebuild 2891 SHA256 c36666f24161d19499c72ab3c1acfc066b5d025288592a4ea7f68318e6eef228 SHA512 9ad7c2519645cea12503f583ad53ed19fdb96ef1e7984e9931b01db241206bc688be8f600d9998926b0671f4278d1cfe1be500400c4bbeebfab90ef3524721f4 WHIRLPOOL fa944464acff82eb76cf72a5a19b1466ab11a4379abf7ba48d2026ebb550d7e2e39d2e9c6cd857cc76e9f1d506ba68861267b8c200407226b260c6b413b536b1 -MISC ChangeLog 5642 SHA256 4795b6d3eeb9394499e1a0f6a3ff5858e2fc988476ac8a6dccf8005b8407ffa6 SHA512 295d19c3197240b118ccabaf82e8eb74a7d04b4fe636e731f380d10e54b3f39f43e45b394399a9a08c41bcaabde4bdbe9765f1971504b17dff5743aa4bddb9b1 WHIRLPOOL 3639f5f1796e46c7e57ab225cee49908ecbc855c49cd71305e278069ed8dc5f7eca56829bab4797e425cfe2eff84ae1081d59e5128215f81df668ab34449ca34 -MISC ChangeLog-2015 1734 SHA256 e91d7526fe0d95586559cafa6ba228c1b27721df8c572408dfb2853ffe8a7904 SHA512 2713fa387ece4fd0b1f70ffc56d4e68e76f8ff96096ed7b252b3f1b307abfb2dd62f8d339cc24a30a9cc2e779d49e15a158f83e04080bdf8c6301a827522ba60 WHIRLPOOL 1036e7335918db7bcba051eccb9a3b47ff733e4ada6b0057f0d4ccc3f2add2885533c664caaec8bca85cfaa61f7543ebdd1af2c3065fd9948e7051d16f607b63 -MISC metadata.xml 473 SHA256 f1e11991e3bb3406953a99669916fd79e366d49a3ff3df53499784f60704f30d SHA512 17ac5a7dca516e43af1409f5800b112c829edb6550cbb7d91eb394e15cebceeff3c895a0250126cfc869f4ce0e1b05dd494ba614934ac06ed91402e3af048634 WHIRLPOOL 9b7f8ff8cffa6b7ce3356310c14e355c49c25b750a3cd6222178851ef22605fdb2de2bdd3df876483aba442386296c0c84b338bd22a19f8661c0df82dbe41d54 +DIST oslo-utils-3.28.1.tar.gz 85889 SHA256 fd8e687cdc5b3d042073f6c7258b342afa455cc050a59e8d2616bacc38c8b782 SHA512 f46c097378af27b8b1e7c9ff0908e3077c19c819ca02a9c181a54fd77a62506668ca22b42d5127a9e49f62244d034b5cef0b7c8c751b55a651a6f46fff0b4c02 WHIRLPOOL 2656d46c8fb609c4c8ef804a94d66aa3535bbeb993a954ceef4b24f1b48825a307d17d13863d3dcdc6aa7fc98d9e371f87a7bd9b46618e3b7b616973bde94665 +EBUILD oslo-utils-3.22.1.ebuild 2692 BLAKE2B be65b7e52b65e0ecebb118b47018de878e6cfec1497e2cef586a64c159caf2edcc7bfce6e78028a80df658188d961fdee1f14c9b629cf8e9ab421a3a91d9d1a3 SHA512 be67e1492be16e46cdc3468a17b0f1445b841e1cef81dbf5133741645a3e9461d38cca6416cbc182c0428aff13f3db7d5c7fc1dcf375b22f1b4ad4e3558d6e3f +EBUILD oslo-utils-3.28.0.ebuild 2891 BLAKE2B 9db2006946af29f5b94edd420ce646133b184d9198cc6c42d7ba45f75410d187600a6dc2aed6d0a5796c89c36842a8797ddce0bee3624b07e828ed8436ac0d50 SHA512 9ad7c2519645cea12503f583ad53ed19fdb96ef1e7984e9931b01db241206bc688be8f600d9998926b0671f4278d1cfe1be500400c4bbeebfab90ef3524721f4 +EBUILD oslo-utils-3.28.1.ebuild 2893 BLAKE2B 1e05188e379b2e91496458e1330286f4c956d7fb13853aaf8887d8011ee0046bb8ad76a05c73b9525e518b93b61989d809870e0e3c09937fa0a71b5dd0920662 SHA512 2e9da456cf9fd107b633eac2b1cb12d4ce631b99672aaac405cdeabe7c415514d1f1b20343657dfa1e0df7d3b3fbd7a44ec367ee025e15d83774a3b05a9c496c +MISC metadata.xml 473 BLAKE2B e3b911c3e0e8d488eb537223f3423338abb8f8206f1d2e8c5a5260674f7815aad6ac497f519d1c3870b979c8ceb415df6882b55c5c13e5f28474e9ecba52a961 SHA512 17ac5a7dca516e43af1409f5800b112c829edb6550cbb7d91eb394e15cebceeff3c895a0250126cfc869f4ce0e1b05dd494ba614934ac06ed91402e3af048634 diff --git a/dev-python/oslo-utils/oslo-utils-3.28.1.ebuild b/dev-python/oslo-utils/oslo-utils-3.28.1.ebuild new file mode 100644 index 000000000000..74c65f569666 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-3.28.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 vcs-snapshot + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Utility library" +HOMEPAGE="https://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-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/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-4.0.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.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/bandit-1.1.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + >=dev-python/openstackdocstheme-1.16.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + virtual/python-funcsigs[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + !~dev-python/oslo-i18n-3.15.2[${PYTHON_USEDEP}] + >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.13[${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}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] +" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +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 +} |