[Python-modules-commits] r12799 - in packages/utidylib/trunk (14 files)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Tue May 4 15:17:38 UTC 2010
Date: Tuesday, May 4, 2010 @ 15:17:37
Author: nijel
Revision: 12799
[svn-inject] Applying Debian modifications to trunk
Added:
packages/utidylib/trunk/debian/
packages/utidylib/trunk/debian/README.Debian
packages/utidylib/trunk/debian/README.Debian-source
packages/utidylib/trunk/debian/changelog
packages/utidylib/trunk/debian/compat
packages/utidylib/trunk/debian/control
packages/utidylib/trunk/debian/copyright
packages/utidylib/trunk/debian/docs
packages/utidylib/trunk/debian/patches/
packages/utidylib/trunk/debian/patches/00list
packages/utidylib/trunk/debian/patches/01_fix_libtidy_import.dpatch
packages/utidylib/trunk/debian/pycompat
packages/utidylib/trunk/debian/rules
packages/utidylib/trunk/debian/watch
Property changes on: packages/utidylib/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/utidylib/trunk/debian/README.Debian
===================================================================
--- packages/utidylib/trunk/debian/README.Debian (rev 0)
+++ packages/utidylib/trunk/debian/README.Debian 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,19 @@
+uTidyLib for Debian
+===================
+
+The debian package of uTidyLib does not include the API docs, however
+these can be easily generated using epidoc (package python-epidoc).
+Just run the following commands:
+
+$ export PYTHON_VERSION="2.3" # replace 2.3 with appropriate version
+$ export PACKAGES_HOME="/usr/lib/python$PYTHON_VERSION/site-packages/"
+$ export APIDOC_OUTPUT="python$PYTHON_VERSION-utidylib-apidoc"
+$ epydoc -o "$APIDOC_OUTPUT" $PACKAGES_HOME/tidy/error.py \
+ $PACKAGES_HOME/tidy/lib.py \
+ $PACKAGES_HOME/tidy/__init__.py
+
+You might also want to visit the project's homepage at
+http://utidylib.berlios.de/ for more details about the
+usage of this library.
+
+-- Igor Stroh <jenner at debian.org> Sun, 21 Aug 2005 10:18:04 +0200
Added: packages/utidylib/trunk/debian/README.Debian-source
===================================================================
--- packages/utidylib/trunk/debian/README.Debian-source (rev 0)
+++ packages/utidylib/trunk/debian/README.Debian-source 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,16 @@
+Since the upstream provides only a .zip archive, we need to repackage
+it into a .tar.gz:
+1) Download the current version from
+ http://download.berlios.de/utidylib/uTidylib-$VERSION.zip
+ where $VERSION is the latest available upstream release.
+ You can use the `uscan` program to retrieve the newest version
+ of this file, just point it to the unpacked utidylib source
+ directory (must include the "debian/" folder).
+
+2) Unpack the ZIP archive, rename the resulting directory to
+ utidylib-$VERSION.orig and run create the .orig.tar.gz:
+ $ unzip uTidylib-$VERSION.zip
+ $ mv uTidylib-$VERSION utidylib-$VERSION
+ $ tar czvf utidylib_$VERSION.orig.tar.gz utidylib-$VERSION
+
+-- Igor Stroh <jenner at debian.org> Sun, 21 Aug 2005 10:18:04 +0200
Added: packages/utidylib/trunk/debian/changelog
===================================================================
--- packages/utidylib/trunk/debian/changelog (rev 0)
+++ packages/utidylib/trunk/debian/changelog 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,35 @@
+utidylib (0.2-3.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes dependency on python-ctypes (Closes: #476276).
+
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 15 Apr 2008 16:42:24 +0200
+
+utidylib (0.2-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update to new Python Policy (Closes: #373404).
+
+ -- Pierre Habouzit <madcoder at debian.org> Thu, 29 Jun 2006 14:48:22 +0200
+
+utidylib (0.2-3) unstable; urgency=low
+
+ * debian/control: changed dependency on libtidy from
+ libtidy0 to libtidy-0.99-0 (Closes: #343991)
+
+ -- Igor Stroh <jenner at debian.org> Mon, 26 Dec 2005 12:42:30 +0100
+
+utidylib (0.2-2) unstable; urgency=low
+
+ * debian/control: added missing python-dev dependency (Closes: #325679).
+ Thanks to Andreas Jochens.
+
+ -- Igor Stroh <jenner at debian.org> Tue, 30 Aug 2005 10:27:34 +0200
+
+utidylib (0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #244110)
+ * Thanks to Chad Walstrom for providing the original CDBS-based
+ packaging infrastructure
+
+ -- Igor Stroh <jenner at debian.org> Sun, 21 Aug 2005 10:18:04 +0200
Added: packages/utidylib/trunk/debian/compat
===================================================================
--- packages/utidylib/trunk/debian/compat (rev 0)
+++ packages/utidylib/trunk/debian/compat 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1 @@
+5
Added: packages/utidylib/trunk/debian/control
===================================================================
--- packages/utidylib/trunk/debian/control (rev 0)
+++ packages/utidylib/trunk/debian/control 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,18 @@
+Source: utidylib
+Section: web
+Priority: optional
+Maintainer: Igor Stroh <jenner at debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), dpatch
+Build-Depends-Indep: python-support (>= 0.3)
+Standards-Version: 3.7.2
+
+Package: python-utidylib
+Architecture: all
+Depends: ${python:Depends}, python-ctypes | python (>= 2.5), libtidy-0.99-0 (>= 20051018)
+Provides: ${python:Provides}
+Replaces: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
+Conflicts: python2.3-utidylib (<< 0.2-3.1), python2.4-utidylib (<< 0.2-3.1)
+XB-Python-Version: ${python:Versions}
+Description: Python wrapper for TidyLib
+ uTidylib is a Python wrapper for TidyLib, a library from the HTML Tidy
+ project. This allows you to "tidy" HTML files through a Pythonic interface.
Added: packages/utidylib/trunk/debian/copyright
===================================================================
--- packages/utidylib/trunk/debian/copyright (rev 0)
+++ packages/utidylib/trunk/debian/copyright 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,29 @@
+This package was originally debianized by Chad Walstrom <chewie at debian.org>
+on Mon, 20 Dec 2004 15:18:53 -0600
+
+It was downloaded from http://download.berlios.de/utidylib/uTidylib-0.2.zip
+
+Copyright:
+
+ Copyright (c) 2003 Cory Dodt <corydodt at twistedmatrix.com>
+
+License:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added: packages/utidylib/trunk/debian/docs
===================================================================
--- packages/utidylib/trunk/debian/docs (rev 0)
+++ packages/utidylib/trunk/debian/docs 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,3 @@
+debian/README.Debian
+debian/README.Debian-source
+README.txt
Added: packages/utidylib/trunk/debian/patches/00list
===================================================================
--- packages/utidylib/trunk/debian/patches/00list (rev 0)
+++ packages/utidylib/trunk/debian/patches/00list 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1 @@
+01_fix_libtidy_import
Added: packages/utidylib/trunk/debian/patches/01_fix_libtidy_import.dpatch
===================================================================
--- packages/utidylib/trunk/debian/patches/01_fix_libtidy_import.dpatch (rev 0)
+++ packages/utidylib/trunk/debian/patches/01_fix_libtidy_import.dpatch 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+## 01_fix_libtidy_import by Igor Stroh <jenner at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Add 'tidy' to the list of lib names, so it can be imported
+## DP: correctly in debian
+
+if [ $# -lt 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
+
+case "$1" in
+ -patch) patch -p1 ${patch_opts} < $0;;
+ -unpatch) patch -R -p1 ${patch_opts} < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1;;
+esac
+
+exit 0
+
+ at DPATCH@
+--- utidylib-0.2.old/tidy/lib.py 2005-08-21 11:21:38.000000000 +0200
++++ utidylib-0.2/tidy/lib.py 2005-08-21 11:20:06.000000000 +0200
+@@ -22,7 +22,7 @@
+ # directory too
+ thelib=None
+ os.environ['PATH'] = "%s%s%s" % (packagedir, os.pathsep, os.environ['PATH'])
+-for libname in ('cygtidy-0-99-0', 'libtidy', 'libtidy.so',
++for libname in ('tidy', 'cygtidy-0-99-0', 'libtidy', 'libtidy.so',
+ 'libtidy-0.99.so.0', 'tidylib'):
+ try:
+ thelib = getattr(ctypes.cdll, libname)
Property changes on: packages/utidylib/trunk/debian/patches/01_fix_libtidy_import.dpatch
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/utidylib/trunk/debian/pycompat
===================================================================
--- packages/utidylib/trunk/debian/pycompat (rev 0)
+++ packages/utidylib/trunk/debian/pycompat 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1 @@
+2
Added: packages/utidylib/trunk/debian/rules
===================================================================
--- packages/utidylib/trunk/debian/rules (rev 0)
+++ packages/utidylib/trunk/debian/rules 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Debian rules file for utidylib
+#export DH_VERBOSE=1
+
+################################################################################
+# CDBS File Inclusions and Variable Declarations
+################################################################################
+
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+clean::
+ -find . -type f -name "*.pyc" |xargs rm
Property changes on: packages/utidylib/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/utidylib/trunk/debian/watch
===================================================================
--- packages/utidylib/trunk/debian/watch (rev 0)
+++ packages/utidylib/trunk/debian/watch 2010-05-04 15:17:37 UTC (rev 12799)
@@ -0,0 +1,5 @@
+#
+# watch - uscan config file for utidylib
+#
+version=2
+http://download.berlios.de/utidylib/uTidylib-?_?([\d+\.]+|\d+)(\.zip|\.tar|\.tgz)(\.gz|\.bz2|) debian
More information about the Python-modules-commits
mailing list