diff --git a/.gitignore b/.gitignore index a2bcd6a..0018f96 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ Python-2.7.tar.bz2 /Python-2.7.11.tar.xz /Python-2.7.12.tar.xz /Python-2.7.13.tar.xz +/Python-2.7.14.tar.xz diff --git a/python-2.7-texinfobuilder.patch b/python-2.7-texinfobuilder.patch index 32b8c63..6ea931e 100644 --- a/python-2.7-texinfobuilder.patch +++ b/python-2.7-texinfobuilder.patch @@ -1,8 +1,10 @@ ---- Python-2.7.12/Doc/conf.py~ 2016-06-25 16:49:30.000000000 -0500 -+++ Python-2.7.12/Doc/conf.py 2016-07-20 13:40:03.438295455 -0500 -@@ -135,6 +135,17 @@ - # Get LaTeX to handle Unicode correctly - latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''} +diff --git a/Doc/conf.py b/Doc/conf.py +index 14bb641..a8990a9 100644 +--- a/Doc/conf.py ++++ b/Doc/conf.py +@@ -135,6 +135,18 @@ latex_documents.extend(('howto/' + fn[:-4], 'howto-' + fn[:-4] + '.tex', + # Documents to append as an appendix to all manuals. + latex_appendices = ['glossary', 'about', 'license', 'copyright'] +# Options for Texinfo output +# -------------------------- @@ -15,6 +17,7 @@ +texinfo_show_urls = [ + 'footnote', +] - ++ # Options for Epub output # ----------------------- + diff --git a/python-2.7-texinfomakefile.patch b/python-2.7-texinfomakefile.patch index c99d4c9..53b9d1a 100644 --- a/python-2.7-texinfomakefile.patch +++ b/python-2.7-texinfomakefile.patch @@ -1,7 +1,9 @@ ---- Python-2.7.5/Doc/Makefile.orig 2013-09-28 16:15:03.713207958 +0200 -+++ Python-2.7.5/Doc/Makefile 2013-09-28 16:18:04.634997824 +0200 -@@ -14,7 +14,7 @@ - ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \ +diff --git a/Doc/Makefile b/Doc/Makefile +index ebabc02..8a396a2 100644 +--- a/Doc/Makefile ++++ b/Doc/Makefile +@@ -13,7 +13,7 @@ DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) + ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \ $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) -.PHONY: help build html htmlhelp latex text changes linkcheck \ @@ -9,7 +11,7 @@ suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ autobuild-dev autobuild-stable -@@ -25,6 +25,7 @@ +@@ -24,6 +24,7 @@ help: @echo " htmlview to open the index page built by the html target in your browser" @echo " htmlhelp to make HTML files and a HTML help project" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @@ -17,15 +19,15 @@ @echo " text to make plain text files" @echo " epub to make EPUB files" @echo " changes to make an overview over all changed/added/deprecated items" -@@ -77,6 +59,11 @@ - @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ - "run these through (pdf)latex." +@@ -59,6 +60,11 @@ text: BUILDER = text + text: build + @echo "Build finished; the text files are in build/text." +texinfo: BUILDER = texinfo +texinfo: build + @echo "Build finished; the TeXInfo files are in build/texinfo." + @echo "Run \`make info' in that directory to generate the info files." + - text: BUILDER = text - text: build - @echo "Build finished; the text files are in build/text." + epub: BUILDER = epub + epub: build + @echo "Build finished; the epub files are in build/epub." diff --git a/python2-docs.spec b/python2-docs.spec index 3fc0782..ee92c26 100644 --- a/python2-docs.spec +++ b/python2-docs.spec @@ -2,8 +2,8 @@ Name: python2-docs # The Version needs to be in-sync with the "python2" package: -Version: 2.7.13 -Release: 3%{?dist} +Version: 2.7.14 +Release: 1%{?dist} Summary: Documentation for the Python 2 programming language Group: Documentation License: Python @@ -101,7 +101,7 @@ fi # contain example URLs, which don't work) linkchecker \ --ignore-url=^mailto: --ignore-url=^http --ignore-url=^ftp \ - --ignore-url=.txt\$ \ + --ignore-url=.txt\$ --no-warnings \ Doc/build/html/index.html %files diff --git a/sources b/sources index a72e73a..dd576a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Python-2.7.13.tar.xz) = f37c9a28ce129d01e63c84d7db627a06402854578f62d17927334ea21ede318e04bbf66e890e3f47c85333e6b19f6e5581fb3f3e27efd24be27017d1b6529c4b +SHA512 (Python-2.7.14.tar.xz) = 78310b0be6388ffa15f29a80afb9ab3c03a572cb094e9da00cfe391afadb51696e41f592eb658d6a31a2f422fdac8a55214a382cbb8cfb43d4a127d5b35ea7f9