From 5741d91827b5e7c4dd3079eff2860d1663836966 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 20 Oct 2026 15:32:20 +0300 Subject: [PATCH] python3-stdnum: Add recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a recipe for python-stdnum, a Python module to handle standardized numbers and codes. The changelog for release 2.2 includes: - Add modules for the following number formats: VÖEN (Vergi ödəyicisinin eyniləşdirmə nömrəsi, Azerbaijan tax number) Belgian OGM-VCS Leitweg-ID, a buyer reference or routing identifier for electronic invoices European Excise Number n° d'accise (French number to identify taxpayers of excise taxes) RCS (French trade registration number for commercial companies) NUIT (Número Único de Identificação Tributaria, Mozambique tax number) NINEA (Numéro d'Identification Nationale des Entreprises et Associations, Senegal tax number) - Fix handling of decimals in Application Identifiers - Update list of valid Chinese counties - Mark more Romanian CNP county codes as valid - Support Latvian personal codes issued after 2017 - Provide aliases for Estonian numbers - Add validation of country code in BIC - Add function to convert a French VAT number into a SIREN - Add a function to format a French SIREN - Add extra validation of Belgian VAT numbers - Add support for nace revision 2.1 - Support the new Romanian ONRC format - Support new format for Brazilian CNPJ Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-stdnum_2.2.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-stdnum_2.2.bb diff --git a/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb b/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb new file mode 100644 index 0000000000..8753a5996a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "Python module to handle standardized numbers and codes" +HOMEPAGE = "https://arthurdejong.org/python-stdnum/" +LICENSE = "LGPL-2.0-or-later AND LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +SRC_URI[sha256sum] = "e95fcfa858a703d4a40130cb3eaac133c60d8808a7f3c98efeedac968c2479b9" + +PYPI_PACKAGE = "python-stdnum" + +inherit pypi setuptools3 + +PACKAGECONFIG[soap] = ",,,python3-zeep" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-crypt \ + python3-datetime \ + python3-io \ + python3-json \ + python3-lxml \ + python3-numbers \ + python3-pydoc \ + python3-requests \ +"