From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/
Date: Wed, 11 Mar 2020 08:56:59 +0000 (UTC) [thread overview]
Message-ID: <1583917014.85ddb0d99d3d61f9b81968a44cbfb19c11a719c0.mgorny@gentoo> (raw)
commit: 85ddb0d99d3d61f9b81968a44cbfb19c11a719c0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 08:51:38 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 08:56:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ddb0d9
dev-python/pygal: Modernize, fix tests, py3.{7,8}
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pygal/pygal-2.4.0-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/dev-python/pygal/pygal-2.4.0-r1.ebuild b/dev-python/pygal/pygal-2.4.0-r1.ebuild
new file mode 100644
index 00000000000..f46b8e3ea1a
--- /dev/null
+++ b/dev-python/pygal/pygal-2.4.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="A python SVG charts generator"
+HOMEPAGE="http://pygal.org/"
+# PyPI tarballs do not contain docs
+# https://github.com/Kozea/pygal/pull/428
+SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ media-gfx/cairosvg[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pyquery[${PYTHON_USEDEP}]
+ dev-python/pytest[${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
+ # [pytest] section in setup.cfg files is no longer supported
+ sed -i -e 's@\[pytest\]@[tool:pytest]@' setup.cfg || die
+ distutils-r1_python_prepare_all
+}
next reply other threads:[~2020-03-11 8:57 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-11 8:56 Michał Górny [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ć
2022-01-05 21:11 Arthur Zamarin
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-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=1583917014.85ddb0d99d3d61f9b81968a44cbfb19c11a719c0.mgorny@gentoo \
--to=mgorny@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