sci-mathematics/coq: Stable for amd64. Retroactively mark stable for the remaining...
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 25 Jun 2016 20:37:09 +0000 (20:37 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 25 Jun 2016 20:41:30 +0000 (20:41 +0000)
Package-Manager: portage-2.2.28
Gentoo-Bug: https://bugs.gentoo.org/586932

sci-mathematics/coq/coq-8.5.ebuild

index 1dffb390cc781ed6cd5d66911813e9f972629760..040cc88a894473397cb474b9080d882de86416c7 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=5
 
 inherit eutils multilib
 
@@ -15,7 +15,7 @@ SRC_URI="http://${PN}.inria.fr/distrib/V${MY_PV}/files/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="gtk debug +ocamlopt doc camlp5"
 
 RDEPEND="
@@ -23,6 +23,7 @@ RDEPEND="
        camlp5? ( >=dev-ml/camlp5-6.02.3:=[ocamlopt?] )
        !camlp5? ( dev-ml/camlp4:= )
        gtk? ( >=dev-ml/lablgtk-2.10.1:=[sourceview,ocamlopt?] )"
+
 DEPEND="${RDEPEND}
        doc? (
                media-libs/netpbm[png,zlib]
@@ -34,11 +35,15 @@ DEPEND="${RDEPEND}
                dev-texlive/texlive-latexextra
                )"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch"
+       "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch"
+)
 
 src_prepare() {
-       epatch "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch"
-       epatch "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch"
+       epatch "${PATCHES[@]}"
 }
 
 src_configure() {