blob: 2de0d2ff7a0ec42b4ace301d3877c00a3a3ce832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
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
}
|