mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/pybind11 to 2.7.0-1
This commit is contained in:
parent
773a4d065b
commit
c936e8c91c
1 changed files with 5 additions and 5 deletions
|
@ -6,8 +6,8 @@
|
|||
# - disable lto via -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF
|
||||
|
||||
pkgname=pybind11
|
||||
pkgver=2.6.2
|
||||
pkgrel=2
|
||||
pkgver=2.7.0
|
||||
pkgrel=1
|
||||
pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
|
||||
arch=('any')
|
||||
url='https://pybind11.readthedocs.org/'
|
||||
|
@ -17,7 +17,7 @@ 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=('8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2')
|
||||
sha256sums=('6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e')
|
||||
|
||||
build () {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
@ -33,7 +33,7 @@ build () {
|
|||
-Wno-dev
|
||||
make -C "${srcdir}/build-cmake" all mock_install
|
||||
|
||||
# manpage (needs python-sphinxcontrib-svg2pdfconverter - currently on AUR)
|
||||
# manpage (needs python-sphinxcontrib-{moderncmakedomain,svg2pdfconverter})
|
||||
# make -C "${srcdir}/${pkgname}-${pkgver}/docs" man
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ package() {
|
|||
# symlinks
|
||||
local _pyver
|
||||
_pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')"
|
||||
mkdir -p "${pkgdir}/usr"/{include,lib/cmake}
|
||||
install -d -m755 "${pkgdir}/usr"/{include,lib/cmake}
|
||||
ln -s "../lib/python${_pyver}/site-packages/pybind11/include/pybind11" "${pkgdir}/usr/include/pybind11"
|
||||
ln -s "../../lib/python${_pyver}/site-packages/pybind11/share/cmake/pybind11" "${pkgdir}/usr/lib/cmake/pybind11"
|
||||
|
||||
|
|
Loading…
Reference in a new issue