package/python-pybind: bump to version 2.9.0

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[Arnout: bump to 2.9.0, refresh patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Guillaume W. Bres 2022-01-04 13:39:00 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 2426002d6f
commit 69255af229
3 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
From 9feaba4792c1d0a28e560ae941fa9ebabbbe4013 Mon Sep 17 00:00:00 2001
From bf9f0d619e2e0a424e471a2f9235d26ece5b348c Mon Sep 17 00:00:00 2001
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Date: Fri, 7 Jan 2022 19:32:18 +0100
Subject: [PATCH] pybind11/commands.py: support STAGING_DIR
@ -13,18 +13,17 @@ the current directory, if it is set.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Upstream-Status: N/A, Buildroot specific
---
pybind11/commands.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
pybind11/commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pybind11/commands.py b/pybind11/commands.py
index 34dbaf8..8c4876d 100644
index 11f81d2..8c4876d 100644
--- a/pybind11/commands.py
+++ b/pybind11/commands.py
@@ -1,8 +1,8 @@
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
import os
-
-DIR = os.path.abspath(os.path.dirname(__file__))
+DIR = os.environ.get('STAGING_DIR') or \
+ os.path.abspath(os.path.dirname(__file__))

View File

@ -1,4 +1,4 @@
# Locally calculated
sha256 cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a python-pybind-2.6.1.tar.gz
sha256 057fb68dafd972bc13afb855f3b0d8cf0fa1a78ef053e815d9af79be7ff567cb python-pybind-2.9.0.tar.gz
# License files, locally calculated
sha256 83965b843b98f670d3a85bd041ed4b372c8ec50d7b4a5995a83ac697ba675dcb LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
PYTHON_PYBIND_VERSION = 2.6.1
PYTHON_PYBIND_VERSION = 2.9.0
PYTHON_PYBIND_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND_VERSION))
PYTHON_PYBIND_LICENSE = BSD-3-Clause
PYTHON_PYBIND_LICENSE_FILES = LICENSE