[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Daniel Bermond
dbermond at gemini.archlinux.org
Sun Aug 1 11:17:30 UTC 2021
Date: Sunday, August 1, 2021 @ 11:17:30
Author: dbermond
Revision: 991942
upgpkg: pybind11 2.7.0-2: FS#71638
Modified:
pybind11/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-01 11:09:22 UTC (rev 991941)
+++ PKGBUILD 2021-08-01 11:17:30 UTC (rev 991942)
@@ -4,7 +4,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/'
@@ -13,9 +13,16 @@
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}"
python setup.py build
More information about the arch-commits
mailing list