[Python-modules-commits] [python-zc.customdoctests] 03/04: Initial release (Closes: #842876)

Julien Muchembled jmuchemb-guest at moszumanska.debian.org
Tue Dec 6 13:24:31 UTC 2016


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

jmuchemb-guest pushed a commit to branch master
in repository python-zc.customdoctests.

commit 5af4b0e79cd05f7875b82d8e47ca2eea613e3e99
Author: Julien Muchembled <jm at jmuchemb.eu>
Date:   Thu Dec 1 23:18:12 2016 +0100

    Initial release (Closes: #842876)
---
 debian/changelog                      |  5 ++++
 debian/compat                         |  1 +
 debian/control                        | 50 +++++++++++++++++++++++++++++++++
 debian/copyright                      | 52 +++++++++++++++++++++++++++++++++++
 debian/docs                           |  2 ++
 debian/python3-zc.customdoctests.docs |  1 +
 debian/rules                          | 10 +++++++
 debian/source/options                 |  1 +
 debian/watch                          |  4 +++
 9 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1d0b445
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-zc.customdoctests (1.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #842876).
+
+ -- Julien Muchembled <jm at jmuchemb.eu>  Thu, 01 Dec 2016 23:16:55 +0100
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..457a5f0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: python-zc.customdoctests
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Julien Muchembled <jm at jmuchemb.eu>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10), dh-python,
+  python-setuptools, python-all, python-manuel, python-zope.testing,
+  python3-setuptools, python3-all, python3-manuel, python3-zope.testing,
+Standards-Version: 3.9.8
+Homepage: https://github.com/zopefoundation/zc.customdoctests
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-zc.customdoctests.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-zc.customdoctests.git
+X-Python3-Version: >= 3.3
+
+Package: python-zc.customdoctests
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: python-manuel, python-spidermonkey
+Provides: ${python:Provides}
+Description: Use Python doctest with other languages
+ doctest (and recently manuel) provide hooks for using custom doctest
+ parsers. zc.customdoctests helps to leverage this to support other
+ languages, such as JavaScript (with python-spidermonkey):
+ .
+     js> function double (x) {
+     ...     return x*2;
+     ... }
+     js> double(2)
+     4
+ .
+ And with python-manuel, it facilitates doctests that mix multiple languages,
+ such as Python, JavaScript, and sh.
+
+Package: python3-zc.customdoctests
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python3-manuel, python3-spidermonkey
+Description: Use doctest with other languages (Python 3)
+ doctest (and recently manuel) provide hooks for using custom doctest
+ parsers. zc.customdoctests helps to leverage this to support other
+ languages, such as JavaScript (with python-spidermonkey):
+ .
+     js> function double (x) {
+     ...     return x*2;
+     ... }
+     js> double(2)
+     4
+ .
+ And with python-manuel, it facilitates doctests that mix multiple languages,
+ such as Python, JavaScript, and sh.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c96cfdb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,52 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: zc.customdoctests
+Upstream-Contact: Zope Foundation and Contributors <zope-dev at zope.org>
+Source: http://pypi.python.org/pypi/zc.customdoctests
+
+Files: *
+Copyright: (c) 2001-2016 Zope Foundation and Contributors.
+License: Zope-2.1
+ Zope Public License (ZPL) Version 2.1
+ .
+ A copyright notice accompanies this license document that identifies the
+ copyright holders.
+ .
+ This license has been certified as open source. It has also been designated as
+ GPL compatible by the Free Software Foundation (FSF).
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions in source code must retain the accompanying copyright
+ notice, this list of conditions, and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the accompanying copyright
+ notice, this list of conditions, and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Names of the copyright holders must not be used to endorse or promote
+ products derived from this software without prior written permission from the
+ copyright holders.
+ .
+ 4. The right to distribute this software or to use it for any purpose does not
+ give you the right to use Servicemarks (sm) or Trademarks (tm) of the
+ copyright
+ holders. Use of them is covered by separate agreement with the copyright
+ holders.
+ .
+ 5. If any files are modified, you must cause the modified files to carry
+ prominent notices stating that you changed the files and the date of any
+ change.
+ .
+ Disclaimer
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+ 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 HOLDERS 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/docs b/debian/docs
new file mode 100644
index 0000000..395bac4
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+src/zc/customdoctests/README.txt
+src/zc/customdoctests/spidermonkey.txt
diff --git a/debian/python3-zc.customdoctests.docs b/debian/python3-zc.customdoctests.docs
new file mode 120000
index 0000000..5c457d7
--- /dev/null
+++ b/debian/python3-zc.customdoctests.docs
@@ -0,0 +1 @@
+docs
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d8d454e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+
+export PYBUILD_NAME=zc.customdoctests
+
+export PYBUILD_AFTER_INSTALL = cd {destdir}{install_dir}/zc/customdoctests && \
+	rm -r *.txt
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..60fb1fa
--- /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..94c02d6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check https://pypi.debian.net/zc.customdoctests/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/zc.customdoctests/zc.customdoctests-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list