From 203606fb2ad475cb0f7c4e09ff96cbe2c07615e2927fea9faf5d0f219381fcc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Mar 2020 11:31:59 +0000 Subject: [PATCH] Accepting request 786829 from home:pgajdos:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - version update to 1.13 * Add modules for the following number formats: - ESR, ISR, QR-reference (reference number on Swiss payment slips) (thanks Kurt Keller) - ID number (South African Identity Document number) * Add format function for ISO 11649 numbers (thanks Kurt Keller) * Add support for Python 3.8 (thanks Sergi Almacellas Abellana) * Clarify that the Italian Codice Fiscale can also be the IVA for companies (thanks Nicholas Fiorentini) * Support the new Dutch btw-identificatienummer (thanks Cas Vissers, Jeroen van Heiningen, Jerome Hanke, Nicolas Martinelli, Ronald Portier and Tim Muller) * Extend test for Argentinian CUIT to check first two digits * Add more country codes to ISIN (thanks nocluebutalotofit, Anwar Baroudi and alexbond73) * Add modules for the following number formats: - NRT (Número de Registre Tributari, Andorra tax number) (thanks Leandro Regueiro) - CPF (Cédula de Persona Física, Costa Rica physical person ID number) (thanks Leandro Regueiro) - CPJ (Cédula de Persona Jurídica, Costa Rica tax number) (thanks Leandro Regueiro) - CR (Cédula de Residencia, Costa Rica foreigners ID number) (thanks Leandro Regueiro) - NIT (Número de Identificación Tributaria, Guatemala tax number) (thanks Leandro Regueiro) - Identity Number (Mispar Zehut, מספר זהות, Israeli identity number) - CN (法人番号, hōjin bangō, Japanese Corporate Number) (thanks Alan Hettinger) - RRN (South Korean resident registration number) OBS-URL: https://build.opensuse.org/request/show/786829 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-stdnum?expand=0&rev=13 --- python-python-stdnum.changes | 63 ++++++++++++++++++++++++++++++++++++ python-python-stdnum.spec | 7 ++-- python-stdnum-1.11.tar.gz | 3 -- python-stdnum-1.13.tar.gz | 3 ++ 4 files changed, 70 insertions(+), 6 deletions(-) delete mode 100644 python-stdnum-1.11.tar.gz create mode 100644 python-stdnum-1.13.tar.gz diff --git a/python-python-stdnum.changes b/python-python-stdnum.changes index 9be3ef4..a66b6fe 100644 --- a/python-python-stdnum.changes +++ b/python-python-stdnum.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Fri Mar 20 11:04:16 UTC 2020 - pgajdos@suse.com + +- version update to 1.13 + * Add modules for the following number formats: + - ESR, ISR, QR-reference (reference number on Swiss payment slips) + (thanks Kurt Keller) + - ID number (South African Identity Document number) + * Add format function for ISO 11649 numbers (thanks Kurt Keller) + * Add support for Python 3.8 (thanks Sergi Almacellas Abellana) + * Clarify that the Italian Codice Fiscale can also be the IVA for companies + (thanks Nicholas Fiorentini) + * Support the new Dutch btw-identificatienummer (thanks Cas Vissers, + Jeroen van Heiningen, Jerome Hanke, Nicolas Martinelli, Ronald Portier and + Tim Muller) + * Extend test for Argentinian CUIT to check first two digits + * Add more country codes to ISIN (thanks nocluebutalotofit, Anwar Baroudi and + alexbond73) + * Add modules for the following number formats: + - NRT (Número de Registre Tributari, Andorra tax number) + (thanks Leandro Regueiro) + - CPF (Cédula de Persona Física, Costa Rica physical person ID number) + (thanks Leandro Regueiro) + - CPJ (Cédula de Persona Jurídica, Costa Rica tax number) + (thanks Leandro Regueiro) + - CR (Cédula de Residencia, Costa Rica foreigners ID number) + (thanks Leandro Regueiro) + - NIT (Número de Identificación Tributaria, Guatemala tax number) + (thanks Leandro Regueiro) + - Identity Number (Mispar Zehut, מספר זהות, Israeli identity number) + - CN (法人番号, hōjin bangō, Japanese Corporate Number) + (thanks Alan Hettinger) + - RRN (South Korean resident registration number) + (thanks Dimitri Papadopoulos) + - IRD number (New Zealand Inland Revenue Department (Te Tari Tāke) number) + (thanks Leandro Regueiro) + - CUI (Cédula Única de Identidad, Peruvian identity number) + - RUC (Registro Único de Contribuyentes, Peruvian company tax number) + - RUC number (Registro Único de Contribuyentes, Paraguay tax number) + (thanks Leandro Regueiro) + - VKN (Vergi Kimlik Numarası, Turkish tax identification number) + (thanks Leandro Regueiro) + - RUT (Registro Único Tributario, Uruguay tax number) + (Leandro Regueiro) + - RIF (Registro de Identificación Fiscal, Venezuelan VAT number) + (thanks Kevin Kaiser) + - TIN (South African Tax Identification Number) (thanks Leandro Regueiro) + * Support GTIN (EAN-14) validation as part of EAN + (thanks Sergi Almacellas Abellana) + * Support Dominican Republic e-CF within NCF (thanks Jeffry Jesus De La Rosa) + * Fix Dominican Republic DGII lookups of NCF (thanks Jeffry Jesus De La Rosa) + * Fix German Handelsregisternummer to not confuse Hamburg with Homburg and to + accept shorter numbers (thanks Kevin Kaiser) + * Support lookups of German Handelsregisternummer in OffeneRegister.de web + service + * Handle - and + sign correctly in Swedish Personnummer + (thanks Amin Solhizadeh) + * Provide various personalid and vat aliases for existing numbers + (thanks Andreas Häber) + * Improve descriptions of Spanish codes (thanks Gerard Dalmau) + * Fix handling and normalisation of various Unicode digit representations + (thanks Helge Munk Jacobsen) + ------------------------------------------------------------------- Fri Apr 12 14:00:38 UTC 2019 - pgajdos@suse.com diff --git a/python-python-stdnum.spec b/python-python-stdnum.spec index ad77b3e..acaa6e4 100644 --- a/python-python-stdnum.spec +++ b/python-python-stdnum.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-stdnum # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define modname python-stdnum %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{modname} -Version: 1.11 +Version: 1.13 Release: 0 Summary: Python module to handle standardized numbers and codes License: LGPL-2.0-or-later @@ -27,6 +27,7 @@ Group: Development/Languages/Python URL: http://arthurdejong.org/python-stdnum/ Source: https://files.pythonhosted.org/packages/source/p/python-stdnum/%{modname}-%{version}.tar.gz BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -54,7 +55,7 @@ parsing, validation, formatting or conversion functions. %check export LANG=en_US.UTF-8 -%python_exec -m nose +%pytest %files %{python_files} %license COPYING diff --git a/python-stdnum-1.11.tar.gz b/python-stdnum-1.11.tar.gz deleted file mode 100644 index 8e4b3e3..0000000 --- a/python-stdnum-1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5f0af1bee9ddd9a20b398b46ce062dbd4d41fcc9646940f2667256a44df3854 -size 835905 diff --git a/python-stdnum-1.13.tar.gz b/python-stdnum-1.13.tar.gz new file mode 100644 index 0000000..017fbae --- /dev/null +++ b/python-stdnum-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:120f83d33fb8b8be1b282f20dd755a892d5facf84f54fa21f75bbd2633128160 +size 893897