[Python-modules-commits] r12562 - in packages/django-markupfield/trunk (14 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Sun Apr 11 20:31:07 UTC 2010


    Date: Sunday, April 11, 2010 @ 20:31:06
  Author: fladi-guest
Revision: 12562

Initial import of django-markupfield.

Added:
  packages/django-markupfield/trunk/debian/
  packages/django-markupfield/trunk/debian/changelog
  packages/django-markupfield/trunk/debian/compat
  packages/django-markupfield/trunk/debian/control
  packages/django-markupfield/trunk/debian/copyright
  packages/django-markupfield/trunk/debian/docs
  packages/django-markupfield/trunk/debian/patches/
  packages/django-markupfield/trunk/debian/patches/debian-changes-1.0.0a2-1
  packages/django-markupfield/trunk/debian/patches/series
  packages/django-markupfield/trunk/debian/pyversions
  packages/django-markupfield/trunk/debian/rules
  packages/django-markupfield/trunk/debian/source/
  packages/django-markupfield/trunk/debian/source/format
  packages/django-markupfield/trunk/debian/watch


Property changes on: packages/django-markupfield/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/django-markupfield/trunk/debian/changelog
===================================================================
--- packages/django-markupfield/trunk/debian/changelog	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/changelog	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,6 @@
+django-markupfield (1.0.0a2-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #577193)
+  * Include debian-changes-1.0.0a2-1 to fix tests.
+
+ -- Fladischer Michael <FladischerMichael at fladi.at>  Sun, 11 Apr 2010 21:06:55 +0200

Added: packages/django-markupfield/trunk/debian/compat
===================================================================
--- packages/django-markupfield/trunk/debian/compat	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/compat	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1 @@
+7

Added: packages/django-markupfield/trunk/debian/control
===================================================================
--- packages/django-markupfield/trunk/debian/control	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/control	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,29 @@
+Source: django-markupfield
+Section: python
+Priority: optional
+Maintainer: Fladischer Michael <FladischerMichael at fladi.at>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50), python-all (>= 2.5), python-support, 
+ python-django (>= 1.0), python-markdown, python-docutils
+Standards-Version: 3.8.4
+Homepage: http://pypi.python.org/pypi/django-markupfield/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/django-markupfield/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/django-markupfield/trunk/
+
+Package: python-django-markupfield
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.0)
+Suggests: python-markdown, python-docutils, python-textile
+Description: Custom Django field for easy use of markup in text fields
+ An implementation of a custom MarkupField for Django. A MarkupField is in 
+ essence a TextField with an associated markup type. The field also caches 
+ its rendered value on the assumption that disk space is cheaper than CPU 
+ cycles in a web application.
+ .
+ It supports this markup types by default:
+  * html: allows HTML, potentially unsafe
+  * plain: plain text markup, calls urlize and replaces text with linebreaks
+ And this markups if the appropriate Python module is installed:
+  * markdown: default markdown renderer (requires python-markdown)
+  * restructuredtext: default ReST renderer (requires python-docutils)
+  * textile: default textile renderer (requires python-textile) 

Added: packages/django-markupfield/trunk/debian/copyright
===================================================================
--- packages/django-markupfield/trunk/debian/copyright	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/copyright	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,76 @@
+This work was packaged for Debian by:
+
+    Fladischer Michael <FladischerMichael at fladi.at> on Fri, 09 Apr 2010 18:32:23 +0200
+
+It was downloaded from:
+
+    http://pypi.python.org/pypi/django-markupfield/
+
+Upstream Authors:
+
+    James Turk, <james.p.turk at gmail.com>
+    Jeremy Carbaugh
+    Carl J. Meyer, <carl at dirtcircle.com>
+
+Copyright:
+
+    Copyright (c) 2010, James Turk
+
+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.
+      * Neither the name of django-markupfield 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 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.
+
+On Debian systems, the complete text of the BSD License can be
+found in "/usr/share/common-licenses/BSD".
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Fladischer Michael <FladischerMichael at fladi.at>
+
+and is licensed under the this terms:
+
+    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 django-markupfield 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 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.

Added: packages/django-markupfield/trunk/debian/docs
===================================================================
--- packages/django-markupfield/trunk/debian/docs	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/docs	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,2 @@
+AUTHORS.txt
+README.rst

Added: packages/django-markupfield/trunk/debian/patches/debian-changes-1.0.0a2-1
===================================================================
--- packages/django-markupfield/trunk/debian/patches/debian-changes-1.0.0a2-1	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/patches/debian-changes-1.0.0a2-1	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,43 @@
+Description: Upstream changes introduced in version 1.0.0a2-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ django-markupfield (1.0.0a2-1) UNRELEASED; urgency=low
+ .
+   * Initial release (Closes: #577193)
+   * Include debian-changes-1.0.0a2-1 to fix tests.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Fladischer Michael <FladischerMichael at fladi.at>
+Bug-Debian: http://bugs.debian.org/577193
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- django-markupfield-1.0.0a2.orig/markupfield/tests/settings.py
++++ django-markupfield-1.0.0a2/markupfield/tests/settings.py
+@@ -9,10 +9,10 @@ def render_rest(markup):
+     parts = publish_parts(source=markup, writer_name="html4css1")
+     return parts["fragment"]
+ 
+-MARKUP_FIELD_TYPES = {
+-    'markdown': markdown.markdown,
+-    'ReST': render_rest,
+-}
++MARKUP_FIELD_TYPES = [
++    ('markdown', markdown.markdown),
++    ('ReST', render_rest),
++]
+ 
+ INSTALLED_APPS = (
+     'markupfield.tests',

Added: packages/django-markupfield/trunk/debian/patches/series
===================================================================
--- packages/django-markupfield/trunk/debian/patches/series	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/patches/series	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1 @@
+debian-changes-1.0.0a2-1

Added: packages/django-markupfield/trunk/debian/pyversions
===================================================================
--- packages/django-markupfield/trunk/debian/pyversions	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/pyversions	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1 @@
+2.5-

Added: packages/django-markupfield/trunk/debian/rules
===================================================================
--- packages/django-markupfield/trunk/debian/rules	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/rules	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	django-admin startproject testproject
+	cp markupfield/tests/*.py testproject/
+	for python in $(shell pyversions -r); do \
+	  $$python testproject/manage.py test --settings=testproject.settings --pythonpath=. ; \
+	done
+	rm -rf testproject
+endif
+


Property changes on: packages/django-markupfield/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/django-markupfield/trunk/debian/source/format
===================================================================
--- packages/django-markupfield/trunk/debian/source/format	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/source/format	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/django-markupfield/trunk/debian/watch
===================================================================
--- packages/django-markupfield/trunk/debian/watch	                        (rev 0)
+++ packages/django-markupfield/trunk/debian/watch	2010-04-11 20:31:06 UTC (rev 12562)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/d/django-markupfield/django-markupfield-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list