Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-programoutput/
Date: Wed, 02 Aug 2017 04:07:07
Message-Id: 1501646785.4f803b209f4c9fc1242f0018dc72f2e601272a85.bicatali@gentoo
1 commit: 4f803b209f4c9fc1242f0018dc72f2e601272a85
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 2 02:31:16 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 2 04:06:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f803b20
7
8 dev-python/sphinxcontrib-programoutput: version bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-python/sphinxcontrib-programoutput/Manifest | 1 +
13 .../sphinxcontrib-programoutput-0.11.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/sphinxcontrib-programoutput/Manifest b/dev-python/sphinxcontrib-programoutput/Manifest
17 index 85bd1a09df4..6f9de866d0a 100644
18 --- a/dev-python/sphinxcontrib-programoutput/Manifest
19 +++ b/dev-python/sphinxcontrib-programoutput/Manifest
20 @@ -1 +1,2 @@
21 +DIST sphinxcontrib-programoutput-0.11.tar.gz 18267 SHA256 cbec3ee1c3abd09e105115ab69cb5ade8ca1be9811565a844f973e93e0314837 SHA512 4aa655f8632093035de986fa31291f95e95c4c0f4d1458bb8c8cc077cca73d579b16a8bf103d7b34faafb2171c617c40200008d89186f8ed37a812459f0376cf WHIRLPOOL 584b3c582217df7b24e08e27e0580d9af6f1f729ae823d4525ad7aa5105ca6048f4854928043231789f52f333cbc0a8a71a186b3d57b666d6e2a19249f750881
22 DIST sphinxcontrib-programoutput-0.8.tar.gz 14419 SHA256 1776a03124bab87e35576f7f3992fc21d5bb457321b35e6023eb011dbed10a25 SHA512 9ab769f794cf8c47f2d755b343c1326b8335c1f8161294727abada81af189545d549350536d28ac2c5f27cc309330f875b7affef6f997651e3a9f9dfbe6bd174 WHIRLPOOL a6cf5edfd1ba9926af1327e95cc923147cae3c4d297ddb0ae7577f676c6bcb928b396459113cac3226f74446ea38ee9604722da5b4ddeebeb2f6bc6bc0d5fb52
23
24 diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild
25 new file mode 100644
26 index 00000000000..6920695aabd
27 --- /dev/null
28 +++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.11.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Extension to sphinx to include program output"
40 +HOMEPAGE="http://sphinxcontrib-programoutput.readthedocs.org/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
46 +
47 +IUSE="doc test"
48 +
49 +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]
50 + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
51 +DEPEND="${RDEPEND}
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/mock[${PYTHON_USEDEP}]
55 + dev-python/pytest[${PYTHON_USEDEP}]
56 + )"
57 +
58 +python_compile_all() {
59 + if use doc; then
60 + python_setup
61 + esetup.py build_sphinx
62 + HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
63 + fi
64 +}
65 +
66 +python_test() {
67 + esetup.py pytest || die
68 +}
69 +
70 +python_install_all() {
71 + distutils-r1_python_install_all
72 + find "${ED}" -name '*.pth' -delete || die
73 +}