aboutsummaryrefslogtreecommitdiff
blob: 7a21cddc0c6be68620e6d7731966f985fcb576d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{8..9} )

inherit distutils-r1

SRC_URI="https://github.com/robotools/fontMath/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="A collection of objects that implement fast font math"
HOMEPAGE="https://github.com/robotools/fontMath"
LICENSE="MIT"
SLOT="0"

RDEPEND="
	${PYTHON_DEPS}
	>=dev-python/fonttools-4.9[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

distutils_enable_tests pytest

pkg_setup() {
	export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
}