diff options
Diffstat (limited to 'dev-python/oslotest')
-rw-r--r-- | dev-python/oslotest/Manifest | 4 | ||||
-rw-r--r-- | dev-python/oslotest/oslotest-3.2.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/oslotest/oslotest-3.7.1.ebuild | 65 |
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest index e832a4b14249..f02b3a8954e4 100644 --- a/dev-python/oslotest/Manifest +++ b/dev-python/oslotest/Manifest @@ -1,3 +1,5 @@ DIST oslotest-3.2.0.tar.gz 35445 BLAKE2B d33c70e760fc595586c2d7b0ce6ed1f63b73c89ba078f85b70d3b6b1af1c4d115e6eb7b431f9ef52abf50290eb47a1d3adb2d014c2ba5cf7b93ecf0e46401a26 SHA512 4513291e2bec939f9734255cb0fe3f85b9eb8a8cadce58873ad4e85365a0ec27bc2084085f5b95b681b5e811b62458e18fe63aff1e022b2d8ace0ca48bd6a527 -EBUILD oslotest-3.2.0.ebuild 1544 BLAKE2B ed53d417a9646fbabd85d62de012b86fd1787824021ab90d6e30706413bd6f1f081e20452143cf935a2324fe07051466ea04134235da161af297ed39779be5ce SHA512 1540a7b0dc87af512339cd7dad58d2c59122dad666569736fdf4fdfa9b4ed67d796721e126c282176dfaee4e1a5ec98bc963aabb0042b728b9684d17f1c03cf3 +DIST oslotest-3.7.1.tar.gz 38176 BLAKE2B 94924dca8384dcc8ba9e4f62220eb6d29b27b38966ffce7dddbd23d5c5e66493141ce4170565325a0516648db186a0171cd33de6d536bb8ed5cdef76161d4f94 SHA512 dfc55bc91ebd8ef448d4c69b2af51b8f2a9f2068b2ef2ec1cfbcfffc27eff7ccafb00dc2a3059730427aecbcd815f9dee2f00b8c74df154c8dbb95793aff7e78 +EBUILD oslotest-3.2.0.ebuild 1542 BLAKE2B 34e8fdddfeeb6f8248719777381dee59f1557602673a819f73c35b8b483e9e683f3bab23c032fd3aa32d13317cea38812ca10a75fadb2ff689917b9823e6a5ad SHA512 157dcbd13479262ebd041e9ce7d0e7c76e7f6c0011f12620ff89c7f41cca658642e860f6d12bd7a4fff82e80c05e9a3026c03e6cca6bc784db0e8041f5522d4b +EBUILD oslotest-3.7.1.ebuild 1724 BLAKE2B cd40bfac47ce0d910c29436dfb09e0a83d9df594e69146f41a3891228db189fcc777f7e8080e14cf634b582c91426249d74735e4f314b48aca7f4f113d95025e SHA512 08cec364b2e1a303c1df4b12b4dbc85b43f21e53861f3e5bcbd7e5ba2f14676facfbc841e62de570688c045fa99256cf1d7d62d406321d38785169e660ea8cfa MISC metadata.xml 828 BLAKE2B a328982018731cc93cda675447ce2ba308e9164e8762df10a267c6b82389a717f16b5ba6d9843503e12a458f3ad5a726ce648f80e9ff781aeb429bd9034632f6 SHA512 48a68782c8ef2a15db7c73f03dbd4670b8ca25a6cfcf0c15d4585a93a75cc4591fb6edb70f7176cd72c97d1205ef8e5e898eafa9fca41ed0b00023bff93f966d diff --git a/dev-python/oslotest/oslotest-3.2.0.ebuild b/dev-python/oslotest/oslotest-3.2.0.ebuild index 7bfb790ad183..c87178c5c05b 100644 --- a/dev-python/oslotest/oslotest-3.2.0.ebuild +++ b/dev-python/oslotest/oslotest-3.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) inherit distutils-r1 diff --git a/dev-python/oslotest/oslotest-3.7.1.ebuild b/dev-python/oslotest/oslotest-3.7.1.ebuild new file mode 100644 index 000000000000..ad830deef86d --- /dev/null +++ b/dev-python/oslotest/oslotest-3.7.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Oslo test framework" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.6.7[${PYTHON_USEDEP}] + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/mox3-0.20.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] +" + +python_compile_all() { + if use doc; then + esetup.py build_sphinx -b man + fi +} + +python_test() { + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +} + +python_install_all() { + if use doc; then + doman doc/build/man/oslotest.1 + fi + + distutils-r1_python_install_all +} |