guru/dev-python/vttlib/vttlib-0.11.0.ebuild
Alessandro Barbieri 89576d16e9
dev-python/vttlib: use a proper fix for toml
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-05-08 13:12:56 +02:00

43 lines
960 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
MYPN="vttLib"
MYPV="${PV/_p/.post}"
MYP="${MYPN}-${MYPV}"
PYTHON_COMPAT=( python3_{7,8} )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1
DESCRIPTION="Dump, merge and compile Visual TrueType data in UFO3 with FontTools"
HOMEPAGE="
https://github.com/daltonmaag/vttLib
https://pypi.org/project/vttlib
"
SRC_URI="mirror://pypi/${MYP:0:1}/${MYPN}/${MYP}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
#install_requires
RDEPEND="
>=dev-python/fonttools-4.10.2[${PYTHON_USEDEP}]
>=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.7.1[${PYTHON_USEDEP}]
"
#setup_requires
DEPEND="
${RDEPEND}
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
>=dev-python/ufo2ft-2.14.0[${PYTHON_USEDEP}]
)
"
BDEPEND="app-arch/unzip"
S="${WORKDIR}/${MYP}"
distutils_enable_tests pytest