[Python-modules-commits] [pystaticconfiguration] 02/03: Initial release (Closes: #879753)

Sophie Brun sbrun-guest at moszumanska.debian.org
Wed Oct 25 13:03: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 pystaticconfiguration.

commit c4328188b65f49b45d65efb396eb462caf0e421e
Author: Sophie Brun <sophie at freexian.com>
Date:   Wed Oct 25 14:24:42 2017 +0200

    Initial release (Closes: #879753)
---
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 65 ++++++++++++++++++++++++++++++
 debian/copyright                           | 27 +++++++++++++
 debian/python-staticconf-doc.doc-base      |  9 +++++
 debian/python-staticconf-doc.docs          |  1 +
 debian/python-staticconf.lintian-overrides |  3 ++
 debian/rules                               | 13 ++++++
 debian/source/format                       |  1 +
 debian/source/options                      |  1 +
 debian/watch                               |  4 ++
 11 files changed, 130 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..41103f8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pystaticconfiguration (0.10.3-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #879753)
+
+ -- Sophie Brun <sophie at freexian.com>  Tue, 24 Oct 2017 17:30:41 +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..eaa219a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,65 @@
+Source: pystaticconfiguration
+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, python3-all, python3-setuptools, python-sphinx, python3-sphinx, python-sphinx-rtd-theme, python3-sphinx-rtd-theme, python-pytest, python-mock, python-six, python-yaml, python3-pytest, python3-mock, python3-six, python3-yaml
+Standards-Version: 4.1.1
+Homepage: https://github.com/dnephin/PyStaticConfiguration
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pystaticconfiguration.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pystaticconfiguration.git/
+Testsuite: autopkgtest-pkg-python
+
+Package: python-staticconf
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-staticconf-doc
+Description: library for loading and reading configuration (Python 2)
+ This package contains PyStaticConfiguration, a Python library for loading,
+ validating and reading configuration from many heterogeneous formats.
+ Configuration is split into two phases.
+   * Configuration Loading: configuration is read from files or Python objects,
+     flattened, and merged into a container called a `namespace`. Namespaces
+     are used to separate unrelated configuration groups. If configuration is
+     changed frequently, it can also be reloaded easily with very little change
+     to the existing code.
+   * Configuration Reading: a configuration value is looked up in the
+     `namespace`. It is validating and converted to the requested type.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-staticconf
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-staticconf-doc
+Description: library for loading and reading configuration (Python 3)
+ This package contains PyStaticConfiguration, a Python library for loading,
+ validating and reading configuration from many heterogeneous formats.
+ Configuration is split into two phases.
+   * Configuration Loading: configuration is read from files or Python objects,
+     flattened, and merged into a container called a `namespace`. Namespaces
+     are used to separate unrelated configuration groups. If configuration is
+     changed frequently, it can also be reloaded easily with very little change
+     to the existing code.
+   * Configuration Reading: a configuration value is looked up in the
+     `namespace`. It is validating and converted to the requested type.
+ .
+ This package installs the library for Python 3.
+
+Package: python-staticconf-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: library for loading and reading configuration (common documentation)
+ This package contains PyStaticConfiguration, a Python library for loading,
+ validating and reading configuration from many heterogeneous formats.
+ Configuration is split into two phases.
+   * Configuration Loading: configuration is read from files or Python objects,
+     flattened, and merged into a container called a `namespace`. Namespaces
+     are used to separate unrelated configuration groups. If configuration is
+     changed frequently, it can also be reloaded easily with very little change
+     to the existing code.
+   * Configuration Reading: a configuration value is looked up in the
+     `namespace`. It is validating and converted to the requested type.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d02d278
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PyStaticConfiguration
+Source: https://github.com/dnephin/PyStaticConfiguration
+
+Files: *
+Copyright: 2012-2013 Daniel Nephin
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Sophie Brun <sophie at freexian.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+       http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License version
+ 2.0 can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/python-staticconf-doc.doc-base b/debian/python-staticconf-doc.doc-base
new file mode 100644
index 0000000..530703f
--- /dev/null
+++ b/debian/python-staticconf-doc.doc-base
@@ -0,0 +1,9 @@
+Document: staticconf
+Title: PyStaticConfiguration Documentation
+Author: Daniel Nephin
+Abstract: Documentation for the Python staticconf tool.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-staticconf-doc/html/index.html
+Files: /usr/share/doc/python-staticconf-doc/html/*
diff --git a/debian/python-staticconf-doc.docs b/debian/python-staticconf-doc.docs
new file mode 100644
index 0000000..344fcaa
--- /dev/null
+++ b/debian/python-staticconf-doc.docs
@@ -0,0 +1 @@
+build/html/
diff --git a/debian/python-staticconf.lintian-overrides b/debian/python-staticconf.lintian-overrides
new file mode 100644
index 0000000..60bb7a7
--- /dev/null
+++ b/debian/python-staticconf.lintian-overrides
@@ -0,0 +1,3 @@
+# we package python2 module as it's for elastalert using
+# Python 2.7 only
+python-staticconf: new-package-should-not-package-python2-module
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..51f1b98
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=staticconf
+export PYTHONPATH=$(CURDIR)
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html # HTML generator
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..26805c0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%PyStaticConfiguration-$1.tar.gz%" \
+   https://github.com/dnephin/PyStaticConfiguration/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

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



More information about the Python-modules-commits mailing list