Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| oe_yp_python3_recipes [2020/06/16 17:01] – rpjday | oe_yp_python3_recipes [2020/06/16 17:19] (current) – [PYPI_PACKAGE] rpjday | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| Line 54: | Line 55: | ||
| python3-sijax_0.3.2.bb: | python3-sijax_0.3.2.bb: | ||
| python3-simpleeval_0.9.10.bb: | python3-simpleeval_0.9.10.bb: | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ===== PYPI_PACKAGE ===== | ||
| + | |||
| + | Unnecessary if: | ||
| + | |||
| + | < | ||
| + | def pypi_package(d): | ||
| + | bpn = d.getVar(' | ||
| + | if bpn.startswith(' | ||
| + | return bpn[7:] | ||
| + | elif bpn.startswith(' | ||
| + | return bpn[8:] | ||
| + | return bpn | ||
| + | | ||
| + | PYPI_PACKAGE ?= " | ||
| + | </ | ||
| + | |||
| + | Examples: | ||
| + | |||
| + | < | ||
| + | python3-asn1crypto_1.3.0.bb: | ||
| + | python3-async-timeout_3.0.1.bb: | ||
| + | ... | ||
| + | python3-raven_6.10.0.bb: | ||
| + | python3-rfc3339-validator_0.1.1.bb: | ||
| + | python3-rfc3986-validator_0.1.1.bb: | ||
| + | python3-robotframework-seriallibrary_0.3.1.bb: | ||
| + | </ | ||
| + | |||
| + | ===== S ===== | ||
| + | |||
| + | Default: | ||
| + | |||
| + | < | ||
| + | S = " | ||
| + | </ | ||
| + | |||
| + | Overrides: | ||
| + | |||
| + | < | ||
| + | python3-absl_0.9.0.bb: | ||
| + | python3-astor_0.8.1.bb: | ||
| + | python3-configshell-fb_1.1.28.bb: | ||
| + | python3-dbussy_1.3.bb: | ||
| + | python3-dt-schema_git.bb: | ||
| ... | ... | ||
| </ | </ | ||