public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/
Date: Wed,  5 Jan 2022 21:11:47 +0000 (UTC)	[thread overview]
Message-ID: <1641417100.e818cd3773f3d5332609cb3675f396dae7fd41b9.arthurzam@gentoo> (raw)

commit:     e818cd3773f3d5332609cb3675f396dae7fd41b9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 21:07:02 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 21:11:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e818cd37

dev-python/pygal: set dependencies as optional

Closes: https://bugs.gentoo.org/638028
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pygal/pygal-3.0.0-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/dev-python/pygal/pygal-3.0.0-r1.ebuild b/dev-python/pygal/pygal-3.0.0-r1.ebuild
new file mode 100644
index 000000000000..fa1e92660d0c
--- /dev/null
+++ b/dev-python/pygal/pygal-3.0.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A python SVG charts generator"
+HOMEPAGE="https://github.com/Kozea/pygal/"
+SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+	test? (
+		dev-python/lxml[${PYTHON_USEDEP}]
+		dev-python/pyquery[${PYTHON_USEDEP}]
+		media-gfx/cairosvg[${PYTHON_USEDEP}]
+	)
+"
+
+# CHANGELOG is a symlink to docs/changelog.rst
+DOCS=( docs/changelog.rst README.md )
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# Not actually required unless we want to do setup.py test
+	# https://github.com/Kozea/pygal/issues/430
+	sed -i -e "/setup_requires/d" setup.py || die
+	distutils-r1_python_prepare_all
+}
+
+pkg_postinst() {
+	optfeature "improving rendering speed" "dev-python/lxml"
+	optfeature "png rendering" "dev-python/cairosvg"
+}


             reply	other threads:[~2022-01-05 21:11 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 21:11 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-31  9:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/ Michał Górny
2024-08-31  7:51 Jakov Smolić
2024-08-13  4:55 Michał Górny
2024-07-06 18:09 Michał Górny
2024-03-06  3:37 Sam James
2024-01-28 19:37 Michał Górny
2023-12-09 20:01 Michał Górny
2023-12-09 19:00 Arthur Zamarin
2023-12-09 15:54 Michał Górny
2023-12-09 15:30 Michał Górny
2023-11-23 18:55 Michał Górny
2023-11-21 19:05 Michał Górny
2023-11-21  4:44 Michał Górny
2023-11-07 16:02 Michał Górny
2023-03-20  5:36 Michał Górny
2023-03-19 20:06 Sam James
2023-02-17  7:17 Sam James
2023-02-17  7:15 Sam James
2022-04-16 15:56 Michał Górny
2022-03-28  9:17 Jakov Smolić
2022-02-26  8:34 Michał Górny
2022-02-13  9:39 Michał Górny
2022-02-13  8:41 Jakov Smolić
2021-12-25 19:09 Jakov Smolić
2021-11-25  8:11 Michał Górny
2021-08-07 12:16 Michał Górny
2021-05-18 21:27 Thomas Deutschmann
2020-05-04 11:39 Michał Górny
2020-05-03 12:28 Agostino Sarubbo
2020-03-11  8:56 Michał Górny
2020-03-11  8:56 Michał Górny
2020-02-05 19:37 Michał Górny
2018-07-21  0:06 Mikle Kolyada
2018-06-24  9:40 Mikle Kolyada
2018-06-18 22:54 Louis Sautier
2018-06-18 20:57 Louis Sautier
2018-06-17 20:25 David Seifert
2018-06-17 20:25 David Seifert
2018-03-09 23:43 Sebastian Pipping
2017-06-20 12:37 Pacho Ramos
2017-05-02 17:43 Michał Górny
2016-05-07 12:22 Pacho Ramos
2016-02-19 12:46 Patrick Lauer
2015-08-12  7:11 Ben de Groot
2015-08-12  2:02 Ian Delaney

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=1641417100.e818cd3773f3d5332609cb3675f396dae7fd41b9.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