[med-svn] [python-xopen] 02/02: Initial packaging
Andreas Tille
tille at debian.org
Fri Mar 17 21:10:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-xopen.
commit c22e43d7ef6afadc8482fed6959999ce9a1c0d66
Author: Andreas Tille <tille at debian.org>
Date: Fri Mar 17 22:10:00 2017 +0100
Initial packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 30 +++++++++++++++++++++++++++
debian/rules | 7 +++++++
debian/source/format | 1 +
debian/watch | 3 +++
7 files changed, 105 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3a58869
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-xopen (0.1.1-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org> Fri, 17 Mar 2017 21:58:27 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b8bed70
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: python-xopen
+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,
+ python-setuptools,
+ python3,
+ python3-setuptools
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-xopen.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/python-xopen.git
+Homepage: https://github.com/marcelm/xopen
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-xopen
+Architecture: all
+Depends: ${python:Depends},
+ ${misc:Depends}
+Provides: ${python:Provides}
+Description: Python module to open compressed files transparently
+ This small Python module provides a xopen function that works like the
+ built-in open function, but can also deal with compressed files.
+ Supported compression formats are gzip, bzip2 and xz. They are
+ automatically recognized by their file extensions .gz, .bz2 or .xz.
+ .
+ The focus is on being as efficient as possible on all supported Python
+ versions. For example, simply using gzip.open is slow in older Pythons,
+ and it is a lot faster to use a gzip subprocess.
+ .
+ This module has originally been developed as part of the cutadapt tool
+ that is used in bioinformatics to manipulate sequencing data. It has
+ been in successful use within that software for a few years.
+ .
+ This is the Python 2 version.
+
+Package: python3-xopen
+Architecture: all
+Depends: ${python3:Depends},
+ ${misc:Depends}
+Description: Python3 module to open compressed files transparently
+ This small Python3 module provides a xopen function that works like the
+ built-in open function, but can also deal with compressed files.
+ Supported compression formats are gzip, bzip2 and xz. They are
+ automatically recognized by their file extensions .gz, .bz2 or .xz.
+ .
+ The focus is on being as efficient as possible on all supported Python
+ versions. For example, simply using gzip.open is slow in older Pythons,
+ and it is a lot faster to use a gzip subprocess.
+ .
+ This module has originally been developed as part of the cutadapt tool
+ that is used in bioinformatics to manipulate sequencing data. It has
+ been in successful use within that software for a few years.
+ .
+ This is the Python3 version.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6aef65c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: xopen
+Source: https://github.com/marcelm/xopen/releases
+
+Files: *
+Copyright: 2010-2016 Marcel Martin <mail at marcelm.net>
+License: MIT
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..46b79e4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+DH_VERBOSE := 1
+export PYBUILD_NAME=xopen
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
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..457cc83
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+
+https://github.com/marcelm/xopen/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-xopen.git
More information about the debian-med-commit
mailing list