blob: c8a4a36ce03cc616500abd1edb43502bcc86f57a (
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
|
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=standalone
inherit distutils-r1 pypi
DESCRIPTION="The iconic SVG, font, and CSS toolkit"
HOMEPAGE="https://pypi.org/project/fontawesomefree/"
SRC_URI="$(pypi_wheel_url)"
S=${WORKDIR}
LICENSE="CC-BY-4.0 OFL-1.1"
SLOT="0"
KEYWORDS="~amd64"
src_unpack() {
unzip "${DISTDIR}/${A}" || die
}
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/${P}-py3-none-any.whl"
}
|