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: dev-util/boost-build/files/, dev-util/boost-build/
Date: Mon, 24 May 2021 21:38:48 +0000 (UTC)	[thread overview]
Message-ID: <1621892317.2cd8437b2d737dac6f635faa9cce85980557fe0c.sam@gentoo> (raw)

commit:     2cd8437b2d737dac6f635faa9cce85980557fe0c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 24 19:55:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 24 21:38:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd8437b

dev-util/boost-build: Fix for numpy include

Bug: https://bugs.gentoo.org/733830
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...76.0-r1.ebuild => boost-build-1.76.0-r2.ebuild} |  1 +
 .../files/boost-build-1.76.0-python-numpy.patch    | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/dev-util/boost-build/boost-build-1.76.0-r1.ebuild b/dev-util/boost-build/boost-build-1.76.0-r2.ebuild
similarity index 97%
rename from dev-util/boost-build/boost-build-1.76.0-r1.ebuild
rename to dev-util/boost-build/boost-build-1.76.0-r2.ebuild
index 2a800a24714..d3635332eaf 100644
--- a/dev-util/boost-build/boost-build-1.76.0-r1.ebuild
+++ b/dev-util/boost-build/boost-build-1.76.0-r2.ebuild
@@ -24,6 +24,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
 	"${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
 	"${FILESDIR}"/${PN}-1.74.0-no-implicit-march-flags.patch
+	"${FILESDIR}"/${PN}-1.76.0-python-numpy.patch
 )
 
 src_unpack() {

diff --git a/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch b/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch
new file mode 100644
index 00000000000..ed04d542634
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch
@@ -0,0 +1,24 @@
+From 61adb508853be1fa2c01a0c3a0c55fbd16cb9a52 Mon Sep 17 00:00:00 2001
+From: Peter Dimov <pdimov@gmail.com>
+Date: Mon, 24 May 2021 22:11:23 +0300
+Subject: [PATCH] Declare the /python//numpy target to hold the include path
+ (fixes #725)
+
+---
+ tools/python.jam | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tools/python.jam b/tools/python.jam
+index 00706932d2..0dfc750a22 100644
+--- a/tools/python.jam
++++ b/tools/python.jam
+@@ -1052,6 +1052,9 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
+             ;
+     }
+ 
++    # Declare the numpy target, which contains the NumPy include directory
++
++    alias numpy : : $(target-requirements) : : <include>$(.numpy-include) ;
+ }
+ 
+ # Conditional rule specification that will prevent building of a target


             reply	other threads:[~2021-05-24 21:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 21:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-03 21:53 [gentoo-commits] repo/gentoo:master commit in: dev-util/boost-build/files/, dev-util/boost-build/ David Seifert
2022-09-03 20:28 David Seifert
2021-12-12 14:36 David Seifert
2021-06-20 16:54 Andreas Sturmlechner
2021-04-24 12:19 David Seifert
2020-08-15 23:19 David Seifert
2019-12-07 21:43 David Seifert
2019-12-07 19:48 David Seifert
2019-09-14 18:30 David Seifert
2016-01-27  6:21 Sergey Popov

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=1621892317.2cd8437b2d737dac6f635faa9cce85980557fe0c.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