dev-util/coccinelle: Replace STRIP_MASK with RESTRICT=strip
authorMichał Górny <mgorny@gentoo.org>
Sun, 14 Apr 2019 08:34:14 +0000 (10:34 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 14 Apr 2019 08:38:34 +0000 (10:38 +0200)
Closes: https://bugs.gentoo.org/651448
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/coccinelle/coccinelle-1.0.5.ebuild
dev-util/coccinelle/coccinelle-1.0.6.ebuild

index e4f865f92b0ef2511ebac21a5f9b8cd816e62d30..598e875c240b55e97f531664aa2adaf4d9ddae58 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -42,6 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
+RESTRICT=strip
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el
@@ -109,8 +110,6 @@ src_install() {
        fi
 
        use python && python_optimize
-
-       export STRIP_MASK='*/coccinelle/spatch'
 }
 
 pkg_postinst() {
index 1e97b0576dc186515c4b7cf9be03f81d6fd7003d..2ccd550333b970b3b9418cf830fd16aa400bd51d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -42,6 +42,7 @@ DEPEND="${CDEPEND}
 
 DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
 
+RESTRICT=strip
 S=${WORKDIR}/${MY_P}
 
 SITEFILE=50coccinelle-gentoo.el
@@ -111,8 +112,6 @@ src_install() {
        fi
 
        use python && python_optimize
-
-       export STRIP_MASK='*/coccinelle/spatch'
 }
 
 pkg_postinst() {