Files
guru/dev-python/compreffor/compreffor-0.5.2.ebuild
Anna (cybertailor) Vyalkova 210e6ee571 dev-python/compreffor: Use pypi.eclass
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-03-17 17:58:35 +05:00

35 lines
759 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_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="A CFF table subroutinizer for FontTools"
HOMEPAGE="
https://github.com/googlefonts/compreffor
https://pypi.org/project/compreffor/
"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND=">=dev-python/fonttools-4[${PYTHON_USEDEP}]"
DEPEND=">=dev-python/cython-0.29.24[${PYTHON_USEDEP}]"
BDEPEND="
app-arch/unzip
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
PATCHES=( "${FILESDIR}/${PN}-0.5.1_p1-remove-unwanted-dependencies.patch" )
distutils_enable_tests pytest
python_test() {
cd "${T}" || die
epytest --pyargs compreffor
}