extra/boost to 1.83.0-9

This commit is contained in:
Kevin Mihelich 2024-06-26 09:16:05 +00:00
parent adb6a7a58c
commit bd7f6a77bc
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -14,7 +14,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')
@ -24,10 +24,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() {
@ -41,6 +43,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
}