[Python-modules-commits] [pylama] 08/09: Migrate to asciidoc
ChangZhuo Chen
czchen at moszumanska.debian.org
Thu Dec 15 00:54:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
czchen pushed a commit to branch master
in repository pylama.
commit 60d13d0fac25d15c80c2773656172065a5597dfc
Author: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Date: Wed Dec 14 11:01:36 2016 +0800
Migrate to asciidoc
---
debian/control | 9 ++++----
debian/pylama.1.ronn | 57 -----------------------------------------------
debian/pylama.1.txt | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 2 +-
4 files changed, 69 insertions(+), 62 deletions(-)
diff --git a/debian/control b/debian/control
index 1c7d814..b5c4f20 100644
--- a/debian/control
+++ b/debian/control
@@ -4,15 +4,16 @@ Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: ChangZhuo Chen (陳昌倬) <czchen at debian.org>,
Build-Depends: debhelper (>= 10),
+ asciidoc,
dh-python,
pydocstyle,
- python-all,
- python-pyflakes,
- python-setuptools,
python3-all,
python3-pyflakes,
python3-setuptools,
- ruby-ronn,
+ python-all,
+ python-pyflakes,
+ python-setuptools,
+ xmlto,
Standards-Version: 3.9.8
Homepage: https://github.com/klen/pylama
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pylama.git
diff --git a/debian/pylama.1.ronn b/debian/pylama.1.ronn
deleted file mode 100644
index 9bdd948..0000000
--- a/debian/pylama.1.ronn
+++ /dev/null
@@ -1,57 +0,0 @@
-# pylama(1) -- code audit tool for Python
-
-## SYNOPSIS
-
-`pylama [-h] [--verbose] [--version] [--format {pep8, pylint}] [--select SELECT] [--sort SORT] [--linters LINTERS] [--ignore IGNORE] [--skip SKIP] [--report REPORT] [--hook] [--async] [--options OPTIONS] [--force] [--abspath] [paths [paths ...]]`
-
-
-## OPTIONS
-
-* `-h`, `--help`:
- show the help message and exit
-
-* `-v`, `--verbose`:
- verbose mode
-
-* `--version`:
- show program's version number and exit
-
-* `-f {pep8, pylint}`, `--format {pep8, pylint}`:
- Choose errors format (pep8, pylint).
-
-* `-s SELECT`, `--select SELECT`:
- Select errors and warnings. (comma-separated list)
-
-* `--sort SORT`:
- Sort result by error types. Ex. E, W, D
-
-* `-l LINTERS`, `--linters LINTERS`:
- Select linters. (comma-separated). Choices are pyflakes, pep8, pep257, mccabe.
-
-* `-i IGNORE`, `--ignore IGNORE`:
- Ignore errors and warnings. (comma-separated)
-
-* `--skip SKIP`:
- Skip files by masks (comma-separated, Ex. `*/messages.py`)
-
-* `-r REPORT`, `--report REPORT`:
- Send report to file [REPORT]
-
-* `--hook`:
- Install Git (Mercurial) hook.
-
-* `--async`:
- Enable async mode. Useful for checking a lot of files. Don't supported with pylint.
-
-* `-o OPTIONS`, `--options OPTIONS`:
- Select configuration file. By default is `<CURDIR>/pylama.ini`
-
-* `-F`, `--force`:
- Force code checking (if linter doesn't allow)
-
-* `-a`, `--abspath`:
- Use absolute paths in output.
-
-## AUTHOR
-
-This manual page was written by ChangZhuo Chen <<czchen at debian.org>> for the __Debian GNU/Linux__ system (but may be used by others).
diff --git a/debian/pylama.1.txt b/debian/pylama.1.txt
new file mode 100644
index 0000000..bd3ba00
--- /dev/null
+++ b/debian/pylama.1.txt
@@ -0,0 +1,63 @@
+= PYLAMA(1)
+:doctype: manpage
+
+== Name
+
+pylama - code audit tool for Python
+
+== Synopsys
+
+*pylama* [_-h_] [_--verbose_] [_--version_] [_--format {pep8, pylint}_] [_--select SELECT_] [_--sort SORT_] [_--linters LINTERS_] [_--ignore IGNORE_] [_--skip SKIP_] [_--report REPORT_] [_--hook_] [_--async_] [_--options OPTIONS_] [_--force_] [_--abspath_] [_paths_ [_paths ..._]]
+
+== Options
+
+*-h*, *--help*::
+ show the help message and exit
+
+*-v*, *--verbose*::
+ verbose mode
+
+*--version*::
+ show program's version number and exit
+
+*-f {pep8, pylint}*, *--format {pep8, pylint}*::
+ Choose errors format (pep8, pylint).
+
+*-s SELECT*, *--select SELECT*::
+ Select errors and warnings. (comma-separated list)
+
+*--sort SORT*::
+ Sort result by error types. Ex. E, W, D
+
+*-l LINTERS*, *--linters LINTERS*::
+ Select linters. (comma-separated). Choices are pyflakes, pep8, pep257, mccabe.
+
+ *-i IGNORE*, *--ignore IGNORE*::
+ Ignore errors and warnings. (comma-separated)
+
+*--skip SKIP*::
+ Skip files by masks (comma-separated, Ex. **/messages.py*)
+
+*-r REPORT*, *--report REPORT*::
+ Send report to file [REPORT]
+
+*--hook*::
+ Install Git (Mercurial) hook.
+
+*--async*::
+ Enable async mode. Useful for checking a lot of files. Don't supported with pylint.
+
+*-o OPTIONS*, *--options OPTIONS*::
+ Select configuration file. By default is *<CURDIR>/pylama.ini*
+
+*-F*, *--force*::
+ Force code checking (if linter doesn't allow)
+
+*-a*, *--abspath*::
+ Use absolute paths in output.
+
+== Author
+
+This manual page was written by mailto:czchen at debian.org[ChangZhuo Chen
+'<czchen at debian.org>'] for the *Debian GNU/Linux system* (but may be used by
+others).
diff --git a/debian/rules b/debian/rules
index 40abd79..c179a83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DATE := $(shell date --date="$$(dpkg-parsechangelog --show-field Date)" +%F)
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_configure:
- cat debian/*.manpages | sed 's/\.1/.1.ronn/' | xargs ronn --date=$(DATE) --roff
+ cat debian/*manpages | sed 's/$$/.txt/p' | xargs -n 1 a2x --doctype manpage --format manpage
dh_auto_configure
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pylama.git
More information about the Python-modules-commits
mailing list