dev-python/fontParts: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-18 01:06:33 +02:00
parent 664464fbd8
commit 6f89d6a4bb
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST fontParts-0.9.2.tar.gz 431111 BLAKE2B 928bfaa1eebae9056dabb559d58185401bf77294b6497e1086dfff14fc779a52faae044e4a0d623a9e9e426943b1416bc534d4b7fb6b4d6b599c4462014b8991 SHA512 f1e230c2d356b1fa49191d59c625d9e8bcb407a94fc497a99da8cd070fba4f2f6fa4a938e98d86dac6778c4350fe917f360974bd03f08fb3c6566ad7e37b440e

View File

@@ -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}"
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer needed -->
</pkgmetadata>