Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygal/
Date: Mon, 04 May 2020 11:39:13
Message-Id: 1588592331.bd926104d3be4329cd817541422ed82f699cb9c0.mgorny@gentoo
1 commit: bd926104d3be4329cd817541422ed82f699cb9c0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 11:38:51 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 11:38:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd926104
7
8 dev-python/pygal: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygal/pygal-2.4.0.ebuild | 66 -------------------------------------
13 1 file changed, 66 deletions(-)
14
15 diff --git a/dev-python/pygal/pygal-2.4.0.ebuild b/dev-python/pygal/pygal-2.4.0.ebuild
16 deleted file mode 100644
17 index b50eb480cab..00000000000
18 --- a/dev-python/pygal/pygal-2.4.0.ebuild
19 +++ /dev/null
20 @@ -1,66 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -PYTHON_COMPAT=( python3_6 )
26 -PYTHON_REQ_USE="xml(+)"
27 -
28 -inherit distutils-r1
29 -
30 -DESCRIPTION="A python SVG charts generator"
31 -HOMEPAGE="https://github.com/Kozea/pygal/"
32 -# PyPI tarballs do not contain docs
33 -# https://github.com/Kozea/pygal/pull/428
34 -SRC_URI="https://github.com/Kozea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
35 -
36 -LICENSE="LGPL-3+"
37 -SLOT="0"
38 -KEYWORDS="amd64 x86"
39 -IUSE="doc examples test"
40 -RESTRICT="!test? ( test )"
41 -
42 -RDEPEND="
43 - dev-python/lxml[${PYTHON_USEDEP}]
44 - dev-python/setuptools[${PYTHON_USEDEP}]
45 - media-gfx/cairosvg[${PYTHON_USEDEP}]
46 -"
47 -DEPEND="
48 - dev-python/setuptools[${PYTHON_USEDEP}]
49 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
50 - test? (
51 - ${RDEPEND}
52 - dev-python/pyquery[${PYTHON_USEDEP}]
53 - dev-python/pytest[${PYTHON_USEDEP}]
54 - )
55 -"
56 -
57 -# CHANGELOG is a symlink to docs/changelog.rst
58 -DOCS=( docs/changelog.rst README.md )
59 -
60 -python_prepare_all() {
61 - sed -i "/sphinx.ext.intersphinx/d" docs/conf.py || die
62 - # Not actually required unless we want to do setup.py test
63 - # https://github.com/Kozea/pygal/issues/430
64 - sed -i "s/'pytest-runner'\(,\)\?//" setup.py || die
65 - distutils-r1_python_prepare_all
66 -}
67 -
68 -python_compile_all() {
69 - if use doc; then
70 - sphinx-build docs docs/_build/html || die
71 - HTML_DOCS=( docs/_build/html/. )
72 - fi
73 -}
74 -
75 -python_test() {
76 - py.test || die "tests failed with ${EPYTHON}"
77 -}
78 -
79 -python_install_all() {
80 - if use examples; then
81 - docinto examples
82 - dodoc -r demo/.
83 - docompress -x /usr/share/doc/${PF}/examples
84 - fi
85 - distutils-r1_python_install_all
86 -}