Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-issues/
Date: Fri, 29 Jul 2022 16:37:17
Message-Id: 1659112618.fb54e78516d86eb1c6a80589f4e1fe8482297f61.arthurzam@gentoo
1 commit: fb54e78516d86eb1c6a80589f4e1fe8482297f61
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 16:14:29 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 16:36:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb54e785
7
8 dev-python/sphinx-issues: Use PEP517
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../sphinx-issues/sphinx-issues-3.0.1-r1.ebuild | 25 ++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild b/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..e7b1c277153c
18 --- /dev/null
19 +++ b/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild
20 @@ -0,0 +1,25 @@
21 +# Copyright 2019-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Sphinx extension for linking to your project's issue tracker"
31 +HOMEPAGE="https://github.com/sloria/sphinx-issues"
32 +SRC_URI="https://github.com/sloria/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
37 +
38 +RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
39 +
40 +distutils_enable_tests pytest
41 +
42 +EPYTEST_DESELECT=(
43 + # doesn't work in our pep517 install
44 + tests/test_sphinx_issues.py::test_sphinx_build_integration
45 +)