File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright 2020-2025 Gentoo Authors
2+ # Distributed under the terms of the GNU General Public License v2
3+
4+ EAPI=8
5+
6+ PYTHON_COMPAT=( python3_{10..14} )
7+ inherit cmake python-single-r1
8+
9+ DESCRIPTION=" goTenna Mesh protocol in GNU Radio."
10+ HOMEPAGE=" https://github.com/argilo/gr-tenna"
11+
12+ if [ " ${PV} " = " 9999" ]; then
13+ inherit git-r3
14+ EGIT_REPO_URI=" https://github.com/argilo/gr-tenna.git"
15+ else
16+ COMMIT=" 09112cbc764d2a622ec5d86e3f9c18e18449758e"
17+ SRC_URI=" https://github.com/argilo/gr-tenna/archive/${COMMIT} .tar.gz -> ${P} .tar.gz"
18+ S=" ${WORKDIR} /${PN} -${COMMIT} "
19+ KEYWORDS=" ~amd64 ~x86"
20+ fi
21+
22+ LICENSE=" GPL-3 public-domain"
23+ SLOT=" 0"
24+
25+ DEPEND=" ${PYTHON_DEPS} "
26+ RDEPEND=" ${DEPEND} "
27+ REQUIRED_USE=" ${PYTHON_REQUIRED_USE} "
28+
29+ src_configure () {
30+ local mycmakeargs=(
31+ -DPYTHON_EXECUTABLE=" ${PYTHON} "
32+ -DGR_PYTHON_DIR=" $( python_get_sitedir) "
33+ )
34+ cmake_src_configure
35+ }
36+
37+ src_install () {
38+ cmake_src_install
39+ [ -d " ${ED} /usr/share/doc/${PN} " ] && mv " ${ED} " /usr/share/doc/{" ${PN} " ," ${PF} " } || die
40+ python_optimize
41+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+ <pkgmetadata >
4+ <upstream >
5+ <remote-id type =" github" >argilo/gr-tenna</remote-id >
6+ </upstream >
7+ </pkgmetadata >
You can’t perform that action at this time.
0 commit comments