From 57e5b8b5d3e58936a6d412b259e0acbcdd8cf0d9 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 20 Jul 2024 10:27:20 +0000 Subject: [PATCH] extra/pybind11 to 2.13.1-2 --- extra/pybind11/.SRCINFO | 4 +++- extra/pybind11/.nvchecker.toml | 4 ++++ extra/pybind11/PKGBUILD | 9 +++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 extra/pybind11/.nvchecker.toml diff --git a/extra/pybind11/.SRCINFO b/extra/pybind11/.SRCINFO index fc50263e1..d547a046d 100644 --- a/extra/pybind11/.SRCINFO +++ b/extra/pybind11/.SRCINFO @@ -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 = 1 + pkgrel = 2 url = https://pybind11.readthedocs.org/ arch = any license = BSD-3-Clause @@ -16,8 +16,10 @@ pkgbase = pybind11 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 = 010-pybind11-remove-unwanted-pip-build-deps.patch sha256sums = 51631e88960a8856f9c497027f55c9f2f9115cafb08c0005439838a05ba17bfc + sha256sums = cf1001cf7faccf0d9a7181d676ee4895f2fe5677a672c0344ded71e49e6ab378 sha256sums = 27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9 pkgname = pybind11 diff --git a/extra/pybind11/.nvchecker.toml b/extra/pybind11/.nvchecker.toml new file mode 100644 index 000000000..78824da3b --- /dev/null +++ b/extra/pybind11/.nvchecker.toml @@ -0,0 +1,4 @@ +[pybind11] +source = "git" +git = "https://github.com/pybind/pybind11.git" +prefix = "v" diff --git a/extra/pybind11/PKGBUILD b/extra/pybind11/PKGBUILD index 28ba00cd7..c67738f7a 100644 --- a/extra/pybind11/PKGBUILD +++ b/extra/pybind11/PKGBUILD @@ -7,7 +7,7 @@ pkgname=pybind11 pkgver=2.13.1 -pkgrel=1 +pkgrel=2 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/' @@ -18,12 +18,17 @@ 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' '27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9') prepare() { - patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch" + patch -d "${pkgname}-${pkgver}" -Np1 \ + -i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch" + patch -d "${pkgname}-${pkgver}" -Np1 \ + -i "${srcdir}/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch" } build () {