1 |
commit: d1fc92b9467515ccbd0c04cdd56f3508013763da |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 1 00:11:17 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 7 22:59:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1fc92b9 |
7 |
|
8 |
net-wireless/gr-paint: EAPI-7 bump |
9 |
|
10 |
Capital DESCRIPTION |
11 |
Indentation |
12 |
Sort DEPENDs |
13 |
|
14 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
net-wireless/gr-paint/gr-paint-9999.ebuild | 41 +++++++++++++++++------------- |
18 |
1 file changed, 23 insertions(+), 18 deletions(-) |
19 |
|
20 |
diff --git a/net-wireless/gr-paint/gr-paint-9999.ebuild b/net-wireless/gr-paint/gr-paint-9999.ebuild |
21 |
index 730dd1b1371..e61888f8ab7 100644 |
22 |
--- a/net-wireless/gr-paint/gr-paint-9999.ebuild |
23 |
+++ b/net-wireless/gr-paint/gr-paint-9999.ebuild |
24 |
@@ -1,39 +1,44 @@ |
25 |
-# Copyright 1999-2015 Gentoo Foundation |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
+EAPI=7 |
31 |
|
32 |
PYTHON_COMPAT=( python2_7 ) |
33 |
|
34 |
-inherit git-r3 |
35 |
+if [[ ${PV} == 9999* ]]; then |
36 |
+ inherit git-r3 |
37 |
+ EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git" |
38 |
+else |
39 |
+ KEYWORDS="" |
40 |
+fi |
41 |
inherit cmake-utils python-single-r1 |
42 |
|
43 |
-DESCRIPTION="paints monochrome images into the waterfall of a receiver" |
44 |
+DESCRIPTION="Paints monochrome images into the waterfall of a receiver" |
45 |
HOMEPAGE="https://github.com/drmpeg/gr-paint" |
46 |
-SRC_URI="" |
47 |
-EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git" |
48 |
|
49 |
LICENSE="GPL-3+" |
50 |
SLOT="0" |
51 |
-KEYWORDS="" |
52 |
IUSE="doc" |
53 |
|
54 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
|
56 |
-COMMON_DEPEND="${PYTHON_DEPS} |
57 |
- net-wireless/gnuradio:=[${PYTHON_USEDEP}] |
58 |
- dev-libs/boost:=[${PYTHON_USEDEP}]" |
59 |
-RDEPEND="${COMMON_DEPEND} |
60 |
- media-gfx/imagemagick" |
61 |
-DEPEND="${COMMON_DEPEND} |
62 |
- virtual/pkgconfig |
63 |
- dev-util/cppunit |
64 |
+DEPEND="${PYTHON_DEPS} |
65 |
+ dev-libs/boost:=[${PYTHON_USEDEP}] |
66 |
+ net-wireless/gnuradio:=[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+RDEPEND="${DEPEND} |
69 |
+ media-gfx/imagemagick |
70 |
+" |
71 |
+BDEPEND=" |
72 |
dev-lang/swig |
73 |
- doc? ( app-doc/doxygen )" |
74 |
+ dev-util/cppunit |
75 |
+ virtual/pkgconfig |
76 |
+ doc? ( app-doc/doxygen ) |
77 |
+" |
78 |
|
79 |
src_configure() { |
80 |
- mycmakeargs=( |
81 |
- $(cmake-utils_use_enable doc DOXYGEN) |
82 |
+ local mycmakeargs=( |
83 |
+ -DENABLE_DOXYGEN=$(usex doc) |
84 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
85 |
) |
86 |
cmake-utils_src_configure |