[Python-modules-commits] r4434 - in packages/simpleparse/trunk/debian (7 files)

bernat-guest at users.alioth.debian.org bernat-guest at users.alioth.debian.org
Sat Jan 26 14:28:29 UTC 2008


    Date: Saturday, January 26, 2008 @ 14:28:29
  Author: bernat-guest
Revision: 4434

Create a third package that contains only documentation

Added:
  packages/simpleparse/trunk/debian/python-simpleparse-doc.docs
    (from rev 4419, packages/simpleparse/trunk/debian/python-simpleparse.docs)
  packages/simpleparse/trunk/debian/python-simpleparse-doc.examples
    (from rev 4419, packages/simpleparse/trunk/debian/python-simpleparse.examples)
Modified:
  packages/simpleparse/trunk/debian/changelog
  packages/simpleparse/trunk/debian/control
  packages/simpleparse/trunk/debian/rules
Deleted:
  packages/simpleparse/trunk/debian/python-simpleparse.docs
  packages/simpleparse/trunk/debian/python-simpleparse.examples

Modified: packages/simpleparse/trunk/debian/changelog
===================================================================
--- packages/simpleparse/trunk/debian/changelog	2008-01-26 13:53:33 UTC (rev 4433)
+++ packages/simpleparse/trunk/debian/changelog	2008-01-26 14:28:29 UTC (rev 4434)
@@ -5,8 +5,9 @@
   * Bump Standards-Version to 3.7.3
   * Build-Depends on python-setuptools
   * Add Vcs-* fields to debian/control
-  * Ship two packages: one with mxtexttools and the other with
-    architecture-independant files
+  * Ship three packages: one with mxtexttools, another with
+    architecture-independant files and the last one with documentation and
+    examples.
   * Add some cleaning rules to be able to build the package twice in a row
   * Add debian/watch
   * Run unit tests on build

Modified: packages/simpleparse/trunk/debian/control
===================================================================
--- packages/simpleparse/trunk/debian/control	2008-01-26 13:53:33 UTC (rev 4433)
+++ packages/simpleparse/trunk/debian/control	2008-01-26 14:28:29 UTC (rev 4434)
@@ -21,6 +21,17 @@
  allows you to generate tagging tables for use with the text-tagging
  engine directly from your EBNF grammar.
 
+Package: python-simpleparse-doc
+Architecture: all
+Section: doc
+Description: Documentation for simpleparse, 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.
+ .
+ This package contains documentation and examples.
+
 Package: python-simpleparse-mxtexttools
 Architecture: any
 Depends: ${python:Depends}, ${shlibs:Depends}

Copied: packages/simpleparse/trunk/debian/python-simpleparse-doc.docs (from rev 4419, packages/simpleparse/trunk/debian/python-simpleparse.docs)
===================================================================
--- packages/simpleparse/trunk/debian/python-simpleparse-doc.docs	                        (rev 0)
+++ packages/simpleparse/trunk/debian/python-simpleparse-doc.docs	2008-01-26 14:28:29 UTC (rev 4434)
@@ -0,0 +1 @@
+doc

Copied: packages/simpleparse/trunk/debian/python-simpleparse-doc.examples (from rev 4419, packages/simpleparse/trunk/debian/python-simpleparse.examples)
===================================================================
--- packages/simpleparse/trunk/debian/python-simpleparse-doc.examples	                        (rev 0)
+++ packages/simpleparse/trunk/debian/python-simpleparse-doc.examples	2008-01-26 14:28:29 UTC (rev 4434)
@@ -0,0 +1 @@
+examples/*

Deleted: packages/simpleparse/trunk/debian/python-simpleparse.docs
===================================================================
--- packages/simpleparse/trunk/debian/python-simpleparse.docs	2008-01-26 13:53:33 UTC (rev 4433)
+++ packages/simpleparse/trunk/debian/python-simpleparse.docs	2008-01-26 14:28:29 UTC (rev 4434)
@@ -1,2 +0,0 @@
-doc
-stt/Doc

Deleted: packages/simpleparse/trunk/debian/python-simpleparse.examples
===================================================================
--- packages/simpleparse/trunk/debian/python-simpleparse.examples	2008-01-26 13:53:33 UTC (rev 4433)
+++ packages/simpleparse/trunk/debian/python-simpleparse.examples	2008-01-26 14:28:29 UTC (rev 4434)
@@ -1 +0,0 @@
-examples/*

Modified: packages/simpleparse/trunk/debian/rules
===================================================================
--- packages/simpleparse/trunk/debian/rules	2008-01-26 13:53:33 UTC (rev 4433)
+++ packages/simpleparse/trunk/debian/rules	2008-01-26 14:28:29 UTC (rev 4434)
@@ -14,13 +14,15 @@
 
 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}
 
+binary-predeb/python-simpleparse-doc::
+	chmod 0644 $(CURDIR)/debian/python-simpleparse-doc/usr/share/doc/python-simpleparse-doc/examples/*
+
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 binary-post-install/python-simpleparse::
 	ln -s ../test_printers_garbage.py tests/.




More information about the Python-modules-commits mailing list