2022-10-07 21:35:37 +02:00
|
|
|
# Copyright 2021-2022 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} )
|
2021-05-21 19:36:52 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="A theme based on the theme of https://docs.python.org/3/."
|
|
|
|
HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme"
|
|
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
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" )
|