diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/python-ceilometerclient | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/python-ceilometerclient')
-rw-r--r-- | dev-python/python-ceilometerclient/Manifest | 3 | ||||
-rw-r--r-- | dev-python/python-ceilometerclient/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild | 59 |
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/python-ceilometerclient/Manifest b/dev-python/python-ceilometerclient/Manifest new file mode 100644 index 000000000000..6c149ea9643d --- /dev/null +++ b/dev-python/python-ceilometerclient/Manifest @@ -0,0 +1,3 @@ +DIST python-ceilometerclient-2.6.2.tar.gz 94001 BLAKE2B ef2d3411df3920ed6a2417dc2201b8df4242770215514415422a6f7a783a933f25fa8565497a7d8a32dc14bfd159973d6c10e9dc0bf4b1798fb9205452493822 SHA512 547df2616adbe437a751026554bf11e74ba753a3bc905fa71621d47accabcf6d4e1a67ad2516af91b5ba9600d4721a1f4bce730862fb18b63249d5334a78972d +EBUILD python-ceilometerclient-2.6.2.ebuild 1981 BLAKE2B dfa0de5d17307a5d13ca42eeed882ff7b0f9d693276aefa447ab02199b5c4703968559e4c6a6d9ab834c7a6c79202e12565570ca8d3874b14513dbe88eb98a36 SHA512 e4cd06ad9d8617a3127b523a0b8c2350ca79561c070d26f8a8bc9bddb8c268ab6cd08dcfe20a8d0ae95fd6466815671c59b6fb9d903b349bc6ff897a1709188a +MISC metadata.xml 735 BLAKE2B ce8ca993960fdd7644f464f13f3a0cfe195465064c31e2cc9b337f85c585d350f57d5c454bad50d7c3c7de6fdde1057db1d056fa3a06c10ef1656e5e12504055 SHA512 063fcd419aa753e4e3d3dca57f8d72b8e0bdbd81b708873a4f6895785f6f04865f2184b0b684992e5dc9e6e815a5fb11ea9c9c1839c5cc483219f3138966128f diff --git a/dev-python/python-ceilometerclient/metadata.xml b/dev-python/python-ceilometerclient/metadata.xml new file mode 100644 index 000000000000..d5a99cc1367a --- /dev/null +++ b/dev-python/python-ceilometerclient/metadata.xml @@ -0,0 +1,20 @@ +<?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> + <longdescription lang="en"> + This is a client library for Ceilometer built on the Ceilometer API. It + provides a Python API (the ceilometerclient module) and a command-line tool (ceilometer). + </longdescription> + <upstream> + <remote-id type="pypi">python-ceilometerclient</remote-id> + <remote-id type="github">openstack/python-ceilometerclient</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild b/dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild new file mode 100644 index 000000000000..577ee2cad98d --- /dev/null +++ b/dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 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 + +DESCRIPTION="This is a client library for Ceilometer built on the Ceilometer API" +HOMEPAGE="https://github.com/openstack/python-ceilometerclient" +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="test" + +CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + <dev-python/fixtures-2.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.2[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + )" +RDEPEND=" + ${CDEPEND} + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-2.1.0 + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] + <dev-python/prettytable-0.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.10.0[${PYTHON_USEDEP}]" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_test() { + testr init + testr run || die "tests failed under python2.7" + flake8 ceilometerclient/tests/ || die "run over tests folder by flake8 yielded error" +} |