* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/
@ 2021-07-03 3:40 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-07-03 3:40 UTC (permalink / raw
To: gentoo-commits
commit: 5b99b9a480ac665132cc8de8a9bf5e7310213f51
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul 3 03:39:50 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul 3 03:39:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b99b9a4
dev-python/uharfbuzz: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/uharfbuzz/Manifest | 1 +
.../files/uharfbuzz-0.16.1-system-harfbuzz.patch | 23 +++++++++++++
dev-python/uharfbuzz/metadata.xml | 14 ++++++++
dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild | 38 ++++++++++++++++++++++
4 files changed, 76 insertions(+)
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest
new file mode 100644
index 000000000..3c49d7b52
--- /dev/null
+++ b/dev-python/uharfbuzz/Manifest
@@ -0,0 +1 @@
+DIST uharfbuzz-0.16.1.tar.gz 33252 BLAKE2B 63c036b0884303d724cfc64acb0f44b2705c3ddb35e8132c399535ae0db54744ee8f244aac9e68e73b39969328cbee63d094f4e97908f5e5a007d995176c53cb SHA512 d1c08135a4cc470278726aa6c8c6da7ccac04ab6d0c718c7576c81233834d182c7428c1123abc4f05f094fac2fe4dbb1dd8d264e752cadb3030f7045721ae1ee
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
new file mode 100644
index 000000000..66b11c996
--- /dev/null
+++ b/dev-python/uharfbuzz/files/uharfbuzz-0.16.1-system-harfbuzz.patch
@@ -0,0 +1,23 @@
+--- 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 = []
+ 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/metadata.xml b/dev-python/uharfbuzz/metadata.xml
new file mode 100644
index 000000000..d27e3cb7d
--- /dev/null
+++ b/dev-python/uharfbuzz/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/harfbuzz/uharfbuzz/issues</bugs-to>
+ <remote-id type="github">harfbuzz/uharfbuzz</remote-id>
+ <remote-id type="pypi">uharfbuzz</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild
new file mode 100644
index 000000000..96fa0ed49
--- /dev/null
+++ b/dev-python/uharfbuzz/uharfbuzz-0.16.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+SRC_URI="https://github.com/harfbuzz/uharfbuzz/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS=""
+DESCRIPTION="Streamlined Cython bindings for the HarfBuzz shaping engine"
+HOMEPAGE="https://github.com/harfbuzz/uharfbuzz"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND=">=media-libs/harfbuzz-2.8.1[experimental]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/${P}-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
+}
+
+python_install() {
+ distutils-r1_python_install
+ python_optimize "$(python_get_sitedir)/${PN}"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/
@ 2021-10-07 10:22 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-10-07 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 9464fb48f636b5346fdf50eadd047ff393f0ed6d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct 7 10:21:42 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> 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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/
@ 2022-03-27 7:30 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2022-03-27 7:30 UTC (permalink / raw
To: gentoo-commits
commit: 7ed29483c6c4649080523a7a12a41fef8e5d8827
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 27 06:27:05 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 27 07:30:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ed29483
dev-python/uharfbuzz: fix patch
Closes: https://bugs.gentoo.org/836221
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../files/uharfbuzz-0.23.0-system-harfbuzz.patch | 25 ++++++++++++++++++++++
dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild | 2 +-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch b/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch
new file mode 100644
index 000000000..08b9f6549
--- /dev/null
+++ b/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch
@@ -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,
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild
index 90c61b347..878a48110 100644
--- a/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild
+++ b/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild
@@ -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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/
@ 2023-01-13 3:14 Julien Roy
0 siblings, 0 replies; 5+ messages in thread
From: Julien Roy @ 2023-01-13 3:14 UTC (permalink / raw
To: gentoo-commits
commit: b464dc74242ef307c562f3fd8f5db98fd8ba9a09
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Jan 13 00:19:40 2023 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jan 13 03:11:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b464dc74
dev-python/uharfbuzz: add 0.33.0
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-python/uharfbuzz/Manifest | 1 +
.../files/uharfbuzz-0.33.0-system-harfbuzz.patch | 36 ++++++++++++++++++++++
dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild | 35 +++++++++++++++++++++
3 files changed, 72 insertions(+)
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest
index 4cab0aa77..46c1dd70c 100644
--- a/dev-python/uharfbuzz/Manifest
+++ b/dev-python/uharfbuzz/Manifest
@@ -1 +1,2 @@
DIST uharfbuzz-0.26.0.gh.tar.gz 36596 BLAKE2B b57782f5de371e2062d6a764fde9d20ca4a47a388b22ac3d169cead66103d30af12888e9d8f0af0aea7c7dbb4a3b7e0f4411e049417efaf1d2e7562ef5a34875 SHA512 0b356ceaf1cc40c2318e495939d51db454852043ebac60cb7b2a7481c4de6540e66d7ccf47a9fe6c1d819bf8a54e572bdb5a0799c7818f61730b820bb210ac83
+DIST uharfbuzz-0.33.0.gh.tar.gz 38023 BLAKE2B 5cf2d8afc8174d5fb679a38fb4147ea15d753a4b2f745c194d6f75868f878a6ae22a0a3bb77b823eeafcdcda325f89ac69539767e2bc1217b88d594c561ea385 SHA512 dc1afdfd39750284544aa8bc244c36a4b60a99423d11d568759ac908fcc34eeb39e97089eba00524bc9dbe1604aab8c35bd40b98f7913016ad022832266e7145
diff --git a/dev-python/uharfbuzz/files/uharfbuzz-0.33.0-system-harfbuzz.patch b/dev-python/uharfbuzz/files/uharfbuzz-0.33.0-system-harfbuzz.patch
new file mode 100644
index 000000000..29085fa14
--- /dev/null
+++ b/dev-python/uharfbuzz/files/uharfbuzz-0.33.0-system-harfbuzz.patch
@@ -0,0 +1,36 @@
+diff --git a/setup.py b/setup.py
+index be115a3..ad34a47 100755
+--- a/setup.py
++++ b/setup.py
+@@ -13,7 +13,7 @@ here = os.path.abspath(os.path.dirname(__file__))
+ 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 @@ if int(os.environ.get('CYTHON_LINETRACE', '0')):
+
+ extra_compile_args = []
+ extra_link_args = []
+-libraries = []
++libraries = ['harfbuzz', 'harfbuzz-subset']
+ if platform.system() != 'Windows':
+ extra_compile_args.append('-std=c++11')
+ define_macros.append(('HAVE_MMAP', '1'))
+@@ -39,12 +39,9 @@ if platform.system() == 'Darwin':
+ 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',
+- 'harfbuzz/src/graph/gsubgpos-context.cc',
+ 'src/uharfbuzz/_draw_test_funcs.cc',
+ ],
+ language='c++',
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild
new file mode 100644
index 000000000..2ea5af628
--- /dev/null
+++ b/dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} 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}.gh.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND=">=media-libs/harfbuzz-4.3.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.33.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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/
@ 2023-02-27 0:31 Anna Vyalkova
0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-02-27 0:31 UTC (permalink / raw
To: gentoo-commits
commit: 7261cceb706a70adc39dddc65cb218035d0f8e71
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Feb 27 00:29:06 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Feb 27 00:29:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7261cceb
dev-python/uharfbuzz: cleanups
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/uharfbuzz/Manifest | 2 +-
.../files/uharfbuzz-0.23.0-system-harfbuzz.patch | 34 ----------------------
...zz-0.33.0.ebuild => uharfbuzz-0.33.0-r1.ebuild} | 24 +++++++--------
3 files changed, 13 insertions(+), 47 deletions(-)
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest
index cec68ddd5..b68ec9b56 100644
--- a/dev-python/uharfbuzz/Manifest
+++ b/dev-python/uharfbuzz/Manifest
@@ -1 +1 @@
-DIST uharfbuzz-0.33.0.gh.tar.gz 38023 BLAKE2B 5cf2d8afc8174d5fb679a38fb4147ea15d753a4b2f745c194d6f75868f878a6ae22a0a3bb77b823eeafcdcda325f89ac69539767e2bc1217b88d594c561ea385 SHA512 dc1afdfd39750284544aa8bc244c36a4b60a99423d11d568759ac908fcc34eeb39e97089eba00524bc9dbe1604aab8c35bd40b98f7913016ad022832266e7145
+DIST uharfbuzz-0.33.0.zip 1364513 BLAKE2B 668a9b7083d1a75c6845b2177b876447a25e28b15bc14e52518f1bf158ca4e23f01a0d42eb1aea02dce65c64496101ea00c8fd4d68e5ba7c1d149d920ba6624a SHA512 923ade6a4cefca9d1cfdee19fbf7b769480072695da67a1b6b75738172dad1c3236ff7d2263eeaeb6f08c235ff6efd952f095c63957549c589fafde31ca604eb
diff --git a/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch b/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch
deleted file mode 100644
index 8ff591bb1..000000000
--- a/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch
+++ /dev/null
@@ -1,34 +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
-@@ -21,7 +21,7 @@
-
- extra_compile_args = []
- extra_link_args = []
--libraries = []
-+libraries = ['harfbuzz', 'harfbuzz-subset']
- if platform.system() != 'Windows':
- extra_compile_args.append('-std=c++11')
- define_macros.append(('HAVE_MMAP', '1'))
-@@ -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,
diff --git a/dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.33.0-r1.ebuild
similarity index 53%
rename from dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild
rename to dev-python/uharfbuzz/uharfbuzz-0.33.0-r1.ebuild
index 2ea5af628..391950497 100644
--- a/dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild
+++ b/dev-python/uharfbuzz/uharfbuzz-0.33.0-r1.ebuild
@@ -3,33 +3,33 @@
EAPI=8
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
+inherit distutils-r1 pypi
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}.gh.tar.gz"
+HOMEPAGE="
+ https://pypi.org/project/uharfbuzz/
+ https://github.com/harfbuzz/uharfbuzz
+"
+SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
-RDEPEND=">=media-libs/harfbuzz-4.3.0[experimental(-)]"
-DEPEND="
- ${RDEPEND}
+RDEPEND=">=media-libs/harfbuzz-4.3.0:=[experimental(-)]"
+BDEPEND="
+ app-arch/unzip
>=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.33.0-system-harfbuzz.patch" )
distutils_enable_tests pytest
-python_prepare_all() {
- distutils-r1_python_prepare_all
- export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
+src_configure() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
export USE_SYSTEM_HARFBUZZ=1
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-02-27 0:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-27 7:30 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/uharfbuzz/, dev-python/uharfbuzz/files/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2023-02-27 0:31 Anna Vyalkova
2023-01-13 3:14 Julien Roy
2021-10-07 10:22 Alessandro Barbieri
2021-07-03 3:40 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox