From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libftdi/
Date: Fri, 31 Mar 2023 19:48:51 +0000 (UTC) [thread overview]
Message-ID: <1680292087.f93f78ffa9a1b8138fb3c502276cc9f0faac4a72.ceamac@gentoo> (raw)
commit: f93f78ffa9a1b8138fb3c502276cc9f0faac4a72
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 31 17:49:54 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 19:48:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93f78ff
dev-embedded/libftdi: enable py3.11 for v0.20
Enable py3.11.
Update EAPI 7 -> 8.
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-embedded/libftdi/libftdi-0.20-r2.ebuild | 89 +++++++++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/dev-embedded/libftdi/libftdi-0.20-r2.ebuild b/dev-embedded/libftdi/libftdi-0.20-r2.ebuild
new file mode 100644
index 000000000000..6b805b7fd6d9
--- /dev/null
+++ b/dev-embedded/libftdi/libftdi-0.20-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit cmake python-single-r1
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
+else
+ SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Userspace access to FTDI USB interface chips"
+HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="cxx doc examples python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ virtual/libusb:0
+ cxx? ( dev-libs/boost )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? ( app-doc/doxygen )
+ python? ( dev-lang/swig )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cmake-include.patch
+ "${FILESDIR}"/${P}-cmake-version.patch
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ if use python; then
+ sed -i \
+ -e "s:[$]{PYTHON_LIB_INSTALL}/../site-packages:$(python_get_sitedir):" \
+ bindings/CMakeLists.txt || die
+ fi
+ sed -i \
+ -e '/SET(LIB_SUFFIX /d' \
+ CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DFTDIPP=$(usex cxx)
+ -DDOCUMENTATION=$(usex doc)
+ -DEXAMPLES=$(usex examples)
+ -DPYTHON_BINDINGS=$(usex python)
+ -DCMAKE_SKIP_BUILD_RPATH=ON
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ use python && python_optimize
+ dodoc ChangeLog README
+
+ if use doc ; then
+ # Clean up man pages with too generic names. #356369
+ rm -vf "${BUILD_DIR}"/doc/man/man3/{_,usb_,deprecated}* || die
+
+ doman "${BUILD_DIR}"/doc/man/man3/*
+ dodoc -r "${BUILD_DIR}"/doc/html
+ fi
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die
+}
next reply other threads:[~2023-03-31 19:48 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 19:48 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-17 19:39 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libftdi/ Andreas K. Hüttel
2025-05-17 19:39 Andreas K. Hüttel
2025-05-05 15:17 Sam James
2025-05-05 15:17 Sam James
2025-05-04 17:01 Jason Zaman
2024-09-24 15:03 Arthur Zamarin
2024-09-24 15:03 Arthur Zamarin
2024-08-09 17:45 Arthur Zamarin
2024-08-09 17:43 Arthur Zamarin
2024-07-02 10:02 Sam James
2024-07-02 10:02 Sam James
2024-06-19 13:20 Sam James
2024-06-19 13:18 Sam James
2024-06-08 7:12 Sam James
2024-06-08 6:35 Arthur Zamarin
2024-06-08 5:51 Arthur Zamarin
2024-06-08 5:40 Arthur Zamarin
2024-05-29 14:43 Jakov Smolić
2024-05-29 14:43 Jakov Smolić
2024-05-29 11:47 Sam James
2024-05-29 11:47 Sam James
2024-04-20 19:47 Viorel Munteanu
2023-08-20 9:33 Viorel Munteanu
2023-08-20 9:33 Viorel Munteanu
2023-04-19 11:14 Viorel Munteanu
2023-04-19 11:14 Viorel Munteanu
2023-04-19 11:07 Sam James
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19 10:16 Arthur Zamarin
2023-04-19 9:47 Arthur Zamarin
2023-04-19 9:45 Sam James
2023-04-19 9:45 Sam James
2023-04-19 9:43 Sam James
2023-04-19 9:43 Sam James
2023-04-19 9:43 Sam James
2023-04-19 9:43 Sam James
2023-04-19 9:41 Arthur Zamarin
2023-03-31 19:48 Viorel Munteanu
2023-03-31 19:48 Viorel Munteanu
2022-12-02 18:44 WANG Xuerui
2022-11-10 5:28 Sam James
2022-11-10 5:10 Sam James
2022-04-29 19:06 Sam James
2022-04-29 19:06 Sam James
2022-02-02 4:44 Craig Andrews
2021-08-22 0:07 Marek Szuba
2021-08-22 0:07 Marek Szuba
2021-05-06 21:20 Sam James
2021-05-01 14:06 Sam James
2021-04-30 23:39 Sam James
2021-04-30 23:37 Sam James
2021-04-30 23:29 Sam James
2021-04-30 20:28 Sergei Trofimovich
2021-04-30 15:23 Agostino Sarubbo
2021-02-26 13:55 Sam James
2021-02-25 18:34 Sergei Trofimovich
2021-02-25 8:32 Sam James
2021-02-25 7:31 Sam James
2021-02-25 1:41 Sam James
2021-02-24 20:25 Sam James
2021-02-24 20:24 Sam James
2021-02-05 7:23 Sam James
2021-01-27 18:33 Sam James
2021-01-27 18:25 Sam James
2021-01-27 18:25 Sam James
2020-12-28 15:17 David Seifert
2020-12-28 15:17 David Seifert
2020-12-28 8:22 Sam James
2020-12-27 21:40 Sam James
2020-12-27 20:48 Sam James
2020-12-27 20:46 Sam James
2020-12-27 20:34 Sam James
2020-12-27 20:27 Sam James
2020-12-27 20:19 Sam James
2020-07-10 11:53 Andreas Sturmlechner
2020-06-09 13:53 Agostino Sarubbo
2020-06-09 13:51 Agostino Sarubbo
2020-06-09 13:50 Agostino Sarubbo
2020-06-09 13:49 Agostino Sarubbo
2020-06-09 13:47 Agostino Sarubbo
2020-06-09 13:45 Agostino Sarubbo
2020-06-08 17:29 Matt Turner
2020-06-08 16:34 Mart Raudsepp
2020-02-10 11:54 Michał Górny
2018-07-26 0:44 Mikle Kolyada
2018-07-23 18:42 Sergei Trofimovich
2018-07-20 3:58 Jeroen Roovers
2018-07-15 10:25 Sergei Trofimovich
2018-05-01 7:41 Markus Meier
2018-04-03 21:43 Sergei Trofimovich
2017-12-25 10:43 David Seifert
2017-11-22 10:24 Jeroen Roovers
2017-06-26 10:03 Alexis Ballier
2017-05-19 15:31 David Seifert
2017-05-18 22:38 Michael Weber
2017-05-12 14:55 Agostino Sarubbo
2017-05-06 7:27 Markus Meier
2017-05-01 13:37 Agostino Sarubbo
2017-02-18 10:32 Michał Górny
2016-06-24 7:47 Mike Frysinger
2016-06-24 7:47 Mike Frysinger
2016-06-11 16:44 Agostino Sarubbo
2016-06-08 19:29 Markus Meier
2015-12-31 13:11 Sven Wegener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680292087.f93f78ffa9a1b8138fb3c502276cc9f0faac4a72.ceamac@gentoo \
--to=ceamac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox