Files
guru/dev-python/ufoLib2/ufoLib2-0.13.1.ebuild
T

45 lines
972 B
Bash
Raw Normal View History

2022-03-11 21:53:10 +01:00
# Copyright 1999-2022 Gentoo Authors
2020-12-09 23:59:55 +01:00
# Distributed under the terms of the GNU General Public License v2
2022-03-11 21:53:10 +01:00
EAPI=8
2020-12-09 23:59:55 +01:00
2022-03-17 14:51:37 +01:00
DISTUTILS_USE_PEP517=setuptools
2020-12-09 23:59:55 +01:00
DOCS_DEPEND="
2023-02-14 12:59:55 +01:00
dev-python/sphinx-rtd-theme
2020-12-09 23:59:55 +01:00
dev-python/typing-extensions
"
DOCS_DIR="${S}/docs/source"
DOCS_BUILDER="sphinx"
2023-05-02 00:45:35 +05:00
PYTHON_COMPAT=( python3_{10..11} )
2021-06-19 23:26:01 +02:00
2020-12-09 23:59:55 +01:00
inherit distutils-r1 docs
DESCRIPTION="A UFO font library"
2022-03-11 21:53:10 +01:00
HOMEPAGE="
https://github.com/fonttools/ufoLib2
https://pypi.org/project/ufoLib2/
"
2022-05-31 12:06:00 +02:00
SRC_URI="https://github.com/fonttools/ufoLib2/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
2020-12-09 23:59:55 +01:00
LICENSE="Apache-2.0"
SLOT="0"
2022-03-11 21:53:10 +01:00
KEYWORDS="~amd64"
2020-12-09 23:59:55 +01:00
RDEPEND="
2022-03-11 21:53:10 +01:00
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
2020-12-09 23:59:55 +01:00
>=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}]
2020-12-09 23:59:55 +01:00
test? (
dev-python/typing-extensions[${PYTHON_USEDEP}]
)
"
2022-03-17 14:51:37 +01:00
pkg_setup() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
}
2020-12-09 23:59:55 +01:00
distutils_enable_tests pytest