Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx_selective_exclude/files/, dev-python/sphinx_selective_exclude/
Date: Tue, 28 Feb 2023 11:11:39
Message-Id: 1677582675.f9375f53ac005b7444ed960381cc8f01c84d2c8c.grozin@gentoo
1 commit: f9375f53ac005b7444ed960381cc8f01c84d2c8c
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 11:11:15 2023 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 11:11:15 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9375f53
7
8 dev-python/sphinx_selective_exclude: add python3_11
9
10 Closes: https://bugs.gentoo.org/798579
11 Closes: https://bugs.gentoo.org/896890
12 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
13
14 .../sphinx_selective_exclude-description-file.patch | 8 ++++++++
15 .../sphinx_selective_exclude-1.0.3-r1.ebuild | 20 ++++++++++++++++++++
16 2 files changed, 28 insertions(+)
17
18 diff --git a/dev-python/sphinx_selective_exclude/files/sphinx_selective_exclude-description-file.patch b/dev-python/sphinx_selective_exclude/files/sphinx_selective_exclude-description-file.patch
19 new file mode 100644
20 index 000000000000..cc81f571d8f7
21 --- /dev/null
22 +++ b/dev-python/sphinx_selective_exclude/files/sphinx_selective_exclude-description-file.patch
23 @@ -0,0 +1,8 @@
24 +diff -r -U1 sphinx_selective_exclude-1.0.3.orig/setup.cfg sphinx_selective_exclude-1.0.3/setup.cfg
25 +--- sphinx_selective_exclude-1.0.3.orig/setup.cfg 2019-12-24 05:59:33.000000000 +0700
26 ++++ sphinx_selective_exclude-1.0.3/setup.cfg 2023-02-28 17:56:05.055719498 +0700
27 +@@ -1,3 +1,3 @@
28 + [metadata]
29 +-description-file = README.md
30 ++description_file = README.md
31 +
32
33 diff --git a/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3-r1.ebuild b/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3-r1.ebuild
34 new file mode 100644
35 index 000000000000..68910c386949
36 --- /dev/null
37 +++ b/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3-r1.ebuild
38 @@ -0,0 +1,20 @@
39 +# Copyright 1999-2023 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=8
43 +
44 +PYTHON_COMPAT=( python3_{9..11} )
45 +
46 +DISTUTILS_USE_PEP517=setuptools
47 +inherit distutils-r1 pypi
48 +
49 +DESCRIPTION="Sphinx selective rendition extensions"
50 +HOMEPAGE="https://github.com/pfalcon/sphinx_selective_exclude"
51 +
52 +LICENSE="BSD-2"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +
56 +PDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
57 +
58 +PATCHES=( "${FILESDIR}"/${PN}-description-file.patch )