Files
guru/dev-python/fontFeatures/fontFeatures-1.7.4.ebuild
T

56 lines
1.3 KiB
Bash
Raw Normal View History

2023-01-11 23:34:59 -05:00
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2023-05-09 20:07:51 +05:00
PYTHON_COMPAT=( python3_{10..11} )
2023-01-11 23:34:59 -05:00
DISTUTILS_USE_PEP517=setuptools
2023-05-09 20:07:51 +05:00
PYPI_NO_NORMALIZE=1
inherit distutils-r1 optfeature pypi
2023-01-11 23:34:59 -05:00
DESCRIPTION="Python library for manipulating OpenType font features"
2023-05-09 20:07:51 +05:00
HOMEPAGE="
https://pypi.org/project/fontFeatures/
https://github.com/simoncozens/fontFeatures
"
2023-01-11 23:34:59 -05:00
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
# Tests are also failing upstream
# https://github.com/simoncozens/fontFeatures/actions/runs/3677601386/jobs/6219782260
2023-05-09 20:07:51 +05:00
#RESTRICT="test"
2023-01-11 23:34:59 -05:00
RDEPEND="
2023-05-09 20:07:51 +05:00
>=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
>=dev-python/fonttools-4.28.0[${PYTHON_USEDEP}]
2023-01-11 23:34:59 -05:00
dev-python/fs[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/youseedee-0.3.0[${PYTHON_USEDEP}]
>=dev-python/babelfont-3.0.0_alpha1[${PYTHON_USEDEP}]
)
"
PDEPEND=">=dev-python/glyphtools-0.7.0[${PYTHON_USEDEP}]"
2023-05-09 20:07:51 +05:00
DOCS=( {CHANGES,NEW-FORMAT,README}.md )
EPYTEST_DESELECT=(
tests/test_anchors.py::TestAnchors::test_markbase
tests/test_chaining.py::TestChaining::test_ignore
"tests/test_fea_parser.py::test_round_trip[mark_attachment]"
)
2023-01-11 23:34:59 -05:00
distutils_enable_tests pytest
2023-05-09 20:07:51 +05:00
python_test() {
local -x CI=1
epytest
}
2023-05-09 20:07:51 +05:00
pkg_postinst() {
optfeature "shaper support" "dev-python/babelfont dev-python/youseedee"
}