dev-python/blockdiag: new package, add 3.0.0

This commit is contained in:
Alarig Le Lay 2023-03-30 12:01:46 +02:00
parent adf17020a7
commit 680ae028ca
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST blockdiag-3.0.0.tar.gz 2694464 BLAKE2B 18887a48e0aa8293703e45746ee68c7c11accfaddf11d0d02af446c769404ce1666c2587b3e212cc48f4fb09bfa6169931c42a024adb739ce9223ccec862905a SHA512 e0e588941c5212a924068cc0b3953b670089e33c385ea8ce52fc54f5ca79414fb12217eba1052c5384c9f2fd81e79304639c9604cdc4a6464f7c221bb67ef267

View File

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

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<maintainer>
<email>i.tkomiya@gmail.com</email>
<name>Takeshi Komiya</name>
</maintainer>
<remote-id type="pypi">blockdiag</remote-id>
<remote-id type="github">blockdiag/blockdiag</remote-id>
</upstream>
<longdescription>blockdiag generate block-diagram image file from spec-text
file. Additional functionality is available with <pkg>dev-python/reportlab</pkg>
(pdf's), <pkg>media-gfx/imagemagick</pkg> and an imagemagic python bindings package
named wand (available from pypi).
</longdescription>
</pkgmetadata>