[Python-modules-commits] [python-atomicwrites] 03/05: Add debian directory

Filip Pytloun fpytloun-guest at moszumanska.debian.org
Tue Aug 9 11:07:35 UTC 2016


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

fpytloun-guest pushed a commit to branch master
in repository python-atomicwrites.

commit 276d6de061147db7d76abb33c49cd2c9770c85ed
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Tue Aug 9 13:01:03 2016 +0200

    Add debian directory
---
 debian/.git-dpm                         |  3 ++
 debian/changelog                        |  5 +++
 debian/compat                           |  1 +
 debian/control                          | 57 +++++++++++++++++++++++++++++++++
 debian/copyright                        | 30 +++++++++++++++++
 debian/python-atomicwrites-doc.doc-base |  9 ++++++
 debian/rules                            | 13 ++++++++
 debian/source/options                   |  1 +
 debian/watch                            |  3 ++
 9 files changed, 122 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index af3ed37..1208d04 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 python-atomicwrites_1.1.0.orig.tar.gz
 458a841c0d4abf0b56ce1a9e24c14a175fb7a842
 10715
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4bd80ce
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-atomicwrites (1.1.0-1) unstable; urgency=low
+
+  * initial release (Closes: #833840)
+
+ -- Filip Pytloun <filip at pytloun.cz>  Tue, 09 Aug 2016 11:43:50 +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..24b2a87
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: python-atomicwrites
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Filip Pytloun <filip at pytloun.cz>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python (>= 2.20160609~),
+               python-all,
+               python-pytest,
+               python-setuptools,
+               python-sphinx,
+               python3-all,
+               python3-pytest,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 3.9.8
+Testsuite: autopkgtest-pkg-python
+Homepage: https://github.com/untitaker/python-atomicwrites
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-atomicwrites.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-atomicwrites.git
+
+Package: python-atomicwrites
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Atomic file writes - Python 2.7
+ It uses a temporary file in the same directory as the given path. This ensures
+ that the temporary file resides on the same filesystem.
+ The temporary file will then be atomically moved to the target location: On
+ POSIX, it will use rename if files should be overwritten, otherwise a
+ combination of link and unlink.
+ .
+ This package contains the Python 2.7 module.
+
+Package: python3-atomicwrites
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Atomic file writes - Python 3.x
+ It uses a temporary file in the same directory as the given path. This ensures
+ that the temporary file resides on the same filesystem.
+ The temporary file will then be atomically moved to the target location: On
+ POSIX, it will use rename if files should be overwritten, otherwise a
+ combination of link and unlink.
+ .
+ This package contains the Python 3.x module.
+
+Package: python-atomicwrites-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Atomic file writes - documentation
+ It uses a temporary file in the same directory as the given path. This ensures
+ that the temporary file resides on the same filesystem.
+ The temporary file will then be atomically moved to the target location: On
+ POSIX, it will use rename if files should be overwritten, otherwise a
+ combination of link and unlink.
+ .
+ This package contains the documentation for Python module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0e0ff1e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-atomicwrites
+Source: https://github.com/untitaker/python-atomicwrites
+
+Files: *
+Copyright: 2014-2015 Markus Unterwaditzer <markus at unterwaditzer.net>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Filip Pytloun <filip at pytloun.cz>
+License: Expat
+
+License: Expat
+  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/python-atomicwrites-doc.doc-base b/debian/python-atomicwrites-doc.doc-base
new file mode 100644
index 0000000..dff7233
--- /dev/null
+++ b/debian/python-atomicwrites-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-atomicwrites-doc
+Title: Atomicwrites Documentation
+Author: Markus Unterwaditzer
+Abstract: Sphinx documentation for Atomicwrites
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-atomicwrites-doc/html/index.html
+Files: /usr/share/doc/python-atomicwrites-doc/html/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..27ff7a6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+VER ?= $(shell dpkg-parsechangelog -SVersion)
+
+export PYBUILD_NAME=atomicwrites
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-atomicwrites-doc/usr/share/doc/python-atomicwrites-doc/html
+	dh_sphinxdoc -O--buildsystem=python_distutils
+endif
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..be6d4af
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-atomicwrites-$1\.tar\.gz/ \
+  https://github.com/untitaker/python-atomicwrites/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list