1 |
commit: 105a7c5e360341b3c22dbb6f6deadd1b722ae91a |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 4 22:16:26 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Oct 4 22:30:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=105a7c5e |
7 |
|
8 |
dev-python/uharfbuzz: add 0.18.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/uharfbuzz/Manifest | 1 + |
13 |
dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild | 39 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest |
17 |
index 3c49d7b52..23f36f54f 100644 |
18 |
--- a/dev-python/uharfbuzz/Manifest |
19 |
+++ b/dev-python/uharfbuzz/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST uharfbuzz-0.16.1.tar.gz 33252 BLAKE2B 63c036b0884303d724cfc64acb0f44b2705c3ddb35e8132c399535ae0db54744ee8f244aac9e68e73b39969328cbee63d094f4e97908f5e5a007d995176c53cb SHA512 d1c08135a4cc470278726aa6c8c6da7ccac04ab6d0c718c7576c81233834d182c7428c1123abc4f05f094fac2fe4dbb1dd8d264e752cadb3030f7045721ae1ee |
22 |
+DIST uharfbuzz-0.18.0.tar.gz 33469 BLAKE2B ec255a4d6f9a74b12fd2a2b16f4309a223a50a8a6eea62d51d74dcd911b9300282576c66ec92cd28b00b48734a279391b62fe76ae64604f3e69df002f5e9568d SHA512 faf75e885e64ffdd28613c0ceeb30fc3ac4936cb252c8ff7e396c89b86195bf77f0f2135846152b2b8e949f8f806e9ddd75f42f00bb11514cd806062a06e2701 |
23 |
|
24 |
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..5e1529f95 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS="pyproject.toml" |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Streamlined Cython bindings for the HarfBuzz shaping engine" |
41 |
+HOMEPAGE="https://github.com/harfbuzz/uharfbuzz" |
42 |
+SRC_URI="https://github.com/harfbuzz/uharfbuzz/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+KEYWORDS="~amd64" |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+RDEPEND=">=media-libs/harfbuzz-2.8.1[experimental(-)]" |
49 |
+DEPEND=" |
50 |
+ ${RDEPEND} |
51 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
52 |
+ dev-python/cython[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+PATCHES=( "${FILESDIR}/${PN}-0.16.1-system-harfbuzz.patch" ) |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ distutils-r1_python_prepare_all |
61 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" |
62 |
+ export USE_SYSTEM_HARFBUZZ=1 |
63 |
+} |
64 |
+ |
65 |
+python_install() { |
66 |
+ distutils-r1_python_install |
67 |
+ python_optimize "$(python_get_sitedir)/${PN}" |
68 |
+} |