summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-05 02:47:25 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-05 02:47:25 +0000
commit7897e5e33d0f7c1eabfea0bb8de997200d0111bd (patch)
treeac058e51715b68cac5908456dd7d935523851c04 /net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
parentVersion bump to 1.1.3. (diff)
downloadgentoo-2-7897e5e33d0f7c1eabfea0bb8de997200d0111bd.tar.gz
gentoo-2-7897e5e33d0f7c1eabfea0bb8de997200d0111bd.tar.bz2
gentoo-2-7897e5e33d0f7c1eabfea0bb8de997200d0111bd.zip
Add patch for gnuradio-3.7 compatibility.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild')
-rw-r--r--net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
index 4d62896bf7af..0b9f244588d4 100644
--- a/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
+++ b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild,v 1.4 2013/07/10 11:27:17 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild,v 1.5 2014/02/05 02:47:25 chithanh Exp $
EAPI=5
-PYTHON_DEPEND="2"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit autotools git-2 python
+inherit autotools git-2 python-single-r1
DESCRIPTION="GSM receiver block from the airprobe suite"
HOMEPAGE="https://svn.berlin.ccc.de/projects/airprobe/"
@@ -17,7 +17,7 @@ KEYWORDS=""
IUSE=""
RDEPEND="net-libs/libosmocore
- <net-wireless/gnuradio-3.7_rc:0="
+ >=net-wireless/gnuradio-3.7_rc:0="
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -25,13 +25,9 @@ EGIT_REPO_URI="git://git.gnumonks.org/airprobe.git"
EGIT_SOURCEDIR="${S}"
S+=/${PN}
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
src_prepare() {
- python_convert_shebangs -q -r 2 "${S}"
+ epatch "${FILESDIR}"/0001-${PN}-build-against-gnuradio-3.7.patch
+ python_fix_shebang "${S}"
eautoreconf
}