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/sphinxcontrib-htmlhelp/
Date: Mon, 02 Mar 2020 15:16:47
Message-Id: 1583162196.12e588002560b28453d9f977b7fb92279cde67c0.mgorny@gentoo
1 commit: 12e588002560b28453d9f977b7fb92279cde67c0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 2 14:51:55 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 2 15:16:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e58800
7
8 dev-python/sphinxcontrib-htmlhelp: Bump to 1.0.3, add tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinxcontrib-htmlhelp/Manifest | 1 +
13 .../sphinxcontrib-htmlhelp-1.0.3.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-htmlhelp/Manifest b/dev-python/sphinxcontrib-htmlhelp/Manifest
17 index 50cc0c693bd..ba60a608ac6 100644
18 --- a/dev-python/sphinxcontrib-htmlhelp/Manifest
19 +++ b/dev-python/sphinxcontrib-htmlhelp/Manifest
20 @@ -1 +1,2 @@
21 DIST sphinxcontrib-htmlhelp-1.0.2.tar.gz 25417 BLAKE2B f5f13cebf0bdeb8065fa37b12d90dcb4cf4775377b2290517105bfdcfcd7a168d10b0c84a90cdcbefa95f0d40b6bb644532e75b5616562cc37c04e103ee7bc4b SHA512 2ee6c8a91095d8f87208ea509153edc5495b9ef78231add39880e133413b1fa95e152264e5c9dfe6afc89afcb107acacc241754e7b5d86137bb5c64a851702de
22 +DIST sphinxcontrib-htmlhelp-1.0.3.tar.gz 24248 BLAKE2B eeb7edd0bce99621ce6fa3a2bb9ba90a619af18403c8b4b0148a7d20fd3847f418f35bb1bb413531c0799b5b98be7b45aca51aa5c8120d9c997abb86ab0b0f01 SHA512 f37542c5789340bb26c41b84512e08998e4ef45ff2eb0fdb0e10f585cff27a145d5821b8eb3766d009e2b5a38c3d7efb127ab898982e1b6fd1d4ff7e26907db4
23
24 diff --git a/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-1.0.3.ebuild b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-1.0.3.ebuild
25 new file mode 100644
26 index 00000000000..60095391e98
27 --- /dev/null
28 +++ b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-1.0.3.ebuild
29 @@ -0,0 +1,30 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Sphinx extension which outputs HTML help book"
39 +HOMEPAGE="https://www.sphinx-doc.org
40 + https://github.com/sphinx-doc/sphinxcontrib-htmlhelp"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
46 +
47 +RDEPEND="dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
48 +PDEPEND="
49 + >=dev-python/sphinx-2.0[${PYTHON_USEDEP}]"
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + test? ( ${PDEPEND} )"
53 +
54 +distutils_enable_tests pytest
55 +
56 +python_install_all() {
57 + distutils-r1_python_install_all
58 + find "${ED}" -name '*.pth' -delete || die
59 +}