From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A22D139694 for ; Sat, 18 Feb 2017 09:45:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66651E0C5E; Sat, 18 Feb 2017 09:45:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 409E9E0C5E for ; Sat, 18 Feb 2017 09:45:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15DD933FE7D for ; Sat, 18 Feb 2017 09:45:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70CA14BF2 for ; Sat, 18 Feb 2017 09:45:03 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1487411096.c3ff979cf44a335c8d1a5672e11b259e61a3712c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mftrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mftrace/mftrace-1.2.18-r1.ebuild app-text/mftrace/mftrace-1.2.18.ebuild X-VCS-Directories: app-text/mftrace/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c3ff979cf44a335c8d1a5672e11b259e61a3712c X-VCS-Branch: master Date: Sat, 18 Feb 2017 09:45:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0f56a3a6-6977-429a-95f7-df9a84002c38 X-Archives-Hash: 2528090ae707ca3f85c2828b288228e1 commit: c3ff979cf44a335c8d1a5672e11b259e61a3712c Author: Michał Górny gentoo org> AuthorDate: Sat Feb 18 08:46:54 2017 +0000 Commit: Michał Górny gentoo 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 }