From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/blockdiag/
Date: Wed, 8 Dec 2021 17:08:50 +0000 (UTC) [thread overview]
Message-ID: <1638983321.1cabc7117f470fe53dc9eff4c336295188f7e052.arthurzam@gentoo> (raw)
commit: 1cabc7117f470fe53dc9eff4c336295188f7e052
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 8 16:30:25 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 8 17:08:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cabc711
dev-python/blockdiag: add 3.0.0
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/blockdiag/Manifest | 1 +
dev-python/blockdiag/blockdiag-3.0.0.ebuild | 58 +++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/blockdiag/Manifest b/dev-python/blockdiag/Manifest
index 8ef8fa233e2d..286c03c13870 100644
--- a/dev-python/blockdiag/Manifest
+++ b/dev-python/blockdiag/Manifest
@@ -1 +1,2 @@
DIST blockdiag-2.0.1.tar.gz 2694776 BLAKE2B 289bbeab89dff4e8274efb9e2061b1e412e29bfbd663f64b55346ee09d09279e0813347c51b6cdc9e547b417eba637a85f7cb37f48006467bfa1c9875a113971 SHA512 07690882b05d4cf7be04245e183a7c54d9cd4acab3bb4b5e170b7b0f9229d6ea42eba4dc9fab47604c1572d3c4b09de96cffb610c0c31882b9c0b150f0e76d89
+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 000000000000..a71507b524a3
--- /dev/null
+++ b/dev-python/blockdiag/blockdiag-3.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS="rdepend"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Generate block-diagram image from text"
+HOMEPAGE="http://blockdiag.com/ https://pypi.org/project/blockdiag/ https://github.com/blockdiag/blockdiag/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~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="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ media-fonts/ja-ipafonts
+ )
+"
+
+distutils_enable_tests --install nose
+
+python_prepare_all() {
+ # disable tests requiring Internet access
+ sed -e 's:test_app_cleans_up_images:_&:' \
+ -i src/blockdiag/tests/test_command.py || die
+ sed -e 's:ghostscript_not_found_test:_&:' \
+ -i src/blockdiag/tests/test_generate_diagram.py || die
+ rm src/blockdiag/tests/diagrams/node_icon.diag || die
+
+ # By some reason it is needed - recheck on next bump
+ touch src/blockdiag/tests/diagrams/invalid.txt || die
+
+ distutils-r1_python_prepare_all
+}
+
+src_test() {
+ ALL_TESTS=1 distutils-r1_src_test
+}
+
+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
+}
next reply other threads:[~2021-12-08 17:08 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 17:08 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-16 3:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/blockdiag/ Michał Górny
2022-04-26 3:07 Sam James
2022-01-08 16:56 Michał Górny
2022-01-08 13:40 Arthur Zamarin
2021-07-27 23:11 Marek Szuba
2021-06-22 21:28 Michał Górny
2021-03-04 4:19 Sam James
2020-11-26 19:08 Sam James
2020-11-26 13:21 Sam James
2020-10-10 8:46 Sergei Trofimovich
2020-10-09 8:31 Agostino Sarubbo
2020-10-07 1:02 Sam James
2020-10-04 19:49 Sergei Trofimovich
2020-10-01 17:29 Sergei Trofimovich
2020-09-30 20:26 Sam James
2020-09-27 6:42 Matt Turner
2020-09-24 6:59 Agostino Sarubbo
2020-09-23 7:29 Michał Górny
2020-09-13 4:55 Sam James
2020-09-13 3:31 Sam James
2020-08-25 10:23 Sam James
2020-08-20 16:03 Brian Dolbec
2020-08-18 21:53 Sergei Trofimovich
2020-03-26 13:49 Michał Górny
2020-03-17 7:23 Michał Górny
2020-02-05 13:24 Michał Górny
2019-07-31 14:32 Mikle Kolyada
2019-07-31 14:32 Mikle Kolyada
2019-07-14 12:27 Michał Górny
2019-04-27 11:49 Anthony G. Basile
2019-03-16 23:17 Anthony G. Basile
2018-06-27 15:24 Brian Dolbec
2017-04-22 10:18 Michał Górny
2017-04-22 10:18 Michał Górny
2017-04-22 10:18 Michał Górny
2016-10-22 1:26 Brian Dolbec
2016-08-09 23:52 Brian Dolbec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638983321.1cabc7117f470fe53dc9eff4c336295188f7e052.arthurzam@gentoo \
--to=arthurzam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox