From 60b2c6fe046227af452a5ea093aa156539c002cd Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Tue, 1 Aug 2023 22:52:10 -0400 Subject: net-wireless/gr-paint: add 0.0_p20230427, drop 0.0_p20220320-r1 Signed-off-by: Rick Farina --- net-wireless/gr-paint/Manifest | 2 +- .../gr-paint/gr-paint-0.0_p20220320-r1.ebuild | 62 --------------------- .../gr-paint/gr-paint-0.0_p20230427.ebuild | 65 ++++++++++++++++++++++ 3 files changed, 66 insertions(+), 63 deletions(-) delete mode 100644 net-wireless/gr-paint/gr-paint-0.0_p20220320-r1.ebuild create mode 100644 net-wireless/gr-paint/gr-paint-0.0_p20230427.ebuild (limited to 'net-wireless/gr-paint') diff --git a/net-wireless/gr-paint/Manifest b/net-wireless/gr-paint/Manifest index 06c2ea89ed35..fbb4636fd5a8 100644 --- a/net-wireless/gr-paint/Manifest +++ b/net-wireless/gr-paint/Manifest @@ -1 +1 @@ -DIST gr-paint-0.0_p20220320.tar.gz 2089721 BLAKE2B 50327bd2349177029e1c2fc3a7b3fe6df929487c456a6ae90f1233df7f8db02721bd0233e496cf4a00a9fa2164db705d995b1c2ec25e0a516a0672a6c2b5178d SHA512 b017fa41d8797182d752ad12bfe7511282d33bdfd87ea92dc86f6f01bbe5411759ed6bbfb0adb69368881fa231ee38e4c1eab47aebccdd64bd274f1f55ccac14 +DIST gr-paint-0.0_p20230427.tar.gz 2094691 BLAKE2B 1dfa5fce3d24911dd9802bd322d4e9916a13066e69e5a0b57201f679a4b9bb985d7ee570e1d3881ecced257927ceb9a3b3845bd60422f407a753482dd35bf0a3 SHA512 7be52c524cdfde8a9620102c9b8cbdd813443c7bd9db1466ec3b73c588bb685fdd917fd2d8c602237b1b0450922d8a058ba9d2d507194a7b1ed4efe0c8f0a5f5 diff --git a/net-wireless/gr-paint/gr-paint-0.0_p20220320-r1.ebuild b/net-wireless/gr-paint/gr-paint-0.0_p20220320-r1.ebuild deleted file mode 100644 index 591dda03c344..000000000000 --- a/net-wireless/gr-paint/gr-paint-0.0_p20220320-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -if [[ ${PV} == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git" -else - COMMIT="6cf1568eb9e32c25bf6414ad45f75048a5a2b74c" - SRC_URI="https://github.com/drmpeg/gr-paint/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" - KEYWORDS="~amd64" -fi -inherit cmake python-single-r1 - -DESCRIPTION="Paints monochrome images into the waterfall of a receiver" -HOMEPAGE="https://github.com/drmpeg/gr-paint" - -LICENSE="GPL-3+" -SLOT="0" -IUSE="doc" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -#< drmpeg> What tests? -RESTRICT="test" - -DEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ') - dev-libs/gmp - sci-libs/volk:= - sci-libs/fftw - >=net-wireless/gnuradio-3.9:=[${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') -" - -RDEPEND="${DEPEND}" - -BDEPEND=" - $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" - -src_configure() { - local mycmakeargs=( - -DENABLE_DOXYGEN=$(usex doc) - -DPYTHON_EXECUTABLE="${PYTHON}" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - find "${D}" -name '*.py[oc]' -delete || die - python_optimize - mv "${ED}/usr/share/doc/gr-paint" "${ED}/usr/share/doc/${P}" -} diff --git a/net-wireless/gr-paint/gr-paint-0.0_p20230427.ebuild b/net-wireless/gr-paint/gr-paint-0.0_p20230427.ebuild new file mode 100644 index 000000000000..a60efdb36b71 --- /dev/null +++ b/net-wireless/gr-paint/gr-paint-0.0_p20230427.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/drmpeg/gr-paint.git" +else + COMMIT="995e888fdd575853349b5c72824c216dace74937" + SRC_URI="https://github.com/drmpeg/gr-paint/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64" +fi +inherit cmake flag-o-matic python-single-r1 + +DESCRIPTION="Paints monochrome images into the waterfall of a receiver" +HOMEPAGE="https://github.com/drmpeg/gr-paint" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="doc" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +#< drmpeg> What tests? +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-libs/boost:=[python,${PYTHON_USEDEP}] + ') + dev-libs/gmp + dev-libs/spdlog:= + sci-libs/volk:= + sci-libs/fftw + >=net-wireless/gnuradio-3.9:=[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep 'dev-python/pygccxml[${PYTHON_USEDEP}]') +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +#https://github.com/drmpeg/gr-paint/issues/21 +append-cxxflags -U_GLIBCXX_ASSERTIONS + +src_configure() { + local mycmakeargs=( + -DENABLE_DOXYGEN=$(usex doc) + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + find "${D}" -name '*.py[oc]' -delete || die + python_optimize + mv "${ED}/usr/share/doc/gr-paint" "${ED}/usr/share/doc/${P}" +} -- cgit v1.2.3-65-gdbad