From 53e6e4819603e1ad5e01cf9c7470fb51019fb569 Mon Sep 17 00:00:00 2001 From: David Beauchamp Date: Sun, 1 Aug 2021 10:48:19 -0400 Subject: [PATCH] community/pybind11 to 2.7.0-2 --- community/pybind11/PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/community/pybind11/PKGBUILD b/community/pybind11/PKGBUILD index cbec5ac2c..dfb1ec400 100644 --- a/community/pybind11/PKGBUILD +++ b/community/pybind11/PKGBUILD @@ -7,7 +7,7 @@ pkgname=pybind11 pkgver=2.7.0 -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/' @@ -16,8 +16,15 @@ optdepends=('python: for python bindings') makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest') #'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") -sha256sums=('6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e') +source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz" + '010-pybind11-fix-hardcoded-path.patch'::'https://github.com/pybind/pybind11/commit/7cc0ebb4753770ace452d118bb327cdd9e76dcbb.patch') +sha256sums=('6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e' + 'd582a0f8e6ba2961e398d49d7693c647eb4aab501743d431db4d85fe652f005f') + +prepare() { + # FS#71638 + patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-pybind11-fix-hardcoded-path.patch" +} build () { cd "${pkgname}-${pkgver}"