32d7c173ad
Signed-off-by: Alfred Wingate <parona@protonmail.com>
26 lines
663 B
Bash
26 lines
663 B
Bash
# Copyright 2021-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
|
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"
|
|
SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")"
|
|
|
|
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" )
|