commit: 050f85c575e395a82b1029675a86739dab961946 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Jul 2 08:06:39 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Jul 2 08:07:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050f85c5
media-gfx/asymptote: Bump to EAPI=6 Package-Manager: Portage-2.3.6-prefix, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> media-gfx/asymptote/asymptote-2.41.ebuild | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/media-gfx/asymptote/asymptote-2.41.ebuild b/media-gfx/asymptote/asymptote-2.41.ebuild index f48cbea6178..b0de1fb4946 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 }