pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/py-stdnum update to py-stdnum-1.4
details: https://anonhg.NetBSD.org/pkgsrc/rev/496575fff78a
branches: trunk
changeset: 351300:496575fff78a
user: richard <richard%pkgsrc.org@localhost>
date: Thu Aug 18 17:00:38 2016 +0000
description:
update to py-stdnum-1.4
changed depency on py-suds to documented fallback py-simplesoap
in order to support py3.
changes from 1.3 to 1.4
-----------------------
* add modules for the following number formats:
- NIF (Num?ro d'Immatriculation Fiscale, French tax identification number)
provided by Dimitri Papadopoulos
- NIR (French personal identification number) provided by Dimitri
Papadopoulos
- SIRET (a French company establishment identification number) provided by
Yoann Aubineau
- NHS (United Kingdom National Health Service patient identifier)
- T.C. Kimlik No. (Turkish personal identification number)
* add an implementation of the Damm algorithm
* ensure data files are properly closed
* documentation improvements
* extend test suite
* a number of minor bug fixes and improvements
changes from 1.2 to 1.3
-----------------------
* fix ISO 6346 check digit calculation (thanks Ronald Paloschi)
* fix problem with check_vies_approx() (thanks Lionel Elie Mamane)
* fix problem with SOAP client when using suds
* include documentation that was previously on the Trac wiki
changes from 1.1 to 1.2
-----------------------
* add modules for the following number formats:
- Austrian Company Register Numbers
- CNPJ (Cadastro Nacional da Pessoa Jur?dica, Brazillian company identifier)
- UID (Unternehmens-Identifikationsnummer, Swiss business identifier)
- VAT, MWST, TVA, IVA, TPV (Mehrwertsteuernummer, the Swiss VAT number)
- CUSIP number (financial security identification number)
- Wertpapierkennnummer (German securities identification code)
- Isikukood (Estonian Personcal ID number)
- Finnish Association Identifier
- Y-tunnus (Finnish business identifier)
- SEDOL number (Stock Exchange Daily Official List number)
- IMO number (International Maritime Organization number)
- ISIN (International Securities Identification Number)
- RFC (Registro Federal de Contribuyentes, Mexican tax number)
- PESEL (Polish national identification number)
- REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
- ??? (????????????????? ????? ?????????????????, Russian tax identifier)
* add an alternate VIES check (check_vies_approx()) that includes a proof
(certificate) that the check was performed
* fall back to pysimplesoap if suds is unavailable
* test and code quality improvements
changes from 1.0 to 1.1
-----------------------
* add number formats based on the implementation in the vatnumber module:
- NIPT (Numri i Identifikimit p?r Personin e Tatuesh?m, Albanian VAT number)
- CUIT (C?digo ?nico de Identificaci?n Tributaria, Argentinian tax number)
- RUT (Rol ?nico Tributario, Chilean national tax number)
- NIT (N?mero De Identificaci?n Tributaria, Colombian identity code)
- COE (Codice operatore economico, San Marino national tax number)
* add modules for the following number formats:
- Cedula (Dominican Republic national identification number)
- RNC (Registro Nacional del Contribuyente, Dominican Republic tax number)
- Kennitala (Icelandic personal and organisation identity code, provided by
Tuomas Toivonen)
- VSK number (Vir?isaukaskattsn?mer, Icelandic VAT number, provided by
Tuomas Toivonen)
- ISO 9362 (Business identifier codes, provided by Tony Bajan)
- MVA (Merverdiavgift, Norwegian VAT number, provided by Tuomas Toivonen)
- Orgnr (Organisasjonsnummer, Norwegian organisation number, provided by
Tuomas Toivonen)
- Orgnr (Organisationsnummer, Swedish company number, provided by Tomas
Thor Jonsson)
* add Croatia to list of EU VAT numbers
* update getcnloc script
* various small fixes and additional tests for existing modules
diffstat:
misc/py-stdnum/Makefile | 8 +-
misc/py-stdnum/PLIST | 178 +++++++++++++++++++++++++++++++++++++++++++++++-
misc/py-stdnum/distinfo | 10 +-
3 files changed, 183 insertions(+), 13 deletions(-)
diffs (truncated from 376 to 300 lines):
diff -r 044361145a07 -r 496575fff78a misc/py-stdnum/Makefile
--- a/misc/py-stdnum/Makefile Thu Aug 18 15:58:04 2016 +0000
+++ b/misc/py-stdnum/Makefile Thu Aug 18 17:00:38 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2016/07/09 13:03:57 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2016/08/18 17:00:38 richard Exp $
-DISTNAME= python-stdnum-0.9
+DISTNAME= python-stdnum-1.4
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-stdnum/}
@@ -12,9 +12,7 @@
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-suds
-
-DEPENDS+= ${PYPKGPREFIX}-suds>=0.4:../../net/py-suds
+DEPENDS+= ${PYPKGPREFIX}-simplesoap-[0-9]*:../../net/py-simplesoap
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 044361145a07 -r 496575fff78a misc/py-stdnum/PLIST
--- a/misc/py-stdnum/PLIST Thu Aug 18 15:58:04 2016 +0000
+++ b/misc/py-stdnum/PLIST Thu Aug 18 17:00:38 2016 +0000
@@ -1,15 +1,30 @@
-@comment $NetBSD: PLIST,v 1.1 2014/03/31 08:42:47 richard Exp $
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+@comment $NetBSD: PLIST,v 1.2 2016/08/18 17:00:38 richard Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/stdnum/__init__.py
${PYSITELIB}/stdnum/__init__.pyc
${PYSITELIB}/stdnum/__init__.pyo
+${PYSITELIB}/stdnum/al/__init__.py
+${PYSITELIB}/stdnum/al/__init__.pyc
+${PYSITELIB}/stdnum/al/__init__.pyo
+${PYSITELIB}/stdnum/al/nipt.py
+${PYSITELIB}/stdnum/al/nipt.pyc
+${PYSITELIB}/stdnum/al/nipt.pyo
+${PYSITELIB}/stdnum/ar/__init__.py
+${PYSITELIB}/stdnum/ar/__init__.pyc
+${PYSITELIB}/stdnum/ar/__init__.pyo
+${PYSITELIB}/stdnum/ar/cuit.py
+${PYSITELIB}/stdnum/ar/cuit.pyc
+${PYSITELIB}/stdnum/ar/cuit.pyo
${PYSITELIB}/stdnum/at/__init__.py
${PYSITELIB}/stdnum/at/__init__.pyc
${PYSITELIB}/stdnum/at/__init__.pyo
+${PYSITELIB}/stdnum/at/businessid.py
+${PYSITELIB}/stdnum/at/businessid.pyc
+${PYSITELIB}/stdnum/at/businessid.pyo
${PYSITELIB}/stdnum/at/uid.py
${PYSITELIB}/stdnum/at/uid.pyc
${PYSITELIB}/stdnum/at/uid.pyo
@@ -34,9 +49,46 @@
${PYSITELIB}/stdnum/br/__init__.py
${PYSITELIB}/stdnum/br/__init__.pyc
${PYSITELIB}/stdnum/br/__init__.pyo
+${PYSITELIB}/stdnum/br/cnpj.py
+${PYSITELIB}/stdnum/br/cnpj.pyc
+${PYSITELIB}/stdnum/br/cnpj.pyo
${PYSITELIB}/stdnum/br/cpf.py
${PYSITELIB}/stdnum/br/cpf.pyc
${PYSITELIB}/stdnum/br/cpf.pyo
+${PYSITELIB}/stdnum/ch/__init__.py
+${PYSITELIB}/stdnum/ch/__init__.pyc
+${PYSITELIB}/stdnum/ch/__init__.pyo
+${PYSITELIB}/stdnum/ch/ssn.py
+${PYSITELIB}/stdnum/ch/ssn.pyc
+${PYSITELIB}/stdnum/ch/ssn.pyo
+${PYSITELIB}/stdnum/ch/uid.py
+${PYSITELIB}/stdnum/ch/uid.pyc
+${PYSITELIB}/stdnum/ch/uid.pyo
+${PYSITELIB}/stdnum/ch/vat.py
+${PYSITELIB}/stdnum/ch/vat.pyc
+${PYSITELIB}/stdnum/ch/vat.pyo
+${PYSITELIB}/stdnum/cl/__init__.py
+${PYSITELIB}/stdnum/cl/__init__.pyc
+${PYSITELIB}/stdnum/cl/__init__.pyo
+${PYSITELIB}/stdnum/cl/rut.py
+${PYSITELIB}/stdnum/cl/rut.pyc
+${PYSITELIB}/stdnum/cl/rut.pyo
+${PYSITELIB}/stdnum/cn/__init__.py
+${PYSITELIB}/stdnum/cn/__init__.pyc
+${PYSITELIB}/stdnum/cn/__init__.pyo
+${PYSITELIB}/stdnum/cn/loc.dat
+${PYSITELIB}/stdnum/cn/ric.py
+${PYSITELIB}/stdnum/cn/ric.pyc
+${PYSITELIB}/stdnum/cn/ric.pyo
+${PYSITELIB}/stdnum/co/__init__.py
+${PYSITELIB}/stdnum/co/__init__.pyc
+${PYSITELIB}/stdnum/co/__init__.pyo
+${PYSITELIB}/stdnum/co/nit.py
+${PYSITELIB}/stdnum/co/nit.pyc
+${PYSITELIB}/stdnum/co/nit.pyo
+${PYSITELIB}/stdnum/cusip.py
+${PYSITELIB}/stdnum/cusip.pyc
+${PYSITELIB}/stdnum/cusip.pyo
${PYSITELIB}/stdnum/cy/__init__.py
${PYSITELIB}/stdnum/cy/__init__.pyc
${PYSITELIB}/stdnum/cy/__init__.pyo
@@ -52,12 +104,18 @@
${PYSITELIB}/stdnum/cz/rc.py
${PYSITELIB}/stdnum/cz/rc.pyc
${PYSITELIB}/stdnum/cz/rc.pyo
+${PYSITELIB}/stdnum/damm.py
+${PYSITELIB}/stdnum/damm.pyc
+${PYSITELIB}/stdnum/damm.pyo
${PYSITELIB}/stdnum/de/__init__.py
${PYSITELIB}/stdnum/de/__init__.pyc
${PYSITELIB}/stdnum/de/__init__.pyo
${PYSITELIB}/stdnum/de/vat.py
${PYSITELIB}/stdnum/de/vat.pyc
${PYSITELIB}/stdnum/de/vat.pyo
+${PYSITELIB}/stdnum/de/wkn.py
+${PYSITELIB}/stdnum/de/wkn.pyc
+${PYSITELIB}/stdnum/de/wkn.pyo
${PYSITELIB}/stdnum/dk/__init__.py
${PYSITELIB}/stdnum/dk/__init__.pyc
${PYSITELIB}/stdnum/dk/__init__.pyo
@@ -67,12 +125,33 @@
${PYSITELIB}/stdnum/dk/cvr.py
${PYSITELIB}/stdnum/dk/cvr.pyc
${PYSITELIB}/stdnum/dk/cvr.pyo
+${PYSITELIB}/stdnum/do/__init__.py
+${PYSITELIB}/stdnum/do/__init__.pyc
+${PYSITELIB}/stdnum/do/__init__.pyo
+${PYSITELIB}/stdnum/do/cedula.py
+${PYSITELIB}/stdnum/do/cedula.pyc
+${PYSITELIB}/stdnum/do/cedula.pyo
+${PYSITELIB}/stdnum/do/rnc.py
+${PYSITELIB}/stdnum/do/rnc.pyc
+${PYSITELIB}/stdnum/do/rnc.pyo
${PYSITELIB}/stdnum/ean.py
${PYSITELIB}/stdnum/ean.pyc
${PYSITELIB}/stdnum/ean.pyo
+${PYSITELIB}/stdnum/ec/__init__.py
+${PYSITELIB}/stdnum/ec/__init__.pyc
+${PYSITELIB}/stdnum/ec/__init__.pyo
+${PYSITELIB}/stdnum/ec/ci.py
+${PYSITELIB}/stdnum/ec/ci.pyc
+${PYSITELIB}/stdnum/ec/ci.pyo
+${PYSITELIB}/stdnum/ec/ruc.py
+${PYSITELIB}/stdnum/ec/ruc.pyc
+${PYSITELIB}/stdnum/ec/ruc.pyo
${PYSITELIB}/stdnum/ee/__init__.py
${PYSITELIB}/stdnum/ee/__init__.pyc
${PYSITELIB}/stdnum/ee/__init__.pyo
+${PYSITELIB}/stdnum/ee/ik.py
+${PYSITELIB}/stdnum/ee/ik.pyc
+${PYSITELIB}/stdnum/ee/ik.pyo
${PYSITELIB}/stdnum/ee/kmkr.py
${PYSITELIB}/stdnum/ee/kmkr.pyc
${PYSITELIB}/stdnum/ee/kmkr.pyo
@@ -94,6 +173,9 @@
${PYSITELIB}/stdnum/eu/__init__.py
${PYSITELIB}/stdnum/eu/__init__.pyc
${PYSITELIB}/stdnum/eu/__init__.pyo
+${PYSITELIB}/stdnum/eu/at_02.py
+${PYSITELIB}/stdnum/eu/at_02.pyc
+${PYSITELIB}/stdnum/eu/at_02.pyo
${PYSITELIB}/stdnum/eu/vat.py
${PYSITELIB}/stdnum/eu/vat.pyc
${PYSITELIB}/stdnum/eu/vat.pyo
@@ -106,21 +188,42 @@
${PYSITELIB}/stdnum/fi/alv.py
${PYSITELIB}/stdnum/fi/alv.pyc
${PYSITELIB}/stdnum/fi/alv.pyo
+${PYSITELIB}/stdnum/fi/associationid.py
+${PYSITELIB}/stdnum/fi/associationid.pyc
+${PYSITELIB}/stdnum/fi/associationid.pyo
${PYSITELIB}/stdnum/fi/hetu.py
${PYSITELIB}/stdnum/fi/hetu.pyc
${PYSITELIB}/stdnum/fi/hetu.pyo
+${PYSITELIB}/stdnum/fi/ytunnus.py
+${PYSITELIB}/stdnum/fi/ytunnus.pyc
+${PYSITELIB}/stdnum/fi/ytunnus.pyo
${PYSITELIB}/stdnum/fr/__init__.py
${PYSITELIB}/stdnum/fr/__init__.pyc
${PYSITELIB}/stdnum/fr/__init__.pyo
+${PYSITELIB}/stdnum/fr/nif.py
+${PYSITELIB}/stdnum/fr/nif.pyc
+${PYSITELIB}/stdnum/fr/nif.pyo
+${PYSITELIB}/stdnum/fr/nir.py
+${PYSITELIB}/stdnum/fr/nir.pyc
+${PYSITELIB}/stdnum/fr/nir.pyo
${PYSITELIB}/stdnum/fr/siren.py
${PYSITELIB}/stdnum/fr/siren.pyc
${PYSITELIB}/stdnum/fr/siren.pyo
+${PYSITELIB}/stdnum/fr/siret.py
+${PYSITELIB}/stdnum/fr/siret.pyc
+${PYSITELIB}/stdnum/fr/siret.pyo
${PYSITELIB}/stdnum/fr/tva.py
${PYSITELIB}/stdnum/fr/tva.pyc
${PYSITELIB}/stdnum/fr/tva.pyo
${PYSITELIB}/stdnum/gb/__init__.py
${PYSITELIB}/stdnum/gb/__init__.pyc
${PYSITELIB}/stdnum/gb/__init__.pyo
+${PYSITELIB}/stdnum/gb/nhs.py
+${PYSITELIB}/stdnum/gb/nhs.pyc
+${PYSITELIB}/stdnum/gb/nhs.pyo
+${PYSITELIB}/stdnum/gb/sedol.py
+${PYSITELIB}/stdnum/gb/sedol.pyc
+${PYSITELIB}/stdnum/gb/sedol.pyo
${PYSITELIB}/stdnum/gb/vat.py
${PYSITELIB}/stdnum/gb/vat.pyc
${PYSITELIB}/stdnum/gb/vat.pyo
@@ -161,10 +264,22 @@
${PYSITELIB}/stdnum/imei.py
${PYSITELIB}/stdnum/imei.pyc
${PYSITELIB}/stdnum/imei.pyo
+${PYSITELIB}/stdnum/imo.py
+${PYSITELIB}/stdnum/imo.pyc
+${PYSITELIB}/stdnum/imo.pyo
${PYSITELIB}/stdnum/imsi.dat
${PYSITELIB}/stdnum/imsi.py
${PYSITELIB}/stdnum/imsi.pyc
${PYSITELIB}/stdnum/imsi.pyo
+${PYSITELIB}/stdnum/is_/__init__.py
+${PYSITELIB}/stdnum/is_/__init__.pyc
+${PYSITELIB}/stdnum/is_/__init__.pyo
+${PYSITELIB}/stdnum/is_/kennitala.py
+${PYSITELIB}/stdnum/is_/kennitala.pyc
+${PYSITELIB}/stdnum/is_/kennitala.pyo
+${PYSITELIB}/stdnum/is_/vsk.py
+${PYSITELIB}/stdnum/is_/vsk.pyc
+${PYSITELIB}/stdnum/is_/vsk.pyo
${PYSITELIB}/stdnum/isan.py
${PYSITELIB}/stdnum/isan.pyc
${PYSITELIB}/stdnum/isan.pyo
@@ -176,9 +291,15 @@
${PYSITELIB}/stdnum/isil.py
${PYSITELIB}/stdnum/isil.pyc
${PYSITELIB}/stdnum/isil.pyo
+${PYSITELIB}/stdnum/isin.py
+${PYSITELIB}/stdnum/isin.pyc
+${PYSITELIB}/stdnum/isin.pyo
${PYSITELIB}/stdnum/ismn.py
${PYSITELIB}/stdnum/ismn.pyc
${PYSITELIB}/stdnum/ismn.pyo
+${PYSITELIB}/stdnum/iso6346.py
+${PYSITELIB}/stdnum/iso6346.pyc
+${PYSITELIB}/stdnum/iso6346.pyo
${PYSITELIB}/stdnum/iso7064/__init__.py
${PYSITELIB}/stdnum/iso7064/__init__.pyc
${PYSITELIB}/stdnum/iso7064/__init__.pyo
@@ -197,12 +318,18 @@
${PYSITELIB}/stdnum/iso7064/mod_97_10.py
${PYSITELIB}/stdnum/iso7064/mod_97_10.pyc
${PYSITELIB}/stdnum/iso7064/mod_97_10.pyo
+${PYSITELIB}/stdnum/iso9362.py
+${PYSITELIB}/stdnum/iso9362.pyc
+${PYSITELIB}/stdnum/iso9362.pyo
${PYSITELIB}/stdnum/issn.py
${PYSITELIB}/stdnum/issn.pyc
${PYSITELIB}/stdnum/issn.pyo
${PYSITELIB}/stdnum/it/__init__.py
${PYSITELIB}/stdnum/it/__init__.pyc
${PYSITELIB}/stdnum/it/__init__.pyo
+${PYSITELIB}/stdnum/it/codicefiscale.py
+${PYSITELIB}/stdnum/it/codicefiscale.pyc
+${PYSITELIB}/stdnum/it/codicefiscale.pyo
${PYSITELIB}/stdnum/it/iva.py
${PYSITELIB}/stdnum/it/iva.pyc
${PYSITELIB}/stdnum/it/iva.pyo
@@ -236,6 +363,12 @@
${PYSITELIB}/stdnum/mt/vat.py
${PYSITELIB}/stdnum/mt/vat.pyc
${PYSITELIB}/stdnum/mt/vat.pyo
+${PYSITELIB}/stdnum/mx/__init__.py
+${PYSITELIB}/stdnum/mx/__init__.pyc
+${PYSITELIB}/stdnum/mx/__init__.pyo
+${PYSITELIB}/stdnum/mx/rfc.py
+${PYSITELIB}/stdnum/mx/rfc.pyc
+${PYSITELIB}/stdnum/mx/rfc.pyo
${PYSITELIB}/stdnum/my/__init__.py
${PYSITELIB}/stdnum/my/__init__.pyc
${PYSITELIB}/stdnum/my/__init__.pyo
@@ -261,6 +394,15 @@
${PYSITELIB}/stdnum/nl/postcode.py
${PYSITELIB}/stdnum/nl/postcode.pyc
${PYSITELIB}/stdnum/nl/postcode.pyo
+${PYSITELIB}/stdnum/no/__init__.py
+${PYSITELIB}/stdnum/no/__init__.pyc
+${PYSITELIB}/stdnum/no/__init__.pyo
+${PYSITELIB}/stdnum/no/mva.py
+${PYSITELIB}/stdnum/no/mva.pyc
+${PYSITELIB}/stdnum/no/mva.pyo
+${PYSITELIB}/stdnum/no/orgnr.py
+${PYSITELIB}/stdnum/no/orgnr.pyc
+${PYSITELIB}/stdnum/no/orgnr.pyo
${PYSITELIB}/stdnum/numdb.py
${PYSITELIB}/stdnum/numdb.pyc
${PYSITELIB}/stdnum/numdb.pyo
Home |
Main Index |
Thread Index |
Old Index