[Python-modules-commits] [xhtml2pdf] 01/13: create debian/patch Allow-html5lib-0.999999999.patch
Drew Parsons
dparsons at moszumanska.debian.org
Mon Oct 30 04:27:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository xhtml2pdf.
commit c24d5276f83d818f6b46280937bda7e8b28263ce
Author: Drew Parsons <dparsons at emerall.com>
Date: Mon Oct 30 10:20:28 2017 +0800
create debian/patch Allow-html5lib-0.999999999.patch
Allows html5lib 0.999999999 to be used rather than strictly 1.0b10.
This is to work around the practice of the Debian html5lib maintainers,
whose policy is to not package beta releases.
---
debian/control | 2 +-
debian/patches/Allow-html5lib-0.999999999.patch | 51 ++++++++++++++++++++++
...> Fix-interpreter-path-to-please-lintian.patch} | 0
...rpreter.patch => Fix-path-to-interpreter.patch} | 0
debian/patches/series | 5 ++-
5 files changed, 55 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 57e80f6..3d34851 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends-Indep: dh-python,
python-all, python-setuptools,
python3-all, python3-setuptools,
python-pypdf2 (>= 1.26), python3-pypdf2 (>= 1.26),
- python-html5lib (>= 1.0b10), python3-html5lib (>= 1.0b10)
+ python-html5lib (>= 0.999999999), python3-html5lib (>= 0.999999999)
Standards-Version: 3.9.8
Homepage: https://github.com/xhtml2pdf/xhtml2pdf
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/xhtml2pdf.git
diff --git a/debian/patches/Allow-html5lib-0.999999999.patch b/debian/patches/Allow-html5lib-0.999999999.patch
new file mode 100644
index 0000000..5d42a1c
--- /dev/null
+++ b/debian/patches/Allow-html5lib-0.999999999.patch
@@ -0,0 +1,51 @@
+Index: xhtml2pdf/requirements.txt
+===================================================================
+--- xhtml2pdf.orig/requirements.txt
++++ xhtml2pdf/requirements.txt
+@@ -1,6 +1,6 @@
+ Pillow>=2.0.0
+ coverage
+-html5lib==1.0b10
++html5lib>=0.999999999
+ httplib2==0.7.6
+ nose==1.3.3
+ pyPdf2==1.26
+Index: xhtml2pdf/setup.py
+===================================================================
+--- xhtml2pdf.orig/setup.py
++++ xhtml2pdf/setup.py
+@@ -37,7 +37,7 @@ setup(
+ maintainer_email="use-github at doit.com",
+ url="http://github.com/xhtml2pdf/xhtml2pdf",
+ keywords="PDF, HTML, XHTML, XML, CSS",
+- install_requires=["html5lib==1.0b10", "httplib2", "pyPdf2", "Pillow", "reportlab>=3.0", "six"],
++ install_requires=["html5lib>=0.999999999", "httplib2", "pyPdf2", "Pillow", "reportlab>=3.0", "six"],
+ setup_requires=["nose>=1.0"],
+ include_package_data=True,
+ packages=find_packages(exclude=["tests", "tests.*"]),
+Index: xhtml2pdf/tox.appveyor.ini
+===================================================================
+--- xhtml2pdf.orig/tox.appveyor.ini
++++ xhtml2pdf/tox.appveyor.ini
+@@ -12,7 +12,7 @@ commands =
+ deps =
+ Pillow>=2.0
+ coverage
+- html5lib==1.0b10
++ html5lib>=0.999999999
+ httplib2
+ nose
+ pyPdf2
+Index: xhtml2pdf/tox.ini
+===================================================================
+--- xhtml2pdf.orig/tox.ini
++++ xhtml2pdf/tox.ini
+@@ -17,7 +17,7 @@ commands =
+ deps =
+ Pillow>=2.0
+ coverage
+- html5lib==1.0b10
++ html5lib>=0.999999999
+ httplib2
+ nose
+ pyPdf2
diff --git a/debian/patches/0003-Fix-interpreter-path-to-please-lintian.patch b/debian/patches/Fix-interpreter-path-to-please-lintian.patch
similarity index 100%
rename from debian/patches/0003-Fix-interpreter-path-to-please-lintian.patch
rename to debian/patches/Fix-interpreter-path-to-please-lintian.patch
diff --git a/debian/patches/0001-Fix-path-to-interpreter.patch b/debian/patches/Fix-path-to-interpreter.patch
similarity index 100%
rename from debian/patches/0001-Fix-path-to-interpreter.patch
rename to debian/patches/Fix-path-to-interpreter.patch
diff --git a/debian/patches/series b/debian/patches/series
index 204f081..69f10be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
-0001-Fix-path-to-interpreter.patch
-0003-Fix-interpreter-path-to-please-lintian.patch
+Fix-path-to-interpreter.patch
+Fix-interpreter-path-to-please-lintian.patch
+Allow-html5lib-0.999999999.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/xhtml2pdf.git
More information about the Python-modules-commits
mailing list