Skip to content

Commit 3eaacb1

Browse files
authored
Merge pull request #309 from isuruf/cpython
Add _cpython to build string
2 parents 1c08c9a + c48cbe3 commit 3eaacb1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

recipe/meta.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ source:
7878

7979

8080
build:
81-
number: 2
81+
number: 3
8282
# Windows has issues updating python if conda is using files itself.
8383
# Copy rather than link.
8484
no_link:
@@ -100,10 +100,9 @@ build:
100100
# match python.org compiler standard
101101
skip: True # [win and int(float(vc)) < 14]
102102
# Would like to be able to append to the calculated build string here, ping @msarahan, is this possible?
103-
# Also this messes up hash generation so package ends up without any :-(
104-
{% if linkage_nature != '' or debug != '' %}
105-
string: {{ version }}{{ linkage_nature }}{{ debug }}
106-
{% endif %}
103+
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ linkage_nature }}{{ debug }}_cpython
104+
run_exports:
105+
- python_abi 3.8.* cp38
107106
script_env:
108107
- PY_INTERP_LINKAGE_NATURE
109108
- PY_INTERP_DEBUG
@@ -143,6 +142,8 @@ requirements:
143142
- ld_impl_{{target_platform}} # [linux]
144143
run:
145144
- ld_impl_{{target_platform}} # [linux]
145+
run_constrained:
146+
- python_abi 3.8.* cp38
146147

147148
test:
148149
requires:

0 commit comments

Comments
 (0)