mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
48 lines
1.3 KiB
Bash
48 lines
1.3 KiB
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_8 )
|
|
|
|
inherit distutils-r1
|
|
|
|
SRC_URI="https://github.com/googlefonts/fontmake/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
DESCRIPTION="A wrapper for several Python libraries to compile fonts from sources"
|
|
HOMEPAGE="https://github.com/googlei18n/fontmake"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
|
|
RDEPEND="
|
|
>=dev-python/attrs-20.2[${PYTHON_USEDEP}]
|
|
>=dev-python/booleanOperations-0.9[${PYTHON_USEDEP}]
|
|
>=dev-python/defcon-0.8.1[${PYTHON_USEDEP}]
|
|
>=dev-python/cu2qu-1.6.7[${PYTHON_USEDEP}]
|
|
>=dev-python/fontMath-0.6[${PYTHON_USEDEP}]
|
|
>=dev-python/fonttools-4.21.1[${PYTHON_USEDEP}]
|
|
>=dev-python/glyphsLib-5.3.2[${PYTHON_USEDEP}]
|
|
>=dev-python/MutatorMath-3.0.1[${PYTHON_USEDEP}]
|
|
dev-python/skia-pathops[${PYTHON_USEDEP}]
|
|
>=dev-python/ufo2ft-2.20[${PYTHON_USEDEP}]
|
|
>=dev-python/ufoLib2-0.8[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
test? (
|
|
media-gfx/fontdiff
|
|
dev-python/mock[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
PATCHES=(
|
|
"${FILESDIR}/defaults.diff"
|
|
"${FILESDIR}/instance_dir.diff"
|
|
)
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
pkg_setup() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
|
|
}
|