[Python-modules-commits] r5980 - in packages/jinja2/trunk (13 files)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Tue Jul 15 20:52:09 UTC 2008
Date: Tuesday, July 15, 2008 @ 20:52:08
Author: piotr
Revision: 5980
[svn-inject] Applying Debian modifications to trunk
Added:
packages/jinja2/trunk/debian/
packages/jinja2/trunk/debian/changelog
packages/jinja2/trunk/debian/compat
packages/jinja2/trunk/debian/control
packages/jinja2/trunk/debian/copyright
packages/jinja2/trunk/debian/patches/
packages/jinja2/trunk/debian/patches/dont_install_docs_via_setup_py.patch
packages/jinja2/trunk/debian/patches/series
packages/jinja2/trunk/debian/python-jinja2-doc.dirs
packages/jinja2/trunk/debian/python-jinja2-doc.docs
packages/jinja2/trunk/debian/python-jinja2-doc.examples
packages/jinja2/trunk/debian/rules
packages/jinja2/trunk/debian/watch
Property changes on: packages/jinja2/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/jinja2/trunk/debian/changelog
===================================================================
--- packages/jinja2/trunk/debian/changelog (rev 0)
+++ packages/jinja2/trunk/debian/changelog 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,5 @@
+jinja2 (2.0~rc1+hg547-1) UNRELEASED; urgency=low
+
+ * Initial release (this package is an successor of jinja package)
+
+ -- Piotr Ożarowski <piotr at debian.org> Mon, 14 Jul 2008 23:45:03 +0200
Added: packages/jinja2/trunk/debian/compat
===================================================================
--- packages/jinja2/trunk/debian/compat (rev 0)
+++ packages/jinja2/trunk/debian/compat 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1 @@
+5
Added: packages/jinja2/trunk/debian/control
===================================================================
--- packages/jinja2/trunk/debian/control (rev 0)
+++ packages/jinja2/trunk/debian/control 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,64 @@
+Source: jinja2
+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), quilt (>= 0.40), python-support (>= 0.6.4),
+ python-setuptools (>= 0.6b3-1~), python-all-dev (>= 2.3.5-11), python-all-dbg
+Build-Depends-Indep: python-sphinx, python-pygments
+Standards-Version: 3.8.0
+Homepage: http://jinja.pocoo.org/2/
+XS-Python-Version: >= 2.5
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/jinja2/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/jinja2/trunk/?op=log
+
+Package: python-jinja2
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Recommends: python-pkg-resources
+Provides: ${python:Provides}
+Suggests: python-jinja2-doc
+XB-Python-Version: ${python:Versions}
+Description: small but fast and easy to use stand-alone template engine
+ Jinja2 is a template engine written in pure Python. It provides a Django
+ inspired non-XML syntax but supports inline expressions and an optional
+ sandboxed environment.
+ .
+ The key-features are:
+ * Configurable syntax. If you are generating LaTeX or other formats with
+ Jinja2 you can change the delimiters to something that integrates better
+ into the LaTeX markup.
+ * Fast. While performance is not the primarily target of Jinja2 itâs
+ surprisingly fast. The overhead compared to regular Python code was reduced
+ to the very minimum.
+ * Easy to debug. Jinja2 integrates directly into the Python traceback system
+ which allows you to debug Jinja2 templates with regular Python debugging
+ helpers.
+ * Secure. Itâs possible to evaluate untrusted template code if the optional
+ sandbox is enabled. This allows Jinja2 to be used as templating language
+ for applications where users may modify the template design.
+
+Package: python-jinja2-doc
+Section: doc
+Architecture: all
+Priority: extra
+Depends: libjs-jquery
+Recommends: python-jinja2
+Description: documentation for the Jinja2 Python library
+ Jinja2 is a small but fast and easy to use stand-alone template engine
+ .
+ This package contains the documentation for Jinja2 in HTML and
+ reStructuredText formats.
+
+Package: python-jinja2-dbg
+Architecture: any
+Priority: extra
+Depends: python-jinja2 (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: small but fast and easy to use stand-alone template engine
+ Jinja2 is a template engine written in pure Python. It provides a Django
+ inspired non-XML syntax but supports inline expressions and an optional
+ sandboxed environment.
+ .
+ This package contains the extension built for the Python debug interpreter.
Added: packages/jinja2/trunk/debian/copyright
===================================================================
--- packages/jinja2/trunk/debian/copyright (rev 0)
+++ packages/jinja2/trunk/debian/copyright 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,45 @@
+This package was debianized by Piotr Ożarowski <piotr at debian.org> on
+Mon, 14 Jul 2008 23:45:03 +0200.
+
+It was downloaded from http://pypi.python.org/pypi/Jinja2
+
+Copyright Holder: Armin Ronacher <armin.ronacher at active-4.com>
+
+Copyright (c) 2006-2008 by the respective authors (see AUTHORS file).
+All rights reserved.
+
+License:
+
+ 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.
+
+ * 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 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, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The Debian packaging is © 2008, Piotr Ożarowski <piotr at debian.org> and
+is licensed under the BSD.
+
+On Debian systems, the complete text of the BSD License can be found in
+`/usr/share/common-licenses/BSD'
Added: packages/jinja2/trunk/debian/patches/dont_install_docs_via_setup_py.patch
===================================================================
--- packages/jinja2/trunk/debian/patches/dont_install_docs_via_setup_py.patch (rev 0)
+++ packages/jinja2/trunk/debian/patches/dont_install_docs_via_setup_py.patch 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,13 @@
+Index: jinja2-2.0~rc1+hg547/setup.py
+===================================================================
+--- jinja2-2.0~rc1+hg547.orig/setup.py
++++ jinja2-2.0~rc1+hg547/setup.py
+@@ -119,7 +119,7 @@ setup(
+ 'Topic :: Text Processing :: Markup :: HTML'
+ ],
+ packages=['jinja2'],
+- data_files=data_files,
++ #data_files=data_files,
+ features={
+ 'speedups': Feature("optional C speed-enhancements",
+ standard=True,
Added: packages/jinja2/trunk/debian/patches/series
===================================================================
--- packages/jinja2/trunk/debian/patches/series (rev 0)
+++ packages/jinja2/trunk/debian/patches/series 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1 @@
+dont_install_docs_via_setup_py.patch
Added: packages/jinja2/trunk/debian/python-jinja2-doc.dirs
===================================================================
--- packages/jinja2/trunk/debian/python-jinja2-doc.dirs (rev 0)
+++ packages/jinja2/trunk/debian/python-jinja2-doc.dirs 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1 @@
+/usr/share/doc/python-jinja2/
Added: packages/jinja2/trunk/debian/python-jinja2-doc.docs
===================================================================
--- packages/jinja2/trunk/debian/python-jinja2-doc.docs (rev 0)
+++ packages/jinja2/trunk/debian/python-jinja2-doc.docs 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1 @@
+docs/_build/html
Added: packages/jinja2/trunk/debian/python-jinja2-doc.examples
===================================================================
--- packages/jinja2/trunk/debian/python-jinja2-doc.examples (rev 0)
+++ packages/jinja2/trunk/debian/python-jinja2-doc.examples 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1 @@
+examples/*
Added: packages/jinja2/trunk/debian/rules
===================================================================
--- packages/jinja2/trunk/debian/rules (rev 0)
+++ packages/jinja2/trunk/debian/rules 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+PYVERS=$(shell pyversions -vr)
+PKGDIR=$(CURDIR)/debian/python-jinja2
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -rf dist build Jinja2.egg-info
+ find . -name '*\.pyc' -delete
+ find . -name '\._*' -delete
+ make -C docs clean
+ dh_clean install-stamp build-stamp \
+ $(PYVERS:%=install-python%) $(PYVERS:%=build-python%) \
+ $(PYVERS:%=install-debug-python%) $(PYVERS:%=build-debug-python%)
+
+build: patch build-stamp
+
+build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=build-debug-python%)
+ touch $@
+
+build-python%: patch
+ python$* setup.py build
+ touch $@
+
+build-debug-python%: patch
+ python$*-dbg setup.py build
+ touch $@
+
+build-docs:
+ PYTHONPATH=$(CURDIR) make -C docs html
+
+install: $(PYVERS:%=install-python%) $(PYVERS:%=install-debug-python%)
+
+install-python%: build
+ python$* setup.py install \
+ --skip-build --single-version-externally-managed --root $(PKGDIR)
+ touch $@
+
+install-debug-python%: build
+ python$*-dbg setup.py install \
+ --skip-build --single-version-externally-managed --root $(PKGDIR)-dbg/
+ find $(PKGDIR)-dbg/usr/lib/python$*/ ! -type d ! -name '*_d\.so' -delete
+ find $(PKGDIR)-dbg/usr/lib/python$*/ -depth -empty -delete
+ touch $@
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -a CHANGES
+ dh_installdocs -a
+ dh_pysupport -a
+ dh_makeshlibs -a
+ dh_strip -ppython-jinja2 --dbg-package=python-jinja2-dbg
+ rm -rf $(PKGDIR)-dbg/usr/share/doc/python-jinja2-dbg
+ ln -s python-jinja2 $(PKGDIR)-dbg/usr/share/doc/python-jinja2-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: build-docs
+ dh_testdir -i
+ dh_testroot -i
+ dh_installchangelogs -i CHANGES
+ dh_installdirs -i
+ dh_installdocs -i
+ dh_installexamples -i
+ dh_link -i /usr/share/doc/python-jinja2-doc/html /usr/share/doc/python-jinja2/html
+ dh_link -i /usr/share/doc/python-jinja2-doc/html/_sources /usr/share/doc/python-jinja2/rst
+ dh_link -i /usr/share/javascript/jquery/jquery.min.js /usr/share/doc/python-jinja2-doc/html/_static/jquery.js
+ dh_compress -i -X.html
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i -- -Z bzip2
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/jinja2/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/jinja2/trunk/debian/watch
===================================================================
--- packages/jinja2/trunk/debian/watch (rev 0)
+++ packages/jinja2/trunk/debian/watch 2008-07-15 20:52:08 UTC (rev 5980)
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/rc/~rc/ \
+http://pypi.python.org/packages/source/J/Jinja2/Jinja2-(.+)\.tar\.gz debian uupdate
More information about the Python-modules-commits
mailing list