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.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f98770f7e532
branches:  trunk
changeset: 373553:f98770f7e532
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 04 20:44:09 2018 +0000

description:
py-stdnum: updated to 1.8

changes from 1.7 to 1.8
* add modules for the following number formats:
 - NCF (N?meros de Comprobante Fiscal, Dominican Republic receipt number)
 - Euro banknote serial numbers
 - CAS RN (Chemical Abstracts Service Registry Number)
 - Aadhaar (Indian digital resident personal identity number)
   (thanks Srikanth Lakshmanan)
 - PAN (Permanent Account Number, Indian income tax identifier)
   (thanks Srikanth Lakshmanan)
* add functions for using the Dominican Republic DGII web service to validate
  and search for RNC and NCF numbers
* add/update whitelists for Dominican Republic RNC and Cedula
* support zeep as preferred SOAP library (suds and pysimplesoap are tried
  as fallback)
* rename stdnum.iso9362 to stdnum.bic (iso9362 is deprecated but still
  available for compatibility)
* add tests for web services (not normally run to avoid unnecessary load)
* fixes and improvement to the sample online validation service

diffstat:

 misc/py-stdnum/Makefile               |   4 ++--
 misc/py-stdnum/PLIST                  |  23 ++++++++++++++++++++++-
 misc/py-stdnum/distinfo               |  11 ++++++-----
 misc/py-stdnum/patches/patch-setup.py |  23 +++++++++++++++++++++++
 4 files changed, 53 insertions(+), 8 deletions(-)

diffs (120 lines):

diff -r 8fc92de8e748 -r f98770f7e532 misc/py-stdnum/Makefile
--- a/misc/py-stdnum/Makefile   Thu Jan 04 20:40:36 2018 +0000
+++ b/misc/py-stdnum/Makefile   Thu Jan 04 20:44:09 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2017/10/04 13:25:43 adam Exp $
+# $NetBSD: Makefile,v 1.12 2018/01/04 20:44:09 adam Exp $
 
-DISTNAME=      python-stdnum-1.7
+DISTNAME=      python-stdnum-1.8
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-stdnum/}
diff -r 8fc92de8e748 -r f98770f7e532 misc/py-stdnum/PLIST
--- a/misc/py-stdnum/PLIST      Thu Jan 04 20:40:36 2018 +0000
+++ b/misc/py-stdnum/PLIST      Thu Jan 04 20:44:09 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/10/04 13:25:43 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/01/04 20:44:09 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -61,6 +61,9 @@
 ${PYSITELIB}/stdnum/bg/vat.py
 ${PYSITELIB}/stdnum/bg/vat.pyc
 ${PYSITELIB}/stdnum/bg/vat.pyo
+${PYSITELIB}/stdnum/bic.py
+${PYSITELIB}/stdnum/bic.pyc
+${PYSITELIB}/stdnum/bic.pyo
 ${PYSITELIB}/stdnum/br/__init__.py
 ${PYSITELIB}/stdnum/br/__init__.pyc
 ${PYSITELIB}/stdnum/br/__init__.pyo
@@ -79,6 +82,9 @@
 ${PYSITELIB}/stdnum/ca/sin.py
 ${PYSITELIB}/stdnum/ca/sin.pyc
 ${PYSITELIB}/stdnum/ca/sin.pyo
+${PYSITELIB}/stdnum/casrn.py
+${PYSITELIB}/stdnum/casrn.pyc
+${PYSITELIB}/stdnum/casrn.pyo
 ${PYSITELIB}/stdnum/ch/__init__.py
 ${PYSITELIB}/stdnum/ch/__init__.pyc
 ${PYSITELIB}/stdnum/ch/__init__.pyo
@@ -158,6 +164,9 @@
 ${PYSITELIB}/stdnum/do/cedula.py
 ${PYSITELIB}/stdnum/do/cedula.pyc
 ${PYSITELIB}/stdnum/do/cedula.pyo
+${PYSITELIB}/stdnum/do/ncf.py
+${PYSITELIB}/stdnum/do/ncf.pyc
+${PYSITELIB}/stdnum/do/ncf.pyo
 ${PYSITELIB}/stdnum/do/rnc.py
 ${PYSITELIB}/stdnum/do/rnc.pyc
 ${PYSITELIB}/stdnum/do/rnc.pyo
@@ -218,6 +227,9 @@
 ${PYSITELIB}/stdnum/eu/at_02.py
 ${PYSITELIB}/stdnum/eu/at_02.pyc
 ${PYSITELIB}/stdnum/eu/at_02.pyo
+${PYSITELIB}/stdnum/eu/banknote.py
+${PYSITELIB}/stdnum/eu/banknote.pyc
+${PYSITELIB}/stdnum/eu/banknote.pyo
 ${PYSITELIB}/stdnum/eu/eic.py
 ${PYSITELIB}/stdnum/eu/eic.pyc
 ${PYSITELIB}/stdnum/eu/eic.pyo
@@ -326,6 +338,15 @@
 ${PYSITELIB}/stdnum/imsi.py
 ${PYSITELIB}/stdnum/imsi.pyc
 ${PYSITELIB}/stdnum/imsi.pyo
+${PYSITELIB}/stdnum/in_/__init__.py
+${PYSITELIB}/stdnum/in_/__init__.pyc
+${PYSITELIB}/stdnum/in_/__init__.pyo
+${PYSITELIB}/stdnum/in_/aadhaar.py
+${PYSITELIB}/stdnum/in_/aadhaar.pyc
+${PYSITELIB}/stdnum/in_/aadhaar.pyo
+${PYSITELIB}/stdnum/in_/pan.py
+${PYSITELIB}/stdnum/in_/pan.pyc
+${PYSITELIB}/stdnum/in_/pan.pyo
 ${PYSITELIB}/stdnum/is_/__init__.py
 ${PYSITELIB}/stdnum/is_/__init__.pyc
 ${PYSITELIB}/stdnum/is_/__init__.pyo
diff -r 8fc92de8e748 -r f98770f7e532 misc/py-stdnum/distinfo
--- a/misc/py-stdnum/distinfo   Thu Jan 04 20:40:36 2018 +0000
+++ b/misc/py-stdnum/distinfo   Thu Jan 04 20:44:09 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/10/04 13:25:43 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/01/04 20:44:09 adam Exp $
 
-SHA1 (python-stdnum-1.7.tar.gz) = 5f70a40792f36f225c545ba80af3642280886f6f
-RMD160 (python-stdnum-1.7.tar.gz) = 6400d03a8aef6bb87ee87fdcadb720bdf59044e1
-SHA512 (python-stdnum-1.7.tar.gz) = 323f5e37087e95143eb59345c4ddb5fb1529a136c234c8e9c957cf9914984e758b256facbfbc5de379000b8939460ea25e8105428d67f7052a23676c334a002a
-Size (python-stdnum-1.7.tar.gz) = 411134 bytes
+SHA1 (python-stdnum-1.8.tar.gz) = c769b65d1de63fdc926277d7a98456a004dafe51
+RMD160 (python-stdnum-1.8.tar.gz) = 075b3baf1862d1dc7c8ed9fcbbdc290c9d2bdfc5
+SHA512 (python-stdnum-1.8.tar.gz) = af3ab7a035ff99dd719540246b148f13727799cc2728819c14ca6d7e25157bfc840f4696d74dbfafc956be6c5a33ea02f4028289193db5919c660c72b2a8e781
+Size (python-stdnum-1.8.tar.gz) = 421547 bytes
+SHA1 (patch-setup.py) = 2fdf51a8d5702f7dbb50afe1f7d2e2874124e955
diff -r 8fc92de8e748 -r f98770f7e532 misc/py-stdnum/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/py-stdnum/patches/patch-setup.py     Thu Jan 04 20:44:09 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2018/01/04 20:44:10 adam Exp $
+
+Read README file with UTF-8 enconding.
+
+--- setup.py.orig      2018-01-04 20:35:54.000000000 +0000
++++ setup.py
+@@ -21,6 +21,7 @@
+ 
+ """python-stdnum installation script."""
+ 
++import io
+ import os
+ import sys
+ from setuptools import setup, find_packages
+@@ -34,7 +35,7 @@ if 'sdist' in sys.argv:
+ 
+ base_dir = os.path.dirname(__file__)
+ 
+-with open(os.path.join(base_dir, 'README'), 'r') as fp:
++with io.open(os.path.join(base_dir, 'README'), 'r', encoding='utf-8') as fp:
+     long_description = fp.read()
+ 
+ setup(name='python-stdnum',



Home | Main Index | Thread Index | Old Index