aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-11 21:46:35 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-03-11 21:57:24 +0100
commitc74621ec34ece6d4529c9adb73c26ad6c1f6ba6b (patch)
treee11fd9572c1300bd49bb9e5afb9d81bf0a536d9b /dev-python/uharfbuzz
parentdev-python/unicodedata2: add 14.0.0 (diff)
downloadguru-c74621ec34ece6d4529c9adb73c26ad6c1f6ba6b.tar.gz
guru-c74621ec34ece6d4529c9adb73c26ad6c1f6ba6b.tar.bz2
guru-c74621ec34ece6d4529c9adb73c26ad6c1f6ba6b.zip
dev-python/uharfbuzz: add 0.21.0, drop 0.16.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-python/uharfbuzz')
-rw-r--r--dev-python/uharfbuzz/Manifest2
-rw-r--r--dev-python/uharfbuzz/files/uharfbuzz-0.16.1-system-harfbuzz.patch23
-rw-r--r--dev-python/uharfbuzz/uharfbuzz-0.21.0.ebuild (renamed from dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild)12
3 files changed, 7 insertions, 30 deletions
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest
index 23f36f54f..512dcec3d 100644
--- a/dev-python/uharfbuzz/Manifest
+++ b/dev-python/uharfbuzz/Manifest
@@ -1,2 +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
+DIST uharfbuzz-0.21.0.tar.gz 34064 BLAKE2B ad8ba13e53cba90794af6d9e99a555d0a266c584894ddc9cc90a9b86002cdeec438c68fa395a90d4e9119574bffd140a824c8acec8b4d5661c0013f8693a2a95 SHA512 090e408163e59d796ff9a9a7b2dca9e7ca00277ffc80139066a287f489d7358681b9eadf4a7bf5e5a7e7457c18fb30ed27d7ae2b71bfcf9cc48362a6c0793085
diff --git a/dev-python/uharfbuzz/files/uharfbuzz-0.16.1-system-harfbuzz.patch b/dev-python/uharfbuzz/files/uharfbuzz-0.16.1-system-harfbuzz.patch
deleted file mode 100644
index bc835c9be..000000000
--- a/dev-python/uharfbuzz/files/uharfbuzz-0.16.1-system-harfbuzz.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -13,7 +13,7 @@
- with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
- long_description = f.read()
-
--define_macros = [('HB_NO_MT', '1'), ('HB_EXPERIMENTAL_API', '1')]
-+define_macros = [('HB_EXPERIMENTAL_API', '1')]
- linetrace = False
- if int(os.environ.get('CYTHON_LINETRACE', '0')):
- linetrace = True
-@@ -30,8 +30,9 @@
- extension = Extension(
- 'uharfbuzz._harfbuzz',
- define_macros=define_macros,
-- include_dirs=['harfbuzz/src'],
-- sources=['src/uharfbuzz/_harfbuzz.pyx', 'harfbuzz/src/harfbuzz.cc'],
-+ include_dirs=['/usr/include/harfbuzz'],
-+ libraries=['harfbuzz'],
-+ sources=['src/uharfbuzz/_harfbuzz.pyx'],
- language='c++',
- extra_compile_args=extra_compile_args,
- extra_link_args=extra_link_args,
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.21.0.ebuild
index 611d52451..90c61b347 100644
--- a/dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild
+++ b/dev-python/uharfbuzz/uharfbuzz-0.21.0.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
-EPYTEST_DESELECT=( "tests/test_uharfbuzz.py::TestCallbacks::test_message_func" )
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
@@ -20,11 +19,12 @@ SLOT="0"
RDEPEND=">=media-libs/harfbuzz-2.8.1[experimental(-)]"
DEPEND="
${RDEPEND}
- dev-python/setuptools_scm[${PYTHON_USEDEP}]
- dev-python/cython[${PYTHON_USEDEP}]
+ >=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}/${P}-system-harfbuzz.patch" )
+PATCHES=( "${FILESDIR}/${PN}-0.18.0-system-harfbuzz.patch" )
distutils_enable_tests pytest