diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-libs/imath | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-libs/imath')
-rw-r--r-- | dev-libs/imath/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/imath/imath-3.1.5.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest index 286c8c5fb4b2..241f1f000b1b 100644 --- a/dev-libs/imath/Manifest +++ b/dev-libs/imath/Manifest @@ -1,5 +1,7 @@ AUX imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch 719 BLAKE2B 3919766914fb929fcadfca3d77a3d025522c6210e99654a68b7d0a580d59fcbd3a09403260a4da7dd80bae7d1e74c12ecfe6fec9190f0447b5e16a462d69f159 SHA512 01fc0ed3cf07ef58caa0321922b2e4882be9e7b1e5bf554ab6f6ef236197e95a48ade658f34abd04748604b62c8e5559257503cffe9fd5079d237ed7de46aa8c DIST imath-3.1.4.tar.gz 572214 BLAKE2B 6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e SHA512 f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286 +DIST imath-3.1.5.tar.gz 570875 BLAKE2B f78c8278a3ecb40afaa291b74c50c2ce01a5cba594e690041a57cfd3a65f9fe0842a41d600906ed864df239c2753488dedca53bdfa65a90c13513111a8068ca4 SHA512 8344e42c75d8e4bb21facb837535f0c9e4a9489d9edebcc25d5d3c6063535f2bf54e4517d8fca3fedada248457aa07c9bd77d6e843a9d115278fc154de2cdc9d EBUILD imath-3.1.4-r3.ebuild 1793 BLAKE2B 64fd0eeeaae148a21d7f58e2df9c7adbc84068534c08a0a23a232075abd298eca9b1b378f0c69077044361685cdfe4b931e2f80a1ef90e94c5b5e14fea2a8b59 SHA512 6e4c9e4ac06c85db01969131c49f76aa93e59ca8358f61c422407e4dab3a5fd4f4bbf7efa2fb22f0f931d4fb8d47cdbd2fe4d509535dac63feea4fbc9007831c EBUILD imath-3.1.4-r4.ebuild 1877 BLAKE2B 2c4fd6c647157f06445b0f2c9547bcd7ad90ad019d0112163f9e263aaf012a5f3a6dd06b7568cad764bf9c15b8bfdebe1fa26b292744752057b695be02027a50 SHA512 efff61f4b210287e5b9ce128183d45a54fa145e90815258d8a2d40b7302c0dc5d6215ca5d674d16b6d4f906d4ae80329df881693db791551081dcf5c3fb8bf32 +EBUILD imath-3.1.5.ebuild 1796 BLAKE2B e2c0c6e94cd0fcef06cc67befd0e326b726d5558bfd9365bb6f1ad99d849cb791a673ff7e134babbde89953340927cb229b7e12ba623170068f7b14cb1df5e50 SHA512 f4f6bdf78258bd99f1cb2dc459fa75c81b7cbff527b7bac080adbf820f1237312315b79034c0b462cdc8d35957ac147aa31d1168c6d0cbee66fdbbad856c87bd MISC metadata.xml 820 BLAKE2B f035962970166d4c636e8b98b9301e31fbc27aecb7059289a7581958619b85c7f60551d56175637d373363a41c7349c8c78ec31348590826313bdca94aec6727 SHA512 9dbff2f917f1705a611680c46f73a0ad372f27f6b5c236f691f16b6c41a51cb3d8712c4bceddb5469742f4952385e2a2b07377c4c216736810562ae89c5c52f4 diff --git a/dev-libs/imath/imath-3.1.5.ebuild b/dev-libs/imath/imath-3.1.5.ebuild new file mode 100644 index 000000000000..9b40568f036e --- /dev/null +++ b/dev-libs/imath/imath-3.1.5.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 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 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="BSD" +SLOT="3/29" +IUSE="doc large-stack python test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +# blocker due to file collision #803347 +RDEPEND=" + !dev-libs/imath:0 + !media-libs/ilmbase + sys-libs/zlib + python? ( + !dev-python/pyilmbase + ${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} ) +" + +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 mycmakeargs=( + -DDOCS=$(usex doc) + -DIMATH_ENABLE_LARGE_STACK=$(usex large-stack) + -DIMATH_HALF_USE_LOOKUP_TABLE=ON + -DIMATH_INSTALL_PKG_CONFIG=ON + -DIMATH_USE_CLANG_TIDY=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 +} |