Skip to content

Commit 55a19aa

Browse files
Merge pull request #14 from AnacondaRecipes/PKG-1719_update_2.10.4
Update to 2.10.4
2 parents 6dae469 + ad03aeb commit 55a19aa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

recipe/meta.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
{% set version = "2.10.1" %}
2-
{% set sha256 = "111014b516b625083bef701df7880f78c2243835abdb263065b6b59b960b6bad" %}
1+
{% set version = "2.10.4" %}
2+
{% set sha256 = "832e2f309c57da9c1e6d4542dedd34b24e4192ecb4d62f6f4866a737454c9970" %}
33

44
# this is set to PYBIND11_INTERNALS_VERSION
55
{% set abi_version = "4" %}
6+
{% set abi_buildnumber = "1" %}
67

78
package:
89
name: pybind11-split
@@ -20,6 +21,7 @@ outputs:
2021
- name: pybind11-abi
2122
version: {{ abi_version }}
2223
build:
24+
number: {{ abi_buildnumber }}
2325
noarch: generic
2426
skip: true # [not linux and x86_64]
2527
run_exports:
@@ -29,7 +31,7 @@ outputs:
2931
- include/pybind11/detail/internals.h
3032
commands:
3133
# make sure the internals version matches the package version
32-
- if [ $(grep "#define PYBIND11_INTERNALS_VERSION" include/pybind11/detail/internals.h | cut -d' ' -f3) != "{{ abi_version }}" ]; then exit 1; fi
34+
- if [[ $(grep "#[[:blank:]]*define PYBIND11_INTERNALS_VERSION" include/pybind11/detail/internals.h | rev | cut -d' ' -f1) != "{{ abi_version }}" ]]; then exit 1; fi
3335

3436
- name: pybind11-global
3537
script: build-pybind11-global.sh # [unix]

0 commit comments

Comments
 (0)