--- simpleparse-2.1.0a1.orig/debian/python-simpleparse.examples
+++ simpleparse-2.1.0a1/debian/python-simpleparse.examples
@@ -0,0 +1 @@
+examples/*
--- simpleparse-2.1.0a1.orig/debian/python-simpleparse.docs
+++ simpleparse-2.1.0a1/debian/python-simpleparse.docs
@@ -0,0 +1,2 @@
+doc
+stt/Doc
--- simpleparse-2.1.0a1.orig/debian/control
+++ simpleparse-2.1.0a1/debian/control
@@ -0,0 +1,19 @@
+Source: simpleparse
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Vincent Bernat <bernat@luffy.cx>
+Build-Depends: debhelper (>=  5.0.37.2), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), python-support (>= 0.6)
+Standards-Version: 3.7.2
+
+Package: python-simpleparse
+Architecture: any
+Section: python
+Priority: optional
+Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Description: A simple parser generator for Python
+ SimpleParse is a BSD-licensed Python package providing a simple parser
+ generator for use with the mxTextTools text-tagging engine. SimpleParse
+ allows you to generate tagging tables for use with the text-tagging
+ engine directly from your EBNF grammar.
--- simpleparse-2.1.0a1.orig/debian/copyright
+++ simpleparse-2.1.0a1/debian/copyright
@@ -0,0 +1,145 @@
+This Debian package was created by Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
+
+The upstream source was obtained from:
+
+    http://sourceforge.net/projects/simpleparse
+
+Upstream authors:
+
+    Mike C. Fletcher <mcfletch@users.sourceforge.net>
+
+Copyright, License & Disclaimer
+
+  1998-2002, Copyright by Mike C. Fletcher; All Rights Reserved.
+  mailto: mcfletch@users.sourceforge.net
+
+  Permission to use, copy, modify, and distribute this software 
+  and its documentation for any purpose and without fee or royalty
+  is hereby granted, provided that the above copyright notice appear
+  in all copies and that both the copyright notice and this 
+  permission notice appear in supporting documentation or portions 
+  thereof, including modifications, that you make.
+
+  THE AUTHOR MIKE C. FLETCHER DISCLAIMS ALL WARRANTIES WITH REGARD
+  TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF 
+  MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE 
+  LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY 
+  DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
+  WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 
+  ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 
+  PERFORMANCE OF THIS SOFTWARE!
+
+This package also includes mxTextTools which is licensed under
+EGENIX.COM Public License Agreement reproduced below.
+
+
+  EGENIX.COM PUBLIC LICENSE AGREEMENT                        VERSION 1.1.0
+  ________________________________________________________________________
+  
+  1.  Introduction
+  
+      This "License Agreement" is between eGenix.com Software, Skills
+      and Services GmbH ("eGenix.com"), having an office at
+      Pastor-Loeh-Str. 48, D-40764 Langenfeld, Germany, and the
+      Individual or Organization ("Licensee") accessing and otherwise
+      using this software in source or binary form and its associated
+      documentation ("the Software").
+  
+  2.  License 
+  
+      Subject to the terms and conditions of this eGenix.com Public
+      License Agreement, eGenix.com hereby grants Licensee a
+      non-exclusive, royalty-free, world-wide license to reproduce,
+      analyze, test, perform and/or display publicly, prepare derivative
+      works, distribute, and otherwise use the Software alone or in any
+      derivative version, provided, however, that the eGenix.com Public
+      License Agreement is retained in the Software, or in any
+      derivative version of the Software prepared by Licensee.
+  
+  3.  NO WARRANTY
+  
+      eGenix.com is making the Software available to Licensee on an "AS
+      IS" basis.  SUBJECT TO ANY STATUTORY WARRANTIES WHICH CAN NOT BE
+      EXCLUDED, EGENIX.COM MAKES NO REPRESENTATIONS OR WARRANTIES,
+      EXPRESS OR IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION,
+      EGENIX.COM MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY
+      OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
+      THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+  
+  4.  LIMITATION OF LIABILITY
+  
+      EGENIX.COM SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF
+      THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES
+      OR LOSS (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
+      BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
+      INFORMATION, OR OTHER PECUNIARY LOSS) AS A RESULT OF USING,
+      MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF,
+      EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+  
+      SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
+      INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE EXCLUSION OR
+      LIMITATION MAY NOT APPLY TO LICENSEE.
+  
+  5.  Termination
+  
+      This License Agreement will automatically terminate upon a
+      material breach of its terms and conditions.
+  
+  6.  Third Party Rights 
+  
+      Any software or documentation in source or binary form provided
+      along with the Software that is associated with a separate license
+      agreement is licensed to Licensee under the terms of that license
+      agreement. This License Agreement does not apply to those portions
+      of the Software. Copies of the third party licenses are included
+      in the Software Distribution.
+  
+  7.  General
+  
+      Nothing in this License Agreement affects any statutory rights of
+      consumers that cannot be waived or limited by contract.
+  
+      Nothing in this License Agreement shall be deemed to create any
+      relationship of agency, partnership, or joint venture between
+      eGenix.com and Licensee.
+  
+      If any provision of this License Agreement shall be unlawful,
+      void, or for any reason unenforceable, such provision shall be
+      modified to the extent necessary to render it enforceable without
+      losing its intent, or, if no such modification is possible, be
+      severed from this License Agreement and shall not affect the
+      validity and enforceability of the remaining provisions of this
+      License Agreement.
+  
+      This License Agreement shall be governed by and interpreted in all
+      respects by the law of Germany, excluding conflict of law
+      provisions. It shall not be governed by the United Nations
+      Convention on Contracts for International Sale of Goods.
+  
+      This License Agreement does not grant permission to use eGenix.com
+      trademarks or trade names in a trademark sense to endorse or
+      promote products or services of Licensee, or any third party.
+  
+      The controlling language of this License Agreement is English. If
+      Licensee has received a translation into another language, it has
+      been provided for Licensee's convenience only.
+  
+  8.  Agreement
+  
+      By downloading, copying, installing or otherwise using the
+      Software, Licensee agrees to be bound by the terms and conditions
+      of this License Agreement.
+  
+  
+      For question regarding this License Agreement, please write to:
+  
+  	      eGenix.com Software, Skills and Services GmbH
+  	      Pastor-Loeh-Str. 48
+  	      D-40764 Langenfeld
+  	      Germany
+
+Copyright of this package is:
+
+    Copyright (c) 1997-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
+    Copyright (c) 2000-2002, eGenix.com Software GmbH; mailto:info@egenix.com
+    Copyright (c) 2003-2006, Mike Fletcher; mailto:mcfletch@vrplumber.com
--- simpleparse-2.1.0a1.orig/debian/pycompat
+++ simpleparse-2.1.0a1/debian/pycompat
@@ -0,0 +1 @@
+2
--- simpleparse-2.1.0a1.orig/debian/rules
+++ simpleparse-2.1.0a1/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+SHARE=$(CURDIR)/debian/python-simpleparse/usr/share
+
+binary-predeb/python-simpleparse::
+	# Some cleaning
+	chmod 0644 $(SHARE)/doc/python-simpleparse/examples/*
+	rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/examples
+	rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/doc
+	rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/stt/Doc
+	rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/stt/TextTools/{LICENSE,README,COPYRIGHT}
+	rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/stt/{LICENSE,COPYRIGHT,mxLicense.html}
+
+# DEB_PYTHON_SETUP_CMD := debian/setup.py
--- simpleparse-2.1.0a1.orig/debian/changelog
+++ simpleparse-2.1.0a1/debian/changelog
@@ -0,0 +1,35 @@
+simpleparse (2.1.0a1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #357537).
+  * Ship with parts of mxTextTools and therefore does not need it any more
+    (Closes: #426429).
+
+ -- Vincent Bernat <bernat@luffy.cx>  Wed, 29 Aug 2007 11:30:36 +0200
+
+simpleparse (2.0.0-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update simpleparse to the new python policy (Closes: #373381).
+  * Fix B-D-I/B-D problems (see policy 7.6).
+
+ -- Pierre Habouzit <madcoder@debian.org>  Thu, 29 Jun 2006 12:17:04 +0200
+
+simpleparse (2.0.0-3) unstable; urgency=low
+
+  * Initial release for uploading to Debian (Closes: #271781)
+
+ -- Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>  Mon,  7 Mar 2005 19:33:25 +0900
+
+simpleparse (2.0.0-2) unstable; urgency=low
+
+  * Depend on python-dev to fix build failure
+  * Correct Bulid-Depends to Build-Depends-Indep
+  * Install documentation and example properly
+
+ -- Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>  Mon,  7 Mar 2005 13:12:56 +0900
+
+simpleparse (2.0.0-1) unstable; urgency=low
+
+  * Initial packaging.
+ 
+ -- Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>  Thu, 29 Jul 2004 17:28:02 +0900
--- simpleparse-2.1.0a1.orig/debian/compat
+++ simpleparse-2.1.0a1/debian/compat
@@ -0,0 +1 @@
+5
