commit:     d1fc92b9467515ccbd0c04cdd56f3508013763da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  1 00:11:17 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  7 22:59:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1fc92b9

net-wireless/gr-paint: EAPI-7 bump

Capital DESCRIPTION
Indentation
Sort DEPENDs

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-wireless/gr-paint/gr-paint-9999.ebuild | 41 +++++++++++++++++-------------
 1 file changed, 23 insertions(+), 18 deletions(-)

diff --git a/net-wireless/gr-paint/gr-paint-9999.ebuild 
b/net-wireless/gr-paint/gr-paint-9999.ebuild
index 730dd1b1371..e61888f8ab7 100644
--- a/net-wireless/gr-paint/gr-paint-9999.ebuild
+++ b/net-wireless/gr-paint/gr-paint-9999.ebuild
@@ -1,39 +1,44 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit git-r3
+if [[ ${PV} == 9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git";
+else
+       KEYWORDS=""
+fi
 inherit cmake-utils python-single-r1
 
-DESCRIPTION="paints monochrome images into the waterfall of a receiver"
+DESCRIPTION="Paints monochrome images into the waterfall of a receiver"
 HOMEPAGE="https://github.com/drmpeg/gr-paint";
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git";
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-COMMON_DEPEND="${PYTHON_DEPS}
-               net-wireless/gnuradio:=[${PYTHON_USEDEP}]
-               dev-libs/boost:=[${PYTHON_USEDEP}]"
-RDEPEND="${COMMON_DEPEND}
-       media-gfx/imagemagick"
-DEPEND="${COMMON_DEPEND}
-       virtual/pkgconfig
-       dev-util/cppunit
+DEPEND="${PYTHON_DEPS}
+       dev-libs/boost:=[${PYTHON_USEDEP}]
+       net-wireless/gnuradio:=[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}
+       media-gfx/imagemagick
+"
+BDEPEND="
        dev-lang/swig
-       doc? ( app-doc/doxygen )"
+       dev-util/cppunit
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+"
 
 src_configure() {
-       mycmakeargs=(
-               $(cmake-utils_use_enable doc DOXYGEN)
+       local mycmakeargs=(
+               -DENABLE_DOXYGEN=$(usex doc)
                -DPYTHON_EXECUTABLE="${PYTHON}"
        )
        cmake-utils_src_configure

Reply via email to