Files
guru/dev-python/glyphsLib/glyphsLib-6.0.4.ebuild
Alessandro Barbieri de8da4b5e4 dev-python/glyphsLib: version to scm
Bug: https://bugs.gentoo.org/835554
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-03-18 10:54:42 +01:00

39 lines
960 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="A library to provide a bridge from Glyphs source files to UFOs"
HOMEPAGE="https://github.com/googlefonts/glyphsLib"
SRC_URI="https://github.com/googlefonts/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
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-6.0[${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() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
sed -e '/\<wheel\>/d' -i setup.cfg
distutils-r1_python_prepare_all
}