mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-python/uharfbuzz: fix patch
Closes: https://bugs.gentoo.org/836221 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
--- 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
|
||||
@@ -39,11 +39,9 @@
|
||||
extension = Extension(
|
||||
'uharfbuzz._harfbuzz',
|
||||
define_macros=define_macros,
|
||||
- include_dirs=['harfbuzz/src'],
|
||||
+ include_dirs=['/usr/include/harfbuzz'],
|
||||
sources=[
|
||||
- 'src/uharfbuzz/_harfbuzz.pyx',
|
||||
- 'harfbuzz/src/harfbuzz.cc',
|
||||
- 'harfbuzz/src/hb-subset-repacker.cc',
|
||||
+ 'src/uharfbuzz/_harfbuzz.pyx'
|
||||
],
|
||||
language='c++',
|
||||
libraries=libraries,
|
||||
@@ -24,7 +24,7 @@ DEPEND="
|
||||
>=dev-python/wheel-0.31[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.18.0-system-harfbuzz.patch" )
|
||||
PATCHES=( "${FILESDIR}/${P}-system-harfbuzz.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user