[Python-modules-commits] [sphinx-argparse] 03/07: add debian/

Daniel Stender danstender-guest at moszumanska.debian.org
Wed Jan 20 20:30:20 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository sphinx-argparse.

commit e86ca8bd0ce73e5fff4bec50e8667fd7dc2eb21e
Author: Daniel Stender <debian at danielstender.com>
Date:   Wed Jan 20 21:16:58 2016 +0100

    add debian/
---
 debian/changelog                        |  5 ++++
 debian/compat                           |  1 +
 debian/control                          | 41 +++++++++++++++++++++++++++++++++
 debian/copyright                        | 29 +++++++++++++++++++++++
 debian/python-sphinx-argparse.doc-base  | 12 ++++++++++
 debian/python3-sphinx-argparse.doc-base | 12 ++++++++++
 debian/rules                            | 17 ++++++++++++++
 debian/source/options                   |  1 +
 debian/watch                            |  3 +++
 9 files changed, 121 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..07ccc3f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sphinx-argparse (0.1.15-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #794776).
+
+ -- Daniel Stender <debian at danielstender.com>  Wed, 20 Jan 2016 19:01:47 +0100
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..d813719
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: sphinx-argparse
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Daniel Stender <debian at danielstender.com>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+	       python-all (>= 2.7.3-5~),
+	       python-setuptools,
+	       python-sphinx,
+	       python-pytest,
+	       python3-all,
+	       python3-setuptools,
+	       python3-sphinx,
+	       python3-pytest
+Standards-Version: 3.9.6
+Homepage: https://github.com/ribozz/sphinx-argparse
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/sphinx-argparse.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/sphinx-argparse.git
+
+Package: python-sphinx-argparse
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends}
+Enhances: python-sphinx
+Description: Sphinx extension for argparse commands and options (Python 2)
+ sphinx-argparse is an extension for Sphinx (Python documentation generator)
+ that allows one to generate documentation for command line tools using argparse
+ (command-line parsing library) automatically.
+ .
+ This package contains the extension for Sphinx running on Python 2.
+
+Package: python3-sphinx-argparse
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, ${sphinxdoc:Depends}
+Enhances: python3-sphinx
+Description: Sphinx extension for argparse commands and options (Python 3)
+ sphinx-argparse is an extension for Sphinx (Python documentation generator)
+ that allows one to generate documentation for command line tools using argparse
+ (command-line parsing library) automatically.
+ .
+ This package contains the extension for Sphinx running on Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ced1118
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sphinx-argparse
+Source: https://github.com/ribozz/sphinx-argparse
+
+Files: *
+Copyright: 2013-2015 Aleksandr Rudakov <ribozz at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Daniel Stender <debian at danielstender.com>
+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-sphinx-argparse.doc-base b/debian/python-sphinx-argparse.doc-base
new file mode 100644
index 0000000..acdf83c
--- /dev/null
+++ b/debian/python-sphinx-argparse.doc-base
@@ -0,0 +1,12 @@
+Document: python-sphinx-argparse
+Title: documentation for the argparse extension for Sphinx
+Author: Aleksandr Rudakov <ribozz at gmail.com>
+Abstract: sphinx-argparse is an extension for Sphinx
+ (Python documentation generator) that allows one to generate
+ documentation for command line tools using argparse
+ (command-line parsing library) automatically.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-sphinx-argparse/html/index.html
+Files: /usr/share/doc/python-sphinx-argparse/html/*.html
\ No newline at end of file
diff --git a/debian/python3-sphinx-argparse.doc-base b/debian/python3-sphinx-argparse.doc-base
new file mode 100644
index 0000000..7b8c1f8
--- /dev/null
+++ b/debian/python3-sphinx-argparse.doc-base
@@ -0,0 +1,12 @@
+Document: python3-sphinx-argparse
+Title: documentation for the argparse extension for Sphinx
+Author: Aleksandr Rudakov <ribozz at gmail.com>
+Abstract: sphinx-argparse is an extension for Sphinx
+ (Python documentation generator) that allows one to generate
+ documentation for command line tools using argparse
+ (command-line parsing library) automatically.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-sphinx-argparse/html/index.html
+Files: /usr/share/doc/python3-sphinx-argparse/html/*.html
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..832e627
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#! /usr/bin/make -f
+#export DH_VERBOSE=1
+export PYBUILD_NAME=sphinx-argparse
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_test:
+	# PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+
+override_dh_installdocs:
+	PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python-sphinx-argparse/usr/share/doc/python-sphinx-argparse/html/
+	PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python3-sphinx-argparse/usr/share/doc/python3-sphinx-argparse/html/
+	dh_installdocs
+
+override_dh_installchangelogs:
+	dh_installchangelogs README.md
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..52564ab
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e44f243
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]+)\.tar\.gz/sphinx-argparse-$1.tar.gz/" \
+https://github.com/ribozz/sphinx-argparse/releases (?:.*/)?v?(\d[\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list