From ced3cb209df83157a8626d40fb6c92c48bd810a9 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 9 Aug 2016 14:58:13 -0700 Subject: dev-python/blockdiag: New package, dep of buildbot-0.9 Package-Manager: portage-2.3.0 --- dev-python/blockdiag/Manifest | 1 + dev-python/blockdiag/blockdiag-1.5.3.ebuild | 46 +++++++++++++++++++++++++++++ dev-python/blockdiag/metadata.xml | 24 +++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 dev-python/blockdiag/Manifest create mode 100644 dev-python/blockdiag/blockdiag-1.5.3.ebuild create mode 100644 dev-python/blockdiag/metadata.xml (limited to 'dev-python/blockdiag') diff --git a/dev-python/blockdiag/Manifest b/dev-python/blockdiag/Manifest new file mode 100644 index 000000000000..2b45656b1e21 --- /dev/null +++ b/dev-python/blockdiag/Manifest @@ -0,0 +1 @@ +DIST blockdiag-1.5.3.tar.gz 2704391 SHA256 5ea3501fca0ca40fbacccc6f4ca177750e4b610009e021faa4868c0f6480ae8b SHA512 11ff6334d1ae50c103158db6ef9acce76116a17cfb8e0066581c234138f17fabfddd183b154f407fe95dcd414b0054aebdc22682e82a8e7595905f1ee2fd6222 WHIRLPOOL 40897fffa4c6e78d0d665123ca68c7864f4de4e1e16440a47c163ed8ac74713bff8ce4f6f1ce8d1f1d60fb02f4cc92cc2eaac1a14e1367bb7b8f1586ad220183 diff --git a/dev-python/blockdiag/blockdiag-1.5.3.ebuild b/dev-python/blockdiag/blockdiag-1.5.3.ebuild new file mode 100644 index 000000000000..bc07fb1b930b --- /dev/null +++ b/dev-python/blockdiag/blockdiag-1.5.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="blockdiag generates block-diagram image from text" +HOMEPAGE="http://blockdiag.com/ https://pypi.python.org/pypi/blockdiag/ https://bitbucket.org/blockdiag/blockdiag/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/pillow-2.2.1[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/pep8-1.3[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + sed -i -e /build-base/d setup.cfg || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + einfo "For additional functionality, install the following optional packages:" + einfo " dev-python/reportlab for pdf format" + einfo " media-gfx/imagemagick" + einfo " wand: https://pypi.python.org/pypi/Wand" + einfo " Ctypes-based simple MagickWand API binding for Python" +} diff --git a/dev-python/blockdiag/metadata.xml b/dev-python/blockdiag/metadata.xml new file mode 100644 index 000000000000..e6125c2d53d9 --- /dev/null +++ b/dev-python/blockdiag/metadata.xml @@ -0,0 +1,24 @@ + + + + + dol-sen@gentoo.org + Primary maintainer + + + python@gentoo.org + Python + + + + i.tkomiya@gmail.com + Takeshi Komiya + + blockdiag + + blockdiag generate block-diagram image file from spec-text + file. Additional functionality is available with dev-python/reportlab + (pdf's), media-gfx/imagemagick and an imagemagic python bindings package + named wand (available from pypi). + + -- cgit v1.2.3-65-gdbad