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-devhelp/
Date: Mon, 02 Mar 2020 15:16:46
Message-Id: 1583162194.23a45d0b28fbd04631953a1b6df7c1e46f743c5a.mgorny@gentoo
1 commit: 23a45d0b28fbd04631953a1b6df7c1e46f743c5a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 2 14:46:28 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 2 15:16:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a45d0b
7
8 dev-python/sphinxcontrib-devhelp: Bump to 1.0.2, add tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinxcontrib-devhelp/Manifest | 1 +
13 .../sphinxcontrib-devhelp-1.0.2.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-devhelp/Manifest b/dev-python/sphinxcontrib-devhelp/Manifest
17 index 64e1635092e..d995246c268 100644
18 --- a/dev-python/sphinxcontrib-devhelp/Manifest
19 +++ b/dev-python/sphinxcontrib-devhelp/Manifest
20 @@ -1 +1,2 @@
21 DIST sphinxcontrib-devhelp-1.0.1.tar.gz 14016 BLAKE2B 4b8c079773d65f5fb752870dc728d8e90e03fdd2f8a4b01324838928ef2deaf2c724c0b149697a61624ea7382445e81fe261ec2b726fa3cfb5547bd053286e4e SHA512 135d6405e330cc245391646d4055988cf762d82f6473e58c64a76f3a88e7f33a66baba366e7f29e1378320bd0c374af92b0f972bceeec8c05ad0fe652a81e984
22 +DIST sphinxcontrib-devhelp-1.0.2.tar.gz 17398 BLAKE2B fcf04148bc4a77963517d9011c20a6b77eee499f1a5dcd4a9631b4f415f80a9f7091b254f74ba2fbc9b7106dfb741dc839e14813e088d5a0802793ed457e95df SHA512 83b46eaf26df3932ea2136cfda1c0fca4fc08ce8bca564845b3efe5bb00d6c8c93991f4edd4913d4ec796e2d85bd2c7265adf28e98f42e8094daeb5ac11a0eb1
23
24 diff --git a/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-1.0.2.ebuild b/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-1.0.2.ebuild
25 new file mode 100644
26 index 00000000000..8500fe53feb
27 --- /dev/null
28 +++ b/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-1.0.2.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 Devhelp documents"
39 +HOMEPAGE="https://www.sphinx-doc.org
40 + https://github.com/sphinx-doc/sphinxcontrib-devhelp"
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 +}