diff --git a/dev-python/fontParts/Manifest b/dev-python/fontParts/Manifest new file mode 100644 index 0000000000..18a8218c50 --- /dev/null +++ b/dev-python/fontParts/Manifest @@ -0,0 +1 @@ +DIST fontParts-0.9.2.tar.gz 431111 BLAKE2B 928bfaa1eebae9056dabb559d58185401bf77294b6497e1086dfff14fc779a52faae044e4a0d623a9e9e426943b1416bc534d4b7fb6b4d6b599c4462014b8991 SHA512 f1e230c2d356b1fa49191d59c625d9e8bcb407a94fc497a99da8cd070fba4f2f6fa4a938e98d86dac6778c4350fe917f360974bd03f08fb3c6566ad7e37b440e diff --git a/dev-python/fontParts/fontParts-0.9.2.ebuild b/dev-python/fontParts/fontParts-0.9.2.ebuild new file mode 100644 index 0000000000..c6ed8e7e71 --- /dev/null +++ b/dev-python/fontParts/fontParts-0.9.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +SRC_URI="https://github.com/robotools/fontParts/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" +DESCRIPTION="An API for interacting with the parts of fonts" +HOMEPAGE="https://github.com/robotools/fontParts" +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/booleanOperations[${PYTHON_USEDEP}] + dev-python/defcon[${PYTHON_USEDEP}] + dev-python/fontMath[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.2.1[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/fontPens[${PYTHON_USEDEP}] )" + +python_test() { + "${EPYTHON}" Lib/fontParts/fontshell/test.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/fontParts/metadata.xml b/dev-python/fontParts/metadata.xml new file mode 100644 index 0000000000..46f4785f78 --- /dev/null +++ b/dev-python/fontParts/metadata.xml @@ -0,0 +1,5 @@ + + + + +