diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-13 10:34:32 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-13 10:34:32 +0100 |
commit | 9005249591e1f61febbb2a3176f9b40e6d7d2063 (patch) | |
tree | 6f23e32a7a97fb2b9719c6283e0006d6a7916369 /dev-python/fonttools | |
parent | 1206d22a2d6005bb271c68ea4e9b5c610a74b225 (diff) |
gentoo auto-resync : 13:07:2023 - 10:34:32
Diffstat (limited to 'dev-python/fonttools')
-rw-r--r-- | dev-python/fonttools/Manifest | 2 | ||||
-rw-r--r-- | dev-python/fonttools/fonttools-4.41.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 6f3d3fdf2e36..9dbc65250bef 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,5 +1,7 @@ DIST fonttools-4.39.4.gh.tar.gz 3710610 BLAKE2B f4d75ae71c7b8ec752eee3820129719583072c8e1e68d54b3443c192e7c6732e7db7adfaec32145b87eccd23b1720a748e70682d58a1628d93f89890d3ddc274 SHA512 4be7c19022ccfbb182edb7d80ec50ff2aa91eae3dd4328c1023e65a293e079edd4c1ae0a8b2260e35fa940417e7b03dc96bd7a6d6ec4234bc4c4257187b24758 DIST fonttools-4.40.0.gh.tar.gz 3726926 BLAKE2B c14cf10baeca50f6a70dc210de40f46b24effa66efdaded0a2706539af659b7fea276064b352fbe2f412028912658dc3f215409c3975bd773a7bd789986a65a1 SHA512 03daecfb2c48e13f22255872dd9dca47aaca9fc71139f2d5876cdb74fa8560d697344845d870742da00d3734043e36f143efe5d2048b884a5f7ed924435aa2f0 +DIST fonttools-4.41.0.gh.tar.gz 3754276 BLAKE2B dc1ee8415d6829d467d584280c1d9a90c3355cac159db43f14123ea0d71271465bdac1e891a640040ccc72a7ffa2f9e484dfaccc9ce7930f7dad28322f7b435c SHA512 9f8478c68f187258fc8377d6313d0d72231dce8725a09b43b3bfb2ba844f2c11e9396cd4627f21450362566fe4649e66f09d3e2230e509d8e347c978e876f8d9 EBUILD fonttools-4.39.4.ebuild 1570 BLAKE2B 4581bd4dedf3a27f3f8e930104407915e5a6dd4e94bc0c4983276ce30de804f291d8f2885cf3951b88c214f5bf0943437e3375eaf15bf783231d3f9b004e733d SHA512 150fabfaaf2207eeca50d560b6ddb33525f69e3912916c582f8296b659cdd570d943933f463e52fa1a84558d1286ad34578869fb3633c6c635ec73c72ebc261c EBUILD fonttools-4.40.0.ebuild 1579 BLAKE2B 06f380e9c6e0dbda1372e4682d463db25d8a50559c89278d01d93c31d9bf667456c1020f698aa392b9f3c9129a6a0f602464974959706afd018fe269a5fa296f SHA512 4697c367d166b30830a9e60e1cc7a5cefa6c08d7d7dd401c16c60c0b9e89bc22ef37cdd7038326266d45b53c8e807fd17a50d91a0ef03dd769b7a296dbde60cc +EBUILD fonttools-4.41.0.ebuild 1579 BLAKE2B 06f380e9c6e0dbda1372e4682d463db25d8a50559c89278d01d93c31d9bf667456c1020f698aa392b9f3c9129a6a0f602464974959706afd018fe269a5fa296f SHA512 4697c367d166b30830a9e60e1cc7a5cefa6c08d7d7dd401c16c60c0b9e89bc22ef37cdd7038326266d45b53c8e807fd17a50d91a0ef03dd769b7a296dbde60cc MISC metadata.xml 372 BLAKE2B 950ec78bf127250847c6513c22a5108b251afdb000d361068edf9d00d64a5baf6925ba4058bb889724febb28d92abc044c29af5936a48d8e8951b12314b64357 SHA512 03e76e28959bab83fe41c3ee4b55692ced9b1360e73e38a6e8f6e5c06fd1185dcbe0214aea2edff18d248abf252c1877d0d2c2b78b8e088e606c09c34e93e7ac diff --git a/dev-python/fonttools/fonttools-4.41.0.ebuild b/dev-python/fonttools/fonttools-4.41.0.ebuild new file mode 100644 index 000000000000..317802fa12f7 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.41.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +} |