Files
guru/dev-python/glyphsLib/glyphsLib-5.3.0.ebuild
Andrew Ammerlaan 561730a211 dev-python/glyphsLib: add missing dep
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-12-12 16:35:04 +01:00

38 lines
857 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="A library to provide a bridge from Glyphs source files to UFOs"
HOMEPAGE="https://github.com/googlei18n/${PN}"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
LICENSE="Apache-2.0 MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND="
>=dev-python/fonttools-4.14[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.8[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/defcon[${PYTHON_USEDEP}]
dev-python/ufoNormalizer[${PYTHON_USEDEP}]
>=app-text/xmldiff-2.2[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_prepare_all() {
sed -e '/\<wheel\>/d' -i setup.cfg
distutils-r1_python_prepare_all
}