diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-28 09:15:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-28 09:15:11 +0000 |
| commit | 628a0a1b76f8b7b08c8286a429bd1371f790e421 (patch) | |
| tree | e48540e8fbcb44536694fa701814ca0538e16d69 /dev-python/uharfbuzz | |
| parent | 22f877e87a316dd892787c57f205a45abe8ae144 (diff) | |
| download | baldeagleos-repo-628a0a1b76f8b7b08c8286a429bd1371f790e421.tar.gz baldeagleos-repo-628a0a1b76f8b7b08c8286a429bd1371f790e421.tar.xz baldeagleos-repo-628a0a1b76f8b7b08c8286a429bd1371f790e421.zip | |
Adding metadata
Diffstat (limited to 'dev-python/uharfbuzz')
| -rw-r--r-- | dev-python/uharfbuzz/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch | 34 | ||||
| -rw-r--r-- | dev-python/uharfbuzz/uharfbuzz-0.33.0-r1.ebuild (renamed from dev-python/uharfbuzz/uharfbuzz-0.33.0.ebuild) | 24 |
3 files changed, 13 insertions, 47 deletions
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest index cec68ddd504e..b68ec9b56987 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 8ff591bb1ab3..000000000000 --- 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 index c27bb26d17c5..b3ccf675d4bd 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 -DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +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 } |
