[Python-modules-commits] [python-conditional] 02/03: Imported Debian patch 1.1-1

Sandro Tosi morph at moszumanska.debian.org
Tue Jun 30 22:00:16 UTC 2015


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

morph pushed a commit to branch master
in repository python-conditional.

commit e2882f2c9a959edd4ca12451524c1bf85fbd3b8d
Author: Sandro Tosi <morph at debian.org>
Date:   Tue Jun 30 16:26:59 2015 -0400

    Imported Debian patch 1.1-1
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 38 ++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 26 ++++++++++++++++++++++++++
 debian/rules         | 15 +++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 7 files changed, 89 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca0530b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-conditional (1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #790685)
+
+ -- Sandro Tosi <morph at debian.org>  Tue, 30 Jun 2015 16:26:59 -0400
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..0efd069
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: python-conditional
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), python, python3, dh-python, python-sphinx
+Standards-Version: 3.9.6
+Homepage: https://github.com/stefanholek/conditional
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-conditional.git
+Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/python-conditional.git/
+
+Package: python-conditional
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-conditional-doc
+Description: conditionally enter a context manager
+ The conditional context manager comes handy when you always want to execute a
+ with-block but only conditionally want to apply its context manager.
+
+Package: python3-conditional
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-conditional-doc
+Description: conditionally enter a context manager (Python 3)
+ The conditional context manager comes handy when you always want to execute a
+ with-block but only conditionally want to apply its context manager.
+ .
+ This package contains the Python 3 version of conditional .
+
+Package: python-conditional-doc
+Section: doc
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: conditionally enter a context manager (documentation)
+ The conditional context manager comes handy when you always want to execute a
+ with-block but only conditionally want to apply its context manager.
+ .
+ This package contains the documentation for conditional .
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bc88f05
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-conditional
+Source: https://github.com/stefanholek/conditional
+
+Files: *
+Copyright: Stefan H. Holek <stefan at epy.co.at>
+License: BSD
+
+Files: debian/*
+Copyright: 2015 Sandro Tosi <morph at debian.org>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..17062d8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	dh_auto_build
+	$(MAKE) -C docs html
+
+override_dh_auto_install:
+	python  setup.py install --install-layout=deb --root=$(CURDIR)/debian/python-conditional
+	python3 setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-conditional
+
+override_dh_installdocs:
+	dh_installdocs -ppython-conditional-doc docs/build/html
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..5f8cd43
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/conditional/conditional-(.+)\.(?: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-conditional.git



More information about the Python-modules-commits mailing list