summaryrefslogtreecommitdiff
path: root/dev-python/python-ceilometerclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-ceilometerclient
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-ceilometerclient')
-rw-r--r--dev-python/python-ceilometerclient/Manifest5
-rw-r--r--dev-python/python-ceilometerclient/metadata.xml20
-rw-r--r--dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild59
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/python-ceilometerclient/Manifest b/dev-python/python-ceilometerclient/Manifest
new file mode 100644
index 000000000000..acf482c662c1
--- /dev/null
+++ b/dev-python/python-ceilometerclient/Manifest
@@ -0,0 +1,5 @@
+DIST python-ceilometerclient-2.6.2.tar.gz 94001 SHA256 cc2f11868985b50081b36a212f2bbd30dc646c938971b3ec5dcb32e3aae933b1 SHA512 547df2616adbe437a751026554bf11e74ba753a3bc905fa71621d47accabcf6d4e1a67ad2516af91b5ba9600d4721a1f4bce730862fb18b63249d5334a78972d WHIRLPOOL 9351ed84232742bf50d139fffd4ea59ebbc1b93c48c82df15b1a43756c487d0ea89f8368184ca72a4a9ecb793fa16f4960e853d4958f10c8d0d3f556bf4a1e53
+EBUILD python-ceilometerclient-2.6.2.ebuild 1985 SHA256 cc846329befee5910223d07236e6e7b83b3b5605096ae97e93ff35ab1e406b83 SHA512 803afea016186c5ca220048568fed8ab46d76f058fd787b3e89f2d7e11bd620be2d992e506f23d90df79a743691eb968f0bc9be9ff8c3dd388e25878917aeb0f WHIRLPOOL 006034fbbd1a5e6c64ebe743f6fd74894c87474bf4befdd97138babcdf9ceac5a96136b1301931f101c7d5e1f9e3e6e8df4d17e6673612114a325a3117964f7d
+MISC ChangeLog 3950 SHA256 0a7b55e8e64ed3a07d921a3cb9b10922a8fa80b23639972bdff7255085d528bb SHA512 821a52e39e48db6c0e9a2d3b7b851c09f141b3b96c6d011ee64118f2cb10b496288b629367335745918980329142a344bcd8c5740ef5ac6f408b08a35f39dee8 WHIRLPOOL 3d0774723cdf4a2925e4a6027279c191eeeb769ce5fa6119ce25d15ab89952f0d6faa5c9be3ec696d62294c0feaedb7703a44f848f0e569d08e9b48234e7d417
+MISC ChangeLog-2015 1627 SHA256 cd76b49bea0b7fccbd2c8be23d2f1baeeab4689ccf60b9bca8f7014945027e31 SHA512 19ac44beff7f01b639bef60aa112e949d24eb7be8da92005b2598d57cfbbfeea662027e88488c8a6063996efa5f4f3f2d86709bf04793090a0fc8133b4593c56 WHIRLPOOL fc2bf20da0c998a8b8fb5faedeca17134632e082882154480d55e4e8f20ea9f0bf6f56b358af1a2b6705202b8648ca1bdbc7118a8146c092f1fef0bc9aa41ac4
+MISC metadata.xml 737 SHA256 302a457a91474cd707e92da7944b14471046bb02584c4fce8e603677941578a5 SHA512 6ab1a85cf5af8742c0fba38fad7ac354dfc11d0ee6a1a4753e7e0ff9ba04cf74f62f72880a6d3dc675282e962fc493be405dad0879f56e62b55ae680454480f5 WHIRLPOOL 2f739200ba81df9b603336ac3905511060e202a93bd79167da6150ea9a16f21e67846d53cf786b6fe6ed9a1ad863f571a91921d70e4d30ffabd948c472ed668b
diff --git a/dev-python/python-ceilometerclient/metadata.xml b/dev-python/python-ceilometerclient/metadata.xml
new file mode 100644
index 000000000000..4fa2fa31beba
--- /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..b3a50f3da657
--- /dev/null
+++ b/dev-python/python-ceilometerclient/python-ceilometerclient-2.6.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+
+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"
+}