gr-mixalot: bump

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-01-21 16:21:17 -05:00
parent 7504f28e9c
commit 8dbd1ce57c
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
4 changed files with 11 additions and 65 deletions

View file

@ -1 +1 @@
DIST gr-mixalot-0.0_p2020902.tar.gz 117882 BLAKE2B 82ffa73f535215f5a66c32d47b73d06883e6110c65133823f9cb529c0421f5fb24e557503d929ac37f395add4b90a3b632dd89b56a212d4cb6528270413d67f4 SHA512 49cb2063cb75b71082bf9639200b10f8188869d07076e1e6b4829282eac9f8f48de9c9c52442739bdc61ac689732c28718fe6138852e5ccd270f08fb316ae1a7 DIST gr-mixalot-0.0_p20230121.tar.gz 20037559 BLAKE2B 66b10d31e78a31c8afb4ba0d4a622a07d40fffe3002ede15d93377ed77e819f7020451ff5c97e62b35635856b03ea695cb8cf54386e187c429a9f65cb2ac3d68 SHA512 96237d0c1be03ad22c343f690e798228f3f50a98fe66310010e8cb0fd78ff48908c1c63c0f2e21c34e8ea435f11d7c6fd192a7a61cc0fce7e75a9767ccddcc7b

View file

@ -1,51 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit cmake python-single-r1
DESCRIPTION="a set of GNU Radio blocks/utilities to encode pager messages"
HOMEPAGE="https://github.com/ckoval7/gr-mixalot.git"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ckoval7/gr-mixalot.git"
EGIT_BRANCH="maint-3.8"
else
COMMIT="565728a16d3a53b5d2ccef63b271c0f6b032481f"
SRC_URI="https://github.com/ckoval7/gr-mixalot/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="amd64 x86"
fi
LICENSE="GPL-3 public-domain"
SLOT="0"
IUSE=""
DEPEND="${PYTHON_DEPS}
app-doc/doxygen
=net-wireless/gnuradio-3.8*
sci-libs/itpp:="
RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
sed -i '/swig_lib_target/s/${CMAKE_INSTALL_PREFIX}\///' swig/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}"
-DGR_PYTHON_DIR="$(python_get_sitedir)"
)
cmake_src_configure
}
src_install() {
cmake_src_install
#docs are built using automagic logic
[ -d "${ED}/usr/share/doc/${PN}" ] && mv "${ED}"/usr/share/doc/{"${PN}","${PF}"} || die
python_optimize
}

View file

@ -0,0 +1 @@
gr-mixalot-9999.ebuild

View file

@ -1,21 +1,21 @@
# Copyright 2020 Gentoo Authors # Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{10..11} ) PYTHON_COMPAT=( python3_{10..11} )
inherit cmake python-single-r1 inherit cmake python-single-r1
DESCRIPTION="a set of GNU Radio blocks/utilities to encode pager messages" DESCRIPTION="a set of GNU Radio blocks/utilities to encode pager messages"
HOMEPAGE="https://github.com/ckoval7/gr-mixalot.git" HOMEPAGE="https://github.com/unsynchronized/gr-mixalot"
if [ "${PV}" = "9999" ]; then if [ "${PV}" = "9999" ]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/ckoval7/gr-mixalot.git" EGIT_REPO_URI="https://github.com/unsynchronized/gr-mixalot.git"
EGIT_BRANCH="maint-3.8" EGIT_BRANCH="main"
else else
COMMIT="565728a16d3a53b5d2ccef63b271c0f6b032481f" COMMIT="09112cbc764d2a622ec5d86e3f9c18e18449758e"
SRC_URI="https://github.com/ckoval7/gr-mixalot/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/unsynchronized/gr-mixalot/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}" S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="amd64 x86" KEYWORDS="amd64 x86"
fi fi
@ -26,15 +26,10 @@ IUSE=""
DEPEND="${PYTHON_DEPS} DEPEND="${PYTHON_DEPS}
app-doc/doxygen app-doc/doxygen
=net-wireless/gnuradio-3.8* net-wireless/gnuradio:=
sci-libs/itpp:=" sci-libs/itpp"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
sed -i '/swig_lib_target/s/${CMAKE_INSTALL_PREFIX}\///' swig/CMakeLists.txt || die
}
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
-DPYTHON_EXECUTABLE="${PYTHON}" -DPYTHON_EXECUTABLE="${PYTHON}"
@ -48,4 +43,5 @@ src_install() {
#docs are built using automagic logic #docs are built using automagic logic
[ -d "${ED}/usr/share/doc/${PN}" ] && mv "${ED}"/usr/share/doc/{"${PN}","${PF}"} || die [ -d "${ED}/usr/share/doc/${PN}" ] && mv "${ED}"/usr/share/doc/{"${PN}","${PF}"} || die
python_optimize python_optimize
#rm "${D}/usr/lib/python*/site-packages/gnuradio/mixalot/__init__.py[co]" || die
} }