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/readthedocs-sphinx-ext/
Date: Thu, 05 Mar 2020 18:06:59
Message-Id: 1583431394.c4667a669e878c92743fa7d11ed1733a85203fc3.mgorny@gentoo
1 commit: c4667a669e878c92743fa7d11ed1733a85203fc3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 5 18:03:14 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 5 18:03:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4667a66
7
8 dev-python/readthedocs-sphinx-ext: Revbump to drop py2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../readthedocs-sphinx-ext-1.0.1-r1.ebuild | 32 ++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1-r1.ebuild b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1-r1.ebuild
16 new file mode 100644
17 index 00000000000..d3de5b22a6c
18 --- /dev/null
19 +++ b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 2020 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
27 +inherit distutils-r1
28 +
29 +DESCRIPTION="Code specific for Read the Docs and Sphinx"
30 +HOMEPAGE="https://github.com/readthedocs/readthedocs-sphinx-ext"
31 +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
32 +
33 +LICENSE="MIT"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +
37 +RDEPEND="
38 + >=dev-python/jinja-2.9[${PYTHON_USEDEP}]
39 + dev-python/requests[${PYTHON_USEDEP}]"
40 +PDEPEND="
41 + dev-python/sphinx[${PYTHON_USEDEP}]"
42 +BDEPEND="
43 + test? ( ${PDEPEND} )"
44 +
45 +# unittest should be sufficient but tests are very verbose, so pytest's
46 +# output capture is most welcome
47 +distutils_enable_tests pytest
48 +
49 +src_prepare() {
50 + sed -i -e '/find_packages/s:):, exclude=["tests"]):' setup.py || die
51 + distutils-r1_src_prepare
52 +}