[Python-modules-commits] [commonmark-bkrs] 03/03: Initial packaging

Jerome Benoit calculus-guest at moszumanska.debian.org
Tue Oct 4 00:32:29 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository commonmark-bkrs.

commit 5a44849f0c3bbd6fd317523d400af35f1c6a8a14
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Tue Oct 4 01:06:39 2016 +0100

    Initial packaging
---
 debian/.git-dpm                                    |  3 +
 debian/README.Debian                               | 22 +++++++
 debian/adhoc/wrappers/python2/cmark-bkrs           |  1 +
 debian/adhoc/wrappers/python3/cmark-bkrs           |  1 +
 debian/adhoc/wrappers/scripts/cmark-bkrs           | 11 ++++
 debian/changelog                                   |  5 ++
 debian/compat                                      |  1 +
 debian/control                                     | 72 ++++++++++++++++++++++
 debian/copyright                                   | 46 ++++++++++++++
 debian/gbp.conf                                    |  2 +
 debian/man/cmark-bkrs.h2m                          |  7 +++
 debian/patches/debianization.patch                 | 57 +++++++++++++++++
 debian/patches/series                              |  1 +
 debian/python-commonmark-bkrs-doc.doc-base         | 14 +++++
 debian/python-commonmark-bkrs-doc.docs             |  4 ++
 debian/python-commonmark-bkrs-doc.examples         |  2 +
 debian/python-commonmark-bkrs-doc.links            |  3 +
 .../python-commonmark-bkrs-doc.lintian-overrides   |  2 +
 debian/python-commonmark-bkrs.install              |  2 +
 debian/python-commonmark-bkrs.lintian-overrides    |  6 ++
 debian/python-commonmark-bkrs.manpages             |  1 +
 debian/python-commonmark-bkrs.pyinstall            |  1 +
 debian/python3-commonmark-bkrs.install             |  1 +
 debian/python3-commonmark-bkrs.lintian-overrides   |  2 +
 debian/python3-commonmark-bkrs.pyinstall           |  1 +
 debian/rules                                       | 40 ++++++++++++
 debian/source/lintian-overrides                    |  3 +
 debian/tests/control                               |  8 +++
 debian/watch                                       |  4 ++
 29 files changed, 323 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index ae806d4..2c76cd5 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 commonmark-bkrs_0.5.4+ds.orig.tar.xz
 3130244690ec78bd501feff3af766bc5eec5f553
 81944
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..671aa43
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,22 @@
+Debian specific set up
+======================
+
+This Debian package brings a version of the Python package CommonMark-py that
+is frozen at the time of packaging; more precisely, the last version written
+by its initial authors, Bibek Kafle and Roland Shoemaker (BKRS). After release
+0.5.4, their project moved to `Read the Docs' (http://readthedocs.org) and
+major changes broke compatibility [1]. This Debian package is essentially meant
+to serve as dependency for the Debian package recommonmark that brings the
+Python package recommmark.
+
+To avoid any collision with any future up-to-date version of the Python package
+CommonMar-py, the suffix bkrs is appended wherever possible (either with a dash
+or an underscore), so any Python material depending on this very version of
+CommonMark-py must adapted accordingly; for examples of adaptation, see the
+Python script cmark[-bkrs] and the source of the Debian package recommonmark
+(based on release 0.4.0). Having said that, it is VERY HIGHLY NOT RECOMMENDED
+to development against this package.
+
+[1] https://github.com/rtfd/recommonmark/issues/24
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 30 Sep 2016 13:43:23 +0000
diff --git a/debian/adhoc/wrappers/python2/cmark-bkrs b/debian/adhoc/wrappers/python2/cmark-bkrs
new file mode 120000
index 0000000..3db731f
--- /dev/null
+++ b/debian/adhoc/wrappers/python2/cmark-bkrs
@@ -0,0 +1 @@
+../scripts/cmark-bkrs
\ No newline at end of file
diff --git a/debian/adhoc/wrappers/python3/cmark-bkrs b/debian/adhoc/wrappers/python3/cmark-bkrs
new file mode 120000
index 0000000..3db731f
--- /dev/null
+++ b/debian/adhoc/wrappers/python3/cmark-bkrs
@@ -0,0 +1 @@
+../scripts/cmark-bkrs
\ No newline at end of file
diff --git a/debian/adhoc/wrappers/scripts/cmark-bkrs b/debian/adhoc/wrappers/scripts/cmark-bkrs
new file mode 100755
index 0000000..8e2d4b6
--- /dev/null
+++ b/debian/adhoc/wrappers/scripts/cmark-bkrs
@@ -0,0 +1,11 @@
+#!/bin/sh
+## ad hoc wrapper to feed help2man(1)
+set -e
+WRAPPERDIR=${0%/*}
+PYTHON_VERSION_MAJOR=${WRAPPERDIR##*/python}
+case ${PYTHON_VERSION_MAJOR} in 2|3):;; *) exit 1 ;; esac
+WRAPPEE=build/scripts-${PYTHON_VERSION_MAJOR}/cmark-bkrs
+[ -x $WRAPPEE ] || exit 1
+$WRAPPEE $@ | sed -e 's|usage\:|Usage\:|;s|positional arguments\:|\*Input Files\*|;s|optional arguments\:|Options\:|'
+exit 0
+## eow
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c56d480
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+commonmark-bkrs (0.5.4+ds-1) unstable; urgency=medium
+
+  * Initial release (Closes: #838943).
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 30 Sep 2016 14:14:08 +0000
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..ca0dc63
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,72 @@
+Source: commonmark-bkrs
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jerome Benoit <calculus at rezozer.net>
+Build-Depends:
+Build-Depends-Indep: debhelper (>= 10),
+                     dh-python,
+                     help2man,
+                     python-all,
+                     python-docutils,
+                     python-setuptools,
+                     python3-all,
+                     python3-docutils,
+                     python3-setuptools
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Homepage: https://github.com/rolandshoemaker/CommonMark-py
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/commonmark-bkrs.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/commonmark-bkrs.git
+
+Package: python-commonmark-bkrs
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-commonmark-bkrs-doc (= ${source:Version})
+Description: Python parser for the CommonMark Markdown spec -- Python
+ Pure Python port of `jgm''s CommonMark, a Markdown parser and renderer for the
+ CommonMark (http://commonmark.org) specification, using only native modules.
+ .
+ This provides the CommonMark-py Python package as developed by Bibek Kafle and
+ Roland Shoemaker (BKRS). After release 0.5.4, their project moved to `Read the
+ Docs' (http://readthedocs.org) and major changes broke compatibility. However
+ some Python packages may still depend on their last implementation, hence this
+ Debian package which is meant to smooth the transition.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-commonmark-bkrs
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-commonmark-bkrs-doc (= ${source:Version})
+Description: Python parser for the CommonMark Markdown spec -- Python 3
+ Pure Python port of `jgm''s CommonMark, a Markdown parser and renderer for the
+ CommonMark (http://commonmark.org) specification, using only native modules.
+ .
+ This provides the CommonMark-py Python package as developed by Bibek Kafle and
+ Roland Shoemaker (BKRS). After release 0.5.4, their project moved to `Read the
+ Docs' (http://readthedocs.org) and major changes broke compatibility. However
+ some Python packages may still depend on their last implementation, hence this
+ Debian package which is meant to smooth the transition.
+ .
+ This package installs the library for Python 3.
+
+Package: python-commonmark-bkrs-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: www-browser
+Enhances: python-commonmark-bkrs (= ${source:Version}),
+          python3-commonmark-bkrs (= ${source:Version})
+Description: Python parser for the CommonMark Markdown spec -- doc
+ Pure Python port of `jgm''s CommonMark, a Markdown parser and renderer for the
+ CommonMark (http://commonmark.org) specification, using only native modules.
+ .
+ This provides the CommonMark-py Python package as developed by Bibek Kafle and
+ Roland Shoemaker (BKRS). After release 0.5.4, their project moved to `Read the
+ Docs' (http://readthedocs.org) and major changes broke compatibility. However
+ some Python packages may still depend on their last implementation, hence this
+ Debian package which is meant to smooth the transition.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1845e6b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: CommonMak-py
+Upstream-Contact: Roland Shoemaker <rolandshoemaker at gmail.com>
+Source: https://github.com/rolandshoemaker/CommonMark-py
+Files-Excluded:
+ .travis.yml
+ .gitignore
+ setup.cfg
+
+Files: *
+Copyright:
+ 2014 Bibek Kafle <bkafle662 at gmail.com>
+      Roland Shoemaker <rolandshoemaker at gmail.com>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright:
+ 2016 Jerome Benoit <calculus at rezozer.net>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1.  Redistributions of source code must retain the above copyright notice,
+     this list of conditions and the following disclaimer.
+ .
+ 2.  Redistributions in binary form must reproduce the above copyright notice,
+     this list of conditions and the following disclaimer in the documentation
+     and/or other materials provided with the distribution.
+ .
+ 3.  The name of the copyright holders may be used to endorse or promote
+     products derived from this software without specific prior written
+     permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/man/cmark-bkrs.h2m b/debian/man/cmark-bkrs.h2m
new file mode 100644
index 0000000..ac03c52
--- /dev/null
+++ b/debian/man/cmark-bkrs.h2m
@@ -0,0 +1,7 @@
+help2man include file for cmark-bkrs man page
+
+[AUTHOR]
+Bibek Kafle and Roland Shoemaker
+
+[COPYRIGHT]
+Copyright (C) 2014 Bibek Kafle and Roland Shoemaker
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
new file mode 100644
index 0000000..634ac54
--- /dev/null
+++ b/debian/patches/debianization.patch
@@ -0,0 +1,57 @@
+Description: debianization
+ Meant to maintain a minimal debian/rules, to fix annoying
+ warnings, to address Debian specific stuff in general.
+Origin: vendor, Debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-10-03
+
+--- a/bin/cmark.py
++++ b/bin/cmark.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ import argparse, sys
+-import CommonMark
++from CommonMark_bkrs import CommonMark
+ parser = argparse.ArgumentParser(description="Process Markdown according to the CommonMark specification.")
+ if sys.version_info < (3, 0):
+     reload(sys)
+--- a/CommonMark/__init__.py
++++ b/CommonMark/__init__.py
+@@ -1,6 +1,6 @@
+ from __future__ import absolute_import
+ __all__ = ["HTMLRenderer", "DocParser", "dumpAST", "ASTtoJSON"]
+-from CommonMark.CommonMark import HTMLRenderer
+-from CommonMark.CommonMark import DocParser
+-from CommonMark.CommonMark import dumpAST
+-from CommonMark.CommonMark import ASTtoJSON
++from CommonMark_bkrs.CommonMark import HTMLRenderer
++from CommonMark_bkrs.CommonMark import DocParser
++from CommonMark_bkrs.CommonMark import dumpAST
++from CommonMark_bkrs.CommonMark import ASTtoJSON
+--- a/setup.py
++++ b/setup.py
+@@ -2,9 +2,10 @@
+ from distutils.core import setup
+ 
+ setup(
+-	name = "CommonMark",
+-	packages = ['CommonMark'],
+-	scripts=['bin/cmark.py'],
++	name = "CommonMark_bkrs",
++	packages = ["CommonMark_bkrs"],
++	package_dir = {"CommonMark_bkrs": "CommonMark"},
++	scripts=["bin/cmark.py", "CommonMark/test/test-CommonMark.py"],
+ 	version = "0.5.4",
+ 	license = "BSD License",
+ 	description = "Python parser for the CommonMark Markdown spec",
+--- a/CommonMark/test/test-CommonMark.py
++++ b/CommonMark/test/test-CommonMark.py
+@@ -2,7 +2,7 @@
+ from __future__ import division
+ import re, time, codecs, argparse, sys
+ import pprint
+-import CommonMark
++from CommonMark_bkrs import CommonMark
+ 
+ class colors:
+     HEADER = '\033[95m'
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bda6985
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debianization.patch
diff --git a/debian/python-commonmark-bkrs-doc.doc-base b/debian/python-commonmark-bkrs-doc.doc-base
new file mode 100644
index 0000000..40fc6f9
--- /dev/null
+++ b/debian/python-commonmark-bkrs-doc.doc-base
@@ -0,0 +1,14 @@
+Document: commonmark-bkrs
+Title: Module CommonMark
+Author:
+ Bibek Kafle
+ Roland Shoemaker
+Abstract:
+ pdoc generated documentation for the [Python] Module CommonMark[-py], a pure
+ Python port of `jgm''s CommonMark, a Markdown parser and renderer for the
+ CommonMark (http://commonmark.org) specification, using only native modules.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-commonmark-bkrs-doc/CommonMark.py.html
+Files: /usr/share/doc/python-commonmark-bkrs-doc/CommonMark.py.html
diff --git a/debian/python-commonmark-bkrs-doc.docs b/debian/python-commonmark-bkrs-doc.docs
new file mode 100644
index 0000000..edf66ce
--- /dev/null
+++ b/debian/python-commonmark-bkrs-doc.docs
@@ -0,0 +1,4 @@
+README.md
+README.rst
+docs/CommonMark.py.html
+spec.txt
diff --git a/debian/python-commonmark-bkrs-doc.examples b/debian/python-commonmark-bkrs-doc.examples
new file mode 100644
index 0000000..755c7b4
--- /dev/null
+++ b/debian/python-commonmark-bkrs-doc.examples
@@ -0,0 +1,2 @@
+README.md
+build/scripts-2/tests/
diff --git a/debian/python-commonmark-bkrs-doc.links b/debian/python-commonmark-bkrs-doc.links
new file mode 100644
index 0000000..88ca966
--- /dev/null
+++ b/debian/python-commonmark-bkrs-doc.links
@@ -0,0 +1,3 @@
+usr/share/doc/python-commonmark-bkrs-doc/README.md      usr/share/doc/python-commonmark-bkrs-doc/examples/README.md
+usr/share/doc/python-commonmark-bkrs-doc/examples/tests usr/share/doc/python-commonmark-bkrs-doc/tests
+usr/share/doc/python-commonmark-bkrs-doc/spec.txt       usr/share/doc/python-commonmark-bkrs-doc/examples/tests/spec.txt
diff --git a/debian/python-commonmark-bkrs-doc.lintian-overrides b/debian/python-commonmark-bkrs-doc.lintian-overrides
new file mode 100644
index 0000000..81c9090
--- /dev/null
+++ b/debian/python-commonmark-bkrs-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# The upstream source tarball contains no ChangeLog file.
+python-commonmark-bkrs-doc: no-upstream-changelog
diff --git a/debian/python-commonmark-bkrs.install b/debian/python-commonmark-bkrs.install
new file mode 100644
index 0000000..0dde9a2
--- /dev/null
+++ b/debian/python-commonmark-bkrs.install
@@ -0,0 +1,2 @@
+/usr/lib/python2*/dist-packages/*.egg-info
+build/scripts-2/cmark-bkrs /usr/bin
diff --git a/debian/python-commonmark-bkrs.lintian-overrides b/debian/python-commonmark-bkrs.lintian-overrides
new file mode 100644
index 0000000..e5cf8bf
--- /dev/null
+++ b/debian/python-commonmark-bkrs.lintian-overrides
@@ -0,0 +1,6 @@
+# The upstream source tarball contains no ChangeLog file.
+python-commonmark-bkrs: no-upstream-changelog
+
+# The package is primarily a Python 2 library.
+python-commonmark-bkrs: library-package-name-for-application
+python-commonmark-bkrs: application-in-library-section
diff --git a/debian/python-commonmark-bkrs.manpages b/debian/python-commonmark-bkrs.manpages
new file mode 100644
index 0000000..c168ada
--- /dev/null
+++ b/debian/python-commonmark-bkrs.manpages
@@ -0,0 +1 @@
+build/scripts-2/cmark-bkrs.1
diff --git a/debian/python-commonmark-bkrs.pyinstall b/debian/python-commonmark-bkrs.pyinstall
new file mode 100644
index 0000000..a357035
--- /dev/null
+++ b/debian/python-commonmark-bkrs.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/dist-packages/CommonMark_bkrs/*.* CommonMark_bkrs
diff --git a/debian/python3-commonmark-bkrs.install b/debian/python3-commonmark-bkrs.install
new file mode 100644
index 0000000..a33a77d
--- /dev/null
+++ b/debian/python3-commonmark-bkrs.install
@@ -0,0 +1 @@
+/usr/lib/python3*/dist-packages/*.egg-info
diff --git a/debian/python3-commonmark-bkrs.lintian-overrides b/debian/python3-commonmark-bkrs.lintian-overrides
new file mode 100644
index 0000000..f40a3ec
--- /dev/null
+++ b/debian/python3-commonmark-bkrs.lintian-overrides
@@ -0,0 +1,2 @@
+# The upstream source tarball contains no ChangeLog file.
+python3-commonmark-bkrs: no-upstream-changelog
diff --git a/debian/python3-commonmark-bkrs.pyinstall b/debian/python3-commonmark-bkrs.pyinstall
new file mode 100644
index 0000000..860fafe
--- /dev/null
+++ b/debian/python3-commonmark-bkrs.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python3*/dist-packages/CommonMark_bkrs/*.* CommonMark_bkrs
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d5688ad
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+DEB_PKG_VERSION ?= $(shell dpkg-parsechangelog -S Version)
+
+H2MFLAGS = \
+	--manual="CommonMark Python package (Bibek Kafle and Roland Shoemaker)" \
+	--source="CMark-BKRS (Debian $(DEB_PKG_VERSION))" \
+	--version-string="CMark-BKRS - $(DEB_PKG_VERSION)" \
+	--no-info
+
+export PYBUILD_AFTER_BUILD = \
+	ln -rsf build/scripts-{version} build/scripts-{version.major} ;\
+	ln -f build/scripts-{version}/cmark.py build/scripts-{version.major}/cmark-bkrs ;\
+	mkdir -p build/scripts-{version.major}/tests ;\
+	ln -f build/scripts-{version.major}/test-CommonMark.py build/scripts-{version.major}/tests/test-CommonMark.py
+
+export PYBUILD_AFTER_INSTALL = \
+	LC_ALL=C PYTHONPATH={build_dir} help2man $(H2MFLAGS) -s 1 \
+			-I debian/man/cmark-bkrs.h2m \
+			-n "pure Python script parser for the CommonMark Markdown spec" \
+			-o build/scripts-{version.major}/cmark-bkrs.1 \
+		debian/adhoc/wrappers/python{version.major}/cmark-bkrs
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_installdocs:
+	dh_installdocs --all debian/README.Debian
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} CommonMark/test/test-CommonMark.py" dh_auto_test
+
+override_dh_compress:
+	dh_compress -XREADME.md -Xspec.txt -Xexamples
+
+get-orig-source:
+	uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..7dee07e
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# The upstream source ball is not signed and is unlikely
+# to be signed because the project has been transferred.
+debian-watch-may-check-gpg-signature
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f3e657c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,8 @@
+Test-Command: cd /usr/share/doc/python-commonmark-bkrs-doc/tests/ && python test-CommonMark.py
+Depends: python-commonmark-bkrs, python-commonmark-bkrs-doc
+
+Test-Command: cd /usr/share/doc/python-commonmark-bkrs-doc/tests/ && python3 test-CommonMark.py
+Depends: python3-commonmark-bkrs, python-commonmark-bkrs-doc
+
+Test-Command: cmark-bkrs /usr/share/doc/python-commonmark-bkrs-doc/examples/README.md -o $ADTTMP/README.html
+Depends: python-commonmark-bkrs, python-commonmark-bkrs-doc
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d9c4357
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=repack,dversionmangle=s/\+ds//,repacksuffix=+ds,\
+filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/CommonMark-BKRS-$1\.tar\.gz/ \
+https://github.com/rolandshoemaker/CommonMark-py/releases .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list