Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 698128 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild (-2 / +15 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=6
4
EAPI=6
Lines 25-34 DEPEND=" Link Here
25
	fontforge? (
25
	fontforge? (
26
		${PYTHON_DEPS}
26
		${PYTHON_DEPS}
27
		media-gfx/fontforge
27
		media-gfx/fontforge
28
		dev-python/fonttools
28
		<dev-python/fonttools-4.0
29
	)"
29
	)"
30
RDEPEND=""
30
RDEPEND=""
31
31
32
python_check_deps() {
33
	if use fontforge ; then
34
		has_version "dev-python/fonttools[${PYTHON_USEDEP}]"
35
	fi
36
}
37
38
src_prepare() {
39
	default
40
	if use fontforge ; then
41
		sed -i "s/= python/= ${EPYTHON}/" Makefile || die
42
	fi
43
}
44
32
pkg_setup() {
45
pkg_setup() {
33
	if use fontforge; then
46
	if use fontforge; then
34
		FONT_S="${S}/${PN}-ttf-${PV}"
47
		FONT_S="${S}/${PN}-ttf-${PV}"
(-)a/media-fonts/liberation-fonts/liberation-fonts-2.00.5.ebuild (+13 lines)
Lines 28-33 DEPEND=" Link Here
28
		dev-python/fonttools
28
		dev-python/fonttools
29
	)"
29
	)"
30
30
31
python_check_deps() {
32
	if use fontforge ; then
33
		has_version "dev-python/fonttools[${PYTHON_USEDEP}]"
34
	fi
35
}
36
37
src_prepare() {
38
	default
39
	if use fontforge ; then
40
		sed -i "s/= python3/= ${EPYTHON}/" Makefile || die
41
	fi
42
}
43
31
pkg_setup() {
44
pkg_setup() {
32
	if use fontforge; then
45
	if use fontforge; then
33
		FONT_S="${S}/${PN}-ttf-${PV}"
46
		FONT_S="${S}/${PN}-ttf-${PV}"

Return to bug 698128