aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-05-04 23:10:14 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-05-04 23:14:17 +0500
commite643ef4dd096a4dcb4050e008afaf2cf26f56a03 (patch)
tree6b63602455ae2fdcbbf7345c132aba06d77d28a1 /dev-util
parentmedia-sound/dzr: drop 230501 (diff)
downloadguru-e643ef4dd096a4dcb4050e008afaf2cf26f56a03.tar.gz
guru-e643ef4dd096a4dcb4050e008afaf2cf26f56a03.tar.bz2
guru-e643ef4dd096a4dcb4050e008afaf2cf26f56a03.zip
dev-util/fontmake: add 3.5.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/fontmake/Manifest1
-rw-r--r--dev-util/fontmake/fontmake-3.5.1.ebuild56
-rw-r--r--dev-util/fontmake/metadata.xml20
3 files changed, 67 insertions, 10 deletions
diff --git a/dev-util/fontmake/Manifest b/dev-util/fontmake/Manifest
index bf7405d36..45fcedaca 100644
--- a/dev-util/fontmake/Manifest
+++ b/dev-util/fontmake/Manifest
@@ -1 +1,2 @@
DIST fontmake-3.3.0.gh.tar.gz 148043 BLAKE2B a69d177fad5bab60b0fb305a2a6ff55bf95c32aee52ff55bc01d8d25b2c718ed52a4ea5042300430bab531e7d71d4899bbf096ed0844009dd5ca538f701a2eb2 SHA512 0b1544a86fce9096e4b81459268baf57df1d071b4e951b411f823e331867aaefaf08b4176cf79af3a9df28c410c5f81918e8b880c5c9769fe8637e307a67b0a3
+DIST fontmake-3.5.1.zip 463050 BLAKE2B d0118f5aae604d9d7de9cea0a8de2493c292e1a796870be8fbbdfb2ffe64b5c2b10744a3e24e763540abc24669a9f88338d35dfdff1fdbba9cf4d5f2a6a778d1 SHA512 6762f7453b1906ecccf11ec31aea881543c4f47dbd4738e1a491663a593f0cf78beee2c8f64b0df5ea1c0ba226a8169f8162719f0e07a4b898b8ec38c37e4232
diff --git a/dev-util/fontmake/fontmake-3.5.1.ebuild b/dev-util/fontmake/fontmake-3.5.1.ebuild
new file mode 100644
index 000000000..e0eb45944
--- /dev/null
+++ b/dev-util/fontmake/fontmake-3.5.1.ebuild
@@ -0,0 +1,56 @@
+# 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_{10..11} )
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType)"
+HOMEPAGE="
+ https://pypi.org/project/fontmake/
+ https://github.com/googlefonts/fontmake
+"
+SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# fonttools[ufo]
+# - dev-python/fs
+# fonttools[lxml]
+# - dev-python/lxml
+# fonttools[unicode]
+# - dev-python/unicodedata2
+# ufo2ft[compreffor]
+# - dev-python/compreffor
+RDEPEND="
+ >=dev-python/attrs-19[${PYTHON_USEDEP}]
+ >=dev-python/compreffor-0.4.6[${PYTHON_USEDEP}]
+ >=dev-python/fontMath-0.9.3[${PYTHON_USEDEP}]
+ >=dev-python/fonttools-4.38.0[${PYTHON_USEDEP}]
+ >=dev-python/fs-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/glyphsLib-6.1.0[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.2.4[${PYTHON_USEDEP}]
+ >=dev-python/ufo2ft-2.27.0[${PYTHON_USEDEP}]
+ >=dev-python/ufoLib2-0.13.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep \
+ '>=dev-python/unicodedata2-15[${PYTHON_USEDEP}]' 3.10)
+"
+BDEPEND="
+ app-arch/unzip
+ test? (
+ >=dev-python/ttfautohint-py-0.5.0[${PYTHON_USEDEP}]
+ >=dev-python/MutatorMath-3.0.1[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "autohint support" dev-python/ttfautohint-py
+ optfeature "mutatormath support" dev-python/MutatorMath
+ optfeature "pathops support" dev-python/skia-pathops
+}
diff --git a/dev-util/fontmake/metadata.xml b/dev-util/fontmake/metadata.xml
index 5826e9317..bae6c98a5 100644
--- a/dev-util/fontmake/metadata.xml
+++ b/dev-util/fontmake/metadata.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://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/googlefonts/fontmake/issues</bugs-to>
- <remote-id type="github">googlefonts/fontmake</remote-id>
- <remote-id type="pypi">fontmake</remote-id>
- </upstream>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/googlefonts/fontmake/issues</bugs-to>
+ <remote-id type="github">googlefonts/fontmake</remote-id>
+ <remote-id type="pypi">fontmake</remote-id>
+ </upstream>
</pkgmetadata>