summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-01-02 05:38:06 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-01-02 16:13:45 +0000
commit32b49e2f91a48624fcfad2ac6c4cd25267ea3e8d (patch)
tree9cff7a72932452709df156bae00c85c799c552a7 /dev-python/pydot-ng
parentdev-util/bazel: version bump (diff)
downloadgentoo-32b49e2f91a48624fcfad2ac6c4cd25267ea3e8d.tar.gz
gentoo-32b49e2f91a48624fcfad2ac6c4cd25267ea3e8d.tar.bz2
gentoo-32b49e2f91a48624fcfad2ac6c4cd25267ea3e8d.zip
dev-python/pydot-ng: initial import
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/pydot-ng')
-rw-r--r--dev-python/pydot-ng/Manifest1
-rw-r--r--dev-python/pydot-ng/metadata.xml12
-rw-r--r--dev-python/pydot-ng/pydot-ng-1.0.0.ebuild33
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pydot-ng/Manifest b/dev-python/pydot-ng/Manifest
new file mode 100644
index 000000000000..c5d4a9dc7a8d
--- /dev/null
+++ b/dev-python/pydot-ng/Manifest
@@ -0,0 +1 @@
+DIST pydot-ng-1.0.0.tar.gz 263582 SHA256 63ffae76adf98672ab6e87072637bdfd14b1f6fabab704bc30f2a70b31e963a8 SHA512 b0570a63f89f8c192de93e13f39d715aee987a62476ed0b4d378db0148ba3884c6ea5de6f4035dd92fce1d140b9900630096bdf408037cb430a08b561242e724 WHIRLPOOL fbe7f30b177769d614ba55d364f99226de15f302dbd54b26f2de1a010b1e37ac601fefefe76deca3a53c86683b0ad5048c3d54b070b22e4c28aec8e9f321502a
diff --git a/dev-python/pydot-ng/metadata.xml b/dev-python/pydot-ng/metadata.xml
new file mode 100644
index 000000000000..af12973d7f4e
--- /dev/null
+++ b/dev-python/pydot-ng/metadata.xml
@@ -0,0 +1,12 @@
+<?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>Python 2 and 3 bindings for Graphviz dot language</longdescription>
+ <upstream>
+ <remote-id type="pypi">pydot-ng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
new file mode 100644
index 000000000000..53e2360f5eab
--- /dev/null
+++ b/dev-python/pydot-ng/pydot-ng-1.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to Graphviz's Dot language next gen"
+HOMEPAGE="https://github.com/pydot/pydot-ng"
+SRC_URI="https://github.com/pydot/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="test"
+
+RDEPEND="
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ media-gfx/graphviz"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/unittest2[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ "${PYTHON}" -m pytest test || die "tests failed under ${EPYTHON}"
+}