pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/py-stdnum



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan  4 20:44:10 UTC 2018

Modified Files:
        pkgsrc/misc/py-stdnum: Makefile PLIST distinfo
Added Files:
        pkgsrc/misc/py-stdnum/patches: patch-setup.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/misc/py-stdnum/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/py-stdnum/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/py-stdnum/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/py-stdnum/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/py-stdnum/Makefile
diff -u pkgsrc/misc/py-stdnum/Makefile:1.11 pkgsrc/misc/py-stdnum/Makefile:1.12
--- pkgsrc/misc/py-stdnum/Makefile:1.11 Wed Oct  4 13:25:43 2017
+++ pkgsrc/misc/py-stdnum/Makefile      Thu Jan  4 20:44:09 2018
@@ -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/}

Index: pkgsrc/misc/py-stdnum/PLIST
diff -u pkgsrc/misc/py-stdnum/PLIST:1.3 pkgsrc/misc/py-stdnum/PLIST:1.4
--- pkgsrc/misc/py-stdnum/PLIST:1.3     Wed Oct  4 13:25:43 2017
+++ pkgsrc/misc/py-stdnum/PLIST Thu Jan  4 20:44:09 2018
@@ -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/pnf.pyo
 ${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/bn.pyo
 ${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/__init__.pyo
 ${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/__init__.pyo
 ${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.dat
 ${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

Index: pkgsrc/misc/py-stdnum/distinfo
diff -u pkgsrc/misc/py-stdnum/distinfo:1.4 pkgsrc/misc/py-stdnum/distinfo:1.5
--- pkgsrc/misc/py-stdnum/distinfo:1.4  Wed Oct  4 13:25:43 2017
+++ pkgsrc/misc/py-stdnum/distinfo      Thu Jan  4 20:44:09 2018
@@ -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

Added files:

Index: pkgsrc/misc/py-stdnum/patches/patch-setup.py
diff -u /dev/null pkgsrc/misc/py-stdnum/patches/patch-setup.py:1.1
--- /dev/null   Thu Jan  4 20:44:10 2018
+++ pkgsrc/misc/py-stdnum/patches/patch-setup.py        Thu Jan  4 20:44:10 2018
@@ -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