dev-python/graphviz: initial import
authorSébastien Fabbro <bicatali@gentoo.org>
Thu, 29 Jun 2017 17:49:21 +0000 (17:49 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 29 Jun 2017 22:03:19 +0000 (22:03 +0000)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-python/graphviz/Manifest [new file with mode: 0644]
dev-python/graphviz/graphviz-0.7.1.ebuild [new file with mode: 0644]
dev-python/graphviz/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest
new file mode 100644 (file)
index 0000000..568b390
--- /dev/null
@@ -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 (file)
index 0000000..a2327f7
--- /dev/null
@@ -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 (file)
index 0000000..f36ba82
--- /dev/null
@@ -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>python@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>