diff options
author | 2017-03-22 19:34:33 +0100 | |
---|---|---|
committer | 2017-03-22 19:34:33 +0100 | |
commit | 3b14294ee010264b6ebd912d6c0ff58d8494ec57 (patch) | |
tree | 94eb6df870b5994988c99f6fd432a541a2eaa9da /app-text | |
parent | media-sound/cava: Fix compilation (diff) | |
download | betagarden-3b14294ee010264b6ebd912d6c0ff58d8494ec57.tar.gz betagarden-3b14294ee010264b6ebd912d6c0ff58d8494ec57.tar.bz2 betagarden-3b14294ee010264b6ebd912d6c0ff58d8494ec57.zip |
app-text/mftrace: EAPI 6, python-single-r1
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mftrace/mftrace-9999.ebuild | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/app-text/mftrace/mftrace-9999.ebuild b/app-text/mftrace/mftrace-9999.ebuild index 58bcc9e..261a237 100644 --- a/app-text/mftrace/mftrace-9999.ebuild +++ b/app-text/mftrace/mftrace-9999.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="4" -PYTHON_DEPEND="2" +EAPI=6 -inherit git-r3 autotools python toolchain-funcs +PYTHON_COMPAT=( python2_7 ) + +inherit git-r3 autotools python-single-r1 toolchain-funcs DESCRIPTION="Traces TeX fonts to PFA or PFB fonts (formerly pktrace)" HOMEPAGE="http://lilypond.org/mftrace/" @@ -18,25 +19,21 @@ IUSE="doc test truetype" RDEPEND=">=app-text/t1utils-1.25 || ( media-gfx/potrace >=media-gfx/autotrace-0.30 ) truetype? ( media-gfx/fontforge ) - virtual/latex-base" + virtual/latex-base + ${PYTHON_DEPS}" DEPEND="${RDEPEND} doc? ( sys-apps/texinfo ) test? ( media-gfx/fontforge )" -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - src_prepare() { + eapply_user eautoreconf } src_configure() { tc-export CC econf \ - --datadir="$(python_get_sitedir)" \ - PYTHON="$(PYTHON)" + --datadir="$(python_get_sitedir)" } src_compile() { @@ -45,15 +42,8 @@ src_compile() { } src_install () { - emake DESTDIR="${D}" PYC_MODULES="" install + default + python_optimize dodoc ChangeLog use doc && dodoc README.txt } - -pkg_postinst() { - python_mod_optimize mftrace -} - -pkg_postrm() { - python_mod_cleanup mftrace -} |