x11-misc/compton: EAPI bump 5 -> 6, Switch to git-r3
authorHarri Nieminen <moikkis@gmail.com>
Sun, 19 Feb 2017 14:48:45 +0000 (16:48 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 19 Feb 2017 23:44:12 +0000 (00:44 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4033

x11-misc/compton/compton-9999.ebuild

index 29c9198a3e8bebd70acab46688f030a58dcd3744..fa7ee5e2f7e93c6ff91f024b4907466be62848bc 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python3_{4,5} )
-inherit toolchain-funcs python-r1 git-2
+inherit toolchain-funcs python-r1 git-r3
 
 DESCRIPTION="A compositor for X, and a fork of xcompmgr-dana"
 HOMEPAGE="https://github.com/chjj/compton"
@@ -43,13 +43,8 @@ DEPEND="${COMMON_DEPEND}
 
 nobuildit() { use $1 || echo yes ; }
 
-pkg_setup() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               tc-export CC
-       fi
-}
-
 src_compile() {
+       tc-export CC
        emake docs
 
        NO_DBUS=$(nobuildit dbus) \