diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2016-08-09 14:58:13 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2016-08-09 16:47:21 -0700 |
commit | ced3cb209df83157a8626d40fb6c92c48bd810a9 (patch) | |
tree | 1b268825a664569f99e18cdaddd263c7d79511da /dev-python/blockdiag | |
parent | 71532b88de6248c0e9b2ce4f08eabfaa8876539c (diff) | |
download | gentoo-ced3cb209df83157a8626d40fb6c92c48bd810a9.tar.gz gentoo-ced3cb209df83157a8626d40fb6c92c48bd810a9.tar.xz |
dev-python/blockdiag: New package, dep of buildbot-0.9
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/blockdiag')
-rw-r--r-- | dev-python/blockdiag/Manifest | 1 | ||||
-rw-r--r-- | dev-python/blockdiag/blockdiag-1.5.3.ebuild | 46 | ||||
-rw-r--r-- | dev-python/blockdiag/metadata.xml | 24 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/blockdiag/Manifest b/dev-python/blockdiag/Manifest new file mode 100644 index 00000000000..2b45656b1e2 --- /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 00000000000..bc07fb1b930 --- /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 00000000000..e6125c2d53d --- /dev/null +++ b/dev-python/blockdiag/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dol-sen@gentoo.org</email> + <description>Primary maintainer</description> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <maintainer> + <email>i.tkomiya@gmail.com</email> + <name>Takeshi Komiya</name> + </maintainer> + <remote-id type="pypi">blockdiag</remote-id> + </upstream> + <longdescription>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). + </longdescription> +</pkgmetadata> |