mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 01:53:25 -04:00
dev-util/gftools: add 0.9.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST GlyphsInfo-e33ccf3515cc5b8005a3a50b4163663623649d20.tar.gz 576525 BLAKE2B 306146533d15e412e8e18f072a1fd55770310fd7a85e0a8cb956f1262622e40776b60c1bb729701b419c155970870a55a398cf01257e0b4f4a338c8714232c79 SHA512 7481f524273e73cbb7827ee6ddf9ae63852b44440e9ef5097c6fea643e99912195f0257e9140ca17738a208559c36d8dbec51ec9ec5f24cd9510d5989378be13
|
||||
DIST gftools-0.7.2.tar.gz 5558945 BLAKE2B 4021f6a09b401b94e048c88f1a744153f830ad550edb14ba5c4c83f6deda9089e27c449a85d643ea167e31d1697c3eb404f49c9bd1a9f2322746aa06a2655c5d SHA512 34336e6fa69722f3e7a317f09c2be15f8f74505dea673dea68d6c51c0289f448d77849cc92f3b47bc6bdb2f86ad525a82a4c24e9a4e08fc215cfd6e2e401d818
|
||||
DIST gftools-0.9.2.tar.gz 4640316 BLAKE2B 9fad40044c6d66fb8f6fe69d8f67bae62828954136b14d44108098b60f77babc964508d229eda9018fc1fd3312f1f8ecc0a6ad5f067cea71a504b58ce8d2f691 SHA512 e60d358c4754b0177532ef5f84a50734ea4a203275f13e262852819522901ac16e0e502a883eafcf6e868faa07f17440a58f923927a826364212452d96944db8
|
||||
|
||||
78
dev-util/gftools/gftools-0.9.2.ebuild
Normal file
78
dev-util/gftools/gftools-0.9.2.ebuild
Normal file
@@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
COMMIT="e33ccf3515cc5b8005a3a50b4163663623649d20"
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
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}.tar.gz
|
||||
https://github.com/schriftgestalt/GlyphsInfo/archive/${COMMIT}.tar.gz -> GlyphsInfo-${COMMIT}.tar.gz
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
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-2.4.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}]
|
||||
')
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user