diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
| commit | d97953e6ff67978da9554e7b4601aedceb21e215 (patch) | |
| tree | 674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-python/uharfbuzz | |
| parent | 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff) | |
| download | baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.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/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild | 35 | ||||
| -rw-r--r-- | dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild | 35 |
5 files changed, 120 insertions, 0 deletions
diff --git a/dev-python/uharfbuzz/Manifest b/dev-python/uharfbuzz/Manifest new file mode 100644 index 000000000000..55295a1ffc8d --- /dev/null +++ b/dev-python/uharfbuzz/Manifest @@ -0,0 +1,2 @@ +DIST uharfbuzz-0.23.0.tar.gz 36287 BLAKE2B 6f03aa991d53b6fe093879a0cb5d09b5065ad4fb31453f74323f540aadcdace2430ccdc0a466cddc43a356bb1dd62f066537074a208c1b56d51d43c4eb2062ee SHA512 8cacb54a3d48db29f025bd9eb72133e9a11cf61f6b8064cb91c5399e875e7b46f592bb3c4b284741a161f534bea5771f9c471489c8082ee768953b5948ee2c09 +DIST uharfbuzz-0.24.1.tar.gz 36603 BLAKE2B 3da4b1a7e3b2b3cc8928c06ad7a80c00ddc3f34807788d827c8e558d9a9b48e3688cb38e26e5ea2414b274d62328be4c5a4dbd6e627d45c49ff7d11c6573e643 SHA512 c1451f3aea7a6e076a621a8931e8de0222122f3788ac7ef7a0174f32a1a625c8f245d4ba0e9835387071ab8cfa7351d3e245afe6b94319c178cc6cc7fc337707 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 000000000000..8ff591bb1ab3 --- /dev/null +++ b/dev-python/uharfbuzz/files/uharfbuzz-0.23.0-system-harfbuzz.patch @@ -0,0 +1,34 @@ +--- 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/metadata.xml b/dev-python/uharfbuzz/metadata.xml new file mode 100644 index 000000000000..d27e3cb7db17 --- /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.23.0.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild new file mode 100644 index 000000000000..8685a87f3b5b --- /dev/null +++ b/dev-python/uharfbuzz/uharfbuzz-0.23.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} 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}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=">=media-libs/harfbuzz-4.0.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}/${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 +} diff --git a/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild b/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild new file mode 100644 index 000000000000..e208f17f9ba0 --- /dev/null +++ b/dev-python/uharfbuzz/uharfbuzz-0.24.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} 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}.tar.gz" + +KEYWORDS="~amd64" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=">=media-libs/harfbuzz-4.0.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.23.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 +} |
