Files
guru/dev-python/glyphsLib/glyphsLib-5.3.0.ebuild
Andrew Ammerlaan 4d289ea6d8 dev-python/glyphsLib: fix ReferenceInMetadataVar, add bdep on unzip
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 11:42:52 +02:00

39 lines
877 B
Bash

# Copyright 1999-2021 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/glyphsLib"
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="
app-arch/unzip
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
}