community/pybind11 to 2.7.1-1

This commit is contained in:
Kevin Mihelich 2021-08-04 03:19:31 +00:00
parent 7903cd7560
commit 965111e4f4

View file

@ -6,8 +6,8 @@
# - disable lto via -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF
pkgname=pybind11
pkgver=2.7.0
pkgrel=2
pkgver=2.7.1
pkgrel=1
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
arch=('any')
url='https://pybind11.readthedocs.org/'
@ -16,15 +16,8 @@ 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"
'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"
}
source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('616d1c42e4cf14fa27b2a4ff759d7d7b33006fdc5ad8fd603bb2c22622f27020')
build () {
cd "${pkgname}-${pkgver}"