From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/
Date: Sun, 05 Jan 2025 20:35:20 +0000 (UTC) [thread overview]
Message-ID: <1736109203.b9ad66071a15784926908ee2e142fe156ae43716.sam@gentoo> (raw)
commit: b9ad66071a15784926908ee2e142fe156ae43716
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Dec 17 11:12:16 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 5 20:33:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ad6607
dev-libs/imath: add 3.1.12
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/imath/Manifest | 1 +
dev-libs/imath/imath-3.1.12.ebuild | 86 ++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index c9ee72b93ef1..f71289fb030f 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
DIST imath-3.1.11.tar.gz 596585 BLAKE2B d5fc8d7607070bc96619e74eb67c60048695023c1baa715e3ab5de84a49bf1f7381cc19e3a047b75f8520e20a9976c58503b2063feb2add7b6dfcc7c73e13ad7 SHA512 0bc86bea3a2aca89d02b501b4fba3c13ca861e914cec558e820fe9e4c43ab14cac34e31ff278b8c35b5fe76f7bea32f2c8105c0d33eb92224eb23d42d7a402e9
+DIST imath-3.1.12.tar.gz 604232 BLAKE2B f11cd2ac2e8ba9df36b2401083088e5603980b45ca36b7b89348a5b87af99cb89de39154e9d37a0d0ef505a06d270f087f96dbc6bca3d4349e03840f34915bb3 SHA512 32628dfcacb610310b81ffe017a66215cf5fb84c2e0a6ac8c94a68c048be3d2b97eb57965dd253770184d5824cce1e5440b8eefb2834666b273b3193ff108343
diff --git a/dev-libs/imath/imath-3.1.12.ebuild b/dev-libs/imath/imath-3.1.12.ebuild
new file mode 100644
index 000000000000..3a1960478263
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.12.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake python-single-r1
+
+MY_PN=${PN^}
+
+DESCRIPTION="Imath basic math package"
+HOMEPAGE="https://imath.readthedocs.io"
+SRC_URI="https://github.com/AcademySoftwareFoundation/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="3/29"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc large-stack python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sys-libs/zlib
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-libs/boost:=[python,${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen
+ $(python_gen_cond_dep '
+ dev-python/breathe[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx-press-theme[${PYTHON_USEDEP}]
+ ')
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+
+DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1.11-fix_cmake_module_export.patch"
+ "${FILESDIR}/${PN}-3.1.11-use-correct-boost_python_version.patch"
+)
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_WEBSITE="$(usex doc)"
+ -DIMATH_ENABLE_LARGE_STACK="$(usex large-stack)"
+ # the following options are at their default value
+ -DIMATH_HALF_USE_LOOKUP_TABLE=ON
+ -DIMATH_INSTALL_PKG_CONFIG=ON
+ -DIMATH_USE_CLANG_TIDY=OFF
+ -DIMATH_USE_DEFAULT_VISIBILITY=OFF
+ -DIMATH_USE_NOEXCEPT=ON
+ )
+ if use python; then
+ mycmakeargs+=(
+ -DBoost_NO_BOOST_CMAKE=OFF
+ -DPYTHON=ON
+ -DPython3_EXECUTABLE="${PYTHON}"
+ -DPython3_INCLUDE_DIR="$(python_get_includedir)"
+ -DPython3_LIBRARY="$(python_get_library_path)"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${BUILD_DIR}/website/sphinx/." )
+ cmake_src_install
+}
next reply other threads:[~2025-01-05 20:35 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 20:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 20:35 [gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/ Sam James
2024-08-25 12:04 Andreas K. Hüttel
2024-06-11 20:35 Sam James
2024-06-11 20:35 Sam James
2024-06-11 18:15 Sam James
2024-06-04 7:13 Sam James
2024-04-09 22:47 Sam James
2024-04-09 17:32 Arthur Zamarin
2024-04-09 17:32 Arthur Zamarin
2024-03-08 9:44 Arthur Zamarin
2024-02-20 18:33 Arthur Zamarin
2023-06-03 13:17 Joonas Niilola
2023-05-20 12:32 Joonas Niilola
2023-05-06 9:17 Arthur Zamarin
2023-05-06 9:11 Arthur Zamarin
2023-05-06 9:03 Arthur Zamarin
2023-04-03 7:12 Viorel Munteanu
2023-04-03 7:05 Viorel Munteanu
2023-04-03 7:05 Viorel Munteanu
2023-01-13 0:15 Yixun Lan
2023-01-12 6:38 Joonas Niilola
2023-01-11 7:55 Sam James
2023-01-11 7:55 Sam James
2022-11-23 17:55 Joonas Niilola
2022-09-28 9:55 Joonas Niilola
2022-05-17 12:48 WANG Xuerui
2022-04-22 18:18 Arthur Zamarin
2022-04-21 13:00 Jakov Smolić
2022-04-08 12:31 Joonas Niilola
2022-03-01 1:12 Sam James
2022-03-01 0:02 Sam James
2022-02-28 23:58 Sam James
2022-02-28 5:21 Sam James
2022-02-18 22:48 Sam James
2022-02-15 19:51 Sam James
2022-02-11 16:30 Sam James
2022-02-02 7:54 Sam James
2022-01-27 9:03 Andreas Sturmlechner
2022-01-26 19:12 Arthur Zamarin
2022-01-24 9:25 Jakov Smolić
2021-12-29 13:46 Yixun Lan
2021-10-27 22:33 Sam James
2021-10-27 4:14 Sam James
2021-10-17 2:22 Sam James
2021-08-01 7:14 Joonas Niilola
2021-07-31 22:26 Joshua Kinard
2021-07-27 3:27 Sam James
2021-07-25 1:10 Sam James
2021-07-23 7:41 Joonas Niilola
2021-07-23 7:41 Joonas Niilola
2021-07-21 21:57 Marek Szuba
2021-07-21 21:57 Marek Szuba
2021-07-08 7:11 Sergei Trofimovich
2021-07-08 7:09 Sergei Trofimovich
2021-06-29 18:59 Sergei Trofimovich
2021-05-31 17:43 Sergei Trofimovich
2021-05-04 22:02 Sam James
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=1736109203.b9ad66071a15784926908ee2e142fe156ae43716.sam@gentoo \
--to=sam@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