summaryrefslogtreecommitdiff
path: root/media-radio/chirp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-25 03:53:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-25 03:53:16 +0100
commitfad7c346bcf147b6a580ccc1d0a9b35dbe194ecc (patch)
treead2e2924d725873f214407741185a257944d8ed9 /media-radio/chirp
parent27ddeb821d437a2d848d9fa85a30f88f48fb52a6 (diff)
gentoo auto-resync : 25:08:2023 - 03:53:16
Diffstat (limited to 'media-radio/chirp')
-rw-r--r--media-radio/chirp/Manifest2
-rw-r--r--media-radio/chirp/chirp-20230823.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/media-radio/chirp/Manifest b/media-radio/chirp/Manifest
index e4f62dc6feb2..5146e994b36f 100644
--- a/media-radio/chirp/Manifest
+++ b/media-radio/chirp/Manifest
@@ -1,4 +1,6 @@
AUX chirp-20230818_no-future.patch 737 BLAKE2B 6ee7ad9736e5a5a3c66f72c492ab1587eda4df45a5cca69cc26356b1bd1ec315a9fb1cbce3adf68bd66626791fdb647fb5f70b61e7ac69b5e103d9948b8664d6 SHA512 24f86eacb695a2bacb2b78e65c379fa76e9e3a7d7c0d00905fbe5f959853066a2e9b039e908d033c270038269b8314046e2a9ead248ab592694d5e0345350423
DIST chirp-20230818.tar.gz 1750957 BLAKE2B 765a3cdffc51372c7012fd59112c00dbe58374e68434ec127e3d7b6702dc80371564244972457cebc44c1e51d5d50f05f413b263a63bbc94c88c0db1f437c380 SHA512 dcc8eadc75ea1e74c32dfc9c73f1857c1745cfbf1272934425a022fa663d1471cc8e79d63da9628369b833f7fc25ce86960924545ad5bfe2fe4d34509e7308eb
+DIST chirp-20230823.tar.gz 1752116 BLAKE2B 86ecef11a38f187c70257bede6557df1eb9772868fa1c64cf5c9c51dd4ff3e2dad1d575a829d251711828e4f536b8f3da25b0d8a4ca2fe38cf49a4b27c467053 SHA512 029846d4ec64894681ff6e1edda80d4b964623e88b95d59b362cc66b11f6d04cc636725c1ee2ffa6701b5537173a51b6bb2c0d4012a2d46c56b07a0c75655154
EBUILD chirp-20230818.ebuild 1699 BLAKE2B 5f250a7f489d80b283db8a5523c09ccc8bdf392083a1ae55c3903b5e6b5ba19e25130dab08e0a3d695b9890789a14989c216df301ecc1e88b785279c48940796 SHA512 b51321ef76c3f4c71b964e4453cb701ae28ddd822e525b065f5244b0b478ef0f220616f56a808be7b1b3e450354a078abb1532ea9330b370e0d9eec5d2deb150
+EBUILD chirp-20230823.ebuild 1699 BLAKE2B 5f250a7f489d80b283db8a5523c09ccc8bdf392083a1ae55c3903b5e6b5ba19e25130dab08e0a3d695b9890789a14989c216df301ecc1e88b785279c48940796 SHA512 b51321ef76c3f4c71b964e4453cb701ae28ddd822e525b065f5244b0b478ef0f220616f56a808be7b1b3e450354a078abb1532ea9330b370e0d9eec5d2deb150
MISC metadata.xml 556 BLAKE2B 57e55670966c3b2f07a448d535b675e87685ab4223c989dce6fbc39faaa00d690159cf91ebd5c616c64b69fde35d14a74b2d2d32f0072d9db1f7f9f364cd0629 SHA512 63b89adae93837d1fe195fb7fe2d9aa9b31a481387c11c0008434e74fdbdadc86f074280db1b6456279b391ff162b1c5815c79d210f118501f379ef060bb392b
diff --git a/media-radio/chirp/chirp-20230823.ebuild b/media-radio/chirp/chirp-20230823.ebuild
new file mode 100644
index 000000000000..5b1a95d408b4
--- /dev/null
+++ b/media-radio/chirp/chirp-20230823.ebuild
@@ -0,0 +1,64 @@
+# 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
+}