Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages /
boost
Commits:
e617e46b by Evangelos Foutras at 2024-06-22T20:23:57+03:00
upgpkg: 1.83.0-9: numpy 2.0 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = boost
pkgdesc = Free peer-reviewed portable C++ source libraries
pkgver = 1.83.0
- pkgrel = 8
+ pkgrel = 9
url = https://www.boost.org/
arch = x86_64
license = custom
@@ -15,10 +15,12 @@ pkgbase = boost
source =
https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2
source = boost-1.81.0-phoenix-multiple-definitions.patch
source =
boost-support-fn.contains-f-where-f-is-a-function.patch::https://github.com/boostorg/function/commit/7ca2310b15e3.patch
+ source =
boost-numpy-2.0.patch::https://github.com/boostorg/python/commit/0474de0f6cc9.patch
source =
boost-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch
sha256sums =
6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e
sha256sums =
3ebf428ef6be090a7b56a233330375539ac429333b83708e28fe5db049cfecdb
sha256sums =
1b5998ee8fb389dd6df55a3684d29ffa37246bc007e8e6712bf2be6c7f745036
+ sha256sums =
ccda8ef8126c93f4c8d29ba43b5f301952e5eacdc7fecb2ae3d01115a2222c53
sha256sums =
aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee
pkgname = boost
=====================================
PKGBUILD
=====================================
@@ -11,7 +11,7 @@
pkgname=('boost' 'boost-libs')
pkgver=1.83.0
-pkgrel=8
+pkgrel=9
_srcname=boost_${pkgver//./_}
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('x86_64')
@@ -21,10 +21,12 @@ makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib'
'openmpi' 'zstd')
source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.bz2
boost-1.81.0-phoenix-multiple-definitions.patch
$pkgname-support-fn.contains-f-where-f-is-a-function.patch::https://github.com/boostorg/function/commit/7ca2310b15e3.patch
+
$pkgname-numpy-2.0.patch::https://github.com/boostorg/python/commit/0474de0f6cc9.patch
$pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch)
sha256sums=('6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e'
'3ebf428ef6be090a7b56a233330375539ac429333b83708e28fe5db049cfecdb'
'1b5998ee8fb389dd6df55a3684d29ffa37246bc007e8e6712bf2be6c7f745036'
+ 'ccda8ef8126c93f4c8d29ba43b5f301952e5eacdc7fecb2ae3d01115a2222c53'
'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee')
prepare() {
@@ -38,6 +40,9 @@ prepare() {
patch -Np2 -i <(sed 's#test/#asd/libs/function/test/#' \
../$pkgname-support-fn.contains-f-where-f-is-a-function.patch)
+ # support building against NumPy 2.0
+ patch -Np1 -d libs/python <../$pkgname-numpy-2.0.patch
+
# https://github.com/boostorg/ublas/pull/97
patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/boost/-/commit/e617e46b00e19f2699edcba0bed529c6ec03cde2
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/boost/-/commit/e617e46b00e19f2699edcba0bed529c6ec03cde2
You're receiving this email because of your account on gitlab.archlinux.org.