[med-svn] [Git][med-team/patsy][master] 2 commits: d/p/print3.patch: Make doc/conf.py python3-compatible

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sun Sep 26 16:05:43 BST 2021



Nilesh Patra pushed to branch master at Debian Med / patsy


Commits:
a4e15382 by Nilesh Patra at 2021-09-26T20:34:30+05:30
d/p/print3.patch: Make doc/conf.py python3-compatible

- - - - -
517d19c0 by Nilesh Patra at 2021-09-26T20:35:31+05:30
Interim changelog entry

- - - - -


2 changed files:

- debian/changelog
- debian/patches/print3.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+patsy (0.5.2-2) UNRELEASED; urgency=medium
+
+  * d/p/print3.patch: Make doc/conf.py python3-compatible
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 26 Sep 2021 20:34:34 +0530
+
 patsy (0.5.2-1) unstable; urgency=medium
 
   * New upstream version 0.5.2


=====================================
debian/patches/print3.patch
=====================================
@@ -14,3 +14,54 @@ Forwarded: no
  
     In [90]: fig = plt.figure()
  
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -1,27 +1,27 @@
+ # -*- coding: utf-8 -*-
+ 
+ # General information about the project.
+-project = u'patsy'
+-copyright = u'2011-2015, Nathaniel J. Smith'
++project = 'patsy'
++copyright = '2011-2015, Nathaniel J. Smith'
+ 
+ import sys
+-print "python exec:", sys.executable
+-print "sys.path:", sys.path
++print("python exec:", sys.executable)
++print("sys.path:", sys.path)
+ try:
+     import numpy
+-    print "numpy: %s, %s" % (numpy.__version__, numpy.__file__)
++    print("numpy: %s, %s" % (numpy.__version__, numpy.__file__))
+ except ImportError:
+-    print "no numpy"
++    print("no numpy")
+ try:
+     import matplotlib
+-    print "matplotlib: %s, %s" % (matplotlib.__version__, matplotlib.__file__)
++    print("matplotlib: %s, %s" % (matplotlib.__version__, matplotlib.__file__))
+ except ImportError:
+-    print "no matplotlib"
++    print("no matplotlib")
+ try:
+     import IPython
+-    print "ipython: %s, %s" % (IPython.__version__, IPython.__file__)
++    print("ipython: %s, %s" % (IPython.__version__, IPython.__file__))
+ except ImportError:
+-    print "no ipython"
++    print("no ipython")
+ 
+ # The version info for the project you're documenting, acts as replacement for
+ # |version| and |release|, also used in various other places throughout the
+@@ -206,8 +206,8 @@
+ # Grouping the document tree into LaTeX files. List of tuples
+ # (source start file, target name, title, author, documentclass [howto/manual]).
+ latex_documents = [
+-  ('index', 'patsy.tex', u'patsy Documentation',
+-   u'Nathaniel J. Smith', 'manual'),
++  ('index', 'patsy.tex', 'patsy Documentation',
++   'Nathaniel J. Smith', 'manual'),
+ ]
+ 
+ # The name of an image file (relative to this directory) to place at the top of



View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/a0a683d248fdfde2da5e1722e49e58b04c7f2c80...517d19c0e9b84a38a1b74719f47686b9d8232ba0

-- 
View it on GitLab: https://salsa.debian.org/med-team/patsy/-/compare/a0a683d248fdfde2da5e1722e49e58b04c7f2c80...517d19c0e9b84a38a1b74719f47686b9d8232ba0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210926/263f7587/attachment-0001.htm>


More information about the debian-med-commit mailing list