gcc-arm-none-eabi: pkgcheck fixes, allow use of 12 and 13

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-05-02 12:49:17 -04:00
parent 907c7fe4b8
commit b9e81d26ec
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
5 changed files with 18 additions and 16 deletions

View file

@ -144,9 +144,6 @@ dev-lang/lua:0
#https://bugs.gentoo.org/816453
~media-libs/codec2-1.0.1
#okay so this still doesn't work and seems to be riddled with Internal Compiler Errors
>=sys-devel/gcc-arm-none-eabi-11.2_p202202-r2
#https://github.com/intoolswetrust/jd-cli/issues/81
>dev-java/jcommander-1.32

View file

@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
#https://bugs.launchpad.net/gcc-arm-embedded/+bug/1949004
#major/update

View file

@ -1,7 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
inherit python-r1
# https://bugs.launchpad.net/gcc-arm-embedded/+bug/1949004
#major/update
@ -32,19 +34,20 @@ S="${WORKDIR}/arm-gnu-toolchain-${MY_PV}-x86_64-arm-none-eabi"
LICENSE="BSD GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB"
SLOT="0"
KEYWORDS="amd64"
IUSE="python3"
IUSE="python"
RESTRICT="strip"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
QA_PREBUILT="*"
RDEPEND="sys-libs/ncurses-compat
RDEPEND="sys-libs/ncurses-compat:5
virtual/libcrypt
dev-libs/expat
python3? ( =dev-lang/python-3* )"
python? ( ${PYTHON_DEPS} )"
src_install() {
dodir /opt/${PN}
\cp -r "${S}"/* "${ED}"/opt/${PN}
use python3 || rm "${ED}"/opt/gcc-arm-none-eabi/bin/arm-none-eabi-gdb-py
use python || rm "${ED}"/opt/gcc-arm-none-eabi/bin/arm-none-eabi-gdb-py
fowners -R root:0 /opt/${PN}
local DEST="${EPREFIX}/opt/${PN}"

View file

@ -1,7 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
inherit python-r1
# https://bugs.launchpad.net/gcc-arm-embedded/+bug/1949004
#major/update
@ -32,19 +34,20 @@ S="${WORKDIR}/arm-gnu-toolchain-${MY_PV}-x86_64-arm-none-eabi"
LICENSE="BSD GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB"
SLOT="0"
KEYWORDS="amd64"
IUSE="python3"
IUSE="python"
RESTRICT="strip"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
QA_PREBUILT="*"
RDEPEND="sys-libs/ncurses-compat
RDEPEND="sys-libs/ncurses-compat:5
virtual/libcrypt
dev-libs/expat
python3? ( =dev-lang/python-3* )"
python? ( ${PYTHON_DEPS} )"
src_install() {
dodir /opt/${PN}
\cp -r "${S}"/* "${ED}"/opt/${PN}
use python3 || rm "${ED}"/opt/gcc-arm-none-eabi/bin/arm-none-eabi-gdb-py
use python || rm "${ED}"/opt/gcc-arm-none-eabi/bin/arm-none-eabi-gdb-py
fowners -R root:0 /opt/${PN}
local DEST="${EPREFIX}/opt/${PN}"

View file

@ -7,6 +7,5 @@
</maintainer>
<use>
<flag name="python2">Include python 2 support</flag>
<flag name="python3">Include python 3 support</flag>
</use>
</pkgmetadata>