Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/ubertooth/
Date: Wed, 27 Jun 2018 19:01:10
Message-Id: 1530126021.89cd5c260da910b885f9c760b4e7d8b99ab1553d.asturm@gentoo
1 commit: 89cd5c260da910b885f9c760b4e7d8b99ab1553d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 26 21:12:15 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 27 19:00:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89cd5c26
7
8 net-wireless/ubertooth: Drop USE=specan, depends on Qt4
9
10 Bug: https://bugs.gentoo.org/569948
11 Bug: https://bugs.gentoo.org/649576
12 Package-Manager: Portage-2.3.40, Repoman-2.3.9
13
14 ...h-9999.ebuild => ubertooth-2017.03.2-r1.ebuild} | 42 +++-------------------
15 net-wireless/ubertooth/ubertooth-9999.ebuild | 42 +++-------------------
16 2 files changed, 10 insertions(+), 74 deletions(-)
17
18 diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-2017.03.2-r1.ebuild
19 similarity index 71%
20 copy from net-wireless/ubertooth/ubertooth-9999.ebuild
21 copy to net-wireless/ubertooth/ubertooth-2017.03.2-r1.ebuild
22 index de2e949b8cb..1341a9478aa 100644
23 --- a/net-wireless/ubertooth/ubertooth-9999.ebuild
24 +++ b/net-wireless/ubertooth/ubertooth-2017.03.2-r1.ebuild
25 @@ -1,28 +1,21 @@
26 -# Copyright 1999-2017 Gentoo Foundation
27 +# Copyright 1999-2018 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI="6"
31
32 -PYTHON_COMPAT=( python2_7 )
33 -DISTUTILS_OPTIONAL=1
34 -
35 -inherit multilib distutils-r1 cmake-utils udev
36 +inherit cmake-utils udev
37
38 HOMEPAGE="http://ubertooth.sourceforge.net/"
39
40 LICENSE="GPL-2"
41 SLOT="0"
42 -IUSE="+bluez +specan static-libs +ubertooth1-firmware +udev"
43 -REQUIRED_USE="specan? ( ${PYTHON_REQUIRED_USE} )"
44 +IUSE="+bluez static-libs +ubertooth1-firmware +udev"
45 +
46 DEPEND="bluez? ( net-wireless/bluez:= )
47 >=net-libs/libbtbb-${PV}:=[static-libs?]
48 - specan? ( ${PYTHON_DEPS} )
49 static-libs? ( dev-libs/libusb[static-libs] )
50 virtual/libusb:1="
51 RDEPEND="${DEPEND}
52 - specan? ( >=dev-qt/qtgui-4.7.2:4
53 - >=dev-python/pyside-1.0.2[${PYTHON_USEDEP}]
54 - >=dev-python/numpy-1.3[${PYTHON_USEDEP}] )
55 udev? ( virtual/udev )"
56
57 MY_PV=${PV/\./-}
58 @@ -42,17 +35,8 @@ DESCRIPTION="open source wireless development platform suitable for Bluetooth ex
59 #readd firmware building, but do it right
60 #USE="-fortran -mudflap -nls -openmp -multilib" crossdev --without-headers --genv 'EXTRA_ECONF="--with-mode=thumb --with-cpu=cortex-m3 --with-float=soft"' -s4 -t arm-cortexm3-eabi
61
62 -src_prepare() {
63 - cmake-utils_src_prepare
64 - if use specan; then
65 - pushd python/specan_ui || die
66 - distutils-r1_src_prepare
67 - popd
68 - fi
69 -}
70 -
71 src_configure() {
72 - mycmakeargs=(
73 + local mycmakeargs=(
74 -DUSE_BLUEZ=$(usex bluez)
75 -DBUILD_STATIC_LIB=$(usex static-libs)
76 -DINSTALL_UDEV_RULES=$(usex udev)
77 @@ -67,16 +51,6 @@ src_configure() {
78 cmake-utils_src_configure
79 }
80
81 -src_compile() {
82 - cmake-utils_src_compile
83 -
84 - if use specan; then
85 - pushd python/specan_ui || die
86 - distutils-r1_src_compile
87 - popd
88 - fi
89 -}
90 -
91 src_install() {
92 cmake-utils_src_install
93
94 @@ -91,12 +65,6 @@ src_install() {
95 fi
96 popd
97
98 - if use specan; then
99 - pushd python/specan_ui || die
100 - distutils-r1_src_install
101 - popd
102 - fi
103 -
104 elog "Everyone can read from the ubertooth, but to talk to it"
105 elog "your user needs to be in the usb group."
106 }
107
108 diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-9999.ebuild
109 index de2e949b8cb..1341a9478aa 100644
110 --- a/net-wireless/ubertooth/ubertooth-9999.ebuild
111 +++ b/net-wireless/ubertooth/ubertooth-9999.ebuild
112 @@ -1,28 +1,21 @@
113 -# Copyright 1999-2017 Gentoo Foundation
114 +# Copyright 1999-2018 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116
117 EAPI="6"
118
119 -PYTHON_COMPAT=( python2_7 )
120 -DISTUTILS_OPTIONAL=1
121 -
122 -inherit multilib distutils-r1 cmake-utils udev
123 +inherit cmake-utils udev
124
125 HOMEPAGE="http://ubertooth.sourceforge.net/"
126
127 LICENSE="GPL-2"
128 SLOT="0"
129 -IUSE="+bluez +specan static-libs +ubertooth1-firmware +udev"
130 -REQUIRED_USE="specan? ( ${PYTHON_REQUIRED_USE} )"
131 +IUSE="+bluez static-libs +ubertooth1-firmware +udev"
132 +
133 DEPEND="bluez? ( net-wireless/bluez:= )
134 >=net-libs/libbtbb-${PV}:=[static-libs?]
135 - specan? ( ${PYTHON_DEPS} )
136 static-libs? ( dev-libs/libusb[static-libs] )
137 virtual/libusb:1="
138 RDEPEND="${DEPEND}
139 - specan? ( >=dev-qt/qtgui-4.7.2:4
140 - >=dev-python/pyside-1.0.2[${PYTHON_USEDEP}]
141 - >=dev-python/numpy-1.3[${PYTHON_USEDEP}] )
142 udev? ( virtual/udev )"
143
144 MY_PV=${PV/\./-}
145 @@ -42,17 +35,8 @@ DESCRIPTION="open source wireless development platform suitable for Bluetooth ex
146 #readd firmware building, but do it right
147 #USE="-fortran -mudflap -nls -openmp -multilib" crossdev --without-headers --genv 'EXTRA_ECONF="--with-mode=thumb --with-cpu=cortex-m3 --with-float=soft"' -s4 -t arm-cortexm3-eabi
148
149 -src_prepare() {
150 - cmake-utils_src_prepare
151 - if use specan; then
152 - pushd python/specan_ui || die
153 - distutils-r1_src_prepare
154 - popd
155 - fi
156 -}
157 -
158 src_configure() {
159 - mycmakeargs=(
160 + local mycmakeargs=(
161 -DUSE_BLUEZ=$(usex bluez)
162 -DBUILD_STATIC_LIB=$(usex static-libs)
163 -DINSTALL_UDEV_RULES=$(usex udev)
164 @@ -67,16 +51,6 @@ src_configure() {
165 cmake-utils_src_configure
166 }
167
168 -src_compile() {
169 - cmake-utils_src_compile
170 -
171 - if use specan; then
172 - pushd python/specan_ui || die
173 - distutils-r1_src_compile
174 - popd
175 - fi
176 -}
177 -
178 src_install() {
179 cmake-utils_src_install
180
181 @@ -91,12 +65,6 @@ src_install() {
182 fi
183 popd
184
185 - if use specan; then
186 - pushd python/specan_ui || die
187 - distutils-r1_src_install
188 - popd
189 - fi
190 -
191 elog "Everyone can read from the ubertooth, but to talk to it"
192 elog "your user needs to be in the usb group."
193 }