mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
36 lines
771 B
Bash
36 lines
771 B
Bash
# Copyright 2022-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
|
|
inherit distutils-r1
|
|
|
|
MY_P=emojicodes-${PV}
|
|
DESCRIPTION="Extension to use emoji codes in your Sphinx documentation"
|
|
HOMEPAGE="
|
|
https://pypi.org/project/sphinxemoji/
|
|
https://github.com/sphinx-contrib/emojicodes/
|
|
"
|
|
SRC_URI="
|
|
https://github.com/sphinx-contrib/emojicodes/archive/v${PV}.tar.gz
|
|
-> ${MY_P}.gh.tar.gz
|
|
"
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
|
|
RDEPEND="
|
|
>=dev-python/sphinx-5.0[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
python_test() {
|
|
local HTML_DOCS=()
|
|
build_sphinx docs/source
|
|
rm -r docs/source/_build || die
|
|
}
|