[med-svn] [python-xlsxwriter] 02/02: Initial debian/ packaging

Andreas Tille tille at debian.org
Wed Jan 25 12:31:03 UTC 2017


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

tille pushed a commit to branch master
in repository python-xlsxwriter.

commit 383a03f3343cf28812c9e6ab6f74ae24f065cb0a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 25 13:29:17 2017 +0100

    Initial debian/ packaging
---
 debian/changelog     |   5 +++
 debian/compat        |   1 +
 debian/control       | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     |  36 ++++++++++++++++++
 debian/rules         |  19 ++++++++++
 debian/source/format |   1 +
 debian/watch         |   2 +
 7 files changed, 167 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e22cbc7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-xlsxwriter (0.9.6-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org>  Wed, 25 Jan 2017 11:34:11 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d107f02
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,103 @@
+Source: python-xlsxwriter
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python3-all
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-xlsxwriter.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/python-xlsxwriter.git
+Homepage: https://github.com/orcasgit/python-xlsxwriter/
+X-Python-Version: >= 2.6
+
+Package: python-xlsxwriter
+Architecture: all
+Depends: ${python:Depends},
+         ${misc:Depends}
+Description: Python module for creating Excel XLSX files
+ XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file
+ format.
+ .
+ XlsxWriter can be used to write text, numbers, formulas and hyperlinks to
+ multiple worksheets and it supports features such as formatting and many
+ more, including:
+ .
+  * 100% compatible Excel XLSX files.
+  * Full formatting.
+  * Merged cells.
+  * Defined names.
+  * Charts.
+  * Autofilters.
+  * Data validation and drop down lists.
+  * Conditional formatting.
+  * Worksheet PNG/JPEG images.
+  * Rich multi-format strings.
+  * Cell comments.
+  * Integration with Pandas.
+  * Textboxes.
+  * Memory optimization mode for writing large files.
+ .
+ This package provides the Python 2 module.
+
+Package: python3-xlsxwriter
+Architecture: all
+Depends: ${python3:Depends},
+         ${misc:Depends}
+Description: Python 3 module for creating Excel XLSX files
+ XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file
+ format.
+ .
+ XlsxWriter can be used to write text, numbers, formulas and hyperlinks to
+ multiple worksheets and it supports features such as formatting and many
+ more, including:
+ .
+  * 100% compatible Excel XLSX files.
+  * Full formatting.
+  * Merged cells.
+  * Defined names.
+  * Charts.
+  * Autofilters.
+  * Data validation and drop down lists.
+  * Conditional formatting.
+  * Worksheet PNG/JPEG images.
+  * Rich multi-format strings.
+  * Cell comments.
+  * Integration with Pandas.
+  * Textboxes.
+  * Memory optimization mode for writing large files.
+ .
+ This package provides the Python 3 module.
+
+Package: xlsxwriter
+Architecture: all
+Section: utils
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         python3-xlsxwriter
+Description: tools for creating Excel XLSX files
+ XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file
+ format.
+ .
+ XlsxWriter can be used to write text, numbers, formulas and hyperlinks to
+ multiple worksheets and it supports features such as formatting and many
+ more, including:
+ .
+  * 100% compatible Excel XLSX files.
+  * Full formatting.
+  * Merged cells.
+  * Defined names.
+  * Charts.
+  * Autofilters.
+  * Data validation and drop down lists.
+  * Conditional formatting.
+  * Worksheet PNG/JPEG images.
+  * Rich multi-format strings.
+  * Cell comments.
+  * Integration with Pandas.
+  * Textboxes.
+  * Memory optimization mode for writing large files.
+ .
+ This package provides tools using the Python3 module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1271269
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: XlsxWriter
+Source: https://github.com/jmcnamara/XlsxWriter
+
+Files: *
+Copyright: 2013-2016 John McNamara <jmcnamara at cpan.org>
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+  1. Redistributions of source code must retain the above copyright notice, this
+     list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright notice,
+     this list of conditions and the following disclaimer in the documentation
+     and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ .
+ The views and conclusions contained in the software and documentation are those
+ of the authors and should not be interpreted as representing official policies,
+ either expressed or implied, of the FreeBSD Project.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c89cba0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=xlsxwriter
+
+helperdir=debian/$(PYBUILD_NAME)/usr
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	mkdir -p $(helperdir)
+	mv debian/python3-$(PYBUILD_NAME)/usr/bin $(helperdir)
+	# strip .py extension
+	for py in $(helperdir)/bin/*.py ; do \
+	    mv $${py} $(helperdir)/bin/`basename $${py} .py` ; \
+	done
+	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin
+	# find . -type d -name __pycache__ | xargs rm -rf
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a982b21
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com//jmcnamara/XlsxWriter/releases .*/RELEASE_(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-xlsxwriter.git



More information about the debian-med-commit mailing list