[Python-modules-commits] [python-odf] 01/03: new description, use pybuild

Wolfgang Borgert debacle at moszumanska.debian.org
Fri Oct 3 22:35:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-odf.

commit b28baf08ef7d02ed7e859efd932b8295c1fb8359
Author: W. Martin Borgert <debacle at debian.org>
Date:   Fri Oct 3 23:50:13 2014 +0200

    new description, use pybuild
---
 debian/changelog                         |  9 ++++++
 debian/control                           | 47 ++++++++++++++++++++------------
 debian/{python-odf.examples => examples} |  0
 debian/rules                             |  3 +-
 4 files changed, 40 insertions(+), 19 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8f5daf0..fd9f2c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-odf (1.2.0-1) UNRELEASED; urgency=low
+
+  * New upstream version (Closes: #763870)
+  * Use improved short and long description by upstream
+  * New policy version
+  * Moved packaging to git
+
+ -- W. Martin Borgert <debacle at debian.org>  Fri, 03 Oct 2014 21:47:40 +0000
+
 python-odf (0.9.6-2) unstable; urgency=low
 
   [Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:01 +0200]
diff --git a/debian/control b/debian/control
index ca8d85d..d40d6f7 100644
--- a/debian/control
+++ b/debian/control
@@ -3,25 +3,36 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Thomas Bechtold <thomasbechtold at jpberlin.de>, W. Martin Borgert <debacle at debian.org>
-Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 8), python-all, xmlto
-X-Python-Version: >= 2.7
-Homepage: https://joinup.ec.europa.eu/software/odfpy/home
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-odf/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-odf/trunk/
+Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 8), python-all, xmlto, python-setuptools
+Homepage: https://github.com/eea/odfpy
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-odf.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-odf.git
 
 Package: python-odf
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Description: Odfpy aims to be a complete API for OpenDocument in Python.
- Unlike other more convenient APIs, this one is essentially an abstraction
- layer just above the XML format. Odfpy is a library to read and write 
- OpenDocument v. 1.1 files. The main focus has been to prevent the programmer
- from creating invalid documents. It has checks that raise an exception if the
- programmer adds an invalid element, adds an attribute unknown to the grammar,
- forgets to add a required attribute or adds text to an element that doesn't 
- allow it. These checks and the API itself were generated from the RelaxNG 
- schema, and then hand-edited. Therefore the API is complete and can handle 
- all ODF constructions, but could be improved in its understanding of data 
- types. Take a look at the Getting Started page then consult the Reference 
- Manual.
+Description: Python API and tools to manipulate OpenDocument files
+ Odfpy is a library to read and write OpenDocument v. 1.1 files.
+ The main focus has been to prevent the programmer from creating invalid
+ documents. It has checks that raise an exception if the programmer adds
+ an invalid element, adds an attribute unknown to the grammar, forgets to
+ add a required attribute or adds text to an element that doesn't allow it.
+ .
+ These checks and the API itself were generated from the RelaxNG
+ schema, and then hand-edited. Therefore the API is complete and can
+ handle all ODF constructions.
+ .
+ In addition to the API, there are a few scripts:
+ .
+ - csv2odf - Create OpenDocument spreadsheet from comma separated values
+ - mailodf - Email ODF file as HTML archive
+ - odf2xhtml - Convert ODF to (X)HTML
+ - odf2mht - Convert ODF to HTML archive
+ - odf2xml - Create OpenDocument XML file from OD? package
+ - odfimgimport - Import external images
+ - odflint - Check ODF file for problems
+ - odfmeta - List or change the metadata of an ODF file
+ - odfoutline - Show outline of OpenDocument
+ - odfuserfield - List or change the user-field declarations in an ODF file
+ - xml2odf - Create OD? package from OpenDocument in XML form
diff --git a/debian/python-odf.examples b/debian/examples
similarity index 100%
rename from debian/python-odf.examples
rename to debian/examples
diff --git a/debian/rules b/debian/rules
index 2e1780e..a584774 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,11 @@
 
 #DH_VERBOSE=1
 
+export PYBUILD_NAME=odfpy
 PYTHON2=$(shell pyversions -vr)
 
 %:
-	dh $@ --with python2
+	dh $@ --buildsystem=pybuild --with python2
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 test-python%:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-odf.git



More information about the Python-modules-commits mailing list