diff options
Diffstat (limited to 'dev-python/tempest-lib')
-rw-r--r-- | dev-python/tempest-lib/Manifest | 5 | ||||
-rw-r--r-- | dev-python/tempest-lib/metadata.xml | 23 | ||||
-rw-r--r-- | dev-python/tempest-lib/tempest-lib-1.0.0.ebuild | 63 |
3 files changed, 91 insertions, 0 deletions
diff --git a/dev-python/tempest-lib/Manifest b/dev-python/tempest-lib/Manifest new file mode 100644 index 000000000000..c6c303866ba5 --- /dev/null +++ b/dev-python/tempest-lib/Manifest @@ -0,0 +1,5 @@ +DIST tempest-lib-1.0.0.tar.gz 115527 SHA256 c5629d9c45427c7b3716815016125402d38082be9a4e2d6112ed7255f916f7b2 SHA512 e47716d897c2df4be08b863352cbee986194db00d113a9135d57cc440436c97dea5c009d6a24c4b489360b04585b2a54a9b66a5776d17a988dfb9f0baf57e484 WHIRLPOOL 52478d08ca68f74689a87cdad0adf5ec56fcea0fa78b1a28ccdcbe7110fc88914d275625dd3f0ff4606ffc340bb196df3efefa8b7f010eeee0f82d78b9600ca9 +EBUILD tempest-lib-1.0.0.ebuild 2077 SHA256 93d0e4ad13e5e9c9059a3273d68f3d0b7054715be0557ab1cf4807d779b3b123 SHA512 7f983f0c4b3f6ee79e7a15611147d0d8ece94426775e8c976fa4accf5d188c8abf777cd6583ca98ad7f71f7a87c3a7a9bbedc2e1419ec24749ad32b802a6eed9 WHIRLPOOL 45590bdfb28cceb8a6919e61ac4ba1c393b6feb5a2d88eca8afe4b625e57197474578b10602f795a505b603b06262d122e4516152a0ced3b6939467814ff8673 +MISC ChangeLog 4279 SHA256 cb0994d3f4deb6d0d64be053a0ee1c81b9e074254685756ee3e911cae3be4d0e SHA512 ecc42e4c76e83d9faa1269987488ba3a80be74bc7b112b6e3c19cfc5743ace754a128f9387ccce1d99006298438c8cbae40674dc7d4f85e12bd69d905e44928c WHIRLPOOL 18ab88653cc1c45a5dcd977cbdfd1e4f33a2049dd757f3b3ce865f83ee275fb72b7b6ee992e3a239f555f41ec040732b04f145e37e9ab27da8b3a2936402612a +MISC ChangeLog-2015 1067 SHA256 350211b05674a2d52351e8b2fb7c27205585b4f01ea3d0642a9876ce858b3d0a SHA512 680c003b1e7632603e67518111e8cd857aaa7fb7cbbf2b6c238bcbf6055e24e8409092d432218136b09d9dc802d1cf2f6c17d05c1bba6bf5cedbf45b058f1bda WHIRLPOOL 299a96f7a41da66440f74827389701001576d31db95109524d96b37e4e08537c5fe6f3ca72b534e9b748fd3028f05ada55aa60df695e826a8ecdcc1f2f594124 +MISC metadata.xml 783 SHA256 b85597c6fe6daf5a702a68b6c95a03e50e3c5125d6d537341ee305f9452d267b SHA512 4c90ae3bab98585854785700c90545fcd89ef89e5f11f8f53a102a67f59342a347f683f98429cec498537a6c2307d36cad3f0f4c9bd0e7f12af75090f8d14dad WHIRLPOOL b1edea48eaa29ab41673742a6549c468a4fc8cdea0a66e94f5d43e2e143c2cb924f5f93b2d13fae1b8c3418afe4e565428d5c8ff37c82285f991347cb21e2ba5 diff --git a/dev-python/tempest-lib/metadata.xml b/dev-python/tempest-lib/metadata.xml new file mode 100644 index 000000000000..e8cdcbed4457 --- /dev/null +++ b/dev-python/tempest-lib/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> +tempest-lib is a library of common functionality that was originally in tempest (or similar in scope to tempest) +</longdescription> + <upstream> + <remote-id type="pypi">tempest-lib</remote-id> + <remote-id type="github">openstack/tempest-lib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tempest-lib/tempest-lib-1.0.0.ebuild b/dev-python/tempest-lib/tempest-lib-1.0.0.ebuild new file mode 100644 index 000000000000..14583f1d8db7 --- /dev/null +++ b/dev-python/tempest-lib/tempest-lib-1.0.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5}} ) + +inherit distutils-r1 + +DESCRIPTION="Functional or integrated test suites for OpenStack projects" +HOMEPAGE="https://pypi.python.org/pypi/tempest-lib https://github.com/openstack/tempest-lib" +SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test" + +CDEPEND=" + >=dev-python/pbr-1.6[${PYTHON_USEDEP}] +" +RDEPEND=" + ${CDEPEND} + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}] + !~dev-python/jsonschema-2.5.0[${PYTHON_USEDEP}] + <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] + >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.16.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] + >=dev-python/os-testr-0.4.1[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + test? ( ${RDEPEND} + >=dev-python/hacking-0.10[${PYTHON_USEDEP}] + <dev-python/hacking-0.11[${PYTHON_USEDEP}] + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${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}] + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${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/mock-1.2[${PYTHON_USEDEP}] + >=dev-python/ddt-0.7.0[${PYTHON_USEDEP}] + >=dev-python/reno-0.1.1[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests tempest_lib/tests || die "Tests fail with ${EPYTHON}" +} |