commit: 4344dbdf4dcc9311bdab2252afc85c5d17277bd6 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Tue Jun 28 04:21:14 2022 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Tue Jun 28 04:34:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4344dbdf
dev-python/fontParts: add 0.10.6 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/fontParts/Manifest | 1 + dev-python/fontParts/fontParts-0.10.6.ebuild | 37 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/fontParts/Manifest b/dev-python/fontParts/Manifest index 2ab0eef0e..1406a42b1 100644 --- a/dev-python/fontParts/Manifest +++ b/dev-python/fontParts/Manifest @@ -1 +1,2 @@ DIST fontParts-0.10.5.tar.gz 431282 BLAKE2B f0585b0220b35f9b6fc18ace6b517b69fecf87e2d0e1fda7ea5753512851e49b2fd122af628286a638d9c178212602e0ca467b38a94577d11ea3bb117d944a6b SHA512 961507c60de82da516f5cefbb3ca998533751234953c01c28e2ca534d47916e534c1cd6dc95add182e7da10ff57b1a0e0e5ad20fcbe4c385d5f2f58dde0be927 +DIST fontParts-0.10.6.gh.tar.gz 431799 BLAKE2B e1fdc0e4ac54a62ec025bf73596e9abb2472dbb4eff5f2eea2667da31c5b75cf37a1db9cc25b2fac8afb8815b721aa7439f91129e03df018ba77e9a4b37886cd SHA512 77b888c7393a92153fbd0c61a6e3e30a1c8c9416db4132799cfd938f819ff415f408d31326b87e8bd5b9b9876559a82a61251328684933b7ecc33ccc9735b843 diff --git a/dev-python/fontParts/fontParts-0.10.6.ebuild b/dev-python/fontParts/fontParts-0.10.6.ebuild new file mode 100644 index 000000000..332501e01 --- /dev/null +++ b/dev-python/fontParts/fontParts-0.10.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="An API for interacting with the parts of fonts" +HOMEPAGE="https://github.com/robotools/fontParts" +SRC_URI="https://github.com/robotools/fontParts/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-python/booleanOperations-0.9.0[${PYTHON_USEDEP}] + >=dev-python/defcon-0.6.0[${PYTHON_USEDEP}] + >=dev-python/fontMath-0.4.8[${PYTHON_USEDEP}] + >=dev-python/fonttools-3.32.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/fontPens[${PYTHON_USEDEP}] )" + +RESTRICT="!test? ( test )" + +pkg_setup() { + export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}" +} + +python_test() { + "${EPYTHON}" Lib/fontParts/fontshell/test.py -v || die "Tests failed with ${EPYTHON}" +}