Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/chump/
Date: Wed, 09 Sep 2020 09:45:34
Message-Id: 1599644727.29ad47b1ffd4131f4bb43a167458446908b230b0.sbraz@gentoo
1 commit: 29ad47b1ffd4131f4bb43a167458446908b230b0
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 9 09:39:12 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 9 09:45:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ad47b1
7
8 dev-python/chump: add Python 3.9 support, simplify doc build
9
10 Package-Manager: Portage-3.0.3, Repoman-2.3.23
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/chump/chump-1.6.0-r1.ebuild | 22 +++++++++++++++++++++
14 dev-python/chump/chump-1.6.0.ebuild | 36 ----------------------------------
15 2 files changed, 22 insertions(+), 36 deletions(-)
16
17 diff --git a/dev-python/chump/chump-1.6.0-r1.ebuild b/dev-python/chump/chump-1.6.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..b46f8078b77
20 --- /dev/null
21 +++ b/dev-python/chump/chump-1.6.0-r1.ebuild
22 @@ -0,0 +1,22 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="API wrapper for Pushover"
33 +HOMEPAGE="https://github.com/karanlyons/chump"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35 +
36 +LICENSE="Apache-2.0"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +
40 +# 'html_theme' is unset, meaning alabaster will be used
41 +# and sphinx depends on it
42 +distutils_enable_sphinx docs
43 +
44 +# The package has no test suite
45
46 diff --git a/dev-python/chump/chump-1.6.0.ebuild b/dev-python/chump/chump-1.6.0.ebuild
47 deleted file mode 100644
48 index 6ee3f01c296..00000000000
49 --- a/dev-python/chump/chump-1.6.0.ebuild
50 +++ /dev/null
51 @@ -1,36 +0,0 @@
52 -# Copyright 1999-2020 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=7
56 -
57 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
58 -
59 -inherit distutils-r1
60 -
61 -DESCRIPTION="API wrapper for Pushover"
62 -HOMEPAGE="https://github.com/karanlyons/chump"
63 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64 -
65 -LICENSE="Apache-2.0"
66 -SLOT="0"
67 -KEYWORDS="~amd64 ~x86"
68 -IUSE="doc"
69 -
70 -DEPEND="
71 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
72 -"
73 -
74 -# The package has no test suite
75 -
76 -python_prepare_all() {
77 - sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die
78 - distutils-r1_python_prepare_all
79 -}
80 -
81 -python_compile_all() {
82 - if use doc; then
83 - # Force sphinx to use the standard theme
84 - READTHEDOCS=True sphinx-build docs docs/_build/html || die
85 - HTML_DOCS=( docs/_build/html/. )
86 - fi
87 -}