<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/python/python3/patches/131-configure_ac-switch-PLATFORM_TRIPLET-suffix-to-musl.patch, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2023-08-24T18:19:53Z</updated>
<entry>
<title>python3: Fix/expand platform triplet detection</title>
<updated>2023-08-24T18:19:53Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-07-11T07:48:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5a0055df0621d4347723993b04a2fcf045929acf'/>
<id>urn:sha1:5a0055df0621d4347723993b04a2fcf045929acf</id>
<content type='text'>
Currently, configure does not find the correct platform triplet for musl
as the default build/host values passed by OpenWrt buildroot does not
contain the text "linux-musl".

This backports
https://github.com/python/cpython/commit/c163d7f0b67a568e9b64eeb9c1cbbaa127818596
to add detection for mips soft float and musl.

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Update to 3.11.4, refresh patches</title>
<updated>2023-06-12T06:10:01Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-06-12T06:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4627ed7c430860806c352a2430f1abcb63aae327'/>
<id>urn:sha1:4627ed7c430860806c352a2430f1abcb63aae327</id>
<content type='text'>
Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: Update to 3.11.3, refresh/redo patches</title>
<updated>2023-05-24T03:04:33Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2023-05-05T09:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2445fe9fb25e6d9eed28aa9ad237bd250d1600d1'/>
<id>urn:sha1:2445fe9fb25e6d9eed28aa9ad237bd250d1600d1</id>
<content type='text'>
* Removed patches:

  * 001-enable-zlib.patch: zlib module should be enabled automatically

  * 007-distutils-do-not-adjust-path.patch: Not necessary since we
    process shebang lines for all scripts (in python3-package.mk)

  * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch:
    Already merged

* Move configure vars from config.site back into Makefile

  Centralizing all build information into one file makes it easier to
  maintain

* No longer set ac_cv_header_uuid_h=yes as configure should detect
  libuuid

* Order configure args by enable-/disable-/with-/without-, then
  alphabetically

* Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the
  OpenSSL API tests with LibreSSL

* Use the default Host/Compile recipe instead of picking out specific
  targets to make

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3: backport and fix target musl libc detection</title>
<updated>2022-09-12T21:20:14Z</updated>
<author>
<name>Šimon Bořek</name>
</author>
<published>2022-06-27T12:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=992fcd1bd8770bb44a56bc4173ac3befe0fa16ef'/>
<id>urn:sha1:992fcd1bd8770bb44a56bc4173ac3befe0fa16ef</id>
<content type='text'>
Patch 030:
Backported from Python main branch[^1] for Python to distinguish between glibc and musl libc SOABI.

Patch 131:
Changes PLATFORM_TRIPLET -gnu/-musl suffix detection (performed by the backported patch)
to be based on the target OS instead of the building OS.

See included patches for more detailed descriptions.

Specifically this fixes cross-compilation for mpc8548 CPUs with SPE instructions[^2] enabled.

[^1]: merged to python:main as https://github.com/python/cpython/pull/24502 'bpo-43112: detect musl as a separate SOABI'
[^2]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Co-authored-by: Pali Rohár &lt;pali@kernel.org&gt;
Signed-off-by: Šimon Bořek &lt;simon.borek@nic.cz&gt;
</content>
</entry>
</feed>
