From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/blockdiag/
Date: Thu, 4 Mar 2021 04:19:51 +0000 (UTC) [thread overview]
Message-ID: <1614829761.714e3a839293788d17d197f69a0e45517a9a8b01.sam@gentoo> (raw)
commit: 714e3a839293788d17d197f69a0e45517a9a8b01
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 4 03:33:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 4 03:49:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714e3a83
dev-python/blockdiag: Python 3.9, optfeature
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/blockdiag/blockdiag-2.0.1.ebuild | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/dev-python/blockdiag/blockdiag-2.0.1.ebuild b/dev-python/blockdiag/blockdiag-2.0.1.ebuild
index a0667c900eb..74b07ea3454 100644
--- a/dev-python/blockdiag/blockdiag-2.0.1.ebuild
+++ b/dev-python/blockdiag/blockdiag-2.0.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS="rdepend"
-inherit distutils-r1
+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/"
@@ -25,7 +25,6 @@ RDEPEND="
"
DEPEND="
test? (
- ${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/reportlab[${PYTHON_USEDEP}]
@@ -34,6 +33,8 @@ DEPEND="
)
"
+distutils_enable_tests setup.py
+
python_prepare_all() {
sed -i -e /build-base/d setup.cfg || die
# unnecessary dep
@@ -48,14 +49,10 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-python_test() {
- esetup.py test
-}
-
pkg_postinst() {
+ # TODO: Better descriptions!
einfo "For additional functionality, install the following optional packages:"
- einfo " dev-python/reportlab for pdf format"
- einfo " media-gfx/imagemagick"
- einfo " wand: https://pypi.org/project/Wand"
- einfo " Ctypes-based simple MagickWand API binding for Python"
+ optfeature "for 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-03-04 4:19 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 4:19 Sam James [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-12-08 17:08 Arthur Zamarin
2021-07-27 23:11 Marek Szuba
2021-06-22 21:28 Michał Górny
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=1614829761.714e3a839293788d17d197f69a0e45517a9a8b01.sam@gentoo \
--to=sam@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