File: reportlab-version.diff

package info (click to toggle)
python-reportlab 4.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,708 kB
  • sloc: python: 99,020; xml: 1,494; makefile: 143; sh: 12
file content (17 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: python-reportlab/docs/source/conf.py
===================================================================
--- python-reportlab.orig/docs/source/conf.py
+++ python-reportlab/docs/source/conf.py
@@ -45,9 +45,10 @@ copyright = '2010, Robinson, Becker, Wat
 # built documents.
 #
 # The short X.Y version.
-version = '2.4'
+from reportlab import Version
+version = '.'.join(Version.split('.')[:2])
 # The full version, including alpha/beta/rc tags.
-release = '2.4'
+release = Version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.