summaryrefslogtreecommitdiff
path: root/dev-python/fonttools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-03 10:53:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-03 10:53:03 +0100
commit58bc1eef7fcc2712f4fe69e418f697d6f4d57df4 (patch)
treed8f8ac35082dce2ae2d058c2a9206b36c941bcd7 /dev-python/fonttools
parentcde8c93952da8c35584929e3778914d821cd6800 (diff)
gentoo auto-resync : 03:08:2023 - 10:53:03
Diffstat (limited to 'dev-python/fonttools')
-rw-r--r--dev-python/fonttools/Manifest2
-rw-r--r--dev-python/fonttools/fonttools-4.42.0.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest
index b221300e7e15..396167710844 100644
--- a/dev-python/fonttools/Manifest
+++ b/dev-python/fonttools/Manifest
@@ -1,7 +1,9 @@
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
DIST fonttools-4.41.1.gh.tar.gz 3757962 BLAKE2B 9935459d6a17d91a0fb1deb8687790bec9b3aaf483610bb4dac448dfaa2237167cf62a346bb97a31d255d383bc4237806e4addd50e88afbc50b897dcffb40774 SHA512 d4feadb31fce8249ca44dc08f9e24639071511663ad19feb994e95c20c4d25713b1c3525ee0de1ba31ebd056cae226cf84b22065d014344d380190f7b6b4b60f
+DIST fonttools-4.42.0.gh.tar.gz 3764057 BLAKE2B ef6340a58d1b8dc0fa87a6514792da76c63ee39fa7c0f420e637bb008ae4d6078722b695625bbba72481bfb47f239cd734288b6f5f89d57fcb1acca1e732f460 SHA512 c5b6963d420dd8bf2bae776880bf23c9e91aeb04f62fb3231cfb0af00008b82a19814138311c2b06cc8df1dbb83c0cd1fc1312a540918a3727407cee81d19116
EBUILD fonttools-4.40.0.ebuild 1571 BLAKE2B 198859e24f17175b3f1de699774f5b41ae674c8281e23cefbd265c1b66e8b6444702c0017bdcd827895fe8f21e2e4a1ea799a2c0052e0f9ac1df54eab0bde742 SHA512 debd1e92dd9e09bc802b9c2055087970b74b826a6fe96d38383b4ee84c93ff0de4adae9a071e6d813535a128a7fd51e6dce279f3cf9b839a6e93abef0c1ce3f8
EBUILD fonttools-4.41.0.ebuild 1592 BLAKE2B e18b4dc6f63474408edbce5898d544ded8d11a981ed91a787b15909929c3a90a0c76c63480ad6a2f8b9b52db17e07633683e25ab52dd8ae2b8e562ee1ca9417c SHA512 219929f510c4f99eb74954e92d8d7b127f9d1a81bf212fb1bb25610571ccf4cb20d5f42c4d7c72bd15e266047f6272845716667e54114bf62ee76e1e042ccbe0
EBUILD fonttools-4.41.1.ebuild 1592 BLAKE2B e18b4dc6f63474408edbce5898d544ded8d11a981ed91a787b15909929c3a90a0c76c63480ad6a2f8b9b52db17e07633683e25ab52dd8ae2b8e562ee1ca9417c SHA512 219929f510c4f99eb74954e92d8d7b127f9d1a81bf212fb1bb25610571ccf4cb20d5f42c4d7c72bd15e266047f6272845716667e54114bf62ee76e1e042ccbe0
+EBUILD fonttools-4.42.0.ebuild 1592 BLAKE2B e18b4dc6f63474408edbce5898d544ded8d11a981ed91a787b15909929c3a90a0c76c63480ad6a2f8b9b52db17e07633683e25ab52dd8ae2b8e562ee1ca9417c SHA512 219929f510c4f99eb74954e92d8d7b127f9d1a81bf212fb1bb25610571ccf4cb20d5f42c4d7c72bd15e266047f6272845716667e54114bf62ee76e1e042ccbe0
MISC metadata.xml 372 BLAKE2B 950ec78bf127250847c6513c22a5108b251afdb000d361068edf9d00d64a5baf6925ba4058bb889724febb28d92abc044c29af5936a48d8e8951b12314b64357 SHA512 03e76e28959bab83fe41c3ee4b55692ced9b1360e73e38a6e8f6e5c06fd1185dcbe0214aea2edff18d248abf252c1877d0d2c2b78b8e088e606c09c34e93e7ac
diff --git a/dev-python/fonttools/fonttools-4.42.0.ebuild b/dev-python/fonttools/fonttools-4.42.0.ebuild
new file mode 100644
index 000000000000..9468c65101c8
--- /dev/null
+++ b/dev-python/fonttools/fonttools-4.42.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 ~arm64-macos ~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}"
+}