commit:     fbf2c940d8e18931fc4cb2835388a73ff9848374
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 12:51:26 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 12:51:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf2c940

dev-python/grafanalib: Initial version

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/grafanalib/Manifest                |  1 +
 dev-python/grafanalib/grafanalib-0.4.0.ebuild | 27 +++++++++++++++++++++++++++
 dev-python/grafanalib/metadata.xml            | 11 +++++++++++
 3 files changed, 39 insertions(+)

diff --git a/dev-python/grafanalib/Manifest b/dev-python/grafanalib/Manifest
new file mode 100644
index 00000000000..dc8a598ec7b
--- /dev/null
+++ b/dev-python/grafanalib/Manifest
@@ -0,0 +1 @@
+DIST grafanalib-0.4.0.tar.gz 19957 BLAKE2B 
27c7a597020ab465d2a7536676d1021472cde25a669135b1efa8b18061e3c932a0262e826f4ab05dd5f5902c620167a82c56e4f534d185d4b330dc3a7f8c0619
 SHA512 
f061512f89375326d0c44854a123fe4335a6265be0f71b7df4310b21031ca4cc691e5cbe21a5fe32d2e56d72e7c8075e7369674a19887b7b03c0739a39898975

diff --git a/dev-python/grafanalib/grafanalib-0.4.0.ebuild 
b/dev-python/grafanalib/grafanalib-0.4.0.ebuild
new file mode 100644
index 00000000000..a5cdef17442
--- /dev/null
+++ b/dev-python/grafanalib/grafanalib-0.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Library for building Grafana dashboards"
+HOMEPAGE="https://github.com/weaveworks/grafanalib";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+python_test() {
+       py.test || die
+}

diff --git a/dev-python/grafanalib/metadata.xml 
b/dev-python/grafanalib/metadata.xml
new file mode 100644
index 00000000000..bd87ee4fb98
--- /dev/null
+++ b/dev-python/grafanalib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mr...@gentoo.org</email>
+    <name>Manuel Rüger</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">weaveworks/grafanalib</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to