[Python-modules-commits] r14498 - in packages/markupsafe/tags (10 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sun Sep 26 19:51:53 UTC 2010
Date: Sunday, September 26, 2010 @ 19:51:46
Author: piotr
Revision: 14498
tagging 0.9.2-3
Added:
packages/markupsafe/tags/0.9.2-3/
packages/markupsafe/tags/0.9.2-3/debian/
packages/markupsafe/tags/0.9.2-3/debian/changelog
packages/markupsafe/tags/0.9.2-3/debian/compat
packages/markupsafe/tags/0.9.2-3/debian/control
packages/markupsafe/tags/0.9.2-3/debian/copyright
packages/markupsafe/tags/0.9.2-3/debian/rules
packages/markupsafe/tags/0.9.2-3/debian/source/
packages/markupsafe/tags/0.9.2-3/debian/source/format
packages/markupsafe/tags/0.9.2-3/debian/watch
Property changes on: packages/markupsafe/tags/0.9.2-3/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/markupsafe/tags/0.9.2-3/debian/changelog
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/changelog (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/changelog 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1,23 @@
+markupsafe (0.9.2-3) unstable; urgency=low
+
+ * Rebuild against newer python3-all-dev package (python3.1 now uses
+ /usr/lib/python3/), minimum python3-all-dev version bumped to 3.1.2-8
+ * Add debian/watch file
+
+ -- Piotr Ożarowski <piotr at debian.org> Sun, 26 Sep 2010 21:44:44 +0200
+
+markupsafe (0.9.2-2) unstable; urgency=low
+
+ * Use ${python3:Depends} in python3-markupsafe{,-dbg} package (closes: 591953)
+ - minimum python3-all-dev version bumped to 3.1.2-6~
+ * Do not install markupsafe/ _speedups.c file
+ * BSD license is now included in the copyright file directly
+ * Standards-Version bumped to 3.9.1 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org> Sat, 21 Aug 2010 18:31:54 +0200
+
+markupsafe (0.9.2-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Piotr Ożarowski <piotr at debian.org> Wed, 23 Jun 2010 21:26:14 +0200
Added: packages/markupsafe/tags/0.9.2-3/debian/compat
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/compat (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/compat 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1 @@
+5
Added: packages/markupsafe/tags/0.9.2-3/debian/control
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/control (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/control 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1,78 @@
+Source: markupsafe
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5),
+ python-all-dev (>= 2.6.5-2), python3-all-dev (>= 3.1.2-8~),
+ python-all-dbg, python3-all-dbg,
+ python-setuptools, python3-setuptools
+Standards-Version: 3.9.1
+Homepage: http://pypi.python.org/pypi/MarkupSafe
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/markupsafe/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/markupsafe/trunk/
+XS-Python-Version: >= 2.4
+
+Package: python-markupsafe
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: XML/HTML/XHTML Markup safe string for Python
+ MarkupSafe implements a unicode subclass that supports HTML strings:
+ .
+ >>> from markupsafe import Markup, escape
+ >>> escape("<script>alert(document.cookie);</script>")
+ Markup(u'<script>alert(document.cookie);</script>')
+ >>> tmpl = Markup("<em>%s</em>")
+ >>> tmpl % "Peter > Lustig"
+ Markup(u'<em>Peter > Lustig</em>')
+ .
+ If you want to make an object unicode that is not yet unicode
+ but don't want to lose the taint information, you can use the
+ `soft_unicode` function:
+ .
+ >>> from markupsafe import soft_unicode
+ >>> soft_unicode(42)
+ u'42'
+ >>> soft_unicode(Markup('foo'))
+ Markup(u'foo')
+
+Package: python-markupsafe-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: python-markupsafe (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: XML/HTML/XHTML Markup safe string for Python
+ This package contains the extension built for the Python debug interpreter.
+
+Package: python3-markupsafe
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: XML/HTML/XHTML Markup safe string for Python3
+ MarkupSafe implements a unicode subclass that supports HTML strings:
+ .
+ >>> from markupsafe import Markup, escape
+ >>> escape("<script>alert(document.cookie);</script>")
+ Markup('<script>alert(document.cookie);</script>')
+ >>> tmpl = Markup("<em>%s</em>")
+ >>> tmpl % "Peter > Lustig"
+ Markup('<em>Peter > Lustig</em>')
+ .
+ If you want to make an object unicode that is not yet unicode
+ but don't want to lose the taint information, you can use the
+ `soft_unicode` function:
+ .
+ >>> from markupsafe import soft_unicode
+ >>> soft_unicode(42)
+ '42'
+ >>> soft_unicode(Markup('foo'))
+ Markup('foo')
+
+Package: python3-markupsafe-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: python3-markupsafe (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: XML/HTML/XHTML Markup safe string for Python3
+ This package contains the extension built for the Python3 debug interpreter.
Added: packages/markupsafe/tags/0.9.2-3/debian/copyright
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/copyright (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/copyright 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1,42 @@
+This package was debianized by Piotr Ożarowski <piotr at debian.org> on
+Wed, 23 Jun 2010 21:26:14 +0200.
+
+It was downloaded from http://pypi.python.org/pypi/MarkupSafe
+
+Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS
+for more details.
+
+Some rights reserved.
+
+Redistribution and use in source and binary forms of the software as well
+as documentation, 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.
+
+* The names of the contributors may not be used to endorse or
+ promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE AND DOCUMENTATION 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 THE COPYRIGHT OWNER
+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 AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
+
+The Debian packaging is © 2010, Piotr Ożarowski <piotr at debian.org> and
+is licensed under the same license.
Added: packages/markupsafe/tags/0.9.2-3/debian/rules
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/rules (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/rules 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+PYVERS=$(shell pyversions -vr) $(shell py3versions -sv)
+
+include /usr/share/python/python.mk
+pkgdir = $(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-markupsafe
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf dist build MarkupSafe.egg-info
+ find . -name '*\.pyc' -delete
+ dh_clean install-stamp build-stamp \
+ $(PYVERS:%=install-python%) $(PYVERS:%=build-python%) \
+ $(PYVERS:%=install-debug-python%) $(PYVERS:%=build-debug-python%)
+
+build: build-stamp
+
+build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=build-debug-python%)
+ touch $@
+
+build-python%:
+ python$* setup.py --with-speedups build
+ touch $@
+
+build-debug-python%:
+ python$*-dbg setup.py --with-speedups build
+ touch $@
+
+install: install-stamp
+install-stamp: $(PYVERS:%=install-python%) $(PYVERS:%=install-debug-python%)
+ dh_install
+ touch $@
+
+install-python%: build
+ python$* setup.py --with-speedups install \
+ --install-layout=deb --skip-build \
+ --single-version-externally-managed \
+ --root $(call pkgdir,$*)
+ rm -f $(call pkgdir,$*)$(call py_libdir,$*)/markupsafe/_speedups.c
+ touch $@
+
+install-debug-python%: build
+ python$*-dbg setup.py --with-speedups install \
+ --install-layout=deb --skip-build \
+ --single-version-externally-managed \
+ --root $(call pkgdir,$*)-dbg/
+ touch $@
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_python2 -a
+ dh_python3 -a
+ dh_makeshlibs -a
+ dh_strip -ppython-markupsafe --dbg-package=python-markupsafe-dbg
+ dh_strip -ppython3-markupsafe --dbg-package=python3-markupsafe-dbg
+ rm -rf $(call pkgdir,2.X)-dbg/usr/share/doc/python-markupsafe-dbg
+ rm -rf $(call pkgdir,3.X)-dbg/usr/share/doc/python3-markupsafe-dbg
+ ln -s python-markupsafe $(call pkgdir,2.X)-dbg/usr/share/doc/python-markupsafe-dbg
+ ln -s python3-markupsafe $(call pkgdir,3.X)-dbg/usr/share/doc/python3-markupsafe-dbg
+ dh_compress -a -X.py
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a -- -Z bzip2
+
+binary-indep:
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/markupsafe/tags/0.9.2-3/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/markupsafe/tags/0.9.2-3/debian/source/format
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/source/format (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/source/format 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/markupsafe/tags/0.9.2-3/debian/watch
===================================================================
--- packages/markupsafe/tags/0.9.2-3/debian/watch (rev 0)
+++ packages/markupsafe/tags/0.9.2-3/debian/watch 2010-09-26 19:51:46 UTC (rev 14498)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-(.*)\.tar\.gz
More information about the Python-modules-commits
mailing list