mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/pybind11 to 2.7.0-2
This commit is contained in:
parent
4b80c730c0
commit
53e6e48196
1 changed files with 10 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
pkgname=pybind11
|
pkgname=pybind11
|
||||||
pkgver=2.7.0
|
pkgver=2.7.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
|
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://pybind11.readthedocs.org/'
|
url='https://pybind11.readthedocs.org/'
|
||||||
|
@ -16,8 +16,15 @@ optdepends=('python: for python bindings')
|
||||||
makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest')
|
makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest')
|
||||||
#'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
|
#'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
|
||||||
checkdepends=('python-numpy' 'python-scipy')
|
checkdepends=('python-numpy' 'python-scipy')
|
||||||
source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||||
sha256sums=('6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e')
|
'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 () {
|
build () {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
|
|
Loading…
Reference in a new issue