From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyilmbase/
Date: Fri, 18 Feb 2022 22:48:26 +0000 (UTC) [thread overview]
Message-ID: <1645224487.e5b3baff61c2779f590b6974d2527237ad119346.sam@gentoo> (raw)
commit: e5b3baff61c2779f590b6974d2527237ad119346
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 18 22:47:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 18 22:48:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b3baff
dev-python/pyilmbase: block dev-libs/imath[python] in ~arch
Bug: https://bugs.gentoo.org/833624
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pyilmbase/pyilmbase-2.5.7-r1.ebuild | 56 ++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/dev-python/pyilmbase/pyilmbase-2.5.7-r1.ebuild b/dev-python/pyilmbase/pyilmbase-2.5.7-r1.ebuild
new file mode 100644
index 000000000000..5e34432e6d8a
--- /dev/null
+++ b/dev-python/pyilmbase/pyilmbase-2.5.7-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 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
+
+DESCRIPTION="IlmBase Python bindings"
+HOMEPAGE="https://www.openexr.com"
+SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/openexr-${PV}/PyIlmBase"
+
+LICENSE="BSD"
+SLOT="0/25"
+KEYWORDS="~amd64 ~x86"
+IUSE="exceptions test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ !dev-libs/imath[python]
+ ~media-libs/openexr-${PV}:=
+ sys-libs/zlib
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.62.0-r1:=[python,${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.10.4[${PYTHON_USEDEP}]
+ ')
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-0001-disable-py2-for-boost.patch
+ "${FILESDIR}"/${P}-0002-install-imathnumpy.so.patch
+ "${FILESDIR}"/${P}-0003-fix-pkgconfig-file.patch
+)
+
+DOCS=( README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ # starting with boost-1.76.0 we ship the cmake config files
+ -DBoost_NO_BOOST_CMAKE=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_Python2=ON
+ -DPYILMBASE_INSTALL_PKG_CONFIG=ON
+ -DPYIMATH_ENABLE_EXCEPTIONS=$(usex exceptions)
+ -DPython3_EXECUTABLE="${PYTHON}"
+ -DPython3_INCLUDE_DIR=$(python_get_includedir)
+ -DPython3_LIBRARY=$(python_get_library_path)
+ )
+ cmake_src_configure
+}
next reply other threads:[~2022-02-18 22:48 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 22:48 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-28 5:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyilmbase/ Sam James
2021-10-17 9:20 Michał Górny
2021-07-10 10:43 Agostino Sarubbo
2021-06-02 19:01 Sam James
2021-06-01 0:28 Sam James
2021-02-27 16:38 Sam James
2021-02-27 16:38 Sam James
2021-02-26 15:18 Sam James
2021-02-16 19:19 Sam James
2021-02-07 17:07 Conrad Kostecki
2021-01-24 1:48 Sam James
2021-01-24 1:48 Sam James
2020-12-27 21:40 Sam James
2020-08-07 11:44 Agostino Sarubbo
2020-08-02 10:40 Andreas Sturmlechner
2020-07-21 19:39 Andreas Sturmlechner
2020-02-09 16:18 Michał Górny
2020-01-22 21:50 Michał Górny
2019-07-21 11:58 Andreas Sturmlechner
2019-06-14 15:01 Agostino Sarubbo
2019-06-13 14:49 Agostino Sarubbo
2017-12-16 13:55 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1645224487.e5b3baff61c2779f590b6974d2527237ad119346.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox