blob: 2476858caebe4890020e5ef6012a29f17ccb22ee [file] [log] [blame]
Andrew Geissler6ce62a22020-11-30 19:58:47 -06001inherit python3native
2
3EXTRA_PYTHON_DEPENDS ?= ""
Patrick Williams213cb262021-08-07 19:21:33 -05004EXTRA_PYTHON_DEPENDS:class-target = "python3"
5DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06006
Patrick Williams213cb262021-08-07 19:21:33 -05007do_configure:prepend:class-target() {
Andrew Geissler6ce62a22020-11-30 19:58:47 -06008 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
9}
10
Patrick Williams213cb262021-08-07 19:21:33 -050011do_compile:prepend:class-target() {
Andrew Geissler6ce62a22020-11-30 19:58:47 -060012 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
13}
14
Patrick Williams213cb262021-08-07 19:21:33 -050015do_install:prepend:class-target() {
Andrew Geissler6ce62a22020-11-30 19:58:47 -060016 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
17}
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000018
19do_configure:prepend:class-nativesdk() {
20 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
21}
22
23do_compile:prepend:class-nativesdk() {
24 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
25}
26
27do_install:prepend:class-nativesdk() {
28 export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata"
29}