public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/
Date: Sun, 31 Oct 2021 02:19:47 +0000 (UTC)	[thread overview]
Message-ID: <1635646707.09efbdab3e99c0ae7c984dbffd0dc388aaa05d92.sam@gentoo> (raw)

commit:     09efbdab3e99c0ae7c984dbffd0dc388aaa05d92
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Thu Oct 28 10:44:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 02:18:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09efbdab

media-gfx/openvdb: patch to find numpy

- additionally pass -DPython_INCLUDE_DIR and -DPython_LIBRARY to help
	find numpy
- remove flag-o-matic inherit, which isn't needed according to pkgcheck
- change the negation of the utils USE flag use for building the utilities
	if the USE flag is set

Closes: https://bugs.gentoo.org/788886
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/22738
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/openvdb/openvdb-7.1.0-r3.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild
index 2c6c85a3efc..38d612500fb 100644
--- a/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild
+++ b/media-gfx/openvdb/openvdb-7.1.0-r3.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8,9} )
 
-inherit cmake flag-o-matic python-single-r1
+inherit cmake python-single-r1
 
 DESCRIPTION="Library for the efficient manipulation of volumetric data"
 HOMEPAGE="https://www.openvdb.org"
@@ -91,9 +91,9 @@ src_configure() {
 		-DOPENVDB_ABI_VERSION_NUMBER="${version}"
 		-DOPENVDB_BUILD_DOCS=$(usex doc)
 		-DOPENVDB_BUILD_UNITTESTS=$(usex test)
-		-DOPENVDB_BUILD_VDB_LOD=$(usex !utils)
-		-DOPENVDB_BUILD_VDB_RENDER=$(usex !utils)
-		-DOPENVDB_BUILD_VDB_VIEW=$(usex !utils)
+		-DOPENVDB_BUILD_VDB_LOD=$(usex utils)
+		-DOPENVDB_BUILD_VDB_RENDER=$(usex utils)
+		-DOPENVDB_BUILD_VDB_VIEW=$(usex utils)
 		-DOPENVDB_CORE_SHARED=ON
 		-DOPENVDB_CORE_STATIC=$(usex static-libs)
 		-DOPENVDB_ENABLE_RPATH=OFF
@@ -109,6 +109,8 @@ src_configure() {
 			-DUSE_NUMPY=$(usex numpy)
 			-DPYOPENVDB_INSTALL_DIRECTORY="$(python_get_sitedir)"
 			-DPython_EXECUTABLE="${PYTHON}"
+			-DPython_INCLUDE_DIR="$(python_get_includedir)"
+			-DPython_LIBRARY="$(python_get_library_path)"
 		)
 	fi
 


             reply	other threads:[~2021-10-31  2:19 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31  2:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-18  7:26 [gentoo-commits] repo/gentoo:master commit in: media-gfx/openvdb/ Sam James
2025-04-29 19:26 Sam James
2025-04-28 21:33 Sam James
2025-04-27 23:39 Sam James
2025-02-23 22:19 Conrad Kostecki
2024-05-28 17:01 Sam James
2024-04-13 17:36 Sam James
2024-04-05  1:21 Sam James
2024-02-20 13:42 Joonas Niilola
2023-02-01 18:38 Sam James
2023-02-01  5:15 Michał Górny
2022-09-29 19:58 Matthew Smith
2022-09-25  1:27 Sam James
2022-02-28  7:06 Yixun Lan
2022-02-28  5:21 Sam James
2022-02-23  2:20 Sam James
2022-02-23  2:19 Sam James
2022-02-20 21:10 Sam James
2022-02-20 21:10 Sam James
2022-02-20 21:10 Sam James
2022-02-18 22:48 Sam James
2022-02-16 19:28 Sam James
2021-12-04  1:10 Sam James
2021-10-31  8:42 Sam James
2021-10-31  8:40 Sam James
2021-10-31  8:38 Sam James
2021-10-31  8:38 Sam James
2021-10-31  7:17 Sam James
2021-10-31  5:53 Sam James
2021-10-31  2:21 Sam James
2021-10-31  2:20 Sam James
2021-10-31  2:20 Sam James
2021-10-31  2:19 Sam James
2021-10-31  2:19 Sam James
2021-10-31  2:19 Sam James
2021-10-30 17:25 Sam James
2021-10-29 22:23 Sam James
2021-10-26 11:13 Sam James
2021-06-10  0:51 Sam James
2021-03-05 18:39 Sam James
2021-02-22  7:12 Sam James
2021-01-25 14:16 Sam James
2020-12-21 18:07 Sam James
2020-11-08 10:29 Sam James
2020-10-15 15:58 Sam James
2020-08-25 18:06 Sam James
2020-08-25 18:03 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-08-24 13:42 Sam James
2020-03-01 18:36 Matthias Maier
2020-02-09 16:29 Michał Górny
2020-01-16  6:39 Michał Górny
2019-09-13 15:43 Michał Górny
2019-06-06 20:33 Andreas Sturmlechner
2019-05-25  8:52 Mikle Kolyada
2019-03-18 22:53 Patrice Clement
2018-08-14 11:39 Jonathan Scruggs
2018-08-07 17:05 Jonathan Scruggs
2018-03-30 16:04 Aaron Bauman
2018-01-27 17:19 Jonathan Scruggs
2017-09-23  8:38 David Seifert

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=1635646707.09efbdab3e99c0ae7c984dbffd0dc388aaa05d92.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