diff --git a/dev-python/pydot-ng/Manifest b/dev-python/pydot-ng/Manifest new file mode 100644 index 0000000000000..c5d4a9dc7a8d9 --- /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 0000000000000..af12973d7f4ee --- /dev/null +++ b/dev-python/pydot-ng/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + Python 2 and 3 bindings for Graphviz dot language + + pydot-ng + + 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 0000000000000..53e2360f5eaba --- /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}" +}