From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5470215800A for ; Fri, 25 Aug 2023 00:58:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DC5F2BC013; Fri, 25 Aug 2023 00:58:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 732902BC013 for ; Fri, 25 Aug 2023 00:58:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7580E340BB4 for ; Fri, 25 Aug 2023 00:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2A9D1074 for ; Fri, 25 Aug 2023 00:58:49 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1692925108.bffef2a1cc79c8a4dfbfcffde5a63dd804ccc360.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/chirp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/chirp/Manifest media-radio/chirp/chirp-20230823.ebuild X-VCS-Directories: media-radio/chirp/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: bffef2a1cc79c8a4dfbfcffde5a63dd804ccc360 X-VCS-Branch: master Date: Fri, 25 Aug 2023 00:58:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d85ae252-ff24-4bd6-8615-3f5a4f63da64 X-Archives-Hash: be58bfb7971f1fc45670efd82a13fac5 commit: bffef2a1cc79c8a4dfbfcffde5a63dd804ccc360 Author: Rick Farina gentoo org> AuthorDate: Fri Aug 25 00:58:28 2023 +0000 Commit: Rick Farina gentoo org> CommitDate: Fri Aug 25 00:58:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bffef2a1 media-radio/chirp: add 20230823 Signed-off-by: Rick Farina gentoo.org> media-radio/chirp/Manifest | 1 + media-radio/chirp/chirp-20230823.ebuild | 64 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/media-radio/chirp/Manifest b/media-radio/chirp/Manifest index cfeca08799ee..6b2337d98e75 100644 --- a/media-radio/chirp/Manifest +++ b/media-radio/chirp/Manifest @@ -1 +1,2 @@ DIST chirp-20230818.tar.gz 1750957 BLAKE2B 765a3cdffc51372c7012fd59112c00dbe58374e68434ec127e3d7b6702dc80371564244972457cebc44c1e51d5d50f05f413b263a63bbc94c88c0db1f437c380 SHA512 dcc8eadc75ea1e74c32dfc9c73f1857c1745cfbf1272934425a022fa663d1471cc8e79d63da9628369b833f7fc25ce86960924545ad5bfe2fe4d34509e7308eb +DIST chirp-20230823.tar.gz 1752116 BLAKE2B 86ecef11a38f187c70257bede6557df1eb9772868fa1c64cf5c9c51dd4ff3e2dad1d575a829d251711828e4f536b8f3da25b0d8a4ca2fe38cf49a4b27c467053 SHA512 029846d4ec64894681ff6e1edda80d4b964623e88b95d59b362cc66b11f6d04cc636725c1ee2ffa6701b5537173a51b6bb2c0d4012a2d46c56b07a0c75655154 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 +}