Commit e86ca8bd authored by Daniel Stender's avatar Daniel Stender

add debian/

parent e4f59863
sphinx-argparse (0.1.15-1) UNRELEASED; urgency=medium
* Initial release (Closes: #794776).
-- Daniel Stender <debian@danielstender.com> Wed, 20 Jan 2016 19:01:47 +0100
Source: sphinx-argparse
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Daniel Stender <debian@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.
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@gmail.com>
License: Expat
Files: debian/*
Copyright: 2016 Daniel Stender <debian@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.
Document: python-sphinx-argparse
Title: documentation for the argparse extension for Sphinx
Author: Aleksandr Rudakov <ribozz@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
Document: python3-sphinx-argparse
Title: documentation for the argparse extension for Sphinx
Author: Aleksandr Rudakov <ribozz@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
#! /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
extend-diff-ignore = "^[^/]*[.]egg-info/"
\ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment