From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC04B158087 for ; Thu, 7 Oct 2021 10:22:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E8F1E086A; Thu, 7 Oct 2021 10:22:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E67EE086C for ; Thu, 7 Oct 2021 10:22:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C7DB34336C for ; Thu, 7 Oct 2021 10:22:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 583E513F for ; Thu, 7 Oct 2021 10:22:47 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1633602165.9464fb48f636b5346fdf50eadd047ff393f0ed6d.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/uharfbuzz/files/uharfbuzz-0.18.0-system-harfbuzz.patch dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild X-VCS-Directories: dev-python/uharfbuzz/files/ dev-python/uharfbuzz/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 9464fb48f636b5346fdf50eadd047ff393f0ed6d X-VCS-Branch: dev Date: Thu, 7 Oct 2021 10:22:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e781b02-2361-4c8e-9479-50a1d259114c X-Archives-Hash: f627265910d51a2e299b0b0b3e40141c commit: 9464fb48f636b5346fdf50eadd047ff393f0ed6d Author: Alessandro Barbieri gmail com> AuthorDate: Thu Oct 7 10:21:42 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Thu Oct 7 10:22:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9464fb48 dev-python/uharfbuzz: fix build Closes: https://bugs.gentoo.org/816720 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> .../files/uharfbuzz-0.18.0-system-harfbuzz.patch | 31 ++++++++++++++++++++++ dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/dev-python/uharfbuzz/files/uharfbuzz-0.18.0-system-harfbuzz.patch b/dev-python/uharfbuzz/files/uharfbuzz-0.18.0-system-harfbuzz.patch new file mode 100644 index 000000000..93f0c7058 --- /dev/null +++ b/dev-python/uharfbuzz/files/uharfbuzz-0.18.0-system-harfbuzz.patch @@ -0,0 +1,31 @@ +--- 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 +@@ -21,7 +21,7 @@ + + extra_compile_args = [] + extra_link_args = [] +-libraries = [] ++libraries=['harfbuzz'] + if platform.system() != 'Windows': + extra_compile_args.append('-std=c++11') + define_macros.append(('HAVE_MMAP', '1')) +@@ -39,8 +39,8 @@ + 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'], ++ sources=['src/uharfbuzz/_harfbuzz.pyx'], + language='c++', + libraries=libraries, + extra_compile_args=extra_compile_args, diff --git a/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild index 5e1529f95..f58cb51b3 100644 --- a/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild +++ b/dev-python/uharfbuzz/uharfbuzz-0.18.0.ebuild @@ -23,7 +23,7 @@ DEPEND=" dev-python/cython[${PYTHON_USEDEP}] " -PATCHES=( "${FILESDIR}/${PN}-0.16.1-system-harfbuzz.patch" ) +PATCHES=( "${FILESDIR}/${P}-system-harfbuzz.patch" ) distutils_enable_tests pytest