commit:     c31b5b3ede65963f7516d8494c350eb66147dd22
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Thu Jan 12 04:55:46 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jan 13 03:11:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c31b5b3e

dev-util/gftools: add 0.9.21

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-util/gftools/Manifest              |  3 +-
 dev-util/gftools/gftools-0.9.21.ebuild | 78 ++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+), 1 deletion(-)

diff --git a/dev-util/gftools/Manifest b/dev-util/gftools/Manifest
index 4487fa472..671220a79 100644
--- a/dev-util/gftools/Manifest
+++ b/dev-util/gftools/Manifest
@@ -1 +1,2 @@
-DIST GlyphsInfo-e33ccf3515cc5b8005a3a50b4163663623649d20.tar.gz 576525 BLAKE2B 
306146533d15e412e8e18f072a1fd55770310fd7a85e0a8cb956f1262622e40776b60c1bb729701b419c155970870a55a398cf01257e0b4f4a338c8714232c79
 SHA512 
7481f524273e73cbb7827ee6ddf9ae63852b44440e9ef5097c6fea643e99912195f0257e9140ca17738a208559c36d8dbec51ec9ec5f24cd9510d5989378be13
\ No newline at end of file
+DIST GlyphsInfo.gh.tar.gz 576525 BLAKE2B 
306146533d15e412e8e18f072a1fd55770310fd7a85e0a8cb956f1262622e40776b60c1bb729701b419c155970870a55a398cf01257e0b4f4a338c8714232c79
 SHA512 
7481f524273e73cbb7827ee6ddf9ae63852b44440e9ef5097c6fea643e99912195f0257e9140ca17738a208559c36d8dbec51ec9ec5f24cd9510d5989378be13
+DIST gftools-0.9.21.gh.tar.gz 4876120 BLAKE2B 
e686d65ec104a21c085b25f14aafc9ea7dda71bde6ea1c22cfedecbe0d504b8a81dfb6480568a248521dc6e5e997d1b39b2864b73d8f2db5780f746e5205cac0
 SHA512 
55d23666780632737c6f1258dc7c96f889fd28815116bf2d2ceff70690a7bef1ab631c294b79fea546b2de10569f1517674f4ec2fa30899558ac4e9cf6d91647

diff --git a/dev-util/gftools/gftools-0.9.21.ebuild 
b/dev-util/gftools/gftools-0.9.21.ebuild
new file mode 100644
index 000000000..9a39fb3d2
--- /dev/null
+++ b/dev-util/gftools/gftools-0.9.21.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GLYPHSINFO_COMMIT="e33ccf3515cc5b8005a3a50b4163663623649d20"
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_10 )
+
+inherit distutils-r1
+
+DESCRIPTION="Miscellaneous tools for working with the Google Fonts collection"
+HOMEPAGE="https://github.com/googlefonts/gftools";
+SRC_URI="
+       https://github.com/googlefonts/gftools/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.gh.tar.gz
+       
https://github.com/schriftgestalt/GlyphsInfo/archive/${GLYPHSINFO_COMMIT}.tar.gz
 -> GlyphsInfo.gh.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0 MIT test? ( OFL )"
+SLOT="0"
+
+# ufolib2 is an indirect dependency
+RDEPEND="
+       dev-python/statmake[${PYTHON_SINGLE_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/ufoLib2[${PYTHON_USEDEP}]
+               dev-python/fonttools[${PYTHON_USEDEP}]
+               >=dev-python/axisregistry-0.2.0[${PYTHON_USEDEP}]
+               dev-python/absl-py[${PYTHON_USEDEP}]
+               dev-python/protobuf-python[${PYTHON_USEDEP}]
+               dev-python/PyGithub[${PYTHON_USEDEP}]
+               dev-python/vttlib[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/babelfont[${PYTHON_USEDEP}]
+               dev-python/ttfautohint-py[${PYTHON_USEDEP}]
+               >=dev-util/fontmake-3.3.0[${PYTHON_USEDEP}]
+               app-arch/brotli[python,${PYTHON_USEDEP}]
+               >=dev-python/browserstack-local-python-1.2.2[${PYTHON_USEDEP}]
+               >=dev-python/pybrowserstack-screenshots-0.1[${PYTHON_USEDEP}]
+               >=dev-python/gflanguages-0.4.0[${PYTHON_USEDEP}]
+               dev-python/glyphsLib[${PYTHON_USEDEP}]
+               >=dev-python/glyphsets-0.2.1[${PYTHON_USEDEP}]
+               dev-python/ots-python[${PYTHON_USEDEP}]
+               dev-python/pygit2[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/strictyaml[${PYTHON_USEDEP}]
+               dev-python/tabulate[${PYTHON_USEDEP}]
+               dev-python/unidecode[${PYTHON_USEDEP}]
+               dev-python/skia-pathops[${PYTHON_USEDEP}]
+               dev-python/jinja[${PYTHON_USEDEP}]
+               dev-python/hyperglot[${PYTHON_USEDEP}]
+               >=dev-python/fontFeatures-1.6.2[${PYTHON_USEDEP}]
+               dev-python/vharfbuzz[${PYTHON_USEDEP}]
+       ')
+"
+DEPEND="
+       ${RDEPEND}
+       $(python_gen_cond_dep '>=dev-python/setuptools_scm-4[${PYTHON_USEDEP}]')
+"
+
+RESTRICT="test"
+PROPERTIES="test_network"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       mv "${WORKDIR}/GlyphsInfo"/*.xml "Lib/gftools/util/GlyphsInfo" || die
+       export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}"
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}"
+       local -x PATH="${S}:${PATH}"
+       distutils_install_for_testing
+       epytest -vv
+}

Reply via email to