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, 17 Oct 2021 02:22:13 +0000 (UTC) [thread overview]
Message-ID: <1634437319.cb92c3517ba8f6192669b7b3583c80810d48c455.sam@gentoo> (raw)
commit: cb92c3517ba8f6192669b7b3583c80810d48c455
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Mon Oct 11 05:34:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 02:21:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb92c351
dev-libs/imath: bump to 3.1.3
New cmake option to build docs using doxygen / sphinx
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/imath/Manifest | 1 +
dev-libs/imath/imath-3.1.3.ebuild | 76 +++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 5190cfb234c..84c2392f3c3 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1,3 @@
DIST imath-3.0.5.tar.gz 528503 BLAKE2B c1fcb199a81aff25f1ad26ccfcef2802861401f3fee5dc24035216aa16fd9a5344ec6c37139a0850f1a4bc580dc1fdd068eca9473a19e4aaf329cfc5f53a4cd6 SHA512 df206315d822266cf32a5a4399abff7ad1dd0bd1f0372d61f61516e2acdefd13e3cfd9cf54373a3fb49bb28c9f80915ca5ecaec2a068a1d6ea231d71a5316da2
DIST imath-3.1.1.tar.gz 568231 BLAKE2B a1210b5f6ff4723a133d317c2b40338e387973a1409868a218192a53778b86a0912c77911bdf76286a6ed6931175aec38bf24ddc0c76eed3375b7a2945dba124 SHA512 b2f4cc21e44094ef139a1f04bb997c7e41770ff886457fff00d65ca477ba579c86fd5fbd465998c4519855fcb34328ac834d84d0d011f758f56a20ef79e9ca3d
+DIST imath-3.1.3.tar.gz 570840 BLAKE2B b037c9bdee87f58c7a2be9dbda52c89c26eba25fe07342710578f9eef4b90a49b9d5dc5451702c960ae94427d7f748b79b81b7fc9ad350d2252e9e4bf6a1d6cc SHA512 a11f5e736bc49098d735c7903f186c15b03efbec082a8cf2e6635546368035cec0d36c7ae64bfd01bd8eeffb2dd247b8dab19e440a3e1fe33008edacc1268f75
diff --git a/dev-libs/imath/imath-3.1.3.ebuild b/dev-libs/imath/imath-3.1.3.ebuild
new file mode 100644
index 00000000000..8ce94a93b3b
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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"
+# re-keywording needed for (according to ilmbase keywords): ~x64-macos ~x86-solaris
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="3/29"
+IUSE="doc large-stack python static-libs test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+# blocker due to file collision #803347
+RDEPEND="
+ !dev-libs/imath:0
+ 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? ( $(python_gen_cond_dep 'dev-python/breathe[${PYTHON_USEDEP}]') )
+ python? ( ${PYTHON_DEPS} )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.1.1-0001-changes-needed-for-proper-slotting.patch )
+DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md docs/PortingGuide2-3.md )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local majorver=$(ver_cut 1)
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=$(usex !static-libs)
+ -DDOCS=$(usex doc)
+ -DIMATH_ENABLE_LARGE_STACK=$(usex large-stack)
+ -DIMATH_HALF_USE_LOOKUP_TABLE=ON
+ -DIMATH_INSTALL_PKG_CONFIG=ON
+ -DIMATH_OUTPUT_SUBDIR="${MY_PN}-${majorver}"
+ -DIMATH_USE_CLANG_TIDY=OFF
+ -DIMATH_USE_NOEXCEPT=ON
+ )
+ if use python; then
+ mycmakeargs+=(
+ # temp. disable for finding libboost_python310, #803032
+# -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
+}
next reply other threads:[~2021-10-17 2:22 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-17 2:22 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-25 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/ 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-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=1634437319.cb92c3517ba8f6192669b7b3583c80810d48c455.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