dev-util/omake: Assign RESTRICT only once.
authorUlrich Müller <ulm@gentoo.org>
Fri, 13 Dec 2019 15:00:32 +0000 (16:00 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 13 Dec 2019 15:00:32 +0000 (16:00 +0100)
Closes: https://bugs.gentoo.org/699198
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
dev-util/omake/omake-0.10.2.ebuild
dev-util/omake/omake-0.10.3.ebuild
dev-util/omake/omake-0.9.8.6.0_rc1.ebuild

index d8f2abbc56cca26d89293e7de1e5eef267e64ad8..b6934c6a855ac5905a5a31f5d86d287e92e7a573 100644 (file)
@@ -5,23 +5,22 @@ EAPI=5
 
 inherit toolchain-funcs multilib eutils
 
-RESTRICT="installsources"
 DESCRIPTION="Make replacement"
 HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
 SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
-LICENSE="GPL-2"
 
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc fam ncurses +ocamlopt readline"
+RESTRICT="installsources !ocamlopt? ( strip )"
+
 DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        ncurses? ( >=sys-libs/ncurses-5.3:0= )
        fam? ( virtual/fam )
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
-RESTRICT="!ocamlopt? ( strip )"
-
 src_prepare() {
        epatch \
                "${FILESDIR}/${P}-cflags.patch"
index 430979c1cfbd8e7dde7dda36836e39ea398272d6..eda48ece533d917e74d2744ec1e21a83efbae761 100644 (file)
@@ -5,23 +5,22 @@ EAPI=5
 
 inherit toolchain-funcs multilib eutils
 
-RESTRICT="installsources"
 DESCRIPTION="Make replacement"
 HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
 SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
-LICENSE="GPL-2"
 
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc fam ncurses +ocamlopt readline"
+RESTRICT="installsources !ocamlopt? ( strip )"
+
 DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        ncurses? ( >=sys-libs/ncurses-5.3:0= )
        fam? ( virtual/fam )
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
-RESTRICT="!ocamlopt? ( strip )"
-
 src_prepare() {
        epatch \
                "${FILESDIR}/${PN}-0.10.2-cflags.patch"
index 2ca918e00a10e181a838bb1b00a3eefaecf4e6bd..b8d6d19812c914648b72ee4241ce0d8a2ce66749 100644 (file)
@@ -6,23 +6,22 @@ EAPI=5
 inherit toolchain-funcs multilib versionator eutils
 
 MY_PV=$(replace_version_separator 5 '.' "$(replace_version_separator 4 '-' )")
-RESTRICT="installsources"
 DESCRIPTION="Make replacement"
 HOMEPAGE="http://omake.metaprl.org/"
 SRC_URI="http://omake.metaprl.org/downloads/${PN}-${MY_PV}.tar.gz"
-LICENSE="GPL-2"
 
+LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ppc x86"
 IUSE="doc fam ncurses +ocamlopt readline"
+RESTRICT="installsources !ocamlopt? ( strip )"
+
 DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
        ncurses? ( >=sys-libs/ncurses-5.3:0= )
        fam? ( virtual/fam )
        readline? ( >=sys-libs/readline-4.3:0= )"
 RDEPEND="${DEPEND}"
 
-RESTRICT="!ocamlopt? ( strip )"
-
 S=${WORKDIR}/${PN}-${MY_PV%-*}
 
 use_boolean() {