[Python-modules-commits] r13579 - in packages/markupsafe/trunk (8 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Wed Jun 23 22:43:02 UTC 2010


    Date: Wednesday, June 23, 2010 @ 22:43:01
  Author: piotr
Revision: 13579

[svn-inject] Applying Debian modifications (0.9.2-1) to trunk

Added:
  packages/markupsafe/trunk/debian/
  packages/markupsafe/trunk/debian/changelog
  packages/markupsafe/trunk/debian/compat
  packages/markupsafe/trunk/debian/control
  packages/markupsafe/trunk/debian/copyright
  packages/markupsafe/trunk/debian/rules
  packages/markupsafe/trunk/debian/source/
  packages/markupsafe/trunk/debian/source/format


Property changes on: packages/markupsafe/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/markupsafe/trunk/debian/changelog
===================================================================
--- packages/markupsafe/trunk/debian/changelog	                        (rev 0)
+++ packages/markupsafe/trunk/debian/changelog	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1,5 @@
+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/trunk/debian/compat
===================================================================
--- packages/markupsafe/trunk/debian/compat	                        (rev 0)
+++ packages/markupsafe/trunk/debian/compat	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1 @@
+5

Added: packages/markupsafe/trunk/debian/control
===================================================================
--- packages/markupsafe/trunk/debian/control	                        (rev 0)
+++ packages/markupsafe/trunk/debian/control	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1,76 @@
+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-2),
+ python-all-dbg, python3-all-dbg,
+ python-setuptools, python3-setuptools
+Standards-Version: 3.8.4
+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'&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
+  >>> tmpl = Markup("<em>%s</em>")
+  >>> tmpl % "Peter > Lustig"
+  Markup(u'<em>Peter &gt; 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'))
+
+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}, ${python: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(u'&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
+  >>> tmpl = Markup("<em>%s</em>")
+  >>> tmpl % "Peter > Lustig"
+  Markup(u'<em>Peter &gt; 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'))
+
+Package: python3-markupsafe-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: python3-markupsafe (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: XML/HTML/XHTML Markup safe string for Python3
+ This package contains the extension built for the Python3 debug interpreter.

Added: packages/markupsafe/trunk/debian/copyright
===================================================================
--- packages/markupsafe/trunk/debian/copyright	                        (rev 0)
+++ packages/markupsafe/trunk/debian/copyright	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1,15 @@
+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.
+
+License: BSD
+
+The Debian packaging is © 2010, Piotr Ożarowski <piotr at debian.org> and
+is licensed under the BSD as well.
+
+On Debian systems, the complete text of the BSD License can be found in
+`/usr/share/common-licenses/BSD'

Added: packages/markupsafe/trunk/debian/rules
===================================================================
--- packages/markupsafe/trunk/debian/rules	                        (rev 0)
+++ packages/markupsafe/trunk/debian/rules	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr) $(shell py3versions -sv)
+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,$*)
+	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/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/markupsafe/trunk/debian/source/format
===================================================================
--- packages/markupsafe/trunk/debian/source/format	                        (rev 0)
+++ packages/markupsafe/trunk/debian/source/format	2010-06-23 22:43:01 UTC (rev 13579)
@@ -0,0 +1 @@
+1.0




More information about the Python-modules-commits mailing list