Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | inherit python3native |
| 2 | |
| 3 | EXTRA_PYTHON_DEPENDS ?= "" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 4 | EXTRA_PYTHON_DEPENDS:class-target = "python3" |
| 5 | DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 6 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 7 | do_configure:prepend:class-target() { |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 8 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 9 | } |
| 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | do_compile:prepend:class-target() { |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 12 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 13 | } |
| 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 15 | do_install:prepend:class-target() { |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 16 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 17 | } |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 18 | |
| 19 | do_configure:prepend:class-nativesdk() { |
| 20 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 21 | } |
| 22 | |
| 23 | do_compile:prepend:class-nativesdk() { |
| 24 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 25 | } |
| 26 | |
| 27 | do_install:prepend:class-nativesdk() { |
| 28 | export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" |
| 29 | } |