public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mftrace/
Date: Sat, 18 Feb 2017 09:45:03 +0000 (UTC)	[thread overview]
Message-ID: <1487411096.c3ff979cf44a335c8d1a5672e11b259e61a3712c.mgorny@gentoo> (raw)

commit:     c3ff979cf44a335c8d1a5672e11b259e61a3712c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 08:46:54 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 09:44:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ff979c

app-text/mftrace: python-single-r1, EAPI=6

 ...race-1.2.18.ebuild => mftrace-1.2.18-r1.ebuild} | 29 ++++++----------------
 1 file 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
similarity index 63%
rename from app-text/mftrace/mftrace-1.2.18.ebuild
rename to app-text/mftrace/mftrace-1.2.18-r1.ebuild
index d41aa2d5f5..b9f5707a3f 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
 }


             reply	other threads:[~2017-02-18  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-18  9:45 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-19 10:55 [gentoo-commits] repo/gentoo:master commit in: app-text/mftrace/ David Seifert
2017-07-02 12:57 Sebastian Pipping
2017-07-02 12:57 Sebastian Pipping
2017-07-15 23:53 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487411096.c3ff979cf44a335c8d1a5672e11b259e61a3712c.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox