guru/dev-python/defcon/defcon-0.10.2.ebuild
Anna (cybertailor) Vyalkova f57ccbbb7c
dev-python/defcon: new package, add 0.10.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-04-30 19:40:35 +05:00

33 lines
721 B
Bash

# Copyright 1999-2023 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 set of UFO based objects for use in font editing applications"
HOMEPAGE="https://github.com/robotools/defcon"
SRC_URI="$(pypi_sdist_url ${PN} ${PV} .zip)"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/fonttools-4.34.4[${PYTHON_USEDEP}]"
BDEPEND="
app-arch/unzip
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/fs[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_configure() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
distutils-r1_src_configure
}