commit:     16b0d7d9471a0157da038123ba1b7e9f129b461c
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 17:49:21 2017 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 22:03:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16b0d7d9

dev-python/graphviz: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/graphviz/Manifest              |  1 +
 dev-python/graphviz/graphviz-0.7.1.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-python/graphviz/metadata.xml          | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest
new file mode 100644
index 00000000000..568b3903624
--- /dev/null
+++ b/dev-python/graphviz/Manifest
@@ -0,0 +1 @@
+DIST graphviz-0.7.1.zip 100779 SHA256 
c7744df945fa90791ad9b4183a6a7dc8220d63a7b8a5f8f93ba62086f1e69e83 SHA512 
e8ba326060ff3039f74902c01cf3d96c9965ce2259d0d5a9594e399added05c7e25b0f6c4b0be9ab21c1d37bbfb69e9c4856a7bb457b545185d48838d34cac70
 WHIRLPOOL 
9d81bfc82d7329e6db586f0ca3c4997446491dc1f413115ec7b4cd28cb31f5827206c3f57bad1b84d6b494d01bf751b516d6be75c4566abb639144fa9e623d54

diff --git a/dev-python/graphviz/graphviz-0.7.1.ebuild 
b/dev-python/graphviz/graphviz-0.7.1.ebuild
new file mode 100644
index 00000000000..a2327f77b8a
--- /dev/null
+++ b/dev-python/graphviz/graphviz-0.7.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_5 python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python interface for Graphviz"
+HOMEPAGE="https://graphviz.readthedocs.io/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="media-gfx/graphviz"
+DEPEND="
+       app-arch/unzip
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( ${RDEPEND}
+               >=dev-python/pytest-3.1[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+       )
+"
+
+python_test() {
+       py.test -v || die
+}

diff --git a/dev-python/graphviz/metadata.xml b/dev-python/graphviz/metadata.xml
new file mode 100644
index 00000000000..f36ba828ece
--- /dev/null
+++ b/dev-python/graphviz/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>pyt...@gentoo.org</email>
+    <name>Python</name>
+  </maintainer>
+  <longdescription>
+    This package facilitates the creation and rendering of graph
+    descriptions in the DOT language of the Graphviz graph drawing
+    software (repo) from Python.
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">graphviz</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to