From bd0c28872a20559eae31f01a378df02d722100ca Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 1 Jun 2023 03:47:23 +0300 Subject: [PATCH] dev-python/sphinx-py3doc-enhanced-theme: PEP517 + python_compat3.12 bump Signed-off-by: Alfred Wingate --- ...hinx-py3doc-enhanced-theme-2.4.0-r1.ebuild | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0-r1.ebuild diff --git a/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0-r1.ebuild b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0-r1.ebuild new file mode 100644 index 0000000..32f297f --- /dev/null +++ b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=y +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..12} ) +inherit distutils-r1 pypi + +DESCRIPTION="A theme based on the theme of https://docs.python.org/3/." +HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/Allow-missing-env-var.patch" + "${FILESDIR}/Fix-goofy-doctest.patch" + "${FILESDIR}/undo-pypi-modification-to-setupcfg.patch" + "${FILESDIR}/backport-for-setupcfg.patch" +) +DOCS=( "README.rst" )