From 69255af2299cdde0a8d6276952a867a2cb58889a Mon Sep 17 00:00:00 2001 From: "Guillaume W. Bres" Date: Tue, 4 Jan 2022 13:39:00 +0100 Subject: [PATCH] package/python-pybind: bump to version 2.9.0 Signed-off-by: Guillaume W. Bres [Arnout: bump to 2.9.0, refresh patch] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- ...001-pybind11-commands.py-support-STAGING_DIR.patch | 11 +++++------ package/python-pybind/python-pybind.hash | 2 +- package/python-pybind/python-pybind.mk | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch b/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch index 981a387be4..021321a9b7 100644 --- a/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch +++ b/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch @@ -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)" 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) 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__)) diff --git a/package/python-pybind/python-pybind.hash b/package/python-pybind/python-pybind.hash index a68ac846e2..d5b4b4829e 100644 --- a/package/python-pybind/python-pybind.hash +++ b/package/python-pybind/python-pybind.hash @@ -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 diff --git a/package/python-pybind/python-pybind.mk b/package/python-pybind/python-pybind.mk index 4dd52003ad..7448d246b2 100644 --- a/package/python-pybind/python-pybind.mk +++ b/package/python-pybind/python-pybind.mk @@ -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