From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C15931395E2 for ; Wed, 9 Nov 2016 19:29:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CC40E0AD7; Wed, 9 Nov 2016 19:29:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61FDAE0AD7 for ; Wed, 9 Nov 2016 19:29:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 737AE3413FD for ; Wed, 9 Nov 2016 19:29:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E3DB308 for ; Wed, 9 Nov 2016 19:29:27 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1478719751.06c149edae884f70321423c21c58b464ffa8d665.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-foo/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/gr-foo/gr-foo-9999.ebuild net-wireless/gr-foo/metadata.xml X-VCS-Directories: net-wireless/gr-foo/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 06c149edae884f70321423c21c58b464ffa8d665 X-VCS-Branch: master Date: Wed, 9 Nov 2016 19:29:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e745a2dc-a71e-41da-8113-08eb26dd2461 X-Archives-Hash: 8bfa2c21ce4c2a4b0aa8420d23af081a commit: 06c149edae884f70321423c21c58b464ffa8d665 Author: Zero_Chaos gentoo org> AuthorDate: Wed Nov 9 19:28:53 2016 +0000 Commit: Richard Farina gentoo org> CommitDate: Wed Nov 9 19:29:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c149ed net-wireless/gr-foo: can't have enough gr blocks Package-Manager: portage-2.3.2 net-wireless/gr-foo/gr-foo-9999.ebuild | 46 ++++++++++++++++++++++++++++++++++ net-wireless/gr-foo/metadata.xml | 11 ++++++++ 2 files changed, 57 insertions(+) diff --git a/net-wireless/gr-foo/gr-foo-9999.ebuild b/net-wireless/gr-foo/gr-foo-9999.ebuild new file mode 100644 index 00000000..4defc29 --- /dev/null +++ b/net-wireless/gr-foo/gr-foo-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="Some GNU Radio blocks that bastianbl uses" +HOMEPAGE="https://github.com/rftap/gr-rftap" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibl/gr-foo.git" + KEYWORDS="" +#else +# SRC_URI="" +# KEYWORDS="" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" + +RDEPEND=">=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_USEDEP}] + dev-libs/boost:=[${PYTHON_USEDEP}] + net-wireless/uhd:=[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + dev-lang/swig:0" +#cppunit is listed in cmake, but only needed for tests and there are no tests +# dev-util/cppunit" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + #although cppunit is not used, it fails if it isn't there, fix it + sed -i 's#FATAL_ERROR "CppUnit#MESSAGE "CppUnit#' CMakeLists.txt + sed -i '/${CPPUNIT_INCLUDE_DIRS}/d' CMakeLists.txt + sed -i '/${CPPUNIT_LIBRARY_DIRS}/d' CMakeLists.txt +} + +src_configure() { + mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) + cmake-utils_src_configure +} diff --git a/net-wireless/gr-foo/metadata.xml b/net-wireless/gr-foo/metadata.xml new file mode 100644 index 00000000..e3eacc7 --- /dev/null +++ b/net-wireless/gr-foo/metadata.xml @@ -0,0 +1,11 @@ + + + + + radio@gentoo.org + Radio + + + bastibl/gr-ieee802-15-4 + +