From 680ae028ca4188a475f66e02a3af4b713ee74966 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Thu, 30 Mar 2023 12:01:46 +0200 Subject: [PATCH] dev-python/blockdiag: new package, add 3.0.0 --- dev-python/blockdiag/Manifest | 1 + dev-python/blockdiag/blockdiag-3.0.0.ebuild | 30 +++++++++++++++++++++ dev-python/blockdiag/metadata.xml | 22 +++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-python/blockdiag/Manifest create mode 100644 dev-python/blockdiag/blockdiag-3.0.0.ebuild create mode 100644 dev-python/blockdiag/metadata.xml diff --git a/dev-python/blockdiag/Manifest b/dev-python/blockdiag/Manifest new file mode 100644 index 0000000..8834ebb --- /dev/null +++ b/dev-python/blockdiag/Manifest @@ -0,0 +1 @@ +DIST blockdiag-3.0.0.tar.gz 2694464 BLAKE2B 18887a48e0aa8293703e45746ee68c7c11accfaddf11d0d02af446c769404ce1666c2587b3e212cc48f4fb09bfa6169931c42a024adb739ce9223ccec862905a SHA512 e0e588941c5212a924068cc0b3953b670089e33c385ea8ce52fc54f5ca79414fb12217eba1052c5384c9f2fd81e79304639c9604cdc4a6464f7c221bb67ef267 diff --git a/dev-python/blockdiag/blockdiag-3.0.0.ebuild b/dev-python/blockdiag/blockdiag-3.0.0.ebuild new file mode 100644 index 0000000..1e792a4 --- /dev/null +++ b/dev-python/blockdiag/blockdiag-3.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_USE_SETUPTOOLS="rdepend" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Generate block-diagram image from text" +HOMEPAGE="http://blockdiag.com/ https://pypi.org/project/blockdiag/ https://github.com/blockdiag/blockdiag/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/funcparserlib-1.0.0_alpha0[${PYTHON_USEDEP}] + >=dev-python/pillow-3.0.0[${PYTHON_USEDEP}] + dev-python/webcolors[${PYTHON_USEDEP}] +" +BDEPEND="" + +pkg_postinst() { + # TODO: Better descriptions! + optfeature "PDF format" dev-python/reportlab + optfeature "misc extra support" media-gfx/imagemagick + optfeature "Ctypes-based simple MagickWand API binding for Python" dev-python/wand +} diff --git a/dev-python/blockdiag/metadata.xml b/dev-python/blockdiag/metadata.xml new file mode 100644 index 0000000..4162bc2 --- /dev/null +++ b/dev-python/blockdiag/metadata.xml @@ -0,0 +1,22 @@ + + + + + python@gentoo.org + Python + + + + + i.tkomiya@gmail.com + Takeshi Komiya + + blockdiag + blockdiag/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). + +