summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-18 09:46:54 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-18 10:44:56 +0100
commitc3ff979cf44a335c8d1a5672e11b259e61a3712c (patch)
tree85ef48c9a90d21a5ab16dcfe60f43231d71a0d1b /app-text/mftrace
parentdev-util/yacc: clean up old. (diff)
downloadgentoo-c3ff979cf44a335c8d1a5672e11b259e61a3712c.tar.gz
gentoo-c3ff979cf44a335c8d1a5672e11b259e61a3712c.tar.bz2
gentoo-c3ff979cf44a335c8d1a5672e11b259e61a3712c.zip
app-text/mftrace: python-single-r1, EAPI=6
Diffstat (limited to 'app-text/mftrace')
-rw-r--r--app-text/mftrace/mftrace-1.2.18-r1.ebuild (renamed from app-text/mftrace/mftrace-1.2.18.ebuild)29
1 files changed, 8 insertions, 21 deletions
diff --git a/app-text/mftrace/mftrace-1.2.18.ebuild b/app-text/mftrace/mftrace-1.2.18-r1.ebuild
index d41aa2d5f531..b9f5707a3fb5 100644
--- a/app-text/mftrace/mftrace-1.2.18.ebuild
+++ b/app-text/mftrace/mftrace-1.2.18-r1.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
-PYTHON_DEPEND="2"
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
-inherit python toolchain-funcs
+inherit python-single-r1 toolchain-funcs
DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)"
HOMEPAGE="http://lilypond.org/mftrace/"
SRC_URI="http://lilypond.org/download/sources/mftrace/${P}.tar.gz"
+
LICENSE="GPL-2"
KEYWORDS="amd64 ~hppa ppc x86 ~x86-fbsd"
# SLOT 1 was used in pktrace ebuild
@@ -23,16 +24,10 @@ RDEPEND=">=app-text/t1utils-1.25
DEPEND="${RDEPEND}
test? ( media-gfx/fontforge )"
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
src_configure() {
tc-export CC
econf \
- --datadir="$(python_get_sitedir)" \
- PYTHON="$(PYTHON)"
+ --datadir="$(python_get_sitedir)"
}
src_compile() {
@@ -40,14 +35,6 @@ src_compile() {
}
src_install () {
- emake DESTDIR="${D}" PYC_MODULES="" install
- dodoc README.txt ChangeLog
-}
-
-pkg_postinst() {
- python_mod_optimize mftrace
-}
-
-pkg_postrm() {
- python_mod_cleanup mftrace
+ default
+ python_optimize
}