Your message dated Sat, 14 Apr 2018 19:54:32 +0000
with message-id <e1f7rfo-000cax...@fasolo.debian.org>
and subject line Bug#886522: fixed in python-stdnum 1.9-1
has caused the Debian Bug report #886522,
regarding python-stdnum: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
886522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886522
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-stdnum
Version: 1.8.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that python-stdnum could not be built reproducibly as it relies
on a stable set ordering when generating the documentation.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2018-01-07 08:42:33.299550983 
+0000
@@ -0,0 +1,33 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2018-01-07
+
+--- python-stdnum-1.8.1.orig/stdnum/eu/vat.py
++++ python-stdnum-1.8.1/stdnum/eu/vat.py
+@@ -43,7 +43,7 @@ from stdnum.exceptions import *
+ from stdnum.util import clean, get_cc_module, get_soap_client
+ 
+ 
+-country_codes = set([
++_country_codes = set([
+     'at', 'be', 'bg', 'cy', 'cz', 'de', 'dk', 'ee', 'es', 'fi', 'fr', 'gb',
+     'gr', 'hr', 'hu', 'ie', 'it', 'lt', 'lu', 'lv', 'mt', 'nl', 'pl', 'pt',
+     'ro', 'se', 'si', 'sk',
+@@ -63,7 +63,7 @@ def _get_cc_module(cc):
+     cc = cc.lower()
+     if cc == 'el':
+         cc = 'gr'
+-    if cc not in country_codes:
++    if cc not in _country_codes:
+         return
+     if cc not in _country_modules:
+         _country_modules[cc] = get_cc_module(cc, 'vat')
+@@ -105,7 +105,7 @@ def guess_country(number):
+     for which it is valid. This returns lower case codes and returns gr (not
+     el) for Greece."""
+     return [cc
+-            for cc in country_codes
++            for cc in _country_codes
+             if _get_cc_module(cc).is_valid(number)]
+ 
+ 
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2018-01-07 08:36:37.193679324 +0000
@@ -0,0 +1 @@
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: python-stdnum
Source-Version: 1.9-1

We believe that the bug you reported is fixed in the latest version of
python-stdnum, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 886...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arthur de Jong <adej...@debian.org> (supplier of updated python-stdnum package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 14 Apr 2018 20:58:09 +0200
Source: python-stdnum
Binary: python-stdnum python3-stdnum python-stdnum-doc
Architecture: source all
Version: 1.9-1
Distribution: unstable
Urgency: medium
Maintainer: Arthur de Jong <adej...@debian.org>
Changed-By: Arthur de Jong <adej...@debian.org>
Description:
 python-stdnum - Python module to handle standardized numbers and codes
 python-stdnum-doc - Python module to handle standardized numbers and codes 
(Documenta
 python3-stdnum - Python module to handle standardized numbers and codes 
(Python3 v
Closes: 886522
Changes:
 python-stdnum (1.9-1) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
 .
   [ Arthur de Jong ]
   * New upstream release:
     - add modules for the following number formats:
       - Postleitzahl (Austrian postal code)
       - Abgabenkontonummer (Austrian tax identification number)
       - Belgian IBAN (International Bank Account Number)
       - Handelsregisternummer (German company register number)
       - St.-Nr. (Steuernummer, German tax number)
       - FIGI (Financial Instrument Global Identifier)
       - Montenegro IBAN (International Bank Account Number)
     - Have documentation rebuilt reproducibly (thanks Chris Lamb)
       (closes: #886522)
     - Allow configuring the SOAP request timeout
     - Support spaces in ISO 9362 (SWIFT) BIC codes
     - Add check_dgii() to stdnum.do.cedula module
     - Add validation for "individual" part of hetu (thanks Esa Halsti)
     - Support new style of Dominican Republic NCF numbers
     - Fix issue when using PySimpleSOAP for DGII lookups
     - Fix an issue in splitting certain IMSI values
     - Support building a universal wheel
     - Documentation and code style improvements
   * Update package description
   * Upgrade to standards-version 4.1.4 (no changes needed)
Checksums-Sha1:
 992f1f3f6f48767cfbb4112dc22aa3afcb4835d7 2287 python-stdnum_1.9-1.dsc
 fc9659bb5425ab521678e2ec1f5dc5c32afd795b 466861 python-stdnum_1.9.orig.tar.gz
 d4d484479e33a8b9fd7af507a6455a4e649b323b 82052 
python-stdnum_1.9-1.debian.tar.xz
 818e569a13ca41c228935ab4572baaea5e001dc4 164384 python-stdnum-doc_1.9-1_all.deb
 f638c3caeeea1ce48824f121581e162834a6b80c 223816 python-stdnum_1.9-1_all.deb
 1eb6b64f2e9fa9751b7a38a93a8b84e1ec666020 7930 
python-stdnum_1.9-1_amd64.buildinfo
 3990d7826dd4913ccfdcc0be6f13056eb5d45e93 223888 python3-stdnum_1.9-1_all.deb
Checksums-Sha256:
 ea836a4269cf1a7a1d28927a0b2d427470c5e50e439f98edada560c8222788bb 2287 
python-stdnum_1.9-1.dsc
 d587a520182f9d8aef7659cca429f4382881589c8883a0a55322b2f94970bdb3 466861 
python-stdnum_1.9.orig.tar.gz
 e2da7e06d85d20292e4ef4aee571fb58d5ca7aa05b9ff1c3e778f779286af104 82052 
python-stdnum_1.9-1.debian.tar.xz
 0e0dcc53b2d56c0433718131c47b6e5712e91aa16ef06899536a07ea1be78154 164384 
python-stdnum-doc_1.9-1_all.deb
 641d2c8bee49b35ac66c5bddb937a6e16159016f9fe1ce660c7fb57a037e9cbc 223816 
python-stdnum_1.9-1_all.deb
 2b67d09063708e041c44ffceb8fe563f67be252cb411e0a185312229bc021d96 7930 
python-stdnum_1.9-1_amd64.buildinfo
 b81aa36b2eeb50dfe6cd993f85c0c0821d6804ade37d2b8d4b944a27d3ae2462 223888 
python3-stdnum_1.9-1_all.deb
Files:
 10b88745da93f83dceefb0446247d9c3 2287 python optional python-stdnum_1.9-1.dsc
 09c29ef869ef2743305785ce58b6bfd0 466861 python optional 
python-stdnum_1.9.orig.tar.gz
 1d06806731849172fdf2eeba1b572abb 82052 python optional 
python-stdnum_1.9-1.debian.tar.xz
 21be8c32d4d37524744b57c97788e55f 164384 doc optional 
python-stdnum-doc_1.9-1_all.deb
 c3e410d4bd1d4ec523080bacd20a8156 223816 python optional 
python-stdnum_1.9-1_all.deb
 03aa1b2bff4a577c46fbdb11fccd402b 7930 python optional 
python-stdnum_1.9-1_amd64.buildinfo
 2a0ba16e71eed8f161bae0f50c81dc4c 223888 python optional 
python3-stdnum_1.9-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERS7Cy2XPaMKhrb9fKot0aBDgr8EFAlrSV7gACgkQKot0aBDg
r8E4zQ/8DoWmeeBmFOt32uljIbnQLKgTTjdMMz7c/x0uP82XzVH4tFhotgdFLFNF
DQ09y9Vc3JzaGumjF275FQNRdYieS39GiGxSNqG3jNTCi7pXt0eMHqtVvepNOSA2
2wLz4XYHXNSD5cCA6RfV8MXPPJTUF7zLKvkhR1Jb73dZQbcH9cf6+JkTKNJUeaUn
fdef2MCh5Merk7D9HKfzBAWhj+swpRlqHRv2d3Cbw6GVbsRu7H+QEsOyxg5H55fB
Vsl8WFDsnI9sFaVU33PN6+jb8aM+5xR/pzyWxBEGxZP3/e6YmPUGTAQEoypEJvds
s2GsFc2C7a986DWl6gQBrWpeCSGnXRag1lN0C3iPvq+Xw9Czj031fAcCFxUD+fvq
lebZxB00Dkfh15mMW0R5qIoUXPLnIs5Y09VxDURjv9CeDLyw+DMhW3cb5tZI1p1r
tlDa5qJSvyq/DpuMZgmJv/HvtrcyPJDdL6OQNlm29gezPZLy3ZH4QhroPW27qz7I
i7pZBzqjX7XwOzExbw8witQ1bTqrwrpRWbfnV6racR0USydQX6nr3goIesNcF4wj
/kHPfzQ/mOm+UWSR/RH7IJ4O+wbjTAqXPTmP0BhAUFiOGCXJY5lQsEdJc6oaJZyU
IusigSi0y16ZDzygsYjnkQ1lw7si2OttlknrKJ1prYih/cojhTE=
=D3pH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to