2023-05-20 14:11:24 +02:00
|
|
|
# Copyright 2021-2023 Gentoo Authors
|
2021-05-21 19:36:52 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-06-29 11:59:40 +02:00
|
|
|
EAPI=8
|
2021-05-21 19:36:52 +02:00
|
|
|
|
2022-10-07 21:35:37 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
2023-05-20 14:11:24 +02:00
|
|
|
inherit distutils-r1 pypi
|
2021-05-21 19:36:52 +02:00
|
|
|
|
|
|
|
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
|
|
|
|
HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme"
|
2023-05-20 14:11:24 +02:00
|
|
|
SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")"
|
2021-05-21 19:36:52 +02:00
|
|
|
|
|
|
|
LICENSE="BSD-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/Allow-missing-env-var.patch"
|
2021-06-29 11:59:40 +02:00
|
|
|
"${FILESDIR}/Fix-goofy-doctest.patch"
|
2021-05-21 19:36:52 +02:00
|
|
|
"${FILESDIR}/undo-pypi-modification-to-setupcfg.patch"
|
|
|
|
"${FILESDIR}/backport-for-setupcfg.patch"
|
|
|
|
)
|
|
|
|
DOCS=( "README.rst" )
|