mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/pybind11 to 2.13.1-2
This commit is contained in:
parent
3e6b4cc531
commit
57e5b8b5d3
3 changed files with 14 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = pybind11
|
||||
pkgdesc = A lightweight header-only library that exposes C++ types in Python and vice versa
|
||||
pkgver = 2.13.1
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://pybind11.readthedocs.org/
|
||||
arch = any
|
||||
license = BSD-3-Clause
|
||||
|
@ -16,8 +16,10 @@ pkgbase = pybind11
|
|||
makedepends = python-wheel
|
||||
optdepends = python-setuptools: for python bindings
|
||||
source = https://github.com/pybind/pybind11/archive/v2.13.1/pybind11-2.13.1.tar.gz
|
||||
source = https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch
|
||||
source = 010-pybind11-remove-unwanted-pip-build-deps.patch
|
||||
sha256sums = 51631e88960a8856f9c497027f55c9f2f9115cafb08c0005439838a05ba17bfc
|
||||
sha256sums = cf1001cf7faccf0d9a7181d676ee4895f2fe5677a672c0344ded71e49e6ab378
|
||||
sha256sums = 27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9
|
||||
|
||||
pkgname = pybind11
|
||||
|
|
4
extra/pybind11/.nvchecker.toml
Normal file
4
extra/pybind11/.nvchecker.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
[pybind11]
|
||||
source = "git"
|
||||
git = "https://github.com/pybind/pybind11.git"
|
||||
prefix = "v"
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=pybind11
|
||||
pkgver=2.13.1
|
||||
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/'
|
||||
|
@ -18,12 +18,17 @@ makedepends=('cmake' 'boost' 'eigen' 'python-build' 'python-installer'
|
|||
#'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"
|
||||
'https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch'
|
||||
'010-pybind11-remove-unwanted-pip-build-deps.patch')
|
||||
sha256sums=('51631e88960a8856f9c497027f55c9f2f9115cafb08c0005439838a05ba17bfc'
|
||||
'cf1001cf7faccf0d9a7181d676ee4895f2fe5677a672c0344ded71e49e6ab378'
|
||||
'27f13a9b32ef344223d70f7340cc32d181ed1de0beb9ce8b6779271f7abd15c9')
|
||||
|
||||
prepare() {
|
||||
patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch"
|
||||
patch -d "${pkgname}-${pkgver}" -Np1 \
|
||||
-i "${srcdir}/010-pybind11-remove-unwanted-pip-build-deps.patch"
|
||||
patch -d "${pkgname}-${pkgver}" -Np1 \
|
||||
-i "${srcdir}/51c2aa16de5b50fe4be6a0016d6090d4a831899e.patch"
|
||||
}
|
||||
|
||||
build () {
|
||||
|
|
Loading…
Reference in a new issue