[Python-modules-commits] [python-envparse] 02/02: Initial release (Closes: #879737)

Sophie Brun sbrun-guest at moszumanska.debian.org
Wed Oct 25 09:17:50 UTC 2017


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

sbrun-guest pushed a commit to branch debian/master
in repository python-envparse.

commit 001cefabe070e26c5d89b1694779019c0f1119db
Author: Sophie Brun <sophie at freexian.com>
Date:   Wed Oct 25 10:36:56 2017 +0200

    Initial release (Closes: #879737)
---
 debian/changelog                         |  5 +++++
 debian/compat                            |  1 +
 debian/control                           | 35 ++++++++++++++++++++++++++++++++
 debian/copyright                         | 32 +++++++++++++++++++++++++++++
 debian/python-envparse.lintian-overrides |  3 +++
 debian/rules                             |  7 +++++++
 debian/source/format                     |  1 +
 debian/source/options                    |  1 +
 debian/watch                             |  2 ++
 9 files changed, 87 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7417c76
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-envparse (0.2.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #879737)
+
+ -- Sophie Brun <sophie at freexian.com>  Wed, 25 Oct 2017 10:30:23 +0200
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..0c8895e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: python-envparse
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sophie Brun <sophie at freexian.com>
+Build-Depends: debhelper (>= 10), dh-python, python-all, python-setuptools, python-pytest, python3-all, python3-setuptools, python3-pytest
+Standards-Version: 4.1.1
+Homepage: https://github.com/rconradharris/envparse
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-envparse.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-envparse.git/
+Testsuite: autopkgtest-pkg-python
+
+Package: python-envparse
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: environment variable parsing (Python 2)
+ This package contains a simple utility to parse environment variables.
+ os.environ is a great choice to start off with but over time you'll find
+ yourself duplicating quite a bit of code around handling raw environment
+ variables. envparse aims to eliminate this duplicated, often inconsistent
+ parsing code and instead provide a single, easy-to-use wrapper.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-envparse
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: environment variable parsing (Python 3)
+ This package contains a simple utility to parse environment variables.
+ os.environ is a great choice to start off with but over time you'll find
+ yourself duplicating quite a bit of code around handling raw environment
+ variables. envparse aims to eliminate this duplicated, often inconsistent
+ parsing code and instead provide a single, easy-to-use wrapper.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fbefe0b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: envparse
+Source: https://github.com/rconradharris/envparse
+
+Files: *
+Copyright: 2012 Rick Harris <rconradharris at gmail.com>
+           2013 Daniele Faraglia
+	   2015 Russell Davies
+License: MIT
+
+Files: debian/*
+Copyright: 2017 Sophie Brun <sophie at freexian.com>
+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/python-envparse.lintian-overrides b/debian/python-envparse.lintian-overrides
new file mode 100644
index 0000000..df0d5c2
--- /dev/null
+++ b/debian/python-envparse.lintian-overrides
@@ -0,0 +1,3 @@
+# we package python2 module as it's for elastalert using
+# Python 2.7 only
+python-envparse: new-package-should-not-package-python2-module
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..931a035
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=envparse
+
+%:
+	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/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..39295ee
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://pypi.debian.net/envparse/envparse-(.+)\.(?: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-envparse.git



More information about the Python-modules-commits mailing list