mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/uharfbuzz: add 0.18.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST uharfbuzz-0.16.1.tar.gz 33252 BLAKE2B 63c036b0884303d724cfc64acb0f44b2705c3ddb35e8132c399535ae0db54744ee8f244aac9e68e73b39969328cbee63d094f4e97908f5e5a007d995176c53cb SHA512 d1c08135a4cc470278726aa6c8c6da7ccac04ab6d0c718c7576c81233834d182c7428c1123abc4f05f094fac2fe4dbb1dd8d264e752cadb3030f7045721ae1ee
|
||||
DIST uharfbuzz-0.18.0.tar.gz 33469 BLAKE2B ec255a4d6f9a74b12fd2a2b16f4309a223a50a8a6eea62d51d74dcd911b9300282576c66ec92cd28b00b48734a279391b62fe76ae64604f3e69df002f5e9568d SHA512 faf75e885e64ffdd28613c0ceeb30fc3ac4936cb252c8ff7e396c89b86195bf77f0f2135846152b2b8e949f8f806e9ddd75f42f00bb11514cd806062a06e2701
|
||||
|
||||
39
dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild
Normal file
39
dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Streamlined Cython bindings for the HarfBuzz shaping engine"
|
||||
HOMEPAGE="https://github.com/harfbuzz/uharfbuzz"
|
||||
SRC_URI="https://github.com/harfbuzz/uharfbuzz/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=media-libs/harfbuzz-2.8.1[experimental(-)]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.16.1-system-harfbuzz.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
|
||||
export USE_SYSTEM_HARFBUZZ=1
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_optimize "$(python_get_sitedir)/${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user