From: Justin Lecher Date: Sun, 2 Jul 2017 08:06:39 +0000 (+0100) Subject: media-gfx/asymptote: Bump to EAPI=6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=050f85c575e395a82b1029675a86739dab961946;p=gentoo.git media-gfx/asymptote: Bump to EAPI=6 Package-Manager: Portage-2.3.6-prefix, Repoman-2.3.2 Signed-off-by: Justin Lecher --- diff --git a/media-gfx/asymptote/asymptote-2.41.ebuild b/media-gfx/asymptote/asymptote-2.41.ebuild index f48cbea6178d..b0de1fb49462 100644 --- a/media-gfx/asymptote/asymptote-2.41.ebuild +++ b/media-gfx/asymptote/asymptote-2.41.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit autotools elisp-common eutils latex-package multilib python-single-r1 +inherit autotools elisp-common latex-package multilib python-single-r1 DESCRIPTION="A vector graphics language that provides a framework for technical drawing" HOMEPAGE="http://asymptote.sourceforge.net/" @@ -53,24 +53,27 @@ DEPEND="${RDEPEND} TEXMF=/usr/share/texmf-site +PATCHES=( + # gc.h -> gc/gc.h + "${FILESDIR}/${P}-configure-ac.patch" + + # Changing pdf, ps, image viewers to xdg-open + "${FILESDIR}/${P}-xdg-utils.patch" + + # Bug #322473 + "${FILESDIR}/${P}-info.patch" +) + pkg_setup() { (use python || use X) && python-single-r1_pkg_setup } src_prepare() { - # gc.h -> gc/gc.h - epatch "${FILESDIR}/${P}-configure-ac.patch" - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ -i configure.ac \ || die "sed configure.ac failed" - # Changing pdf, ps, image viewers to xdg-open - epatch "${FILESDIR}/${P}-xdg-utils.patch" - - # Bug #322473 - epatch "${FILESDIR}/${P}-info.patch" - + default eautoreconf }