[Python-modules-commits] [pynliner] 06/08: move to non-free + build py3k package

Sandro Tosi morph at moszumanska.debian.org
Mon Sep 26 16:35:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository pynliner.

commit c032a9b686078a9feba65237c56fa50734f443c2
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Sep 26 17:06:24 2016 +0100

    move to non-free + build py3k package
---
 debian/control | 19 ++++++++++++++++---
 debian/rules   |  3 ++-
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 804797c..c276ac2 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,9 @@
 Source: pynliner
-Section: python
+Section: non-free/python
 Priority: optional
 Maintainer: Sandro Tosi <morph at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), python, dh-python, python-setuptools
+Build-Depends: debhelper (>= 9), python, dh-python, python-setuptools, python3, python3-setuptools
 Standards-Version: 3.9.6
 Homepage: https://github.com/rennat/pynliner
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pynliner.git
@@ -12,8 +12,21 @@ Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pynliner.gi
 Package: python-pynliner
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
-Description: CSS-to-inline-styles conversion tool for HTML
+Description: CSS-to-inline-styles conversion tool for HTML - Python 2.x
  Because Pynliner uses BeautifulSoup to find the tags specified in the CSS it
  aggressively converts to HTML. This means that templating languages like Mako,
  Genshi, and Jinja will be pounded into valid HTML in the process of applying
  styles.
+ .
+ This package contains the Python 2 version of pynliner
+
+Package: python3-pynliner
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: CSS-to-inline-styles conversion tool for HTML - Python 3.x
+ Because Pynliner uses BeautifulSoup to find the tags specified in the CSS it
+ aggressively converts to HTML. This means that templating languages like Mako,
+ Genshi, and Jinja will be pounded into valid HTML in the process of applying
+ styles.
+ .
+ This package contains the Python 3 version of pynliner
diff --git a/debian/rules b/debian/rules
index 4ef40b9..bc36943 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
 
 override_dh_auto_install:
 	python  setup.py install --install-layout=deb --root=$(CURDIR)/debian/python-pynliner
+	python3 setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-pynliner

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pynliner.git



More information about the Python-modules-commits mailing list