Skip to contentSkip to conversation

python3-unidecode: Add recipe

PATCH In review Leon Anavi 2 participants 5 messages Nov 24, 2025 – Nov 27, 2025

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 python3-unidecode: Add recipe

Add recipe for release 1.4.0:

- Drop support for Python <3.7.
- Add replacements for playing card suits and chess pieces
- Add replacements for U+211F "RESPONSE" and 0x2123 "VERSICLE"
- Fix replacement for U+1D6D5 "MATHEMATICAL BOLD SMALL TAU".
- Fix replacements for U+014A "LATIN CAPITAL LETTER ENG" and U+014B "LATIN SMALL LETTER ENG".
- Add replacements for U+2103 "DEGREE CELSIUS" and U+2109 "DEGREE FAHRENHEIT".

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-unidecode_1.4.0.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb
meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb new file +12 -0
new file mode 100644
index 0000000000..c6969fca4d
@@ -0,0 +1,12 @@
+SUMMARY = "ASCII transliterations of Unicode text"
+HOMEPAGE = "https://pypi.org/project/Unidecode/"
+DESCRIPTION = "This is a Python port of Text::Unidecode Perl module by Sean M. Burke"
+SECTION = "devel/python"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "Unidecode"
+
+SRC_URI[sha256sum] = "ce35985008338b676573023acc382d62c264f307c8f7963733405add37ea2b23"
Signature · 1 line
2.47.3
author
#1 lore raw

PATCH 2/2 python3-pikepdf: Add recipe

Add recipe for v10.0.2:

- Fixed presentation of strings using unparse_content_stream - if the stream can be represented using PdfDocEncoding, it is rendered in that way for ease of reading.
- Reformatted C++ source.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pikepdf_10.0.2.bb          | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb
meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +22 -0
new file mode 100644
index 0000000000..4821e273d8
@@ -0,0 +1,22 @@
+SUMMARY = "Read and write PDFs with Python, powered by qpdf"
+HOMEPAGE = "https://github.com/pikepdf/pikepdf"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"
+
+SRC_URI[sha256sum] = "7c85a2526253e35575edb2e28cdc740d004be4b7c5fda954f0e721ee1c423a52"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "pikepdf"
+
+DEPENDS += " \
+	python3-pybind11-native \
+	qpdf \
+"
+
+RDEPENDS:${PN} += " \
+	python3-pillow \
+	python3-lxml \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.47.3
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-pikepdf: Add recipe

Quoted 38 lines · Leon Anavi via lists.openembedded.org

Add recipe for v10.0.2:

- Fixed presentation of strings using unparse_content_stream - if the stream can be represented using PdfDocEncoding, it is rendered in that way for ease of reading.
- Reformatted C++ source.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pikepdf_10.0.2.bb          | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-pikepdf_10.0.2.bb

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +4 -0
new file mode 100644
index 0000000000..4821e273d8
@@ -0,0 +1,22 @@
+SUMMARY = "Read and write PDFs with Python, powered by qpdf"
+HOMEPAGE = "https://github.com/pikepdf/pikepdf"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +2 -0
+
+SRC_URI[sha256sum] =

"7c85a2526253e35575edb2e28cdc740d004be4b7c5fda954f0e721ee1c423a52"

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +6 -0
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "pikepdf"
+
+DEPENDS += " \

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb line 22

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +10 -0
+       python3-pybind11-native \
+       qpdf \
+"
+
+RDEPENDS:${PN} += " \
+       python3-pillow \
+       python3-lxml \
+"
+
+BBCLASSEXTEND = "native nativesdk"

That creates warnings in CI:

stdio: WARNING: Nothing PROVIDES 'nativesdk-qpdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing PROVIDES 'qpdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf-dev' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-dev-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)

From
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/82/builds/526/steps/13/logs/stdio

Leon, can you look into it? (I guess some dependencies lack their BBCLASSEXTEND)

Regards,

Quoted 15 lines

--
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122008):
https://lists.openembedded.org/g/openembedded-devel/message/122008
Mute This Topic: https://lists.openembedded.org/mt/116449994/4316185
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Yoann Congal
Smile ECS
author
#3 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-pikepdf: Add recipe

Hi Yoann,

Quoted 68 lines · Yoann Congal

Le lun. 24 nov. 2025 à 12:53, Leon Anavi via lists.openembedded.org <http://lists.openembedded.org> <[email protected]> a écrit :

    Add recipe for v10.0.2:

    - Fixed presentation of strings using unparse_content_stream -
      if the stream can be represented using PdfDocEncoding, it is
      rendered in that way for ease of reading.
    - Reformatted C++ source.

    This work was sponsored by GOVCERT.LU <http://GOVCERT.LU>.

    Signed-off-by: Leon Anavi <[email protected]>
    ---
     .../python/python3-pikepdf_10.0.2.bb
    <http://python3-pikepdf_10.0.2.bb>         | 22 +++++++++++++++++++
     1 file changed, 22 insertions(+)
     create mode 100644
    meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb
    <http://python3-pikepdf_10.0.2.bb>

    diff --git
    a/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb
    <http://python3-pikepdf_10.0.2.bb>
    b/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb
    <http://python3-pikepdf_10.0.2.bb>
    new file mode 100644
    index 0000000000..4821e273d8
    --- /dev/null
    +++
    b/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb
    <http://python3-pikepdf_10.0.2.bb>
    @@ -0,0 +1,22 @@
    +SUMMARY = "Read and write PDFs with Python, powered by qpdf"
    +HOMEPAGE = "https://github.com/pikepdf/pikepdf"
    +LICENSE = "MPL-2.0"
    +LIC_FILES_CHKSUM =
    "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"
    +
    +SRC_URI[sha256sum] =
    "7c85a2526253e35575edb2e28cdc740d004be4b7c5fda954f0e721ee1c423a52"
    +
    +inherit pypi python_setuptools_build_meta
    +
    +PYPI_PACKAGE = "pikepdf"
    +
    +DEPENDS += " \
    +       python3-pybind11-native \
    +       qpdf \
    +"
    +
    +RDEPENDS:${PN} += " \
    +       python3-pillow \
    +       python3-lxml \
    +"
    +
    +BBCLASSEXTEND = "native nativesdk"

That creates warnings in CI:
stdio: WARNING: Nothing PROVIDES 'nativesdk-qpdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing PROVIDES 'qpdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf-dev' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-dev-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb <http://python3-pikepdf_10.0.2.bb> RDEPENDS on or otherwise requires it) From https://autobuilder.yoctoproject.org/valkyrie/?#/builders/82/builds/526/steps/13/logs/stdio

Quoted 1 line

Leon, can you look into it? (I guess some dependencies lack their BBCLASSEXTEND)

Yes, thank you for pointing out these warnings. I have just submitted three patches that add native and nativesdk to BBCLASSEXTEND of the required python3-pikepdf dependencies.

Best regards, Leon

#4 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-pikepdf: Add recipe

Quoted 69 lines · Leon Anavi

Hi Yoann,
On 11/26/25 12:18, Yoann Congal wrote:

Quoted 39 lines · Leon Anavi via lists.openembedded.org

Add recipe for v10.0.2:

- Fixed presentation of strings using unparse_content_stream - if the stream can be represented using PdfDocEncoding, it is rendered in that way for ease of reading.
- Reformatted C++ source.

This work was sponsored by GOVCERT.LU.

---
 .../python/python3-pikepdf_10.0.2.bb          | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-pikepdf_10.0.2.bb

(quoted diff) +0 -0

python3-pikepdf_10.0.2.bb b/meta-python/recipes-devtools/python/ python3-pikepdf_10.0.2.bb
new file mode 100644
index 0000000000..4821e273d8

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +4 -0
@@ -0,0 +1,22 @@
+SUMMARY = "Read and write PDFs with Python, powered by qpdf"
+HOMEPAGE = "https://github.com/pikepdf/pikepdf"
+LICENSE = "MPL-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +2 -0
+
+SRC_URI[sha256sum] =

"7c85a2526253e35575edb2e28cdc740d004be4b7c5fda954f0e721ee1c423a52"

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +6 -0
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "pikepdf"
+
+DEPENDS += " \

meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb line 22

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb new file +10 -0
+       python3-pybind11-native \
+       qpdf \
+"
+
+RDEPENDS:${PN} += " \
+       python3-pillow \
+       python3-lxml \
+"
+
+BBCLASSEXTEND = "native nativesdk"

That creates warnings in CI:

stdio: WARNING: Nothing PROVIDES 'nativesdk-qpdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing PROVIDES 'qpdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb DEPENDS on or otherwise requires it). Close matches:
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'nativesdk-python3-pikepdf-dev' (but virtual:nativesdk:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)
stdio: WARNING: Nothing RPROVIDES 'python3-pikepdf-dev-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.0.2.bb RDEPENDS on or otherwise requires it)

From
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/82/builds/526/steps/13/logs/stdio

Quoted 7 lines

Leon, can you look into it? (I guess some dependencies lack their BBCLASSEXTEND)

Yes, thank you for pointing out these warnings. I have just submitted three patches that add native and nativesdk to BBCLASSEXTEND of the required python3-pikepdf dependencies.

Sounds good, thanks!

Quoted 2 lines

Best regards, Leon

Signature · 2 lines
Yoann Congal
Smile ECS