[Python-modules-commits] r11410 - in packages (16 files)
stefanor-guest at users.alioth.debian.org
stefanor-guest at users.alioth.debian.org
Fri Jan 29 17:59:50 UTC 2010
Date: Friday, January 29, 2010 @ 17:59:49
Author: stefanor-guest
Revision: 11410
Import html2text
Added:
packages/html2text/
packages/html2text/tags/
packages/html2text/trunk/
packages/html2text/trunk/debian/
packages/html2text/trunk/debian/changelog
packages/html2text/trunk/debian/compat
packages/html2text/trunk/debian/control
packages/html2text/trunk/debian/copyright
packages/html2text/trunk/debian/patches/
packages/html2text/trunk/debian/patches/series
packages/html2text/trunk/debian/patches/setup.py.diff
packages/html2text/trunk/debian/patches/shell-wrapper.diff
packages/html2text/trunk/debian/rules
packages/html2text/trunk/debian/source/
packages/html2text/trunk/debian/source/format
packages/html2text/trunk/debian/watch
Property changes on: packages/html2text/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/html2text/trunk/debian/changelog
===================================================================
--- packages/html2text/trunk/debian/changelog (rev 0)
+++ packages/html2text/trunk/debian/changelog 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,5 @@
+html2text (2.37-1) UNRELEASED; urgency=low
+
+ * Initial release
+
+ -- Stefano Rivera <stefano at rivera.za.net> Mon, 25 Jan 2010 04:02:00 +0200
Added: packages/html2text/trunk/debian/compat
===================================================================
--- packages/html2text/trunk/debian/compat (rev 0)
+++ packages/html2text/trunk/debian/compat 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1 @@
+7
Added: packages/html2text/trunk/debian/control
===================================================================
--- packages/html2text/trunk/debian/control (rev 0)
+++ packages/html2text/trunk/debian/control 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,22 @@
+Source: html2text
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Stefano Rivera <stefano at rivera.za.net>
+Build-Depends: debhelper (>= 7), python-support (>= 0.8)
+Standards-Version: 3.8.3
+Homepage: http://www.aaronsw.com/2002/html2text/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/html2text/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/html2text/trunk/
+XS-Python-Version: all
+
+Package: python-html2text
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: A Python Script which converts HTML to Markdown
+ html2text is a Python script that converts a page of HTML into clean,
+ easy-to-read plain ASCII text.
+ Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML
+ format).
+ .
+ html2text can be used both as a library and a standalone program.
Added: packages/html2text/trunk/debian/copyright
===================================================================
--- packages/html2text/trunk/debian/copyright (rev 0)
+++ packages/html2text/trunk/debian/copyright 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,28 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135
+Name: html2text
+Maintainer: Aaron Swartz <me at aaronsw.com>
+Source: http://www.aaronsw.com/2002/html2text/
+
+Files: *
+Copyright: 2004-2008, Aaron Swartz
+License: GPL-3
+ html2text is available under the GNU GPL 3.0.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in the /usr/share/common-licenses/GPL-3 file.
+
+Files: debian/*
+Copyright: 2010, Stefano Rivera <stefano at rivera.za.net>
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in the /usr/share/common-licenses/GPL-2 file.
Added: packages/html2text/trunk/debian/patches/series
===================================================================
--- packages/html2text/trunk/debian/patches/series (rev 0)
+++ packages/html2text/trunk/debian/patches/series 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,2 @@
+setup.py.diff
+shell-wrapper.diff
Added: packages/html2text/trunk/debian/patches/setup.py.diff
===================================================================
--- packages/html2text/trunk/debian/patches/setup.py.diff (rev 0)
+++ packages/html2text/trunk/debian/patches/setup.py.diff 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,21 @@
+Description: No setup.py in upstream.
+ This is a very simple one, only really suitable for the deb.
+Author: Stefano Rivera <stefano at rivera.za.net>
+Forwarded: no
+Last-Update: 2010-01-25
+
+--- /dev/null
++++ b/setup.py
+@@ -0,0 +1,12 @@
++#!/usr/bin/python
++
++from distutils.core import setup
++
++setup(name='pyfiglet',
++ version='2.37',
++ description='Converts HTML to Markdown',
++ author='Aaron Swartz',
++ author_email='me at aaronsw.com',
++ url='http://www.aaronsw.com/2002/html2text/',
++ py_modules=['html2text'],
++)
Added: packages/html2text/trunk/debian/patches/shell-wrapper.diff
===================================================================
--- packages/html2text/trunk/debian/patches/shell-wrapper.diff (rev 0)
+++ packages/html2text/trunk/debian/patches/shell-wrapper.diff 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,27 @@
+Description: Add wrapper script so html2text can be invoked as a binary.
+Author: Stefano Rivera <stefano at rivera.za.net>
+Forwarded: not-needed
+Last-Update: 2010-01-26
+
+--- /dev/null
++++ b/pyhtml2text
+@@ -0,0 +1,3 @@
++#!/bin/sh
++
++exec python /usr/share/pyshared/html2text.py "$@"
+--- a/setup.py
++++ b/setup.py
+@@ -2,11 +2,12 @@
+
+ from distutils.core import setup
+
+-setup(name='pyfiglet',
++setup(name='html2text',
+ version='2.37',
+ description='Converts HTML to Markdown',
+ author='Aaron Swartz',
+ author_email='me at aaronsw.com',
+ url='http://www.aaronsw.com/2002/html2text/',
+ py_modules=['html2text'],
++ scripts=['pyhtml2text'],
+ )
Added: packages/html2text/trunk/debian/rules
===================================================================
--- packages/html2text/trunk/debian/rules (rev 0)
+++ packages/html2text/trunk/debian/rules 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+get-orig-source:
+ VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \
+ uscan --noconf --force-download --rename --download-version=$$VER --destdir=.; \
+ mkdir html2text-$$VER; \
+ mv html2text-$$VER.py html2text-$$VER/html2text.py; \
+ tar -czf html2text_$$VER.orig.tar.gz html2text-$$VER; \
+ rm -rf html2text-$$VER
Property changes on: packages/html2text/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/html2text/trunk/debian/source/format
===================================================================
--- packages/html2text/trunk/debian/source/format (rev 0)
+++ packages/html2text/trunk/debian/source/format 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/html2text/trunk/debian/watch
===================================================================
--- packages/html2text/trunk/debian/watch (rev 0)
+++ packages/html2text/trunk/debian/watch 2010-01-29 17:59:49 UTC (rev 11410)
@@ -0,0 +1,3 @@
+version=3
+
+http://www.aaronsw.com/2002/html2text/html2text-(.*)\.py
More information about the Python-modules-commits
mailing list