blob: 391950497a9295523064d9537741a570dcab6c3f (
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 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Streamlined Cython bindings for the HarfBuzz shaping engine"
HOMEPAGE="
https://pypi.org/project/uharfbuzz/
https://github.com/harfbuzz/uharfbuzz
"
SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND=">=media-libs/harfbuzz-4.3.0:=[experimental(-)]"
BDEPEND="
app-arch/unzip
>=dev-python/cython-0.28.1[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-2.1[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/${PN}-0.33.0-system-harfbuzz.patch" )
distutils_enable_tests pytest
src_configure() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
export USE_SYSTEM_HARFBUZZ=1
}
|