Your message dated Tue, 14 Oct 2025 17:05:03 +0000
with message-id <[email protected]>
and subject line Bug#790235: fixed in basemap 1.4.1-2
has caused the Debian Bug report #790235,
regarding basemap: [PATCH] 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 [email protected]
immediately.)


-- 
790235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: basemap
Version: 1.0.7+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that basemap could not be built reproducibly.

The attached patches removes extra timestamps from the build system.
Once applied, basemap can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp basemap-1.0.7+dfsg.old/debian/rules basemap-1.0.7+dfsg/debian/rules
--- basemap-1.0.7+dfsg.old/debian/rules	2012-08-10 18:36:52.000000000 -0300
+++ basemap-1.0.7+dfsg/debian/rules	2015-06-27 13:27:18.548667416 -0300
@@ -3,6 +3,11 @@
 PYVERS := $(shell pyversions -s)
 LIB := $$(python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib")
 
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+BUILD_DATE  = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+SPHINXOPTS := -D html_last_updated_fmt=\"$(BUILD_DATE)\"
+SPHINXOPTS += -D today=\"$(BUILD_DATE)\"
+
 %:
 	dh $@ --with sphinxdoc
 
@@ -29,7 +34,7 @@ build-indep:
 	# mpl_toolkits namespace
 	ln -s $$(dirname $$(python -c "import mpl_toolkits.axes_grid1 as p; print p.__file__")) $(CURDIR)/$(LIB)/mpl_toolkits/
 	# build doc only for default python version
-	(export MPLCONFIGDIR=. ; cd doc ; PYTHONPATH=$(CURDIR)/$(LIB) BASEMAPDATA=$(CURDIR)/lib/mpl_toolkits/basemap/data/ python make.py html)
+	(export MPLCONFIGDIR=. ; cd doc ; PYTHONPATH=$(CURDIR)/$(LIB) BASEMAPDATA=$(CURDIR)/lib/mpl_toolkits/basemap/data/ python make.py --sphinxopts="$(SPHINXOPTS)" html)
 	# remove hack
 	rm $(CURDIR)/$(LIB)/mpl_toolkits/axes_grid1
 
Description: Modify doc/make.py to add sphinxopts options.
 Allow pass the value of sphinxopts command line option to sphinx-build.
Author: Juan Picca <[email protected]>
Last-Update: 2015-06-27
---
--- a/doc/make.py
+++ b/doc/make.py
@@ -5,13 +5,13 @@ import os
 import shutil
 import sys
 
-def html():
-    os.system('sphinx-build -b html -d build/doctrees . build/html')
+def html(opts):
+    os.system('sphinx-build %s -b html -d build/doctrees . build/html' % opts.get('sphinxopts', ''))
 
-def latex():
+def latex(opts):
     if sys.platform != 'win32':
         # LaTeX format.
-        os.system('sphinx-build -b latex -d build/doctrees . build/latex')
+        os.system('sphinx-build %s -b latex -d build/doctrees . build/latex' % opts.get('sphinxopts', ''))
 
         # Produce pdf.
         os.chdir('build/latex')
@@ -27,12 +27,12 @@ def latex():
     else:
         print 'latex build has not been tested on windows'
 
-def clean():
+def clean(opts):
     shutil.rmtree('build')
 
-def all():
-    html()
-    latex()
+def all(opts):
+    html(opts)
+    latex(opts)
 
 
 funcd = {
@@ -44,11 +44,16 @@ funcd = {
 
 
 if len(sys.argv)>1:
+    opts = {}
     for arg in sys.argv[1:]:
+        if arg.startswith('--sphinxopts='):
+            opts['sphinxopts'] = arg.replace('--sphinxopts=', '')
+            continue
+
         func = funcd.get(arg)
         if func is None:
             raise SystemExit('Do not know how to handle %s; valid args are'%(
                     arg, funcd.keys()))
-        func()
+        func(opts)
 else:
-    all()
+    all({})

--- End Message ---
--- Begin Message ---
Source: basemap
Source-Version: 1.4.1-2
Done: Michael R. Crusoe <[email protected]>

We believe that the bug you reported is fixed in the latest version of
basemap, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael R. Crusoe <[email protected]> (supplier of updated basemap 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 14 Oct 2025 15:44:14 +0200
Source: basemap
Architecture: source
Version: 1.4.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael R. Crusoe <[email protected]>
Closes: 790235 1110711
Changes:
 basemap (1.4.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Apply patch from Sebastiaan Couwenberg to fix autopkgtest failure
     with pyshp 3.0.0. Closes: #1110711
   * d/control: add missing build-dep on python3-numpy-dev
   * Tidy up Lintian overrides
   * d/rules: tidy up overrides
   * Added patch and build-depends to link to related documentation.
   * d/patches: fix metadata & remove unused patches
   * d/upstream/metadata: add the Repository
   * Explicitly turn on Salsa CI.
   * Added patch to insert missing "#!" sequence that marks interpreted
     scripts.
   * Standards-Version: 4.7.2 (routine-update)
   * Use secure URI in Homepage field.
   * d/copyright: project has moved from SourceForge to GitHub
   * Adjust reproducible docs patch to set the locale. Closes: #790235
Checksums-Sha1:
 927d78ebea1360362801217dbe06b39a4e368782 2641 basemap_1.4.1-2.dsc
 1340dd704ed0f02069cadfd861d29b1a6ad282ec 27872 basemap_1.4.1-2.debian.tar.xz
 f6ecd493162d696ea700fc997ac03f71959d1c6a 11615 basemap_1.4.1-2_source.buildinfo
Checksums-Sha256:
 7da7cf5b850bdf02019ddaadb34bce3ebbc45257e0b24bda0fa7f881824fe59d 2641 
basemap_1.4.1-2.dsc
 a934dbbc8a0ec2a4662f627cbb414ab9e1f4b2f0abb2db9dbbb9128bda3b039b 27872 
basemap_1.4.1-2.debian.tar.xz
 22718a0249c9bc078b15d2ef0e2df2250faa64ef0a5bbf7624f5c094776e7ebe 11615 
basemap_1.4.1-2_source.buildinfo
Files:
 b6d28baa52c3026db72265cfd83e7f29 2641 python optional basemap_1.4.1-2.dsc
 73e15f3d775520605a036e4ab1520734 27872 python optional 
basemap_1.4.1-2.debian.tar.xz
 b728750c2401b4b819e352a0f3e79435 11615 python optional 
basemap_1.4.1-2_source.buildinfo

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

iQJGBAEBCgAwFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmjufugSHGNydXNvZUBk
ZWJpYW4ub3JnAAoJEDwmdj9sZ+biTcwP/32Z3qpTvSp3xE6F4nxsTGoku3T/HVi3
q8MZw1DobOqAI4UIPwSQRrzF1Ap03rXItRz8OXRyzOarjGFN2y0u7K6ifHwAmOTl
Cu/phwrPBFiP74h8FgT/lvOMoBiF/wi+D/F7DeCgkss+LLuDuQ6kmIBi+WSAbOHF
ltDQxcOkmDBtvlGKiQwAnx8zp2AAfdaWjRqNXXl0g/kqLWM2RG3D5bOFT4HDEU9r
39nrjF52eFW35BPBsSBbaOH+5kvN+1kaw72bs861H1Yg0PWUwRdj0L3swG/H7j/I
PnWxOzT6vhwTzZPJVcGuu5rtJHzttUuuSDH5MhtR7/UDHVT4kVX968LoVdCL/T7r
rEsMQpNXeeWK6OYSzWkYboRhsxwJDHPwicHA7KIaro2Y1MvdRqWWG3dau4FHiR6C
S2rB7C3QqLUqjHFnstg7TwygMlY/TTfmlNn6jpjvWXL+XR3VY1E/jZ5ssNZkal7J
URSJKR9XDm651ifgh3UX1Q0Zsb1oKsEyn7Jub4DjTmxIOyxMrIScZm+phymqSRk8
j1JdbFKvhrwang155dervB9iDEMAf4B9qKc8Jk8kyBsiRDL6i2MYZNIAfcoj3vI6
U/0iJSlT9jgK3NIyrcZAmBmb0GNmmOypBCPewbeWJncy10WH7KGzgYvU2Vwlsr+Q
9OxP8pIYGxKf
=jG22
-----END PGP SIGNATURE-----

Attachment: pgpj8YnzF1GAV.pgp
Description: PGP signature


--- End Message ---

Reply via email to