dev-python/pydot-ng: initial import

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sébastien Fabbro
2017-01-02 05:38:06 +00:00
parent 1f1d0d72b8
commit 32b49e2f91
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pydot-ng-1.0.0.tar.gz 263582 SHA256 63ffae76adf98672ab6e87072637bdfd14b1f6fabab704bc30f2a70b31e963a8 SHA512 b0570a63f89f8c192de93e13f39d715aee987a62476ed0b4d378db0148ba3884c6ea5de6f4035dd92fce1d140b9900630096bdf408037cb430a08b561242e724 WHIRLPOOL fbe7f30b177769d614ba55d364f99226de15f302dbd54b26f2de1a010b1e37ac601fefefe76deca3a53c86683b0ad5048c3d54b070b22e4c28aec8e9f321502a

View File

@@ -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>

View File

@@ -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}"
}