[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2024-04-09 Thread Sam James
commit: 4bfca838a2c9ec52a87e6a5d63db2c61421544c6
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  9 22:46:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  9 22:46:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfca838

dev-libs/imath: Stabilize 3.1.11 arm64, #928994

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.11.ebuild 
b/dev-libs/imath/imath-3.1.11.ebuild
index 48df613d83e6..6da867303ab9 100644
--- a/dev-libs/imath/imath-3.1.11.ebuild
+++ b/dev-libs/imath/imath-3.1.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/29"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc large-stack python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2024-04-09 Thread Arthur Zamarin
commit: 73d7a45e5356c72301bd5b46d1b65d8db4ee93e9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  9 17:32:28 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  9 17:32:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d7a45e

dev-libs/imath: Stabilize 3.1.11 amd64, #928994

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.11.ebuild 
b/dev-libs/imath/imath-3.1.11.ebuild
index 72d13755c6ef..48df613d83e6 100644
--- a/dev-libs/imath/imath-3.1.11.ebuild
+++ b/dev-libs/imath/imath-3.1.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/29"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc large-stack python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2024-04-09 Thread Arthur Zamarin
commit: f939d70e89075f7908822b3ef03c564bbfa01941
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  9 17:32:27 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  9 17:32:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f939d70e

dev-libs/imath: Stabilize 3.1.11 x86, #928994

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.11.ebuild 
b/dev-libs/imath/imath-3.1.11.ebuild
index 2c26185bfb10..72d13755c6ef 100644
--- a/dev-libs/imath/imath-3.1.11.ebuild
+++ b/dev-libs/imath/imath-3.1.11.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/29"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc large-stack python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2024-03-08 Thread Arthur Zamarin
commit: 286b3eb7a39b904344a50105b8a00a869f734c6f
Author: Aliaksei Urbanski  gmail  com>
AuthorDate: Thu Mar  7 21:28:39 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar  8 09:44:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286b3eb7

dev-libs/imath: add 3.1.11

These changes also:
  - reintroduce the doc USE flag

Release:
  - https://github.com/AcademySoftwareFoundation/Imath/releases/tag/v3.1.11

Closes: https://bugs.gentoo.org/923812
Signed-off-by: Aliaksei Urbanski  gmail.com>
Co-authored-by: Arthur Zamarin  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35188
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/Manifest|  1 +
 dev-libs/imath/imath-3.1.11.ebuild | 81 ++
 2 files changed, 82 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 0c1d8253aabe..e3a201e2cc3d 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1,3 @@
+DIST imath-3.1.11.tar.gz 596585 BLAKE2B 
d5fc8d7607070bc96619e74eb67c60048695023c1baa715e3ab5de84a49bf1f7381cc19e3a047b75f8520e20a9976c58503b2063feb2add7b6dfcc7c73e13ad7
 SHA512 
0bc86bea3a2aca89d02b501b4fba3c13ca861e914cec558e820fe9e4c43ab14cac34e31ff278b8c35b5fe76f7bea32f2c8105c0d33eb92224eb23d42d7a402e9
 DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
 DIST imath-3.1.9.tar.gz 598497 BLAKE2B 
fe3afce26c19f5ddace3c420f9b83caca7b4c75902820fc2182ef9fb9f4d27581f27ca72262b63d65f794eeb73af55782412ba846d142072e0090ff7224d8960
 SHA512 
ad96b2ac306fc13c01e8ea3256f885499c3f545be327feaba0f5e093b70b544bcca6f8b353fa7e35107aae515c19caced44331a95d0414f367ead4691ec73564

diff --git a/dev-libs/imath/imath-3.1.11.ebuild 
b/dev-libs/imath/imath-3.1.11.ebuild
new file mode 100644
index ..2c26185bfb10
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.11.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~mips ~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 )
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2024-02-20 Thread Arthur Zamarin
commit: e363cbbaef2263e9516a9a38b078358a34bb68de
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Feb 20 18:27:42 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Feb 20 18:32:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e363cbba

dev-libs/imath: drop ~ia64 keyword

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.6.ebuild | 4 ++--
 dev-libs/imath/imath-3.1.9.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
index f1bce4102c11..35006aa943a2 100644
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"

diff --git a/dev-libs/imath/imath-3.1.9.ebuild 
b/dev-libs/imath/imath-3.1.9.ebuild
index aea484a270f9..875d9a2d87d1 100644
--- a/dev-libs/imath/imath-3.1.9.ebuild
+++ b/dev-libs/imath/imath-3.1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ 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"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/, profiles/

2023-10-26 Thread Sam James
commit: ad26be7b99ce5e0fc82abe7ab9a5d70cc886e24e
Author: Paul Zander  gmail  com>
AuthorDate: Wed Oct 11 21:10:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 03:15:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad26be7b

dev-libs/Imath: add 3.1.9, remove 3.1.7

* move 3.1.7 to 3.1.9 to fix soname issues
* drop blockers on old removed packages

Closes: https://bugs.gentoo.org/907211
Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/Manifest   |  2 +-
 dev-libs/imath/imath-3.1.6.ebuild |  3 ---
 dev-libs/imath/{imath-3.1.7.ebuild => imath-3.1.9.ebuild} | 10 +++---
 profiles/package.mask |  7 ---
 4 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 4bf4962b7f9d..0c1d8253aabe 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1,2 @@
 DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
-DIST imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0
+DIST imath-3.1.9.tar.gz 598497 BLAKE2B 
fe3afce26c19f5ddace3c420f9b83caca7b4c75902820fc2182ef9fb9f4d27581f27ca72262b63d65f794eeb73af55782412ba846d142072e0090ff7224d8960
 SHA512 
ad96b2ac306fc13c01e8ea3256f885499c3f545be327feaba0f5e093b70b544bcca6f8b353fa7e35107aae515c19caced44331a95d0414f367ead4691ec73564

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
index 140156298dbb..f1bce4102c11 100644
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -24,11 +24,8 @@ 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}]

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.9.ebuild
similarity index 84%
rename from dev-libs/imath/imath-3.1.7.ebuild
rename to dev-libs/imath/imath-3.1.9.ebuild
index 2e490284d2c3..aea484a270f9 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-single-r1
 
@@ -12,23 +12,19 @@ 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
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
-SLOT="3/30"
+SLOT="3/29"
 IUSE="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}]

diff --git a/profiles/package.mask b/profiles/package.mask
index ca1422449084..8d6d670938ff 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -382,13 +382,6 @@ net-misc/openr2
 =dev-db/mariadb-10.11.2
 =dev-db/mariadb-10.11.3
 
-# Bernd Waibel  (2023-05-31)
-# Mask this version for uptime soversion issue. There will be an updated 
release
-# shortly which fixes this.
-# See 
https://github.com/AcademySoftwareFoundation/Imath/issues/189#issuecomment-1567077722
-# Bug: #907211
-=dev-libs/imath-3.1.7
-
 # Sam James  (2023-05-19)
 # Breaks Portage's pid-sandbox at least with 5.10 kernels. Pending 
investigation.
 # If you're hitting this, try: FEATURES="-pid-sandbox" emerge -v1 
sys-apps/util-linux



[gentoo-commits] repo/gentoo:master commit in: dev-libs/Imath/, profiles/

2023-10-26 Thread Sam James
commit: 3f0ec7571e66809cea92eca33970aa59935d8cea
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 27 02:58:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:58:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0ec757

Revert "dev-libs/Imath: add 3.1.9, remove 3.1.7"

This reverts commit a8cfff0ca3e694c5fe286dc05032f1f7d47386c7.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/Imath/Imath-3.1.6.ebuild | 3 +++
 dev-libs/Imath/{Imath-3.1.9.ebuild => Imath-3.1.7.ebuild} | 9 ++---
 dev-libs/Imath/Manifest   | 2 +-
 profiles/package.mask | 7 +++
 4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/dev-libs/Imath/Imath-3.1.6.ebuild 
b/dev-libs/Imath/Imath-3.1.6.ebuild
index 3374d6407bba..7be7d851d903 100644
--- a/dev-libs/Imath/Imath-3.1.6.ebuild
+++ b/dev-libs/Imath/Imath-3.1.6.ebuild
@@ -21,8 +21,11 @@ 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}]

diff --git a/dev-libs/Imath/Imath-3.1.9.ebuild 
b/dev-libs/Imath/Imath-3.1.7.ebuild
similarity index 87%
rename from dev-libs/Imath/Imath-3.1.9.ebuild
rename to dev-libs/Imath/Imath-3.1.7.ebuild
index dd64ee70e7cb..6bf1de90a8d2 100644
--- a/dev-libs/Imath/Imath-3.1.9.ebuild
+++ b/dev-libs/Imath/Imath-3.1.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit cmake python-single-r1
 
@@ -11,18 +11,21 @@ DESCRIPTION="Imath basic math package"
 HOMEPAGE="https://imath.readthedocs.io;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 # re-keywording needed for (according to ilmbase keywords): ~x64-macos
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 
 LICENSE="BSD"
-SLOT="3/29"
+SLOT="3/30"
 IUSE="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}]

diff --git a/dev-libs/Imath/Manifest b/dev-libs/Imath/Manifest
index 22ce78503b62..ea8c385883f6 100644
--- a/dev-libs/Imath/Manifest
+++ b/dev-libs/Imath/Manifest
@@ -1,2 +1,2 @@
 DIST Imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
-DIST Imath-3.1.9.tar.gz 598497 BLAKE2B 
fe3afce26c19f5ddace3c420f9b83caca7b4c75902820fc2182ef9fb9f4d27581f27ca72262b63d65f794eeb73af55782412ba846d142072e0090ff7224d8960
 SHA512 
ad96b2ac306fc13c01e8ea3256f885499c3f545be327feaba0f5e093b70b544bcca6f8b353fa7e35107aae515c19caced44331a95d0414f367ead4691ec73564
+DIST Imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0

diff --git a/profiles/package.mask b/profiles/package.mask
index 8d6d670938ff..9e3fb16662d2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -382,6 +382,13 @@ net-misc/openr2
 =dev-db/mariadb-10.11.2
 =dev-db/mariadb-10.11.3
 
+# Bernd Waibel  (2023-05-31)
+# Mask this version for uptime soversion issue. There will be an updated 
release
+# shortly which fixes this.
+# See 
https://github.com/AcademySoftwareFoundation/Imath/issues/189#issuecomment-1567077722
+# Bug: #907211
+=dev-libs/Imath-3.1.7
+
 # Sam James  (2023-05-19)
 # Breaks Portage's pid-sandbox at least with 5.10 kernels. Pending 
investigation.
 # If you're hitting this, try: FEATURES="-pid-sandbox" emerge -v1 
sys-apps/util-linux



[gentoo-commits] repo/gentoo:master commit in: dev-libs/Imath/, profiles/

2023-10-26 Thread Sam James
commit: a8cfff0ca3e694c5fe286dc05032f1f7d47386c7
Author: Paul Zander  gmail  com>
AuthorDate: Wed Oct 11 21:10:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 02:31:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8cfff0c

dev-libs/Imath: add 3.1.9, remove 3.1.7

move 3.1.7 to 3.1.9 to fix soname issues
drop blockers on old removed packages

Closes: https://bugs.gentoo.org/907211
Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/Imath/Imath-3.1.6.ebuild | 3 ---
 dev-libs/Imath/{Imath-3.1.7.ebuild => Imath-3.1.9.ebuild} | 9 +++--
 dev-libs/Imath/Manifest   | 2 +-
 profiles/package.mask | 7 ---
 4 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/dev-libs/Imath/Imath-3.1.6.ebuild 
b/dev-libs/Imath/Imath-3.1.6.ebuild
index 7be7d851d903..3374d6407bba 100644
--- a/dev-libs/Imath/Imath-3.1.6.ebuild
+++ b/dev-libs/Imath/Imath-3.1.6.ebuild
@@ -21,11 +21,8 @@ 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}]

diff --git a/dev-libs/Imath/Imath-3.1.7.ebuild 
b/dev-libs/Imath/Imath-3.1.9.ebuild
similarity index 87%
rename from dev-libs/Imath/Imath-3.1.7.ebuild
rename to dev-libs/Imath/Imath-3.1.9.ebuild
index 6bf1de90a8d2..dd64ee70e7cb 100644
--- a/dev-libs/Imath/Imath-3.1.7.ebuild
+++ b/dev-libs/Imath/Imath-3.1.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-single-r1
 
@@ -11,21 +11,18 @@ DESCRIPTION="Imath basic math package"
 HOMEPAGE="https://imath.readthedocs.io;
 
SRC_URI="https://github.com/AcademySoftwareFoundation/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 # re-keywording needed for (according to ilmbase keywords): ~x64-macos
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
 
 LICENSE="BSD"
-SLOT="3/30"
+SLOT="3/29"
 IUSE="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}]

diff --git a/dev-libs/Imath/Manifest b/dev-libs/Imath/Manifest
index ea8c385883f6..22ce78503b62 100644
--- a/dev-libs/Imath/Manifest
+++ b/dev-libs/Imath/Manifest
@@ -1,2 +1,2 @@
 DIST Imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
-DIST Imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0
+DIST Imath-3.1.9.tar.gz 598497 BLAKE2B 
fe3afce26c19f5ddace3c420f9b83caca7b4c75902820fc2182ef9fb9f4d27581f27ca72262b63d65f794eeb73af55782412ba846d142072e0090ff7224d8960
 SHA512 
ad96b2ac306fc13c01e8ea3256f885499c3f545be327feaba0f5e093b70b544bcca6f8b353fa7e35107aae515c19caced44331a95d0414f367ead4691ec73564

diff --git a/profiles/package.mask b/profiles/package.mask
index 1573793c32fa..0fa9e167e5c2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -382,13 +382,6 @@ net-misc/openr2
 =dev-db/mariadb-10.11.2
 =dev-db/mariadb-10.11.3
 
-# Bernd Waibel  (2023-05-31)
-# Mask this version for uptime soversion issue. There will be an updated 
release
-# shortly which fixes this.
-# See 
https://github.com/AcademySoftwareFoundation/Imath/issues/189#issuecomment-1567077722
-# Bug: #907211
-=dev-libs/Imath-3.1.7
-
 # Sam James  (2023-05-19)
 # Breaks Portage's pid-sandbox at least with 5.10 kernels. Pending 
investigation.
 # If you're hitting this, try: FEATURES="-pid-sandbox" emerge -v1 
sys-apps/util-linux



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-06-03 Thread Joonas Niilola
commit: 7a4c4e9f5028543b43e6b937400cee7262483954
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jun  3 13:13:41 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jun  3 13:13:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4c4e9f

Revert "dev-libs/imath: drop 3.1.6"

This reverts commit 4a0637907ade290a39b036e8a08e48996256b624.

Bug: https://bugs.gentoo.org/907211
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest   |  1 +
 dev-libs/imath/imath-3.1.6.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 1749003e6e69..4bf4962b7f9d 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
+DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
 DIST imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
new file mode 100644
index ..140156298dbb
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -0,0 +1,72 @@
+# 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
+
+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 ~loong ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-05-20 Thread Joonas Niilola
commit: 4a0637907ade290a39b036e8a08e48996256b624
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun May  7 10:17:28 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat May 20 12:14:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a063790

dev-libs/imath: drop 3.1.6

Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30915
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest   |  1 -
 dev-libs/imath/imath-3.1.6.ebuild | 72 ---
 2 files changed, 73 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 4bf4962b7f9d..1749003e6e69 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1 @@
-DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
 DIST imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
deleted file mode 100644
index 140156298dbb..
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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
-
-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 ~loong ~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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-05-06 Thread Arthur Zamarin
commit: 0fb530f537907711147cc76dabb4b93a563c5c9e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:17:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:17:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb530f5

dev-libs/imath: Stabilize 3.1.7 x86, #905800

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
index 5b5f90d3fa23..bc0feb859d73 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-05-06 Thread Arthur Zamarin
commit: b0a4fddda93271bdaedb5c2aff5d346e84573c7a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:11:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:11:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a4fddd

dev-libs/imath: Stabilize 3.1.7 amd64, #905800

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
index 1c9b945ca830..5b5f90d3fa23 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-05-06 Thread Arthur Zamarin
commit: 4e351afff7eb741e028682b61c669093735a9e0c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May  6 09:03:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May  6 09:03:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e351aff

dev-libs/imath: Stabilize 3.1.7 arm64, #905800

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
index dcbddf244ce4..1c9b945ca830 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-04-03 Thread Viorel Munteanu
commit: c167e1cd93b476121c4cab97ec19e11f35432b32
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Mon Apr  3 07:09:43 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Apr  3 07:12:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c167e1cd

dev-libs/imath: Revert "dev-libs/imath: remove nonexistent blockers"

This reverts commit 2c6bee7578e491bff24698eb72441829b7d8bdf3.

Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-libs/imath/imath-3.1.7.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
index a2c62d82af0a..dcbddf244ce4 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -25,8 +25,10 @@ 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}]



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-04-03 Thread Viorel Munteanu
commit: 2c6bee7578e491bff24698eb72441829b7d8bdf3
Author: Viorel Munteanu  gentoo  org>
AuthorDate: Mon Apr  3 07:03:33 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Apr  3 07:04:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6bee75

dev-libs/imath: remove nonexistent blockers

Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-libs/imath/imath-3.1.7.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
index dcbddf244ce4..a2c62d82af0a 100644
--- a/dev-libs/imath/imath-3.1.7.ebuild
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -25,10 +25,8 @@ 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}]



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-04-03 Thread Viorel Munteanu
commit: 2f4f14af2d5b96d2aff4a0f6cf05118e5fc60f39
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Mar  5 12:44:51 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Apr  3 07:04:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f4f14af

dev-libs/imath: add 3.1.7

Closes: https://bugs.gentoo.org/899562
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/29936
Signed-off-by: Viorel Munteanu  gentoo.org>

 dev-libs/imath/Manifest   |  1 +
 dev-libs/imath/imath-3.1.7.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index b782847d7470..4bf4962b7f9d 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
 DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd
+DIST imath-3.1.7.tar.gz 583049 BLAKE2B 
54619339f349a944e1d72fcea4438d7bd2ef6c9655ba0e16ac608934a8df30c97a2f3cf5c75adaeb8a6fe6bf19ec3240c11439550b452571d0a8cbf75d6bd83e
 SHA512 
e298454cb845cadde28f7881fdaa4739c3942f941278a07ec912459ac376c2ee7858cb3b2d2047b9afb4d4dacae7a8a52ffef4c104f8499b4e0a1f0ed46cc0f0

diff --git a/dev-libs/imath/imath-3.1.7.ebuild 
b/dev-libs/imath/imath-3.1.7.ebuild
new file mode 100644
index ..dcbddf244ce4
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.7.ebuild
@@ -0,0 +1,74 @@
+# 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
+
+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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="3/30"
+IUSE="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
+   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=(
+   # requires press theme, not available in ::gentoo
+   -DBUILD_DOCS=OFF
+   -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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-01-12 Thread Yixun Lan
commit: 0606b39a1ea4f091ae298e0c53c98e7cab3d62ba
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jan 12 19:14:22 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 13 00:15:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0606b39a

dev-libs/imath: drop 3.1.5

Closes: https://github.com/gentoo/gentoo/pull/29081
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/imath/Manifest   |  1 -
 dev-libs/imath/imath-3.1.5.ebuild | 72 ---
 2 files changed, 73 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 6c4f76aba7b1..b782847d7470 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1 @@
-DIST imath-3.1.5.tar.gz 570875 BLAKE2B 
f78c8278a3ecb40afaa291b74c50c2ce01a5cba594e690041a57cfd3a65f9fe0842a41d600906ed864df239c2753488dedca53bdfa65a90c13513111a8068ca4
 SHA512 
8344e42c75d8e4bb21facb837535f0c9e4a9489d9edebcc25d5d3c6063535f2bf54e4517d8fca3fedada248457aa07c9bd77d6e843a9d115278fc154de2cdc9d
 DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd

diff --git a/dev-libs/imath/imath-3.1.5.ebuild 
b/dev-libs/imath/imath-3.1.5.ebuild
deleted file mode 100644
index 0054d044b1b5..
--- a/dev-libs/imath/imath-3.1.5.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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 ~loong ~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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-01-11 Thread Joonas Niilola
commit: 5e2eb3d36cc043b664a0048add0eefd2cdef93a4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jan 12 06:38:37 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan 12 06:38:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2eb3d3

dev-libs/imath: Stabilize 3.1.6 x86, #890441

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/imath-3.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
index 9b3aa8fa7f00..9016cd86753d 100644
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-01-10 Thread Sam James
commit: a36a6859b948ac030cf0071282abb47b21c769a8
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 07:54:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 07:54:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36a6859

dev-libs/imath: Stabilize 3.1.6 amd64, #890441

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
index ea42ad6135a0..9b3aa8fa7f00 100644
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2023-01-10 Thread Sam James
commit: 213994d1d0da26f59ab3a964d2e3605082b78458
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 11 07:54:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 11 07:54:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213994d1

dev-libs/imath: Stabilize 3.1.6 arm64, #890441

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
index 8ad12802d59f..ea42ad6135a0 100644
--- a/dev-libs/imath/imath-3.1.6.ebuild
+++ b/dev-libs/imath/imath-3.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/, dev-libs/imath/files/

2022-11-23 Thread Joonas Niilola
commit: c42151df299e6767ecc40bc47d59d415f1c9e47b
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Nov 14 16:55:15 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 23 17:55:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42151df

dev-libs/imath: drop 3.1.4-r3, 3.1.4-r4

Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest|  1 -
 ...alf.h-include-intrinsics-for-f16c-capable.patch | 26 
 dev-libs/imath/imath-3.1.4-r3.ebuild   | 72 -
 dev-libs/imath/imath-3.1.4-r4.ebuild   | 74 --
 4 files changed, 173 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 304e397347ea..6c4f76aba7b1 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,3 +1,2 @@
-DIST imath-3.1.4.tar.gz 572214 BLAKE2B 
6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e
 SHA512 
f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286
 DIST imath-3.1.5.tar.gz 570875 BLAKE2B 
f78c8278a3ecb40afaa291b74c50c2ce01a5cba594e690041a57cfd3a65f9fe0842a41d600906ed864df239c2753488dedca53bdfa65a90c13513111a8068ca4
 SHA512 
8344e42c75d8e4bb21facb837535f0c9e4a9489d9edebcc25d5d3c6063535f2bf54e4517d8fca3fedada248457aa07c9bd77d6e843a9d115278fc154de2cdc9d
 DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd

diff --git 
a/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
 
b/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
deleted file mode 100644
index 5211bd450e38..
--- 
a/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 41e7d468246440f30bc75e7a6a316a9a07e77b23 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel 
-Date: Sun, 6 Mar 2022 10:07:09 +0100
-Subject: [PATCH] half.h: include intrinsics for f16c capable x86 targets
-
-Reported-by: bzoloid 
-Suggested-by: bzoloid 
-
-Bug: https://bugs.gentoo.org/834628
-Bug: https://github.com/AcademySoftwareFoundation/Imath/issues/239
-
-Signed-off-by: Bernd Waibel 
 a/src/Imath/half.h
-+++ b/src/Imath/half.h
-@@ -181,6 +181,8 @@
- #include 
- #elif defined(__x86_64__)
- #include 
-+#elif defined(__F16C__)
-+# include 
- #endif
- 
- #include 
--- 
-2.35.1
-

diff --git a/dev-libs/imath/imath-3.1.4-r3.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
deleted file mode 100644
index 32a4e1bd3c33..
--- a/dev-libs/imath/imath-3.1.4-r3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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+=(
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-11-23 Thread Joonas Niilola
commit: 43236bcbb2afc763663ca7fe8e9580788498bb15
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Nov 14 16:51:27 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 23 17:55:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43236bcb

dev-libs/imath: add 3.1.6

Closes: https://bugs.gentoo.org/880635
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest   |  1 +
 dev-libs/imath/imath-3.1.6.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 1777a34a5898..304e397347ea 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1,3 @@
 DIST imath-3.1.4.tar.gz 572214 BLAKE2B 
6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e
 SHA512 
f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286
 DIST imath-3.1.5.tar.gz 570875 BLAKE2B 
f78c8278a3ecb40afaa291b74c50c2ce01a5cba594e690041a57cfd3a65f9fe0842a41d600906ed864df239c2753488dedca53bdfa65a90c13513111a8068ca4
 SHA512 
8344e42c75d8e4bb21facb837535f0c9e4a9489d9edebcc25d5d3c6063535f2bf54e4517d8fca3fedada248457aa07c9bd77d6e843a9d115278fc154de2cdc9d
+DIST imath-3.1.6.tar.gz 573255 BLAKE2B 
c4d5a785a2aed9c5b9b1441ab016a5cf47abeb1d44c0625f0654e8c4d1e47dd62c61f83fd7b160beae8aaf5db9350d2a3bc43754e795fe75b10c4836a1b8
 SHA512 
c099a291ed7fd7702a7609575f2f3d2ed7f95256c23c2180e2ef1f76ceb07734365f57da5244b1d6cec81ca9859864eb4c9236df02a64aa783af6639a3b59acd

diff --git a/dev-libs/imath/imath-3.1.6.ebuild 
b/dev-libs/imath/imath-3.1.6.ebuild
new file mode 100644
index ..8ad12802d59f
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.6.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..11} )
+
+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 ~loong ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-09-28 Thread Joonas Niilola
commit: c59b7f5fb94daae0bf21f21ee60403decf81fb55
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Sep 28 08:21:00 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 28 09:54:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59b7f5f

dev-libs/imath: Stabilize 3.1.5 x86, #839582

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/imath-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.5.ebuild 
b/dev-libs/imath/imath-3.1.5.ebuild
index f7a6390f3b93..0054d044b1b5 100644
--- a/dev-libs/imath/imath-3.1.5.ebuild
+++ b/dev-libs/imath/imath-3.1.5.ebuild
@@ -13,7 +13,7 @@ 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-05-17 Thread WANG Xuerui
commit: 7d5c1a64718661bd906c62fbea949d0fe7f7023b
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue May 17 12:41:13 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue May 17 12:48:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5c1a64

dev-libs/imath: keyword 3.1.5 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/imath/imath-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.5.ebuild 
b/dev-libs/imath/imath-3.1.5.ebuild
index 4974007e364c..f7a6390f3b93 100644
--- a/dev-libs/imath/imath-3.1.5.ebuild
+++ b/dev-libs/imath/imath-3.1.5.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-04-22 Thread Arthur Zamarin
commit: 59cf00f90d9f7197e519a61c6ac98f8f9de98d14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 22 18:18:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 22 18:18:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59cf00f9

dev-libs/imath: Stabilize 3.1.5 arm64, #839582

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.5.ebuild 
b/dev-libs/imath/imath-3.1.5.ebuild
index a6e5b490fd4d..4974007e364c 100644
--- a/dev-libs/imath/imath-3.1.5.ebuild
+++ b/dev-libs/imath/imath-3.1.5.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-04-21 Thread Jakov Smolić
commit: cec0eac6fc3fd0d8055d0d739e6bb34b96123266
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Apr 21 12:59:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Apr 21 12:59:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec0eac6

dev-libs/imath: Stabilize 3.1.5 amd64, #839582

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/imath/imath-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.5.ebuild 
b/dev-libs/imath/imath-3.1.5.ebuild
index 9b40568f036e..a6e5b490fd4d 100644
--- a/dev-libs/imath/imath-3.1.5.ebuild
+++ b/dev-libs/imath/imath-3.1.5.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-04-08 Thread Joonas Niilola
commit: 9706f77761b57456105cb70475c1be4e24a349d4
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Apr  2 15:45:48 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr  8 12:31:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9706f777

dev-libs/imath: bump to 3.1.5

Closes: https://bugs.gentoo.org/836653
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/24870
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest   |  1 +
 dev-libs/imath/imath-3.1.5.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index eee626f653da..1777a34a5898 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
 DIST imath-3.1.4.tar.gz 572214 BLAKE2B 
6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e
 SHA512 
f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286
+DIST imath-3.1.5.tar.gz 570875 BLAKE2B 
f78c8278a3ecb40afaa291b74c50c2ce01a5cba594e690041a57cfd3a65f9fe0842a41d600906ed864df239c2753488dedca53bdfa65a90c13513111a8068ca4
 SHA512 
8344e42c75d8e4bb21facb837535f0c9e4a9489d9edebcc25d5d3c6063535f2bf54e4517d8fca3fedada248457aa07c9bd77d6e843a9d115278fc154de2cdc9d

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/files/, dev-libs/imath/

2022-03-16 Thread Sam James
commit: 69ac80abe1f3e048a17c956017a9b1a32ef4cf4c
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Mar  6 09:17:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 16 22:33:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ac80ab

dev-libs/imath: add header for f16c instructions on x86

On x86 targets supporting the f16c instructions, a header for the
__cvtss_sh / __cvtsh_ss intrinsics is missing, leading to a build
failure.

Reported-by: bzoloid  gmail.com>
Bug: https://github.com/AcademySoftwareFoundation/Imath/issues/239
Closes: https://bugs.gentoo.org/834628
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/24612
Signed-off-by: Sam James  gentoo.org>

 ...alf.h-include-intrinsics-for-f16c-capable.patch | 26 
 dev-libs/imath/imath-3.1.4-r4.ebuild   | 74 ++
 2 files changed, 100 insertions(+)

diff --git 
a/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
 
b/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
new file mode 100644
index ..5211bd450e38
--- /dev/null
+++ 
b/dev-libs/imath/files/imath-3.1.4-half.h-include-intrinsics-for-f16c-capable.patch
@@ -0,0 +1,26 @@
+From 41e7d468246440f30bc75e7a6a316a9a07e77b23 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Sun, 6 Mar 2022 10:07:09 +0100
+Subject: [PATCH] half.h: include intrinsics for f16c capable x86 targets
+
+Reported-by: bzoloid 
+Suggested-by: bzoloid 
+
+Bug: https://bugs.gentoo.org/834628
+Bug: https://github.com/AcademySoftwareFoundation/Imath/issues/239
+
+Signed-off-by: Bernd Waibel 
+--- a/src/Imath/half.h
 b/src/Imath/half.h
+@@ -181,6 +181,8 @@
+ #include 
+ #elif defined(__x86_64__)
+ #include 
++#elif defined(__F16C__)
++# include 
+ #endif
+ 
+ #include 
+-- 
+2.35.1
+

diff --git a/dev-libs/imath/imath-3.1.4-r4.ebuild 
b/dev-libs/imath/imath-3.1.4-r4.ebuild
new file mode 100644
index ..26fe42463028
--- /dev/null
+++ b/dev-libs/imath/imath-3.1.4-r4.ebuild
@@ -0,0 +1,74 @@
+# 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} )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-half.h-include-intrinsics-for-f16c-capable.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 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/, dev-libs/imath/files/

2022-03-06 Thread Joonas Niilola
commit: ab5b20e5ccba9d46e15cd4bea75801f223839a82
Author: Bernd Waibel  posteo  net>
AuthorDate: Sun Mar  6 09:21:06 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Mar  6 17:30:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5b20e5

dev-libs/imath: drop ~3.1.3

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/24418
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest|   1 -
 ...1-0001-changes-needed-for-proper-slotting.patch | 162 -
 dev-libs/imath/imath-3.1.3-r1.ebuild   |  84 ---
 dev-libs/imath/imath-3.1.3.ebuild  |  76 --
 4 files changed, 323 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 435be67a7942..eee626f653da 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1 @@
-DIST imath-3.1.3.tar.gz 570840 BLAKE2B 
b037c9bdee87f58c7a2be9dbda52c89c26eba25fe07342710578f9eef4b90a49b9d5dc5451702c960ae94427d7f748b79b81b7fc9ad350d2252e9e4bf6a1d6cc
 SHA512 
a11f5e736bc49098d735c7903f186c15b03efbec082a8cf2e6635546368035cec0d36c7ae64bfd01bd8eeffb2dd247b8dab19e440a3e1fe33008edacc1268f75
 DIST imath-3.1.4.tar.gz 572214 BLAKE2B 
6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e
 SHA512 
f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286

diff --git 
a/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
 
b/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
deleted file mode 100644
index baa6a84bfb83..
--- 
a/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
+++ /dev/null
@@ -1,162 +0,0 @@
-From 19073a8ed52dbc02b64be4cb55a6203dbf36707e Mon Sep 17 00:00:00 2001
-From: Bernd Waibel 
-Date: Sat, 24 Jul 2021 22:28:34 +0200
-Subject: [PATCH] changes needed for proper slotting
-
-Signed-off-by: Bernd Waibel 

- config/CMakeLists.txt  | 6 +++---
- config/Imath.pc.in | 4 ++--
- config/LibraryDefine.cmake | 8 
- src/python/PyImath.pc.in   | 4 ++--
- src/python/PyImathNumpy/CMakeLists.txt | 2 +-
- src/python/config/CMakeLists.txt   | 4 ++--
- src/python/config/ModuleDefine.cmake   | 6 +++---
- 7 files changed, 17 insertions(+), 17 deletions(-)
-
-diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
-index d51c25b..63cc98d 100644
 a/config/CMakeLists.txt
-+++ b/config/CMakeLists.txt
-@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
- 
- configure_package_config_file(ImathConfig.cmake.in
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
--  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
-@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
- 
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- install(EXPORT ${PROJECT_NAME}
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
-   FILE ${PROJECT_NAME}Targets.cmake
-   NAMESPACE ${PROJECT_NAME}::
-   EXPORT_LINK_INTERFACE_LIBRARIES
-diff --git a/config/Imath.pc.in b/config/Imath.pc.in
-index df11cfd..6eb4f40 100644
 a/config/Imath.pc.in
-+++ b/config/Imath.pc.in
-@@ -5,7 +5,7 @@
- 
- prefix=@prefix@
- exec_prefix=@exec_prefix@
--libdir=@libdir@
-+libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
- includedir=@includedir@
- libsuffix=@LIB_SUFFIX_DASH@
- Name: Imath
-@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
- Requires:
- Conflicts:
- Libs: -L${libdir} -lImath${libsuffix}
--Cflags: -I${includedir} -I${includedir}/Imath
-+Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
-diff --git a/config/LibraryDefine.cmake b/config/LibraryDefine.cmake
-index 4868954..60b6532 100644
 a/config/LibraryDefine.cmake
-+++ b/config/LibraryDefine.cmake
-@@ -87,8 +87,8 @@ function(IMATH_DEFINE_LIBRARY libname)
-   install(TARGETS ${libname}
- EXPORT ${PROJECT_NAME}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
--LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
--ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
-+ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
- INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-28 Thread Sam James
commit: 7446738c774c10fed10f3336d879af5583d93891
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  1 01:11:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  1 01:11:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7446738c

dev-libs/imath: drop broken static-libs

It forces off building of shared libs(!) and it
doesn't work anyway (underlinked against zlib, for
a start).

Reported-by: hiyori
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.4-r3.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.4-r3.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
index a6271c68dd3f..32a4e1bd3c33 100644
--- a/dev-libs/imath/imath-3.1.4-r3.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/29"
-IUSE="doc large-stack python static-libs test"
+IUSE="doc large-stack python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
@@ -51,7 +51,6 @@ pkg_setup() {
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_SHARED_LIBS=$(usex !static-libs)
-DDOCS=$(usex doc)
-DIMATH_ENABLE_LARGE_STACK=$(usex large-stack)
-DIMATH_HALF_USE_LOOKUP_TABLE=ON



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-28 Thread Sam James
commit: 31827d3d433d56120d597caa15569dbffc5c39fb
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  1 00:01:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  1 00:01:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31827d3d

dev-libs/imath: Stabilize 3.1.4-r3 arm64, #833158

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.4-r3.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
index 1f4caaa389e9..a6271c68dd3f 100644
--- a/dev-libs/imath/imath-3.1.4-r3.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-28 Thread Sam James
commit: 833fc80ef4a2d739d9ff6afb1fdb2275357f9d73
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 23:56:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 23:56:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833fc80e

dev-libs/imath: Stabilize 3.1.4-r3 x86, #833158

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.4-r3.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
index aeefa0cc360d..1f4caaa389e9 100644
--- a/dev-libs/imath/imath-3.1.4-r3.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-27 Thread Sam James
commit: a89cd1439fd4c95c183ba958037bdd500f392be3
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 05:18:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 05:18:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89cd143

dev-libs/imath: Stabilize 3.1.4-r3 amd64, #833158

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.4-r3.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
index fe03e037fbce..aeefa0cc360d 100644
--- a/dev-libs/imath/imath-3.1.4-r3.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-18 Thread Sam James
commit: beadfb9d98f40c693a03e6573652ed38969f9108
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 18 22:46:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 18 22:48:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beadfb9d

dev-libs/imath: block dev-python/pyilmbase with USE=python

Closes: https://bugs.gentoo.org/833624
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/{imath-3.1.4-r2.ebuild => imath-3.1.4-r3.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/imath/imath-3.1.4-r2.ebuild 
b/dev-libs/imath/imath-3.1.4-r3.ebuild
similarity index 98%
rename from dev-libs/imath/imath-3.1.4-r2.ebuild
rename to dev-libs/imath/imath-3.1.4-r3.ebuild
index d097a706b4dd..fe03e037fbce 100644
--- a/dev-libs/imath/imath-3.1.4-r2.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r3.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
!media-libs/ilmbase
sys-libs/zlib
python? (
+   !dev-python/pyilmbase
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-libs/boost:=[python,${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/files/

2022-02-17 Thread Conrad Kostecki
commit: 94dfba532366dc9334a921f67fa79a07a61d9ced
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Feb 17 06:56:08 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Feb 17 17:35:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94dfba53

dev-libs/imath: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/24226
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 ...ntoo-specific-changes-needed-for-slotting.patch | 129 -
 1 file changed, 129 deletions(-)

diff --git 
a/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
 
b/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
deleted file mode 100644
index 9d384d1d0a7b..
--- 
a/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-From ca68d34843ce4ef4b03d2b50d20f83329e3d0933 Mon Sep 17 00:00:00 2001
-From: Bernd Waibel 
-Date: Tue, 25 Jan 2022 06:25:51 +0100
-Subject: [PATCH] [Gentoo specific] changes needed for slotting
-
-Patches some cases to set the path according to the install
-locations, which are different than upstream default to
-respect slotted installations.
-
-Signed-off-by: Bernd Waibel 
 a/config/CMakeLists.txt
-+++ b/config/CMakeLists.txt
-@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
- 
- configure_package_config_file(ImathConfig.cmake.in
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
--  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
-@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
- 
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- install(EXPORT ${PROJECT_NAME}
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
-   FILE ${PROJECT_NAME}Targets.cmake
-   NAMESPACE ${PROJECT_NAME}::
-   EXPORT_LINK_INTERFACE_LIBRARIES
 a/config/Imath.pc.in
-+++ b/config/Imath.pc.in
-@@ -5,7 +5,7 @@
- 
- prefix=@prefix@
- exec_prefix=@exec_prefix@
--libdir=@libdir@
-+libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
- includedir=@includedir@
- libsuffix=@LIB_SUFFIX_DASH@
- Name: Imath
-@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
- Requires:
- Conflicts:
- Libs: -L${libdir} -lImath${libsuffix}
--Cflags: -I${includedir} -I${includedir}/Imath
-+Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
 a/config/LibraryDefine.cmake
-+++ b/config/LibraryDefine.cmake
-@@ -87,8 +87,8 @@ function(IMATH_DEFINE_LIBRARY libname)
-   install(TARGETS ${libname}
- EXPORT ${PROJECT_NAME}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
--LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
--ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
-+ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
- INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- PUBLIC_HEADER
-   DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${IMATH_OUTPUT_SUBDIR}
-@@ -101,8 +101,8 @@ function(IMATH_DEFINE_LIBRARY libname)
-   install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir 
\"\$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_BINDIR}\" ${CMAKE_COMMAND} -E 
create_symlink ${verlibname} ${baselibname})")
-   install(CODE "message(STATUS \"Creating symlink 
${CMAKE_INSTALL_FULL_BINDIR}/${baselibname} -> ${verlibname}\")")
- else()
--  install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir 
\"\$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_LIBDIR}\" ${CMAKE_COMMAND} -E 
create_symlink ${verlibname} ${baselibname})")
--  install(CODE "message(STATUS \"Creating symlink 
${CMAKE_INSTALL_FULL_LIBDIR}/${baselibname} -> ${verlibname}\")")
-+  install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir 
\"\$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}\" 
${CMAKE_COMMAND} -E create_symlink ${verlibname} ${baselibname})")
-+  install(CODE "message(STATUS \"Creating symlink 
${CMAKE_INSTALL_FULL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}/${baselibname} -> 
${verlibname}\")")
- endif()
- set(verlibname)
- set(baselibname)
 a/src/python/PyImath.pc.in
-+++ b/src/python/PyImath.pc.in
-@@ -13,4 +13,4 @@ Name: PyImath
- Description: Python bindings for the Imath libraries
- Version: @IMATH_VERSION@
- Libs: -L${libdir} -lImath${libsuffix} 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-15 Thread Sam James
commit: 7e6dd2ea7633bea9d8b3ff8ab037db8fa8a03eac
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 12 17:58:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 15 19:49:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e6dd2ea

dev-libs/imath: unslot OpenEXR

Bug: https://bugs.gentoo.org/833158
Bug: https://bugs.gentoo.org/831357
Bug: https://bugs.gentoo.org/832862
Bug: https://bugs.gentoo.org/821247
Signed-off-by: Sam James  gentoo.org>

 .../imath/{imath-3.1.4-r1.ebuild => imath-3.1.4-r2.ebuild}  | 13 +
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.4-r1.ebuild 
b/dev-libs/imath/imath-3.1.4-r2.ebuild
similarity index 86%
rename from dev-libs/imath/imath-3.1.4-r1.ebuild
rename to dev-libs/imath/imath-3.1.4-r2.ebuild
index 0c407bd3727e..d097a706b4dd 100644
--- a/dev-libs/imath/imath-3.1.4-r1.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r2.ebuild
@@ -25,6 +25,7 @@ RESTRICT="!test? ( test )"
 # blocker due to file collision #803347
 RDEPEND="
!dev-libs/imath:0
+   !media-libs/ilmbase
sys-libs/zlib
python? (
${PYTHON_DEPS}
@@ -41,7 +42,6 @@ BDEPEND="
python? ( ${PYTHON_DEPS} )
 "
 
-PATCHES=( "${FILESDIR}"/${P}-Gentoo-specific-changes-needed-for-slotting.patch 
)
 DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md 
docs/PortingGuide2-3.md )
 
 pkg_setup() {
@@ -49,15 +49,12 @@ 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
)
@@ -73,11 +70,3 @@ src_configure() {
 
cmake_src_configure
 }
-
-src_install() {
-   cmake_src_install
-
-   newenvd - 99${PN}3 <<-EOF
-   LDPATH=${EPREFIX}/usr/$(get_libdir)/${MY_PN}-3
-   EOF
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-11 Thread Sam James
commit: 55a3901b5cb825e1e972648f9edef0356d498bf8
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Feb  7 17:26:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 11 16:29:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a3901b

dev-libs/imath: add env file to define LD_PATH

Closes: https://bugs.gentoo.org/832773
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 .../imath/{imath-3.1.4.ebuild => imath-3.1.3-r1.ebuild} | 13 +++--
 .../imath/{imath-3.1.4.ebuild => imath-3.1.4-r1.ebuild} |  8 
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.4.ebuild 
b/dev-libs/imath/imath-3.1.3-r1.ebuild
similarity index 86%
copy from dev-libs/imath/imath-3.1.4.ebuild
copy to dev-libs/imath/imath-3.1.3-r1.ebuild
index 54eb940af84e..ee484855491a 100644
--- a/dev-libs/imath/imath-3.1.4.ebuild
+++ b/dev-libs/imath/imath-3.1.3-r1.ebuild
@@ -41,7 +41,7 @@ BDEPEND="
python? ( ${PYTHON_DEPS} )
 "
 
-PATCHES=( "${FILESDIR}"/${P}-Gentoo-specific-changes-needed-for-slotting.patch 
)
+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() {
@@ -63,7 +63,8 @@ src_configure() {
)
if use python; then
mycmakeargs+=(
-   -DBoost_NO_BOOST_CMAKE=OFF
+   # temp. disable for finding libboost_python310, #803032
+#  -DBoost_NO_BOOST_CMAKE=OFF
-DPYTHON=ON
-DPython3_EXECUTABLE="${PYTHON}"
-DPython3_INCLUDE_DIR=$(python_get_includedir)
@@ -73,3 +74,11 @@ src_configure() {
 
cmake_src_configure
 }
+
+src_install() {
+   cmake_src_install
+
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=${EPREFIX}/usr/$(get_libdir)/${MY_PN}-3
+   EOF
+}

diff --git a/dev-libs/imath/imath-3.1.4.ebuild 
b/dev-libs/imath/imath-3.1.4-r1.ebuild
similarity index 94%
rename from dev-libs/imath/imath-3.1.4.ebuild
rename to dev-libs/imath/imath-3.1.4-r1.ebuild
index 54eb940af84e..0c407bd3727e 100644
--- a/dev-libs/imath/imath-3.1.4.ebuild
+++ b/dev-libs/imath/imath-3.1.4-r1.ebuild
@@ -73,3 +73,11 @@ src_configure() {
 
cmake_src_configure
 }
+
+src_install() {
+   cmake_src_install
+
+   newenvd - 99${PN}3 <<-EOF
+   LDPATH=${EPREFIX}/usr/$(get_libdir)/${MY_PN}-3
+   EOF
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-02-01 Thread Sam James
commit: f1ee1f7ffe2e7187769e982cba82f3964e2ec227
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  2 07:54:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  2 07:54:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ee1f7f

dev-libs/imath: Stabilize 3.1.3 x86, #820362

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.3.ebuild 
b/dev-libs/imath/imath-3.1.3.ebuild
index 94fa189368ba..9fde70f03b53 100644
--- a/dev-libs/imath/imath-3.1.3.ebuild
+++ b/dev-libs/imath/imath-3.1.3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/files/, dev-libs/imath/

2022-01-27 Thread Sam James
commit: be9679175b0485357bfacbbce49107226a9783ef
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Jan 24 18:18:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 28 07:53:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be967917

dev-libs/imath: bump to 3.1.4

Closes: https://bugs.gentoo.org/831954
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/23951
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/Manifest|   1 +
 ...ntoo-specific-changes-needed-for-slotting.patch | 129 +
 dev-libs/imath/imath-3.1.4.ebuild  |  75 
 3 files changed, 205 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 5c310d17c92d..435be67a7942 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
 DIST imath-3.1.3.tar.gz 570840 BLAKE2B 
b037c9bdee87f58c7a2be9dbda52c89c26eba25fe07342710578f9eef4b90a49b9d5dc5451702c960ae94427d7f748b79b81b7fc9ad350d2252e9e4bf6a1d6cc
 SHA512 
a11f5e736bc49098d735c7903f186c15b03efbec082a8cf2e6635546368035cec0d36c7ae64bfd01bd8eeffb2dd247b8dab19e440a3e1fe33008edacc1268f75
+DIST imath-3.1.4.tar.gz 572214 BLAKE2B 
6d67f542256e44f9ba6f30ae7d22a37dbf3cd1e49992fb8b0e2264d51d47e9c2297940b3a484e1f59bd8b251e8ef42d81ae88282d0769c111b3cd84cd0a9354e
 SHA512 
f9f7d8ec333e6383191543ee927dc40e870a6330225b01070bb93ad3d149c5e31bd5989d4dc52f3321490c1c5a7cab55582c6e42e34ab4ca5723170e7578e286

diff --git 
a/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
 
b/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
new file mode 100644
index ..9d384d1d0a7b
--- /dev/null
+++ 
b/dev-libs/imath/files/imath-3.1.4-Gentoo-specific-changes-needed-for-slotting.patch
@@ -0,0 +1,129 @@
+From ca68d34843ce4ef4b03d2b50d20f83329e3d0933 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Tue, 25 Jan 2022 06:25:51 +0100
+Subject: [PATCH] [Gentoo specific] changes needed for slotting
+
+Patches some cases to set the path according to the install
+locations, which are different than upstream default to
+respect slotted installations.
+
+Signed-off-by: Bernd Waibel 
+--- a/config/CMakeLists.txt
 b/config/CMakeLists.txt
+@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
+ 
+ configure_package_config_file(ImathConfig.cmake.in
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+-  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ install(EXPORT ${PROJECT_NAME}
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+   FILE ${PROJECT_NAME}Targets.cmake
+   NAMESPACE ${PROJECT_NAME}::
+   EXPORT_LINK_INTERFACE_LIBRARIES
+--- a/config/Imath.pc.in
 b/config/Imath.pc.in
+@@ -5,7 +5,7 @@
+ 
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-libdir=@libdir@
++libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
+ includedir=@includedir@
+ libsuffix=@LIB_SUFFIX_DASH@
+ Name: Imath
+@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
+ Requires:
+ Conflicts:
+ Libs: -L${libdir} -lImath${libsuffix}
+-Cflags: -I${includedir} -I${includedir}/Imath
++Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
+--- a/config/LibraryDefine.cmake
 b/config/LibraryDefine.cmake
+@@ -87,8 +87,8 @@ function(IMATH_DEFINE_LIBRARY libname)
+   install(TARGETS ${libname}
+ EXPORT ${PROJECT_NAME}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+-LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+-ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
++ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+ PUBLIC_HEADER
+   DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${IMATH_OUTPUT_SUBDIR}
+@@ -101,8 +101,8 @@ function(IMATH_DEFINE_LIBRARY libname)
+   install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir 
\"\$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_BINDIR}\" ${CMAKE_COMMAND} -E 
create_symlink ${verlibname} ${baselibname})")
+   install(CODE "message(STATUS \"Creating symlink 
${CMAKE_INSTALL_FULL_BINDIR}/${baselibname} -> ${verlibname}\")")
+ else()
+-  install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E chdir 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-01-27 Thread Andreas Sturmlechner
commit: 8fe19e99043699bfc65b164794182aa669cfcafd
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jan 27 06:56:03 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jan 27 09:02:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe19e99

dev-libs/imath: cleanup old v3.1.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/23978
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/imath/Manifest   |  1 -
 dev-libs/imath/imath-3.1.1.ebuild | 92 ---
 2 files changed, 93 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 02adfd733ca7..5c310d17c92d 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1 @@
-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.1.ebuild 
b/dev-libs/imath/imath-3.1.1.ebuild
deleted file mode 100644
index 82fabc71d73a..
--- a/dev-libs/imath/imath-3.1.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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):
-# ~mips ~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}"/${P}-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)
-   -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
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   pushd "${S}"/docs 2>/dev/null || die
-   doxygen || die
-   emake html
-   popd 2>/dev/null || die
-   fi
-}
-
-src_install() {
-   use doc && HTML_DOCS=( "${S}/docs/_build/html/." )
-   cmake_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-01-26 Thread Arthur Zamarin
commit: 8edcf5d53d8fc33956aa2167c167dbf0a3ec9d05
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan 26 19:11:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan 26 19:11:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edcf5d5

dev-libs/imath: Stabilize 3.1.3 arm64, #831953

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/imath/imath-3.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.3.ebuild 
b/dev-libs/imath/imath-3.1.3.ebuild
index 9b601bdaf3ab..94fa189368ba 100644
--- a/dev-libs/imath/imath-3.1.3.ebuild
+++ b/dev-libs/imath/imath-3.1.3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2022-01-24 Thread Jakov Smolić
commit: e3469864cb0fb73b7070c95830fc00633a217820
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jan 24 09:24:57 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jan 24 09:24:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3469864

dev-libs/imath: Stabilize 3.1.3 amd64, #831953

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/imath/imath-3.1.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/imath/imath-3.1.3.ebuild 
b/dev-libs/imath/imath-3.1.3.ebuild
index 3347beaa0c68..9b601bdaf3ab 100644
--- a/dev-libs/imath/imath-3.1.3.ebuild
+++ b/dev-libs/imath/imath-3.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-12-29 Thread Yixun Lan
commit: 22fbac089cc07ca5ba8997abcea51a10ece33eec
Author: Alex Fan  gmail  com>
AuthorDate: Tue Dec 28 10:06:50 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 13:39:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22fbac08

dev-libs/imath: keyword 3.1.3 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/imath/imath-3.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.3.ebuild 
b/dev-libs/imath/imath-3.1.3.ebuild
index 8ce94a93b3bc..3347beaa0c68 100644
--- a/dev-libs/imath/imath-3.1.3.ebuild
+++ b/dev-libs/imath/imath-3.1.3.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-10-27 Thread Sam James
commit: 9675896d1105ac57de06096175e17af183307748
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 27 22:31:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 27 22:31:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9675896d

dev-libs/imath: Stabilize 3.1.1 amd64, #820362

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.1.ebuild 
b/dev-libs/imath/imath-3.1.1.ebuild
index c9510fdfb56..82fabc71d73 100644
--- a/dev-libs/imath/imath-3.1.1.ebuild
+++ b/dev-libs/imath/imath-3.1.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-10-26 Thread Sam James
commit: 846d3efcd3d9e524a56ad6e991b0ee6a0206e7d3
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 27 04:13:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 27 04:13:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846d3efc

dev-libs/imath: Stabilize 3.1.1 arm64, #820362

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.1.ebuild 
b/dev-libs/imath/imath-3.1.1.ebuild
index 3ebea9d135f..c9510fdfb56 100644
--- a/dev-libs/imath/imath-3.1.1.ebuild
+++ b/dev-libs/imath/imath-3.1.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-10-16 Thread Sam James
commit: cb92c3517ba8f6192669b7b3583c80810d48c455
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Oct 11 05:34:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 02:21:59 2021 +
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  posteo.net>
Signed-off-by: Sam James  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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/, dev-libs/imath/files/

2021-10-16 Thread Sam James
commit: 92c6ab78a3ccf8f543cbc0e530c7414865750a2f
Author: Bernd Waibel  posteo  net>
AuthorDate: Mon Oct 11 19:27:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 02:22:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c6ab78

dev-libs/imath: drop 3.0.5

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/22559
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/Manifest|   1 -
 ...5-0001-changes-needed-for-proper-slotting.patch | 161 -
 dev-libs/imath/imath-3.0.5-r1.ebuild   |  94 
 3 files changed, 256 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 84c2392f3c3..02adfd733ca 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,3 +1,2 @@
-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/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
 
b/dev-libs/imath/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
deleted file mode 100644
index 74d0f2dff7d..000
--- 
a/dev-libs/imath/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-From: Bernd Waibel 
-Date: Tue, 20 Jul 2021 19:18:20 +0200
-Subject: [PATCH] changes needed for proper slotting
-
-Signed-off-by: Bernd Waibel 

- config/CMakeLists.txt  | 6 +++---
- config/Imath.pc.in | 4 ++--
- config/LibraryDefine.cmake | 8 
- src/python/PyImath.pc.in   | 4 ++--
- src/python/PyImathNumpy/CMakeLists.txt | 2 +-
- src/python/config/CMakeLists.txt   | 4 ++--
- src/python/config/ModuleDefine.cmake   | 6 +++---
- 7 files changed, 17 insertions(+), 17 deletions(-)
-
-diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
-index d51c25b..63cc98d 100644
 a/config/CMakeLists.txt
-+++ b/config/CMakeLists.txt
-@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
- 
- configure_package_config_file(ImathConfig.cmake.in
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
--  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
-@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
- 
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
-   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
- )
- 
- install(EXPORT ${PROJECT_NAME}
--  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
-+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
-   FILE ${PROJECT_NAME}Targets.cmake
-   NAMESPACE ${PROJECT_NAME}::
-   EXPORT_LINK_INTERFACE_LIBRARIES
-diff --git a/config/Imath.pc.in b/config/Imath.pc.in
-index df11cfd..6eb4f40 100644
 a/config/Imath.pc.in
-+++ b/config/Imath.pc.in
-@@ -5,7 +5,7 @@
- 
- prefix=@prefix@
- exec_prefix=@exec_prefix@
--libdir=@libdir@
-+libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
- includedir=@includedir@
- libsuffix=@LIB_SUFFIX_DASH@
- Name: Imath
-@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
- Requires:
- Conflicts:
- Libs: -L${libdir} -lImath${libsuffix}
--Cflags: -I${includedir} -I${includedir}/Imath
-+Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
-diff --git a/config/LibraryDefine.cmake b/config/LibraryDefine.cmake
-index e9ff904..00e5176 100644
 a/config/LibraryDefine.cmake
-+++ b/config/LibraryDefine.cmake
-@@ -74,8 +74,8 @@ function(IMATH_DEFINE_LIBRARY libname)
-   install(TARGETS ${libname}
- EXPORT ${PROJECT_NAME}
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
--LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
--ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-+LIBRARY DESTINATION 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-08-01 Thread Joonas Niilola
commit: 24d55064527db43974c7bd1828f7f43e98fc1ba8
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Aug  1 07:13:49 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug  1 07:13:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d55064

dev-libs/imath: keyword 3.1.1 for ~mips

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/imath-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.1.1.ebuild 
b/dev-libs/imath/imath-3.1.1.ebuild
index d941bc77d92..3ebea9d135f 100644
--- a/dev-libs/imath/imath-3.1.1.ebuild
+++ b/dev-libs/imath/imath-3.1.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/, dev-libs/imath/files/

2021-08-01 Thread Joonas Niilola
commit: 06799a550f46ca1e22380b0ade02f526e98d6bcf
Author: Bernd Waibel  posteo  net>
AuthorDate: Sat Jul 24 20:09:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug  1 06:39:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06799a55

dev-libs/imath: bump to 3.1.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/21774
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/Manifest|   1 +
 ...1-0001-changes-needed-for-proper-slotting.patch | 162 +
 dev-libs/imath/imath-3.1.1.ebuild  |  92 
 3 files changed, 255 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 1cdecf3c54b..5190cfb234c 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
 DIST imath-3.0.5.tar.gz 528503 BLAKE2B 
c1fcb199a81aff25f1ad26ccfcef2802861401f3fee5dc24035216aa16fd9a5344ec6c37139a0850f1a4bc580dc1fdd068eca9473a19e4aaf329cfc5f53a4cd6
 SHA512 
df206315d822266cf32a5a4399abff7ad1dd0bd1f0372d61f61516e2acdefd13e3cfd9cf54373a3fb49bb28c9f80915ca5ecaec2a068a1d6ea231d71a5316da2
+DIST imath-3.1.1.tar.gz 568231 BLAKE2B 
a1210b5f6ff4723a133d317c2b40338e387973a1409868a218192a53778b86a0912c77911bdf76286a6ed6931175aec38bf24ddc0c76eed3375b7a2945dba124
 SHA512 
b2f4cc21e44094ef139a1f04bb997c7e41770ff886457fff00d65ca477ba579c86fd5fbd465998c4519855fcb34328ac834d84d0d011f758f56a20ef79e9ca3d

diff --git 
a/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
 
b/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
new file mode 100644
index 000..baa6a84bfb8
--- /dev/null
+++ 
b/dev-libs/imath/files/imath-3.1.1-0001-changes-needed-for-proper-slotting.patch
@@ -0,0 +1,162 @@
+From 19073a8ed52dbc02b64be4cb55a6203dbf36707e Mon Sep 17 00:00:00 2001
+From: Bernd Waibel 
+Date: Sat, 24 Jul 2021 22:28:34 +0200
+Subject: [PATCH] changes needed for proper slotting
+
+Signed-off-by: Bernd Waibel 
+---
+ config/CMakeLists.txt  | 6 +++---
+ config/Imath.pc.in | 4 ++--
+ config/LibraryDefine.cmake | 8 
+ src/python/PyImath.pc.in   | 4 ++--
+ src/python/PyImathNumpy/CMakeLists.txt | 2 +-
+ src/python/config/CMakeLists.txt   | 4 ++--
+ src/python/config/ModuleDefine.cmake   | 6 +++---
+ 7 files changed, 17 insertions(+), 17 deletions(-)
+
+diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
+index d51c25b..63cc98d 100644
+--- a/config/CMakeLists.txt
 b/config/CMakeLists.txt
+@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
+ 
+ configure_package_config_file(ImathConfig.cmake.in
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+-  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ install(EXPORT ${PROJECT_NAME}
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+   FILE ${PROJECT_NAME}Targets.cmake
+   NAMESPACE ${PROJECT_NAME}::
+   EXPORT_LINK_INTERFACE_LIBRARIES
+diff --git a/config/Imath.pc.in b/config/Imath.pc.in
+index df11cfd..6eb4f40 100644
+--- a/config/Imath.pc.in
 b/config/Imath.pc.in
+@@ -5,7 +5,7 @@
+ 
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-libdir=@libdir@
++libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
+ includedir=@includedir@
+ libsuffix=@LIB_SUFFIX_DASH@
+ Name: Imath
+@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
+ Requires:
+ Conflicts:
+ Libs: -L${libdir} -lImath${libsuffix}
+-Cflags: -I${includedir} -I${includedir}/Imath
++Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
+diff --git a/config/LibraryDefine.cmake b/config/LibraryDefine.cmake
+index 4868954..60b6532 100644
+--- a/config/LibraryDefine.cmake
 b/config/LibraryDefine.cmake
+@@ -87,8 +87,8 @@ function(IMATH_DEFINE_LIBRARY libname)
+   install(TARGETS ${libname}
+ EXPORT ${PROJECT_NAME}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+-LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+-ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
++ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+ PUBLIC_HEADER
+   DESTINATION 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-31 Thread Joshua Kinard
commit: da8ddaa5f159ff210bed8aa958e1b5883d1ae875
Author: Joshua Kinard  gentoo  org>
AuthorDate: Sat Jul 31 21:35:26 2021 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Sat Jul 31 22:26:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8ddaa5

dev-libs/imath: Added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/798690
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.20, Repoman-3.0.3

 dev-libs/imath/imath-3.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.5-r1.ebuild 
b/dev-libs/imath/imath-3.0.5-r1.ebuild
index a1bd6fa5cf4..f2fc3101233 100644
--- a/dev-libs/imath/imath-3.0.5-r1.ebuild
+++ b/dev-libs/imath/imath-3.0.5-r1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-26 Thread Sam James
commit: 098f75479923b6bd7176b44417c33e2ac0c6b0ef
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 27 03:26:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 27 03:26:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098f7547

dev-libs/imath: Keyword 3.0.5-r1 arm, #798690

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.5-r1.ebuild 
b/dev-libs/imath/imath-3.0.5-r1.ebuild
index d0e1ef76342..a1bd6fa5cf4 100644
--- a/dev-libs/imath/imath-3.0.5-r1.ebuild
+++ b/dev-libs/imath/imath-3.0.5-r1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-24 Thread Sam James
commit: 645acd76061872cd878d9c93993d21c2965a0b99
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 25 01:10:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 25 01:10:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645acd76

dev-libs/imath: Keyword 3.0.5-r1 arm64, #798690

Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/imath-3.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.5-r1.ebuild 
b/dev-libs/imath/imath-3.0.5-r1.ebuild
index dadfa6007aa..d0e1ef76342 100644
--- a/dev-libs/imath/imath-3.0.5-r1.ebuild
+++ b/dev-libs/imath/imath-3.0.5-r1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~mips ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-23 Thread Joonas Niilola
commit: 47122ed36f9c089457664d4e7e75c4d4ee2f0a2e
Author: Bernd Waibel  posteo  net>
AuthorDate: Thu Jul 22 19:25:17 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 07:41:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47122ed3

dev-libs/imath: add blocker for v3.0.1

Due to a file collision, probably caused by a missing slotmove, which
can occur when updating from v3.0.1 to v3.0.5. The blocker solves this.

Closes: https://bugs.gentoo.org/803347
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/21748
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/{imath-3.0.5.ebuild => imath-3.0.5-r1.ebuild} | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-libs/imath/imath-3.0.5.ebuild 
b/dev-libs/imath/imath-3.0.5-r1.ebuild
similarity index 93%
rename from dev-libs/imath/imath-3.0.5.ebuild
rename to dev-libs/imath/imath-3.0.5-r1.ebuild
index a4cce563f14..15316618778 100644
--- a/dev-libs/imath/imath-3.0.5.ebuild
+++ b/dev-libs/imath/imath-3.0.5-r1.ebuild
@@ -15,6 +15,7 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/${MY_PN}/archive/refs/tags
 # re-keywording needed for (according to ilmbase keywords):
 # ~arm ~arm64 ~mips ~x64-macos ~x86-solaris
 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/28"
@@ -22,7 +23,9 @@ 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-3.0.1:0
sys-libs/zlib
python? (
${PYTHON_DEPS}
@@ -39,13 +42,9 @@ BDEPEND="
python? ( ${PYTHON_DEPS} )
 "
 
-PATCHES=(
-   "${FILESDIR}"/${P}-0001-changes-needed-for-proper-slotting.patch
-)
+PATCHES=( "${FILESDIR}"/${P}-0001-changes-needed-for-proper-slotting.patch )
 DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md 
docs/PortingGuide2-3.md )
 
-S="${WORKDIR}/${MY_PN}-${PV}"
-
 pkg_setup() {
use python && python-single-r1_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-23 Thread Joonas Niilola
commit: 3fc2f9758ae5a44471189289bc5abd28484aede7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jul 23 07:40:36 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jul 23 07:41:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc2f975

dev-libs/imath: simplify the blocker

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/imath/imath-3.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.5-r1.ebuild 
b/dev-libs/imath/imath-3.0.5-r1.ebuild
index 15316618778..dadfa6007aa 100644
--- a/dev-libs/imath/imath-3.0.5-r1.ebuild
+++ b/dev-libs/imath/imath-3.0.5-r1.ebuild
@@ -25,7 +25,7 @@ RESTRICT="!test? ( test )"
 
 # blocker due to file collision #803347
 RDEPEND="
-   !~dev-libs/imath-3.0.1:0
+   !dev-libs/imath:0
sys-libs/zlib
python? (
${PYTHON_DEPS}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-21 Thread Marek Szuba
commit: 7ed444ce97883c35a0d0eabf03611430b8d429e5
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 21 21:41:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed444ce

dev-libs/imath: some tweaks to the new ebuild

1. Compute MY_PN from PN instead of hardcoding it;
2. Make PYTHON_REQUIRED_USE conditional on USE=python (other Pythonic
   bits have already been conditional on this flag);
3. s/PYTHON_MULTI_USEDEP/PYTHON_USEDEP/ ;
4. In src_configure, change the name of a local variable from MY_PV to
   majorver to avoid confusing it for a global one;
5. In src_install() set HTML_DOCS before calling cmake_src_install so
   that einstalldocs isn't called twice.

Closes: https://github.com/gentoo/gentoo/pull/20930
Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/imath/imath-3.0.5.ebuild | 29 ++---
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/dev-libs/imath/imath-3.0.5.ebuild 
b/dev-libs/imath/imath-3.0.5.ebuild
index 184a8b00f47..a4cce563f14 100644
--- a/dev-libs/imath/imath-3.0.5.ebuild
+++ b/dev-libs/imath/imath-3.0.5.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..10} )
 
 inherit cmake python-single-r1
 
-MY_PN=Imath
+MY_PN="${PN^}"
 
 DESCRIPTION="Imath basic math package"
 HOMEPAGE="https://imath.readthedocs.io;
@@ -15,12 +15,11 @@ 
SRC_URI="https://github.com/AcademySoftwareFoundation/${MY_PN}/archive/refs/tags
 # re-keywording needed for (according to ilmbase keywords):
 # ~arm ~arm64 ~mips ~x64-macos ~x86-solaris
 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="3/28"
 IUSE="doc large-stack python static-libs test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -28,35 +27,39 @@ RDEPEND="
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
-   dev-libs/boost:=[python?,${PYTHON_MULTI_USEDEP}]
-   dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+   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_MULTI_USEDEP}]') )
+   doc? ( $(python_gen_cond_dep 'dev-python/breathe[${PYTHON_USEDEP}]') )
python? ( ${PYTHON_DEPS} )
 "
 
-PATCHES=( "${FILESDIR}"/${P}-0001-changes-needed-for-proper-slotting.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-0001-changes-needed-for-proper-slotting.patch
+)
 DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md 
docs/PortingGuide2-3.md )
 
+S="${WORKDIR}/${MY_PN}-${PV}"
+
 pkg_setup() {
use python && python-single-r1_pkg_setup
 }
 
 src_configure() {
-   local MY_PV=$(ver_cut 1)
+   local majorver=$(ver_cut 1)
+
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex !static-libs)
-DIMATH_ENABLE_LARGE_STACK=$(usex large-stack)
-DIMATH_INSTALL_PKG_CONFIG=ON
-   -DIMATH_OUTPUT_SUBDIR="${MY_PN}-${MY_PV}"
+   -DIMATH_OUTPUT_SUBDIR="${MY_PN}-${majorver}"
-DIMATH_USE_CLANG_TIDY=OFF
)
-
if use python; then
mycmakeargs+=(
# temp. disable for finding libboost_python310, #803032
@@ -83,13 +86,9 @@ src_compile() {
 }
 
 src_install() {
+   use doc && HTML_DOCS=( "${S}/docs/_build/html/." )
cmake_src_install
 
-   if use doc; then
-   HTML_DOCS=( "${S}/docs/_build/html/." )
-   einstalldocs
-   fi
-
 #  if use python; then
 #  rm 
"${ED}"/usr/$(get_libdir)/cmake/${MY_PN}/${MY_PN}Config-gentoo.cmake || die
 #  fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/files/, dev-libs/imath/

2021-07-21 Thread Marek Szuba
commit: 71d6e5e593b60dbe0d12c330b8b2f2d95369959b
Author: Bernd Waibel  posteo  net>
AuthorDate: Fri May 14 08:16:40 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d6e5e5

dev-libs/imath: bump to 3.0.5

Move package to a new slot, to enable parallel installations
of dev-libs/imath and media-libs/ilmbase, dev-python/pyilmbase

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/imath/Manifest|   1 +
 ...5-0001-changes-needed-for-proper-slotting.patch | 161 +
 dev-libs/imath/imath-3.0.5.ebuild  |  96 
 3 files changed, 258 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 6778d92c9bd..29ce5f6f448 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1 +1,2 @@
 DIST imath-3.0.1.tar.gz 527715 BLAKE2B 
45d8f6524fd2505bdb3318f571c44228c9baf6df869d194d4b90a9c045f1dbb8f905253aeaf6b6a9254e4b0c0c19d753b7e4ae068732f0367fc936d4a111520d
 SHA512 
40cdae81d624636b3dd7eb456e6e205e5b7adf7aed17f6e9168374f8830f1b5755dcd32ac790f94e768513d06ab96d94a2bc57ec80a079e4ac94a3857e5e3988
+DIST imath-3.0.5.tar.gz 528503 BLAKE2B 
c1fcb199a81aff25f1ad26ccfcef2802861401f3fee5dc24035216aa16fd9a5344ec6c37139a0850f1a4bc580dc1fdd068eca9473a19e4aaf329cfc5f53a4cd6
 SHA512 
df206315d822266cf32a5a4399abff7ad1dd0bd1f0372d61f61516e2acdefd13e3cfd9cf54373a3fb49bb28c9f80915ca5ecaec2a068a1d6ea231d71a5316da2

diff --git 
a/dev-libs/imath/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
 
b/dev-libs/imath/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
new file mode 100644
index 000..74d0f2dff7d
--- /dev/null
+++ 
b/dev-libs/imath/files/imath-3.0.5-0001-changes-needed-for-proper-slotting.patch
@@ -0,0 +1,161 @@
+From: Bernd Waibel 
+Date: Tue, 20 Jul 2021 19:18:20 +0200
+Subject: [PATCH] changes needed for proper slotting
+
+Signed-off-by: Bernd Waibel 
+---
+ config/CMakeLists.txt  | 6 +++---
+ config/Imath.pc.in | 4 ++--
+ config/LibraryDefine.cmake | 8 
+ src/python/PyImath.pc.in   | 4 ++--
+ src/python/PyImathNumpy/CMakeLists.txt | 2 +-
+ src/python/config/CMakeLists.txt   | 4 ++--
+ src/python/config/ModuleDefine.cmake   | 6 +++---
+ 7 files changed, 17 insertions(+), 17 deletions(-)
+
+diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
+index d51c25b..63cc98d 100644
+--- a/config/CMakeLists.txt
 b/config/CMakeLists.txt
+@@ -60,7 +60,7 @@ include(CMakePackageConfigHelpers)
+ 
+ configure_package_config_file(ImathConfig.cmake.in
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+-  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+@@ -70,11 +70,11 @@ 
write_basic_package_version_file("${PROJECT_NAME}ConfigVersion.cmake"
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
+   ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+ )
+ 
+ install(EXPORT ${PROJECT_NAME}
+-  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${IMATH_OUTPUT_SUBDIR}
+   FILE ${PROJECT_NAME}Targets.cmake
+   NAMESPACE ${PROJECT_NAME}::
+   EXPORT_LINK_INTERFACE_LIBRARIES
+diff --git a/config/Imath.pc.in b/config/Imath.pc.in
+index df11cfd..6eb4f40 100644
+--- a/config/Imath.pc.in
 b/config/Imath.pc.in
+@@ -5,7 +5,7 @@
+ 
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+-libdir=@libdir@
++libdir=@libdir@/@IMATH_OUTPUT_SUBDIR@
+ includedir=@includedir@
+ libsuffix=@LIB_SUFFIX_DASH@
+ Name: Imath
+@@ -14,4 +14,4 @@ Version: @IMATH_VERSION@
+ Requires:
+ Conflicts:
+ Libs: -L${libdir} -lImath${libsuffix}
+-Cflags: -I${includedir} -I${includedir}/Imath
++Cflags: -I${includedir} -I${includedir}/@IMATH_OUTPUT_SUBDIR@
+diff --git a/config/LibraryDefine.cmake b/config/LibraryDefine.cmake
+index e9ff904..00e5176 100644
+--- a/config/LibraryDefine.cmake
 b/config/LibraryDefine.cmake
+@@ -74,8 +74,8 @@ function(IMATH_DEFINE_LIBRARY libname)
+   install(TARGETS ${libname}
+ EXPORT ${PROJECT_NAME}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+-LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+-ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
++ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${IMATH_OUTPUT_SUBDIR}
+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+ PUBLIC_HEADER
+   DESTINATION 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-21 Thread Marek Szuba
commit: e863ec680789e76c432a07f1ed614b79b9d300fa
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Jul 20 16:41:21 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 21 21:57:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e863ec68

dev-libs/imath: drop 3.0.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Marek Szuba  gentoo.org>

 dev-libs/imath/Manifest   |  1 -
 dev-libs/imath/imath-3.0.1.ebuild | 90 ---
 2 files changed, 91 deletions(-)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
index 29ce5f6f448..1cdecf3c54b 100644
--- a/dev-libs/imath/Manifest
+++ b/dev-libs/imath/Manifest
@@ -1,2 +1 @@
-DIST imath-3.0.1.tar.gz 527715 BLAKE2B 
45d8f6524fd2505bdb3318f571c44228c9baf6df869d194d4b90a9c045f1dbb8f905253aeaf6b6a9254e4b0c0c19d753b7e4ae068732f0367fc936d4a111520d
 SHA512 
40cdae81d624636b3dd7eb456e6e205e5b7adf7aed17f6e9168374f8830f1b5755dcd32ac790f94e768513d06ab96d94a2bc57ec80a079e4ac94a3857e5e3988
 DIST imath-3.0.5.tar.gz 528503 BLAKE2B 
c1fcb199a81aff25f1ad26ccfcef2802861401f3fee5dc24035216aa16fd9a5344ec6c37139a0850f1a4bc580dc1fdd068eca9473a19e4aaf329cfc5f53a4cd6
 SHA512 
df206315d822266cf32a5a4399abff7ad1dd0bd1f0372d61f61516e2acdefd13e3cfd9cf54373a3fb49bb28c9f80915ca5ecaec2a068a1d6ea231d71a5316da2

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
deleted file mode 100644
index 47ac92fa5ce..000
--- a/dev-libs/imath/imath-3.0.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake python-single-r1
-
-MY_PN=Imath
-
-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):
-# ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="BSD"
-SLOT="0/27"
-IUSE="doc large-stack python static-libs test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-# libImath.so conflicts with ilmbase
-RDEPEND="
-   !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=(
-   -DBUILD_SHARED_LIBS=$(usex !static-libs)
-   -DIMATH_ENABLE_LARGE_STACK=$(usex large-stack)
-   -DIMATH_INSTALL_PKG_CONFIG=ON
-   -DIMATH_USE_CLANG_TIDY=OFF
-   )
-
-   if use python; then
-   mycmakeargs+=(
-   -DPYTHON=ON
-   -DPython3_EXECUTABLE="${PYTHON}"
-   -DPython3_INCLUDE_DIR=$(python_get_includedir)
-   -DPython3_LIBRARY=$(python_get_library_path)
-   )
-   fi
-
-   cmake_src_configure
-}
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   pushd "${S}"/docs 2>/dev/null || die
-   doxygen || die
-   emake html
-   popd 2>/dev/null || die
-   fi
-}
-
-src_install() {
-   cmake_src_install
-
-   if use doc; then
-   HTML_DOCS=( "${S}/docs/_build/html/." )
-   einstalldocs
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-08 Thread Sergei Trofimovich
commit: bcb9d8433416a3be1307c8fd232402f680412b20
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jul  8 07:10:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul  8 07:10:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb9d843

dev-libs/imath: keyworded 3.0.1 for ppc64

keyworded wrt bug #798690

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/imath/imath-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
index 292ea6f272a..72f012bffe0 100644
--- a/dev-libs/imath/imath-3.0.1.ebuild
+++ b/dev-libs/imath/imath-3.0.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-07-08 Thread Sergei Trofimovich
commit: 20e9b35e1e6f3cb3f79898c52e815baf6d3ce46d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jul  8 07:09:07 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul  8 07:09:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20e9b35e

dev-libs/imath: keyworded 3.0.1 for ppc

keyworded wrt bug #798690

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/imath/imath-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
index f4401e61cfc..292ea6f272a 100644
--- a/dev-libs/imath/imath-3.0.1.ebuild
+++ b/dev-libs/imath/imath-3.0.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-06-29 Thread Sergei Trofimovich
commit: 0f6e54df0d0da9c23c83eb18a38b23c5c57f3443
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jun 29 18:45:01 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jun 29 18:59:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6e54df

dev-libs/imath: keyworded 3.0.1 for hppa, bug #798690

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/imath/imath-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
index 5a251808c67..f4401e61cfc 100644
--- a/dev-libs/imath/imath-3.0.1.ebuild
+++ b/dev-libs/imath/imath-3.0.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-05-31 Thread Sergei Trofimovich
commit: 4e9c106e53ca1d03af392a90691635b21c42c56e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon May 31 15:52:11 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jun  1 18:38:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9c106e

dev-libs/imath: keyworded 3.0.1 for sparc, bug #788235

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/imath/imath-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
index 5fce7b3bf25..5a251808c67 100644
--- a/dev-libs/imath/imath-3.0.1.ebuild
+++ b/dev-libs/imath/imath-3.0.1.ebuild
@@ -14,7 +14,7 @@ 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):
 # ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
-KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/imath/

2021-05-04 Thread Sam James
commit: ab42e90c0df8cb286b35d6f27d0e7fbe6011e73d
Author: Bernd Waibel  posteo  net>
AuthorDate: Tue Mar 16 16:28:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  4 22:02:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab42e90c

dev-libs/imath: new package

Package starts with version 3.0.1, as it was historically
outsourced from the ilmbase / openexr packages.

Closes: https://bugs.gentoo.org/776607
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Bernd Waibel  posteo.net>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/imath/Manifest   |  1 +
 dev-libs/imath/imath-3.0.1.ebuild | 90 +++
 dev-libs/imath/metadata.xml   | 25 +++
 3 files changed, 116 insertions(+)

diff --git a/dev-libs/imath/Manifest b/dev-libs/imath/Manifest
new file mode 100644
index 000..6778d92c9bd
--- /dev/null
+++ b/dev-libs/imath/Manifest
@@ -0,0 +1 @@
+DIST imath-3.0.1.tar.gz 527715 BLAKE2B 
45d8f6524fd2505bdb3318f571c44228c9baf6df869d194d4b90a9c045f1dbb8f905253aeaf6b6a9254e4b0c0c19d753b7e4ae068732f0367fc936d4a111520d
 SHA512 
40cdae81d624636b3dd7eb456e6e205e5b7adf7aed17f6e9168374f8830f1b5755dcd32ac790f94e768513d06ab96d94a2bc57ec80a079e4ac94a3857e5e3988

diff --git a/dev-libs/imath/imath-3.0.1.ebuild 
b/dev-libs/imath/imath-3.0.1.ebuild
new file mode 100644
index 000..bf6da0d3e7e
--- /dev/null
+++ b/dev-libs/imath/imath-3.0.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit cmake python-single-r1
+
+MY_PN=Imath
+
+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):
+# ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x64-macos ~x86-solaris
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="0/27"
+IUSE="doc large-stack python static-libs test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+# libImath.so conflicts with ilmbase
+RDEPEND="
+   !media-libs/ilmbase
+   sys-libs/zlib
+   python? (
+   !dev-python/pyilmbase
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-libs/boost:=[python?,${PYTHON_MULTI_USEDEP}]
+   dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+   ')
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( $(python_gen_cond_dep 
'dev-python/breathe[${PYTHON_MULTI_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=(
+   -DBUILD_SHARED_LIBS=$(usex !static-libs)
+   -DIMATH_ENABLE_LARGE_STACK=$(usex large-stack)
+   -DIMATH_INSTALL_PKG_CONFIG=ON
+   -DIMATH_USE_CLANG_TIDY=OFF
+   )
+
+   if use python; then
+   mycmakeargs+=(
+   -DPYTHON=ON
+   -DPython3_EXECUTABLE="${PYTHON}"
+   -DPython3_INCLUDE_DIR=$(python_get_includedir)
+   -DPython3_LIBRARY=$(python_get_library_path)
+   )
+   fi
+
+   cmake_src_configure
+}
+
+src_compile() {
+   cmake_src_compile
+
+   if use doc; then
+   pushd "${S}"/docs 2>/dev/null || die
+   doxygen || die
+   emake html
+   popd 2>/dev/null || die
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   if use doc; then
+   HTML_DOCS=( "${S}/docs/_build/html/." )
+   einstalldocs
+   fi
+}

diff --git a/dev-libs/imath/metadata.xml b/dev-libs/imath/metadata.xml
new file mode 100644
index 000..e33071a5235
--- /dev/null
+++ b/dev-libs/imath/metadata.xml
@@ -0,0 +1,25 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   waebbl-gen...@posteo.net
+   Bernd Waibel
+   
+   
+   proxy-ma...@gentoo.org
+   Gentoo Proxy Maintainers
+   
+   
+   Basic, light-weight C++ library for efficient representation of 2D
+   and 3D vectors and matrices and data type common to computer graphics
+   applications.
+   
+   
+   
+   Enables code to take advantage of large stack support
+   
+   
+   
+   AcademySoftwareFoundation/Imath
+   
+