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-qthelp/
Date: Mon, 02 Mar 2020 15:16:49
Message-Id: 1583162198.af81611a7e030cfcfffe12d83b21225a68e16379.mgorny@gentoo
1 commit: af81611a7e030cfcfffe12d83b21225a68e16379
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 2 14:57:01 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 2 15:16:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af81611a
7
8 dev-python/sphinxcontrib-qthelp: Bump to 1.0.3, add tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/sphinxcontrib-qthelp/Manifest | 1 +
13 .../sphinxcontrib-qthelp-1.0.3.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-qthelp/Manifest b/dev-python/sphinxcontrib-qthelp/Manifest
17 index ddc066c54d7..3ca64686ff4 100644
18 --- a/dev-python/sphinxcontrib-qthelp/Manifest
19 +++ b/dev-python/sphinxcontrib-qthelp/Manifest
20 @@ -1 +1,2 @@
21 DIST sphinxcontrib-qthelp-1.0.2.tar.gz 17804 BLAKE2B f3d6a67469c82e2a6e90b75d506ee3faa896d8ec408d60f93f74c8cc4bafb22772f85e36c286a96cecf2d7808338da233910055404969ef311f935173f06f376 SHA512 8fe840e011fabd596194f539d27a502b77ae8a6030ae1a7646b1af9f203d3578b7420ead655297b2a752f0cb0e6803247c7a79b2ccd2d4662ed9f58398947864
22 +DIST sphinxcontrib-qthelp-1.0.3.tar.gz 21658 BLAKE2B 7a82e8941d49836cf3e64aabe05ba65b34596f7ba0287b4dc7ed2c5940f6944d1853790d1d52637b03d934effbba8fc5094089e2924322cf1b373432c60bce6a SHA512 29f77e4b3f1a4868c2a34dbd853415e5d813f482cd23b982aeed42d53acba09b896d77ba930c34cce8af043bb7d64a19acff610430e942038d95a410b6e0b5fa
23
24 diff --git a/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.3.ebuild b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.3.ebuild
25 new file mode 100644
26 index 00000000000..54743776694
27 --- /dev/null
28 +++ b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-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 QtHelp documents"
39 +HOMEPAGE="https://www.sphinx-doc.org
40 + https://github.com/sphinx-doc/sphinxcontrib-qthelp"
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 +}