gentoo/dev-python/fonttools/fonttools-3.20.1.ebuild
Rolf Eike Beer 240598bbe5
dev-python/fonttools: keyworded 3.20.1 for sparc, bug #643334
Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"
2018-01-04 22:10:59 +00:00

35 lines
789 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
PYTHON_REQ_USE="xml(+)"
inherit distutils-r1
DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
HOMEPAGE="https://github.com/behdad/fonttools/"
SRC_URI="https://github.com/behdad/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? (
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
)"
python_prepare_all() {
touch Tests/svgLib/__init__.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}