diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/oslotest |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/oslotest')
-rw-r--r-- | dev-python/oslotest/Manifest | 5 | ||||
-rw-r--r-- | dev-python/oslotest/metadata.xml | 25 | ||||
-rw-r--r-- | dev-python/oslotest/oslotest-2.4.0.ebuild | 62 |
3 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest new file mode 100644 index 000000000000..21a6d24d62c3 --- /dev/null +++ b/dev-python/oslotest/Manifest @@ -0,0 +1,5 @@ +DIST oslotest-2.4.0.tar.gz 26392 SHA256 cad9a20b4c26a691e947b826c37ea393c35384ff3d9091ac83c8ad4201795b0d SHA512 20dfbf555741e72cd9ba41c0432e8c8af01ae7c07a9a740f71055f900a994790b420aa062313a59cdfddf4c80b7ca2aa0ee9ae2ee645ad525cbafeae3db68886 WHIRLPOOL e8a5b8dc30bf2aa68e58c07d3a9e2067aa8d037022d22bdc9351950d70f922b61ec7e907652ae04886cd918bccf84ec4f409dc0604cb2a34af87780f1912fba2 +EBUILD oslotest-2.4.0.ebuild 1720 SHA256 0842d60f280b8f1bb6fc732261c0d908697ab3fd9dff24a154d3c5250b712994 SHA512 aca409a3cfff3da8358de290b7bd119a2a13a9b0e4c142cefd8ecd29230dacf4e84fe70f196bd0e4e415f8e263b300210d56c0dae057b2ea68ff030549fe86f1 WHIRLPOOL 691cdf870ce986e804a1cdae0fa95d93f53681aceb30ce8ab113996e1b009efd860cfa330fb3997ebe3e36a0ea09051b2b54cf7d09dc3d1dfb2deb8cf9aba7b7 +MISC ChangeLog 5982 SHA256 16f3333b64b379e9e143f1d3761c894a3bccb775854d9a2a577985b75ee24acb SHA512 bb3aa25e86d8ff5dd2c87b27f7faaa10d97072d4f785f958ce5f24706641da9bdac1447ae64376b4d086d38d03c1f2c96ddbcede494742ab379abefdcc192ac2 WHIRLPOOL e6a7bd56e4c6461a74bbba7d16a158878564f97f4ce1635e0ca7f2edcbe71588544a6989615cb18ae82a0ffcc65e940a2ebf78733790e540a7be977704344365 +MISC ChangeLog-2015 2605 SHA256 53d254aaf16184baa78d9c1c579eb8d675ad4aca367c7de0a9870a9b9dabc80c SHA512 cb277786f6429f85e4904b840691994b545bf4e5224d2ec1e6d22ac2dc037804fbf001ee4aedc6c7c5292d807c2db5572c0d21758678c5131caeed93aac1590e WHIRLPOOL d0e8403dd75a6f6967e66646a8b81c7676aa602be3d5184558b005378d0acebc02ef75a7747cce329ab7b7d7f4d04e251682c584f94102a5248342437adcb5e8 +MISC metadata.xml 829 SHA256 ed78386702ca48b01218c8879befd432acb13823b88ecac557a20f65dee9b6ae SHA512 4e4ddfb87a10f3088508c1b8d4588aafcdc762b267288904d2c672b7fac26ea0d79ee18a33a01ee2d71e9867d30b0b5cda2de648daea4bff89be50b896bce36e WHIRLPOOL fc428a65b676e8c0ccbdaa02942a5b586c8cc5d0630a8c6e57312eec92fb5eebd94efdb1e94f4c7dc5965f552d76fb5263bf8bc9a7417b68ebeece124bb9243c diff --git a/dev-python/oslotest/metadata.xml b/dev-python/oslotest/metadata.xml new file mode 100644 index 000000000000..7225a0489225 --- /dev/null +++ b/dev-python/oslotest/metadata.xml @@ -0,0 +1,25 @@ +<?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"> + OpenStack test framework and test fixtures + The oslotest package is cross-tested against its consuming projects to + ensure that no changes to the library break the tests in those other projects. + </longdescription> + <upstream> + <remote-id type="pypi">oslotest</remote-id> + <remote-id type="launchpad">oslo</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/oslotest/oslotest-2.4.0.ebuild b/dev-python/oslotest/oslotest-2.4.0.ebuild new file mode 100644 index 000000000000..615478411aae --- /dev/null +++ b/dev-python/oslotest/oslotest-2.4.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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-3.7.0[${PYTHON_USEDEP}] ) + >=dev-python/oslo-sphinx-2.5.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=" + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/six-1.9.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/mox3-0.7.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.13.1[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] +" + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + else + 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() { + doman doc/build/man/oslotest.1 + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} |