pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/py-stdnum py-stdnum: updated to 1.18
details: https://anonhg.NetBSD.org/pkgsrc/rev/18cbaf4fa8df
branches: trunk
changeset: 388453:18cbaf4fa8df
user: adam <adam%pkgsrc.org@localhost>
date: Sun Nov 20 19:15:43 2022 +0000
description:
py-stdnum: updated to 1.18
changes from 1.17 to 1.18
-------------------------
* Add modules for the following number formats:
- NN, NISS (Belgian national number) (thanks Cédric Krier)
- CFI (ISO 10962 Classification of Financial Instruments)
- Czech bank account number (thanks Petr Přikryl)
- NIF, sometimes N.I.F. (Numéro d'Identification Fiscale, Algeria tax number)
(thanks Leandro Regueiro)
- V-number (Vinnutal, Faroe Islands tax number) (thanks Leandro Regueiro)
- TIN (Taxpayer Identification Number, Ghana tax number) (thanks Leandro Regueiro)
- PIN (Personal Identification Number, Kenya tax number) (thanks Leandro Regueiro)
- ICE (Identifiant Commun de l’Entreprise, التعريف الموحد للمقاولة, Morocco tax number)
(thanks Leandro Regueiro)
- PIB (Poreski Identifikacioni Broj, Montenegro tax number) (thanks Leandro Regueiro)
- ЕДБ (Едниствен Даночен Број, North Macedonia tax number) (thanks Leandro Regueiro)
- CNIC number (Pakistani Computerised National Identity Card number)
(thanks Syed Haseeb Shah)
- Enotna matična številka občana (Unique Master Citizen Number)
(thanks Blaž Bregar)
- MF (Matricule Fiscal, Tunisia tax number) (thanks Leandro Regueiro)
* Fix disabling check digit validation of Mexican CURP (thanks guyskk)
* Support special validation of La Post SIRET (thanks BIGBen99 and Cédric Krier)
* Fix support for "I" and "O" in CUSIP number (thanks Thomas Kavanagh)
* Calculate ISO 7064 Mod 97, 10 check digits in the range 02-98 for IBAN
(thanks David Svenson)
* Fix German OffeneRegister lookups (change of URL and of data structure)
* Add extra court alias for Berlin in German Handelsregisternummer (thanks Romuald R)
* Ensure certificate for the Belarus VAT number check_nalog() lookup is included
* Support parsing incomplete dates in GS1-128 (thanks Alexis de Lattre)
* Improve validation of CAS Registry Number
* Typo fixes (thanks Vladimir and Dimitri Papadopoulos)
* Add a check_uid() function to the stdnum.ch.uid module
* All validation exceptions should now inherit from ValueError
* Switch from nose to pytest as test runner
diffstat:
misc/py-stdnum/Makefile | 9 ++---
misc/py-stdnum/PLIST | 68 ++++++++++++++++++++++++++++++++++++++++++++++++-
misc/py-stdnum/distinfo | 8 ++--
3 files changed, 75 insertions(+), 10 deletions(-)
diffs (210 lines):
diff -r f596b9f52648 -r 18cbaf4fa8df misc/py-stdnum/Makefile
--- a/misc/py-stdnum/Makefile Sun Nov 20 19:04:09 2022 +0000
+++ b/misc/py-stdnum/Makefile Sun Nov 20 19:15:43 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2022/01/04 20:54:19 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/11/20 19:15:43 adam Exp $
-DISTNAME= python-stdnum-1.17
+DISTNAME= python-stdnum-1.18
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
-PKGREVISION= 1
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-stdnum/}
@@ -11,11 +10,11 @@
COMMENT= Python module to handle standardized numbers and codes
LICENSE= gnu-lgpl-v3
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
-PYSETUPTESTTARGET= nosetests
+PYSETUPTESTTARGET= pytest
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f596b9f52648 -r 18cbaf4fa8df misc/py-stdnum/PLIST
--- a/misc/py-stdnum/PLIST Sun Nov 20 19:04:09 2022 +0000
+++ b/misc/py-stdnum/PLIST Sun Nov 20 19:15:43 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2021/11/07 14:43:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/11/20 19:15:43 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -70,6 +70,9 @@
${PYSITELIB}/stdnum/be/iban.py
${PYSITELIB}/stdnum/be/iban.pyc
${PYSITELIB}/stdnum/be/iban.pyo
+${PYSITELIB}/stdnum/be/nn.py
+${PYSITELIB}/stdnum/be/nn.pyc
+${PYSITELIB}/stdnum/be/nn.pyo
${PYSITELIB}/stdnum/be/vat.py
${PYSITELIB}/stdnum/be/vat.pyc
${PYSITELIB}/stdnum/be/vat.pyo
@@ -103,6 +106,7 @@
${PYSITELIB}/stdnum/by/__init__.py
${PYSITELIB}/stdnum/by/__init__.pyc
${PYSITELIB}/stdnum/by/__init__.pyo
+${PYSITELIB}/stdnum/by/portal.nalog.gov.by.crt
${PYSITELIB}/stdnum/by/unp.py
${PYSITELIB}/stdnum/by/unp.pyc
${PYSITELIB}/stdnum/by/unp.pyo
@@ -118,6 +122,10 @@
${PYSITELIB}/stdnum/casrn.py
${PYSITELIB}/stdnum/casrn.pyc
${PYSITELIB}/stdnum/casrn.pyo
+${PYSITELIB}/stdnum/cfi.dat
+${PYSITELIB}/stdnum/cfi.py
+${PYSITELIB}/stdnum/cfi.pyc
+${PYSITELIB}/stdnum/cfi.pyo
${PYSITELIB}/stdnum/ch/__init__.py
${PYSITELIB}/stdnum/ch/__init__.pyc
${PYSITELIB}/stdnum/ch/__init__.pyo
@@ -185,6 +193,10 @@
${PYSITELIB}/stdnum/cz/__init__.py
${PYSITELIB}/stdnum/cz/__init__.pyc
${PYSITELIB}/stdnum/cz/__init__.pyo
+${PYSITELIB}/stdnum/cz/bankaccount.py
+${PYSITELIB}/stdnum/cz/bankaccount.pyc
+${PYSITELIB}/stdnum/cz/bankaccount.pyo
+${PYSITELIB}/stdnum/cz/banks.dat
${PYSITELIB}/stdnum/cz/dic.py
${PYSITELIB}/stdnum/cz/dic.pyc
${PYSITELIB}/stdnum/cz/dic.pyo
@@ -233,6 +245,12 @@
${PYSITELIB}/stdnum/do/rnc.py
${PYSITELIB}/stdnum/do/rnc.pyc
${PYSITELIB}/stdnum/do/rnc.pyo
+${PYSITELIB}/stdnum/dz/__init__.py
+${PYSITELIB}/stdnum/dz/__init__.pyc
+${PYSITELIB}/stdnum/dz/__init__.pyo
+${PYSITELIB}/stdnum/dz/nif.py
+${PYSITELIB}/stdnum/dz/nif.pyc
+${PYSITELIB}/stdnum/dz/nif.pyo
${PYSITELIB}/stdnum/ean.py
${PYSITELIB}/stdnum/ean.pyc
${PYSITELIB}/stdnum/ean.pyo
@@ -327,6 +345,12 @@
${PYSITELIB}/stdnum/figi.py
${PYSITELIB}/stdnum/figi.pyc
${PYSITELIB}/stdnum/figi.pyo
+${PYSITELIB}/stdnum/fo/__init__.py
+${PYSITELIB}/stdnum/fo/__init__.pyc
+${PYSITELIB}/stdnum/fo/__init__.pyo
+${PYSITELIB}/stdnum/fo/vn.py
+${PYSITELIB}/stdnum/fo/vn.pyc
+${PYSITELIB}/stdnum/fo/vn.pyo
${PYSITELIB}/stdnum/fr/__init__.py
${PYSITELIB}/stdnum/fr/__init__.pyc
${PYSITELIB}/stdnum/fr/__init__.pyo
@@ -363,6 +387,12 @@
${PYSITELIB}/stdnum/gb/vat.py
${PYSITELIB}/stdnum/gb/vat.pyc
${PYSITELIB}/stdnum/gb/vat.pyo
+${PYSITELIB}/stdnum/gh/__init__.py
+${PYSITELIB}/stdnum/gh/__init__.pyc
+${PYSITELIB}/stdnum/gh/__init__.pyo
+${PYSITELIB}/stdnum/gh/tin.py
+${PYSITELIB}/stdnum/gh/tin.pyc
+${PYSITELIB}/stdnum/gh/tin.pyo
${PYSITELIB}/stdnum/gr/__init__.py
${PYSITELIB}/stdnum/gr/__init__.pyc
${PYSITELIB}/stdnum/gr/__init__.pyo
@@ -527,6 +557,12 @@
${PYSITELIB}/stdnum/jp/cn.py
${PYSITELIB}/stdnum/jp/cn.pyc
${PYSITELIB}/stdnum/jp/cn.pyo
+${PYSITELIB}/stdnum/ke/__init__.py
+${PYSITELIB}/stdnum/ke/__init__.pyc
+${PYSITELIB}/stdnum/ke/__init__.pyo
+${PYSITELIB}/stdnum/ke/pin.py
+${PYSITELIB}/stdnum/ke/pin.pyc
+${PYSITELIB}/stdnum/ke/pin.pyo
${PYSITELIB}/stdnum/kr/__init__.py
${PYSITELIB}/stdnum/kr/__init__.pyc
${PYSITELIB}/stdnum/kr/__init__.pyo
@@ -569,6 +605,12 @@
${PYSITELIB}/stdnum/lv/pvn.py
${PYSITELIB}/stdnum/lv/pvn.pyc
${PYSITELIB}/stdnum/lv/pvn.pyo
+${PYSITELIB}/stdnum/ma/__init__.py
+${PYSITELIB}/stdnum/ma/__init__.pyc
+${PYSITELIB}/stdnum/ma/__init__.pyo
+${PYSITELIB}/stdnum/ma/ice.py
+${PYSITELIB}/stdnum/ma/ice.pyc
+${PYSITELIB}/stdnum/ma/ice.pyo
${PYSITELIB}/stdnum/mac.py
${PYSITELIB}/stdnum/mac.pyc
${PYSITELIB}/stdnum/mac.pyo
@@ -590,9 +632,18 @@
${PYSITELIB}/stdnum/me/iban.py
${PYSITELIB}/stdnum/me/iban.pyc
${PYSITELIB}/stdnum/me/iban.pyo
+${PYSITELIB}/stdnum/me/pib.py
+${PYSITELIB}/stdnum/me/pib.pyc
+${PYSITELIB}/stdnum/me/pib.pyo
${PYSITELIB}/stdnum/meid.py
${PYSITELIB}/stdnum/meid.pyc
${PYSITELIB}/stdnum/meid.pyo
+${PYSITELIB}/stdnum/mk/__init__.py
+${PYSITELIB}/stdnum/mk/__init__.pyc
+${PYSITELIB}/stdnum/mk/__init__.pyo
+${PYSITELIB}/stdnum/mk/edb.py
+${PYSITELIB}/stdnum/mk/edb.pyc
+${PYSITELIB}/stdnum/mk/edb.pyo
${PYSITELIB}/stdnum/mt/__init__.py
${PYSITELIB}/stdnum/mt/__init__.pyc
${PYSITELIB}/stdnum/mt/__init__.pyo
@@ -680,6 +731,12 @@
${PYSITELIB}/stdnum/pe/ruc.py
${PYSITELIB}/stdnum/pe/ruc.pyc
${PYSITELIB}/stdnum/pe/ruc.pyo
+${PYSITELIB}/stdnum/pk/__init__.py
+${PYSITELIB}/stdnum/pk/__init__.pyc
+${PYSITELIB}/stdnum/pk/__init__.pyo
+${PYSITELIB}/stdnum/pk/cnic.py
+${PYSITELIB}/stdnum/pk/cnic.pyc
+${PYSITELIB}/stdnum/pk/cnic.pyo
${PYSITELIB}/stdnum/pl/__init__.py
${PYSITELIB}/stdnum/pl/__init__.pyc
${PYSITELIB}/stdnum/pl/__init__.pyo
@@ -761,6 +818,9 @@
${PYSITELIB}/stdnum/si/ddv.py
${PYSITELIB}/stdnum/si/ddv.pyc
${PYSITELIB}/stdnum/si/ddv.pyo
+${PYSITELIB}/stdnum/si/emso.py
+${PYSITELIB}/stdnum/si/emso.pyc
+${PYSITELIB}/stdnum/si/emso.pyo
${PYSITELIB}/stdnum/sk/__init__.py
${PYSITELIB}/stdnum/sk/__init__.pyc
${PYSITELIB}/stdnum/sk/__init__.pyo
@@ -794,6 +854,12 @@
${PYSITELIB}/stdnum/th/tin.py
${PYSITELIB}/stdnum/th/tin.pyc
${PYSITELIB}/stdnum/th/tin.pyo
+${PYSITELIB}/stdnum/tn/__init__.py
+${PYSITELIB}/stdnum/tn/__init__.pyc
+${PYSITELIB}/stdnum/tn/__init__.pyo
+${PYSITELIB}/stdnum/tn/mf.py
+${PYSITELIB}/stdnum/tn/mf.pyc
+${PYSITELIB}/stdnum/tn/mf.pyo
${PYSITELIB}/stdnum/tr/__init__.py
${PYSITELIB}/stdnum/tr/__init__.pyc
${PYSITELIB}/stdnum/tr/__init__.pyo
diff -r f596b9f52648 -r 18cbaf4fa8df misc/py-stdnum/distinfo
--- a/misc/py-stdnum/distinfo Sun Nov 20 19:04:09 2022 +0000
+++ b/misc/py-stdnum/distinfo Sun Nov 20 19:15:43 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/11/07 14:43:37 adam Exp $
+$NetBSD: distinfo,v 1.16 2022/11/20 19:15:43 adam Exp $
-BLAKE2s (python-stdnum-1.17.tar.gz) = 249f08c57d7f4db0d1814549f6125302ba91879ef9dc29a16490fbf98e82f4ee
-SHA512 (python-stdnum-1.17.tar.gz) = 9ddec525ea153e3066f205ee70602a59821e793f9ffde66a4b01511daf9a559a3a42082a99bddf69c1159a27b2d9e64d91f8a65ee283a2d7da473d766ce0e711
-Size (python-stdnum-1.17.tar.gz) = 1068804 bytes
+BLAKE2s (python-stdnum-1.18.tar.gz) = 3828e998dea0fda8faaf50b35f41f3b54508cb50072962ee18d91e1c01d50a89
+SHA512 (python-stdnum-1.18.tar.gz) = ca211fa3f7a0c0a913c5b0c6e32cb477025e203eb4c0a648e47bf95cb361d800d620dc4ebcb3007eefbb5595098486963ffee71ea2c37f84d86443d01131db7c
+Size (python-stdnum-1.18.tar.gz) = 1138676 bytes
Home |
Main Index |
Thread Index |
Old Index