diff options
author | Marek Szuba <marecki@gentoo.org> | 2024-03-11 15:48:01 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2024-03-11 15:50:07 +0000 |
commit | e2235ac4c75964690e01ba8c8e6c427b4e65e522 (patch) | |
tree | cece905ce25aec5db3a95c9373da5aecfe2232a6 /media-radio | |
parent | app-admin/redfishtool: keyword 1.1.8 for ~riscv (diff) | |
download | gentoo-e2235ac4c75964690e01ba8c8e6c427b4e65e522.tar.gz gentoo-e2235ac4c75964690e01ba8c8e6c427b4e65e522.tar.bz2 gentoo-e2235ac4c75964690e01ba8c8e6c427b4e65e522.zip |
media-radio/chirp: add 20240311
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/chirp/Manifest | 1 | ||||
-rw-r--r-- | media-radio/chirp/chirp-20240311.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-radio/chirp/Manifest b/media-radio/chirp/Manifest index 31fc4290d1d9..88e327f44d85 100644 --- a/media-radio/chirp/Manifest +++ b/media-radio/chirp/Manifest @@ -1,2 +1,3 @@ DIST chirp-20231223.tar.gz 1850008 BLAKE2B b0d1d68889975d03c5b6a454d64e6fe9ac9f254423aaa77eff81d74cf3760cab8df0e9a411bab85c2ffaffde75ca515b72d7efdd5b9bdc0fc7b68eb5ef233e16 SHA512 5d8bf781d994e33c7de678b2ed31469f43dce9bebc99ee0d57b88ddf6eb41e23d8ec3e3bf5ef5ad4258f31dc47cb2748eeb290bceec38f0c859a9783259ff8d0 DIST chirp-20240217.tar.gz 1953875 BLAKE2B 50691cb74138831679c3fd764d35b2d19556ffd2865510d0072757bbf5b35ef92ec232a516e22f841a53ba886e151c4141ae14568237bd98275f8eefe5228497 SHA512 d25ee838eaef84ed31f10ecf0ee3eb786b0e2ee57059917e1da33f7b7a67e2b168fa13452b965d051b80792c7213fbecbabcc0e094845a434bd0d84b10522aa1 +DIST chirp-20240311.tar.gz 1960895 BLAKE2B 843b68d15c82a437904554c25a6e810db1273753201903a086dde3c68481f2b2457f1aa36c96793ef6491febfbc6ec857180434d10f6eebd3e3ca4fde009c126 SHA512 f2fdc3479dc6605385d521314be6a3b8748e0bd9465d3e1ce70f0ff9fa9f9a459225101f6d42624e67ae6a8065aa89d8678bbbe666e55a57275b6327e9387083 diff --git a/media-radio/chirp/chirp-20240311.ebuild b/media-radio/chirp/chirp-20240311.ebuild new file mode 100644 index 000000000000..a920fe78a94d --- /dev/null +++ b/media-radio/chirp/chirp-20240311.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# py3.12 blocked by wxpython +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="A free, open-source tool for programming your radio" +HOMEPAGE="https://chirpmyradio.com/" +SRC_URI="https://archive.chirpmyradio.com/${PN}_next/next-${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gui radioreference" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + gui? ( + dev-python/wxpython:4.0[${PYTHON_USEDEP}] + dev-python/yattag[${PYTHON_USEDEP}] + ) + radioreference? ( dev-python/suds-community[${PYTHON_USEDEP}] ) +')" +BDEPEND="test? ( $(python_gen_cond_dep ' + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +') )" + +distutils_enable_tests pytest + +# The alias map is an internal developer file not included in release tarballs. +# Other disabled tests require Internet access. +EPYTEST_DESELECT=( + tests/unit/test_directory.py::TestAliasMap + tests/unit/test_network_sources.py + tests/unit/test_repeaterbook.py +) + +python_test() { + # From the contents of tests/ upstream currently only runs unit and driver + # tests, and the latter can take so long that they have even got a special + # script for only running them on drivers whose code has changed + # with respect to origin/master. + epytest tests/unit/ +} + +src_install() { + distutils-r1_src_install + if ! use gui; then + rm "${ED}"/usr/bin/${PN} || die + fi +} |