[Python-modules-commits] [premailer] 03/03: Initial release (Closes: #810942).
Geoffrey Thomas
geofft-guest at moszumanska.debian.org
Tue Jan 26 21:26:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
geofft-guest pushed a commit to branch master
in repository premailer.
commit 143be55c3e0b21ac9bba9dcf7fcdc3c53ba41246
Author: Geoffrey Thomas <geofft at hudson-trading.com>
Date: Wed Jan 13 18:39:39 2016 -0500
Initial release (Closes: #810942).
---
debian/.git-dpm | 3 +++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 51 +++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 36 ++++++++++++++++++++++++++++++
debian/python3-premailer.docs | 1 +
debian/rules | 5 +++++
debian/watch | 4 ++++
8 files changed, 106 insertions(+)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 3c36f3d..f0b3455 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
premailer_2.9.7.orig.tar.gz
fc58d0dd85ada5f8e30b7d0a966ded7bc50104bf
16955
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1917aa7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+premailer (2.9.7-1) unstable; urgency=low
+
+ * Initial release (Closes: #810942).
+
+ -- Geoffrey Thomas <geofft at hudson-trading.com> Wed, 13 Jan 2016 18:36:40 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7588bcb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,51 @@
+Source: premailer
+Section: python
+Priority: optional
+Maintainer: Geoffrey Thomas <geofft at hudson-trading.com>
+Build-Depends: debhelper (>= 9), dh-python,
+ python-all,
+ python-cssselect,
+ python-cssutils,
+ python-lxml,
+ python-mock,
+ python-nose,
+ python-setuptools,
+ python3-all,
+ python3-cssselect,
+ python3-cssutils,
+ python3-lxml,
+ python3-mock,
+ python3-nose,
+ python3-setuptools,
+Standards-Version: 3.9.6
+Homepage: http://github.com/peterbe/premailer
+
+Package: python-premailer
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+XB-Python-Egg-Name: premailer
+Description: Turns CSS blocks into style attributes - Python 2.x
+ When you send HTML emails you can't use style tags but instead you have
+ to put inline style attributes on every element. premailer parses an
+ HTML page, looks up style blocks and parses the CSS. It then uses the
+ lxml.html parser to modify the DOM tree of the page accordingly.
+ .
+ This package provides the Python 2.x module, which can be used from
+ scripts or from the command line (see `python -m premailer --help`).
+
+Package: python3-premailer
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+XB-Python-Egg-Name: premailer
+Description: Turns CSS blocks into style attributes - Python 3.x
+ When you send HTML emails you can't use style tags but instead you have
+ to put inline style attributes on every element. premailer parses an
+ HTML page, looks up style blocks and parses the CSS. It then uses the
+ lxml.html parser to modify the DOM tree of the page accordingly.
+ .
+ This package provides the Python 3.x module, which can be used from
+ scripts or from the command line (see `python3 -m premailer --help`).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ba6d43c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: premailer
+Upstream-Contact: Peter Bengtsson <mail at peterbe.com>
+Source: http://github.com/peterbe/premailer
+
+Files: *
+Copyright: (c) 2009-2012, Peter Bengtsson
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2015 Geoffrey Thomas <geofft at hudson-trading.com>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of Peter Bengtsson nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Peter Bengtsson OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/python3-premailer.docs b/debian/python3-premailer.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-premailer.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fe71c70
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=premailer
+%:
+ dh $@ --with python3,python2 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0b6f9b2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/premailer/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/premailer/premailer-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/premailer.git
More information about the Python-modules-commits
mailing list