mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 04:20:27 +02:00
net-wireless/gr-tenna: add snapshot
This commit is contained in:
parent
44774d2429
commit
e7a478118e
3 changed files with 45 additions and 2 deletions
1
net-wireless/gr-tenna/Manifest
Normal file
1
net-wireless/gr-tenna/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gr-tenna-0.0_p20260313.tar.gz 139001 BLAKE2B 7d51cb573ef45b7de362d902f26d32c2ff5004e2ae40a8f099dc0339b6ab56bc7b864c5ae5d457fb56d4f0b51be78e9ef099a8299c34fa93b71d45fb59774062 SHA512 24260b3f401f8731c18847285ee29fd750f83a3855a5c6d3f474a72d46e9aba2a667e08f84f2ba395d43ee3a210e3133aeb0dcef91c25a531e14fd558d9a4b75
|
||||
42
net-wireless/gr-tenna/gr-tenna-0.0_p20260313.ebuild
Normal file
42
net-wireless/gr-tenna/gr-tenna-0.0_p20260313.ebuild
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..14} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="goTenna Mesh protocol in GNU Radio."
|
||||
HOMEPAGE="https://github.com/argilo/gr-tenna"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/argilo/gr-tenna.git"
|
||||
else
|
||||
COMMIT="37f2f174ab018caf6cf426ca7eb489629d0f5a48"
|
||||
SRC_URI="https://github.com/argilo/gr-tenna/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 public-domain"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/reedsolo[${PYTHON_USEDEP}]')"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DGR_PYTHON_DIR="$(python_get_sitedir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
[ -d "${ED}/usr/share/doc/${PN}" ] && mv "${ED}"/usr/share/doc/{"${PN}","${PF}"} || die
|
||||
python_optimize
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -13,7 +13,7 @@ if [ "${PV}" = "9999" ]; then
|
|||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/argilo/gr-tenna.git"
|
||||
else
|
||||
COMMIT="09112cbc764d2a622ec5d86e3f9c18e18449758e"
|
||||
COMMIT="37f2f174ab018caf6cf426ca7eb489629d0f5a48"
|
||||
SRC_URI="https://github.com/argilo/gr-tenna/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
|
|
|||
Loading…
Reference in a new issue