extra/pybind11 to 2.13.3-1

This commit is contained in:
Kevin Mihelich 2024-08-14 17:46:15 +00:00
parent 83d7e439a0
commit 26aab255de
2 changed files with 8 additions and 15 deletions

View file

@ -1,7 +1,7 @@
pkgbase = pybind11
pkgdesc = A lightweight header-only library that exposes C++ types in Python and vice versa
pkgver = 2.13.1
pkgrel = 2
pkgver = 2.13.3
pkgrel = 1
url = https://pybind11.readthedocs.org/
arch = any
license = BSD-3-Clause
@ -15,11 +15,9 @@ pkgbase = pybind11
makedepends = python-pytest
makedepends = python-wheel
optdepends = python-setuptools: for python bindings
source = https://github.com/pybind/pybind11/archive/v2.13.1/pybind11-2.13.1.tar.gz
source = https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch
source = https://github.com/pybind/pybind11/archive/v2.13.3/pybind11-2.13.3.tar.gz
source = 010-pybind11-remove-unwanted-pip-build-deps.patch
sha256sums = 51631e88960a8856f9c497027f55c9f2f9115cafb08c0005439838a05ba17bfc
sha256sums = cf1001cf7faccf0d9a7181d676ee4895f2fe5677a672c0344ded71e49e6ab378
sha256sums = 6e7a84ec241544f2f5e30c7a82c09c81f0541dd14e9d9ef61051e07105f9c445
sha256sums = 27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9
pkgname = pybind11

View file

@ -6,8 +6,8 @@
# - disable lto via -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF
pkgname=pybind11
pkgver=2.13.1
pkgrel=2
pkgver=2.13.3
pkgrel=1
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
arch=('any')
url='https://pybind11.readthedocs.org/'
@ -18,17 +18,12 @@ makedepends=('cmake' 'boost' 'eigen' 'python-build' 'python-installer'
#'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
checkdepends=('python-numpy') # 'python-scipy')
source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
'https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch'
'010-pybind11-remove-unwanted-pip-build-deps.patch')
sha256sums=('51631e88960a8856f9c497027f55c9f2f9115cafb08c0005439838a05ba17bfc'
'cf1001cf7faccf0d9a7181d676ee4895f2fe5677a672c0344ded71e49e6ab378'
sha256sums=('6e7a84ec241544f2f5e30c7a82c09c81f0541dd14e9d9ef61051e07105f9c445'
'27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9')
prepare() {
patch -d "${pkgname}-${pkgver}" -Np1 \
-i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch"
patch -d "${pkgname}-${pkgver}" -Np1 \
-i "${srcdir}/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch"
patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch"
}
build () {