From 1bb62af9369fea7cc98520426d9e2afed15bcdef Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 4 Apr 2022 20:52:18 +0200 Subject: [PATCH] dev-python/uharfbuzz: add 0.24.1 Signed-off-by: Alessandro Barbieri --- dev-python/uharfbuzz/Manifest | 1 + dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild | 35 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest index 75a0e506a5..55295a1ffc 100644 --- a/dev-python/uharfbuzz/Manifest +++ b/dev-python/uharfbuzz/Manifest @@ -1 +1,2 @@ DIST uharfbuzz-0.23.0.tar.gz 36287 BLAKE2B 6f03aa991d53b6fe093879a0cb5d09b5065ad4fb31453f74323f540aadcdace2430ccdc0a466cddc43a356bb1dd62f066537074a208c1b56d51d43c4eb2062ee SHA512 8cacb54a3d48db29f025bd9eb72133e9a11cf61f6b8064cb91c5399e875e7b46f592bb3c4b284741a161f534bea5771f9c471489c8082ee768953b5948ee2c09 +DIST uharfbuzz-0.24.1.tar.gz 36603 BLAKE2B 3da4b1a7e3b2b3cc8928c06ad7a80c00ddc3f34807788d827c8e558d9a9b48e3688cb38e26e5ea2414b274d62328be4c5a4dbd6e627d45c49ff7d11c6573e643 SHA512 c1451f3aea7a6e076a621a8931e8de0222122f3788ac7ef7a0174f32a1a625c8f245d4ba0e9835387071ab8cfa7351d3e245afe6b94319c178cc6cc7fc337707 diff --git a/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild new file mode 100644 index 0000000000..0449967f53 --- /dev/null +++ b/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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-4.0.0[experimental(-)]" +DEPEND=" + ${RDEPEND} + >=dev-python/cython-0.28.1[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-2.1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.31[${PYTHON_USEDEP}] +" + +PATCHES=( "${FILESDIR}/${PN}-0.23.0-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 +}