From aed7465b898939e0b164967df010a1f87ce1e8e3 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Sun, 18 Feb 2024 10:48:25 +0000 Subject: media-radio/chirp: add 20240217, drop 20231125 Signed-off-by: Marek Szuba --- media-radio/chirp/Manifest | 1 - media-radio/chirp/chirp-20231125.ebuild | 64 --------------------------------- media-radio/chirp/chirp-20240217.ebuild | 64 +++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 65 deletions(-) delete mode 100644 media-radio/chirp/chirp-20231125.ebuild create mode 100644 media-radio/chirp/chirp-20240217.ebuild (limited to 'media-radio') diff --git a/media-radio/chirp/Manifest b/media-radio/chirp/Manifest index 74b7ca5eb320..31fc4290d1d9 100644 --- a/media-radio/chirp/Manifest +++ b/media-radio/chirp/Manifest @@ -1,3 +1,2 @@ -DIST chirp-20231125.tar.gz 1824835 BLAKE2B 327d34867324ddf326709c6e098ccd80810015023807e238a1f63650328236cf791c14a6cbfdbb4bcfea7875dad394846fe5eec3c2a167623fcfebf8980d4954 SHA512 cef4a7c26ae0784c5031db96d2b632e39ab7eb7d61ab1f486b4a4bc9842d16536de22651f2cabb21394e0382af0f5488cb65ac0e609d0936f8db3747f4a5aa7a DIST chirp-20231223.tar.gz 1850008 BLAKE2B b0d1d68889975d03c5b6a454d64e6fe9ac9f254423aaa77eff81d74cf3760cab8df0e9a411bab85c2ffaffde75ca515b72d7efdd5b9bdc0fc7b68eb5ef233e16 SHA512 5d8bf781d994e33c7de678b2ed31469f43dce9bebc99ee0d57b88ddf6eb41e23d8ec3e3bf5ef5ad4258f31dc47cb2748eeb290bceec38f0c859a9783259ff8d0 DIST chirp-20240217.tar.gz 1953875 BLAKE2B 50691cb74138831679c3fd764d35b2d19556ffd2865510d0072757bbf5b35ef92ec232a516e22f841a53ba886e151c4141ae14568237bd98275f8eefe5228497 SHA512 d25ee838eaef84ed31f10ecf0ee3eb786b0e2ee57059917e1da33f7b7a67e2b168fa13452b965d051b80792c7213fbecbabcc0e094845a434bd0d84b10522aa1 diff --git a/media-radio/chirp/chirp-20231125.ebuild b/media-radio/chirp/chirp-20231125.ebuild deleted file mode 100644 index 01c85c3bb3d4..000000000000 --- a/media-radio/chirp/chirp-20231125.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 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://chirp.danplanet.com/" -SRC_URI="https://trac.chirp.danplanet.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}] -') )" - -PATCHES=( - "${FILESDIR}"/${PN}-20230818_no-future.patch -) - -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 -} diff --git a/media-radio/chirp/chirp-20240217.ebuild b/media-radio/chirp/chirp-20240217.ebuild new file mode 100644 index 000000000000..db7951be0755 --- /dev/null +++ b/media-radio/chirp/chirp-20240217.ebuild @@ -0,0 +1,64 @@ +# 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://chirp.danplanet.com/" +SRC_URI="https://trac.chirp.danplanet.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}] +') )" + +PATCHES=( + "${FILESDIR}"/${PN}-20230818_no-future.patch +) + +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 +} -- cgit v1.2.3-65-gdbad