commit:     dfd79505911b3143adb0b5f567f92de88e4af71b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  6 19:20:01 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 20:26:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd79505

net-wireless/gr-scopy: initial ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/gr-scopy/Manifest                     |  1 +
 .../gr-scopy/gr-scopy-0.0_p20201005.ebuild         | 34 ++++++++++++++++++++++
 net-wireless/gr-scopy/gr-scopy-9999.ebuild         | 34 ++++++++++++++++++++++
 net-wireless/gr-scopy/metadata.xml                 | 15 ++++++++++
 4 files changed, 84 insertions(+)

diff --git a/net-wireless/gr-scopy/Manifest b/net-wireless/gr-scopy/Manifest
new file mode 100644
index 00000000000..bac2b331b82
--- /dev/null
+++ b/net-wireless/gr-scopy/Manifest
@@ -0,0 +1 @@
+DIST gr-scopy-0.0_p20201005.tar.gz 204034 BLAKE2B 
17d797822c7920186a6d875119d582fda7b74f9c23248d9821ba172f59b1df1433520e723e4dc6b1eca1f08fb7256893767794b584d7c0bd53aa2ede80cd2b92
 SHA512 
12c0e76008b0a7570a85707afe28a102541e02f10a55346c76cb7984e8435e20281e6406c86ee22e8b4fbe0211bb6657f88f36bdf6b3b76d4e24b2a3f12e6350

diff --git a/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild 
b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild
new file mode 100644
index 00000000000..f695c1501bb
--- /dev/null
+++ b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Scopy IIO blocks for GNU Radio"
+HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy";
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git";
+       inherit git-r3
+else
+       COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3"
+       
SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz 
-> ${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${COMMIT}"
+       KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+       =net-wireless/gnuradio-3.8*:=
+       sci-libs/volk:=
+       "
+DEPEND="${RDEPEND}"
+
+src_install() {
+       cmake_src_install
+       python_optimize
+}

diff --git a/net-wireless/gr-scopy/gr-scopy-9999.ebuild 
b/net-wireless/gr-scopy/gr-scopy-9999.ebuild
new file mode 100644
index 00000000000..f695c1501bb
--- /dev/null
+++ b/net-wireless/gr-scopy/gr-scopy-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Scopy IIO blocks for GNU Radio"
+HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy";
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git";
+       inherit git-r3
+else
+       COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3"
+       
SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz 
-> ${P}.tar.gz"
+       S="${WORKDIR}/${PN}-${COMMIT}"
+       KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3+"
+SLOT="0"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="${PYTHON_DEPS}
+       =net-wireless/gnuradio-3.8*:=
+       sci-libs/volk:=
+       "
+DEPEND="${RDEPEND}"
+
+src_install() {
+       cmake_src_install
+       python_optimize
+}

diff --git a/net-wireless/gr-scopy/metadata.xml 
b/net-wireless/gr-scopy/metadata.xml
new file mode 100644
index 00000000000..5424315fd97
--- /dev/null
+++ b/net-wireless/gr-scopy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Rick Farina</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Radio</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">analogdevicesinc/gr-scopy</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to