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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A8B951581FB for ; Sun, 24 Nov 2024 21:46:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA5D8E0855; Sun, 24 Nov 2024 21:46:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADF76E0855 for ; Sun, 24 Nov 2024 21:46:14 +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 C8682335D2B for ; Sun, 24 Nov 2024 21:46:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE3F31682 for ; Sun, 24 Nov 2024 21:46:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732484728.770cec9fa323f9d3b9bf2d0d50ab7ad1fa86d2e2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/chirp/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/chirp/chirp-20240606-r1.ebuild X-VCS-Directories: media-radio/chirp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 770cec9fa323f9d3b9bf2d0d50ab7ad1fa86d2e2 X-VCS-Branch: master Date: Sun, 24 Nov 2024 21:46:11 +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: d1f38dc2-8443-4a8e-8c3b-28968b1004c3 X-Archives-Hash: 53ed29d0a0065c1cdff15acdab064357 commit: 770cec9fa323f9d3b9bf2d0d50ab7ad1fa86d2e2 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Jul 3 21:29:51 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Nov 24 21:45:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770cec9f media-radio/chirp: make dependency to dev-python/suds-community mandatory Closes: https://bugs.gentoo.org/935431 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/37414 Signed-off-by: Sam James gentoo.org> media-radio/chirp/chirp-20240606-r1.ebuild | 60 ++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/media-radio/chirp/chirp-20240606-r1.ebuild b/media-radio/chirp/chirp-20240606-r1.ebuild new file mode 100644 index 000000000000..c519d4ae9b95 --- /dev/null +++ b/media-radio/chirp/chirp-20240606-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + gui? ( + dev-python/suds-community[${PYTHON_USEDEP}] + dev-python/wxpython:4.0[${PYTHON_USEDEP}] + dev-python/yattag[${PYTHON_USEDEP}] + ) +')" +BDEPEND="test? ( $(python_gen_cond_dep ' + dev-python/ddt[${PYTHON_USEDEP}] + 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 +}