summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-03-31 20:50:35 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-03-31 22:48:07 +0300
commit17dee451e174a413ff578eb229a602f0cb43c1d1 (patch)
tree01b9beb07056f5c04d96c9dd611c228a3794e897 /dev-embedded
parentdev-embedded/libftdi: enable py3.11 for v1.5 (diff)
downloadgentoo-17dee451e174a413ff578eb229a602f0cb43c1d1.tar.gz
gentoo-17dee451e174a413ff578eb229a602f0cb43c1d1.tar.bz2
gentoo-17dee451e174a413ff578eb229a602f0cb43c1d1.zip
dev-embedded/libftdi: enable py3.11 for live ebuild
Enable py3.11. Update EAPI 7 -> 8. Closes: https://github.com/gentoo/gentoo/pull/30423 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libftdi/libftdi-9999.ebuild26
1 files changed, 15 insertions, 11 deletions
diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild
index 52d409b5cacd..263ee7edc9ea 100644
--- a/dev-embedded/libftdi/libftdi-9999.ebuild
+++ b/dev-embedded/libftdi/libftdi-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake python-single-r1
MY_P="${PN}1-${PV}"
@@ -14,7 +14,12 @@ else
SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
- KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+ PATCHES=(
+ "${FILESDIR}"/${P}-tests-no-cxx.patch
+ "${FILESDIR}"/${P}-cmake-cxx.patch
+ )
fi
DESCRIPTION="Userspace access to FTDI USB interface chips"
@@ -26,20 +31,19 @@ IUSE="cxx doc examples python test tools"
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-BDEPEND="
- doc? ( app-doc/doxygen )
- python? ( dev-lang/swig )"
RDEPEND="
virtual/libusb:1
cxx? ( dev-libs/boost )
python? ( ${PYTHON_DEPS} )
- tools? (
- !<dev-embedded/ftdi_eeprom-1.0
- dev-libs/confuse:=
- )"
+ tools? ( dev-libs/confuse:= )
+"
DEPEND="${RDEPEND}
test? ( dev-libs/boost )
"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ python? ( dev-lang/swig )
+"
pkg_setup() {
use python && python-single-r1_pkg_setup
@@ -71,7 +75,7 @@ src_install() {
dodoc AUTHORS ChangeLog README TODO
if use doc ; then
- # Clean up crap man pages. #356369
+ # Clean up man pages with too generic names. #356369
rm -vf "${BUILD_DIR}"/doc/man/man3/_* || die
doman "${BUILD_DIR}"/doc/man/man3/*