public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/
Date: Sun, 17 Jun 2018 20:25:10 +0000 (UTC)	[thread overview]
Message-ID: <1529267092.44c23f0ca11a9ccb952e95b526a0233200884121.soap@gentoo> (raw)

commit:     44c23f0ca11a9ccb952e95b526a0233200884121
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sun Jun 17 17:57:34 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 17 20:24:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c23f0c

dev-python/pygal: bump to 2.4.0; add doc, tests and examples

Also make sure Python has xml support and add setuptools to DEPEND
because pkg_resources is used.

Closes: https://bugs.gentoo.org/650062
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pygal/Manifest           |  1 +
 dev-python/pygal/pygal-2.4.0.ebuild | 62 +++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest
index 3a2d1f86e08..706caacf92a 100644
--- a/dev-python/pygal/Manifest
+++ b/dev-python/pygal/Manifest
@@ -1 +1,2 @@
 DIST pygal-2.1.1.tar.gz 69757 BLAKE2B d79e65c374e9d191a8e6671fd3bebfee4680c46b54ae141db74d67a08696e8bfa9ef88dcbb07ebf9e267fa5a7024b97a0c9f91f056753caf169e0518a6f49786 SHA512 79851bd6278a3a71f067ea11f273fcd0755ac0ab2ba51266b161fff1f3b49d690bc2a1b3432255da4f3cd5b9cfcff570d713d0bbfaf6f2dfe5b6f922989c72bd
+DIST pygal-2.4.0.tar.gz 4554802 BLAKE2B 9627558e734420bfb3137989d0cc1978a0a06a597d3d5d071e13653876a4bb3266f12f1a8a358076619d997998754c29ee75058356ba66da64b112a24c2cbe2a SHA512 d69fbcff3792cb0b952addc3bfbaea76628d5546482c291ef217c592a820a73a65b1eb522c5d7877e7a794d19b74636126d99a4ff280e8467ab07a95000ba823

diff --git a/dev-python/pygal/pygal-2.4.0.ebuild b/dev-python/pygal/pygal-2.4.0.ebuild
new file mode 100644
index 00000000000..43ff035e62b
--- /dev/null
+++ b/dev-python/pygal/pygal-2.4.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+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"
+IUSE="doc examples test"
+
+RDEPEND="
+	dev-python/lxml[${PYTHON_USEDEP}]
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	media-gfx/cairosvg[${PYTHON_USEDEP}]
+"
+DEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+	test? (
+		${RDEPEND}
+		dev-python/pyquery[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)
+"
+
+# CHANGELOG is a symlink to docs/changelog.rst
+DOCS=( docs/changelog.rst README.md )
+
+python_prepare_all() {
+	sed -i "/sphinx.ext.intersphinx/d" docs/conf.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	if use doc; then
+		sphinx-build docs docs/_build/html || die
+		HTML_DOCS=( docs/_build/html/. )
+	fi
+}
+
+python_test() {
+	py.test || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+	if use examples; then
+		docinto examples
+		dodoc -r demo/.
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2018-06-17 20:25 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-17 20:25 David Seifert [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-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-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=1529267092.44c23f0ca11a9ccb952e95b526a0233200884121.soap@gentoo \
    --to=soap@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