From 0bb0d23877feefc388762a9b16659350b7b0412a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 8 Oct 2020 16:10:33 -0500 Subject: [PATCH 1/3] add python_abi --- recipe/meta.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 082f52b19..1b79aee4d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -295,6 +295,16 @@ outputs: - popd - test ! -f default.profraw # [osx] + - name: python_abi + build: + number: {{ build_number }} + string: {{ build_number }}_{{ ver2nd }} + requirements: + run: + - python {{ version }}.* + run_constrained: + - pypy <0a0 + - name: libpython-static script: build_static.sh # [unix] script: build_static.bat # [win] From 15ca2e75484dc2845adb230f3543a958b91d2704 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 8 Oct 2020 16:11:35 -0500 Subject: [PATCH 2/3] Move python_abi to this feedstock --- recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1b79aee4d..ce93a13c4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -296,9 +296,10 @@ outputs: - test ! -f default.profraw # [osx] - name: python_abi + version: {{ ver2 }} build: number: {{ build_number }} - string: {{ build_number }}_{{ ver2nd }} + string: {{ build_number }}_cp{{ ver2nd }} requirements: run: - python {{ version }}.* From 09901a488d646b1f292576e5c22572eb9b14fb94 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 8 Oct 2020 21:36:30 -0500 Subject: [PATCH 3/3] workaround a conda-build bug --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ce93a13c4..3a550f3fe 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -227,7 +227,7 @@ outputs: {% if 'conda-forge' in channel_targets %} - ncurses # [unix] run_constrained: - - python_abi {{ ver2 }}.* *_cp{{ ver2nd }} + - python_abi {{ ver2 }}.* {{ build_number }}_cp{{ ver2nd }} {% endif %} test: downstreams: