Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-scopy/
Date: Wed, 07 Oct 2020 20:26:20
Message-Id: 1602102373.dfd79505911b3143adb0b5f567f92de88e4af71b.zerochaos@gentoo
1 commit: dfd79505911b3143adb0b5f567f92de88e4af71b
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 6 19:20:01 2020 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 20:26:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd79505
7
8 net-wireless/gr-scopy: initial ebuild
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
12
13 net-wireless/gr-scopy/Manifest | 1 +
14 .../gr-scopy/gr-scopy-0.0_p20201005.ebuild | 34 ++++++++++++++++++++++
15 net-wireless/gr-scopy/gr-scopy-9999.ebuild | 34 ++++++++++++++++++++++
16 net-wireless/gr-scopy/metadata.xml | 15 ++++++++++
17 4 files changed, 84 insertions(+)
18
19 diff --git a/net-wireless/gr-scopy/Manifest b/net-wireless/gr-scopy/Manifest
20 new file mode 100644
21 index 00000000000..bac2b331b82
22 --- /dev/null
23 +++ b/net-wireless/gr-scopy/Manifest
24 @@ -0,0 +1 @@
25 +DIST gr-scopy-0.0_p20201005.tar.gz 204034 BLAKE2B 17d797822c7920186a6d875119d582fda7b74f9c23248d9821ba172f59b1df1433520e723e4dc6b1eca1f08fb7256893767794b584d7c0bd53aa2ede80cd2b92 SHA512 12c0e76008b0a7570a85707afe28a102541e02f10a55346c76cb7984e8435e20281e6406c86ee22e8b4fbe0211bb6657f88f36bdf6b3b76d4e24b2a3f12e6350
26
27 diff --git a/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild
28 new file mode 100644
29 index 00000000000..f695c1501bb
30 --- /dev/null
31 +++ b/net-wireless/gr-scopy/gr-scopy-0.0_p20201005.ebuild
32 @@ -0,0 +1,34 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{6,7,8} )
39 +
40 +inherit cmake python-single-r1
41 +
42 +DESCRIPTION="Scopy IIO blocks for GNU Radio"
43 +HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy"
44 +if [ "${PV}" = "9999" ]; then
45 + EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git"
46 + inherit git-r3
47 +else
48 + COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3"
49 + SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
50 + S="${WORKDIR}/${PN}-${COMMIT}"
51 + KEYWORDS="~amd64 ~x86"
52 +fi
53 +LICENSE="GPL-3+"
54 +SLOT="0"
55 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
56 +
57 +RDEPEND="${PYTHON_DEPS}
58 + =net-wireless/gnuradio-3.8*:=
59 + sci-libs/volk:=
60 + "
61 +DEPEND="${RDEPEND}"
62 +
63 +src_install() {
64 + cmake_src_install
65 + python_optimize
66 +}
67
68 diff --git a/net-wireless/gr-scopy/gr-scopy-9999.ebuild b/net-wireless/gr-scopy/gr-scopy-9999.ebuild
69 new file mode 100644
70 index 00000000000..f695c1501bb
71 --- /dev/null
72 +++ b/net-wireless/gr-scopy/gr-scopy-9999.ebuild
73 @@ -0,0 +1,34 @@
74 +# Copyright 1999-2020 Gentoo Authors
75 +# Distributed under the terms of the GNU General Public License v2
76 +
77 +EAPI=7
78 +
79 +PYTHON_COMPAT=( python3_{6,7,8} )
80 +
81 +inherit cmake python-single-r1
82 +
83 +DESCRIPTION="Scopy IIO blocks for GNU Radio"
84 +HOMEPAGE="https://github.com/analogdevicesinc/gr-scopy"
85 +if [ "${PV}" = "9999" ]; then
86 + EGIT_REPO_URI="https://github.com/analogdevicesinc/gr-scopy.git"
87 + inherit git-r3
88 +else
89 + COMMIT="f48b45cabe2a81f491137dbc220032ea65f080c3"
90 + SRC_URI="https://github.com/analogdevicesinc/gr-scopy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
91 + S="${WORKDIR}/${PN}-${COMMIT}"
92 + KEYWORDS="~amd64 ~x86"
93 +fi
94 +LICENSE="GPL-3+"
95 +SLOT="0"
96 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
97 +
98 +RDEPEND="${PYTHON_DEPS}
99 + =net-wireless/gnuradio-3.8*:=
100 + sci-libs/volk:=
101 + "
102 +DEPEND="${RDEPEND}"
103 +
104 +src_install() {
105 + cmake_src_install
106 + python_optimize
107 +}
108
109 diff --git a/net-wireless/gr-scopy/metadata.xml b/net-wireless/gr-scopy/metadata.xml
110 new file mode 100644
111 index 00000000000..5424315fd97
112 --- /dev/null
113 +++ b/net-wireless/gr-scopy/metadata.xml
114 @@ -0,0 +1,15 @@
115 +<?xml version="1.0" encoding="UTF-8"?>
116 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
117 +<pkgmetadata>
118 + <maintainer type="person">
119 + <email>zerochaos@g.o</email>
120 + <name>Rick Farina</name>
121 + </maintainer>
122 + <maintainer type="project">
123 + <email>radio@g.o</email>
124 + <name>Radio</name>
125 + </maintainer>
126 + <upstream>
127 + <remote-id type="github">analogdevicesinc/gr-scopy</remote-id>
128 + </upstream>
129 +</pkgmetadata>