[Python-modules-commits] [python-olefile] 03/08: Initial Debianization

Marcos Fouces mfouces-guest at moszumanska.debian.org
Tue Nov 29 22:16:28 UTC 2016


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

mfouces-guest pushed a commit to branch master
in repository python-olefile.

commit c2ab8c804ccc35d986d26983529391fdf32a8192
Author: Marcos Fouces <mfouces at yahoo.es>
Date:   Mon Nov 28 23:56:29 2016 +0100

    Initial Debianization
---
 debian/changelog |  6 ++++++
 debian/compat    |  1 +
 debian/control   | 34 ++++++++++++++++++++++++++++++++++
 debian/copyright | 36 ++++++++++++++++++++++++++++++++++++
 debian/docs      |  2 ++
 debian/rules     | 10 ++++++++++
 debian/watch     |  3 +++
 7 files changed, 92 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eac03f9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+python-olefile (0.43-1) unstable; urgency=medium
+
+  * Initial Debian release (Closes:#838241)
+
+ -- Marcos Fouces <mfouces at yahoo.es>  Wed, 07 Sep 2016 23:40:13 +0200
+
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..0370f8f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: python-olefile
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Marcos Fouces <mfouces at yahoo.es>
+Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python
+Standards-Version: 3.9.8
+Homepage: https://www.decalage.info/python/olefileio
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-olefile.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-olefile.git
+
+Package: python-olefile
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: Improved version of the OleFileIO module from PIL
+ This package contains a Python package  to parse, read and write Microsoft
+ OLE2 files (also called Structured Storage, Compound File Binary Format or
+ Compound Document File Format), such as Microsoft Office 97-2003 documents,
+ vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix files,
+ Outlook messages, StickyNotes, several Microscopy file formats, McAfee
+ antivirus quarantine files, etc.
+
+Package: python3-olefile
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Improved version of the OleFileIO module from PIL for Python 3
+ This package contains a Python package  to parse, read and write Microsoft
+ OLE2 files (also called Structured Storage, Compound File Binary Format or
+ Compound Document File Format), such as Microsoft Office 97-2003 documents,
+ vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix files,
+ Outlook messages, StickyNotes, several Microscopy file formats, McAfee
+ antivirus quarantine files, etc.
+ .
+ This package contains the Python 3 version of olefile.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..75de049
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: olefile
+Source: https://www.decalage.info/python/olefileio
+
+Files: *
+Copyright: 2007-2015 Philippe Lagadec
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2015 Sophie Brun <sophie at freexian.com>
+           2016 Marcos Fouces <mfouces at yahoo.es>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ .
+ * 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 HOLDER 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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..968f11e
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+doc/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a43295d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME = olefile
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+
+	
+	
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..08bf7cf
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/olefile/olefile-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list