debian/0000775000000000000000000000000013443000473007166 5ustar debian/clean0000664000000000000000000000002112300370147010163 0ustar test-output.html debian/changelog0000664000000000000000000001754513443000422011046 0ustar python-markdown (2.4-1ubuntu0.14.04.1) trusty-security; urgency=medium * No change rebuild for 14.04 snapd security builds -- Jamie Strandboge Fri, 15 Mar 2019 19:37:06 +0000 python-markdown (2.4-1) unstable; urgency=low [ Dmitry Shachnev ] * New upstream release. * Bump Standards-Version to 3.9.5, no changes needed. * Add explicit build-dependency on dh-python. [ Bernd Zeimetz ] * Removing myself from Uploaders. -- Dmitry Shachnev Mon, 17 Feb 2014 15:19:36 +0400 python-markdown (2.3.1-2) unstable; urgency=low * Update man page: - Correctly escape hyphens. - Make DESCRIPTION section come after SYNOPSIS and remove AUTHOR section. * Really remove suggestion of python-utidylib, HTML Tidy extension has been removed in 2.3. * debian/watch: use HTTPS, and correctly escape dots. * Update debian/copyright (closes: #728134, thanks Luke Faraone). -- Dmitry Shachnev Tue, 29 Oct 2013 20:14:29 +0400 python-markdown (2.3.1-1) unstable; urgency=low * New upstream release, with native Python 3 support. * Build-depend on python-tidylib instead of python-utidylib, and drop python-markdown dependency on python-utidylib. * debian/rules, debian/tests: use /usr/bin/nosetests for all Python versions, and make the tests output more verbose. * Force buildsystem to be python_distutils. * Update debian/README.Debian. * Drop obsolete DM-Upload-Allowed flag. * Bump Standards-Version to 3.9.4, no changes needed. * Bump debhelper compat level to 9. * Use canonical Vcs-Svn field. -- Dmitry Shachnev Sat, 23 Mar 2013 14:51:20 +0400 python-markdown (2.2.1-3) unstable; urgency=low * Redirect tests stderr to stdout and don't set -x, thanks to Martin Pitt (closes: #692813) * Update to 2012-11-09 from upstream git -- Dmitry Shachnev Wed, 14 Nov 2012 09:03:07 +0400 python-markdown (2.2.1-2) unstable; urgency=low * debian/tests/control: fix wrong dependency for python3-markdown test -- Dmitry Shachnev Tue, 06 Nov 2012 10:48:11 +0400 python-markdown (2.2.1-1) unstable; urgency=low * New upstream release * Simplify .install files * Add python-utidylib to python-markdown Suggests (for html_tidy extension) and to Build-Depends (for testsuite) * git_fix_tests.patch: dropped, no longer needed * Add DEP-8 tests * debian/rules: skip tests for Python versions unsupported by nose -- Dmitry Shachnev Mon, 05 Nov 2012 13:28:13 +0400 python-markdown (2.2.0-1) unstable; urgency=low * New upstream release * Recommend python[3]-pygments packages (needed for codehilite extension) * Adjust to upstream documentation changes * Don't compress text files that go with the documentation * git_fix_inline_html.patch: dropped, applied in the new release * git_fix_tests.patch: patch from upstream git to fix test suite failures -- Dmitry Shachnev Sun, 29 Jul 2012 14:20:06 +0400 python-markdown (2.1.1-3) unstable; urgency=low [ Dmitry Shachnev ] * Bump Standards-Version to 3.9.3 * Make module packages suggest the doc package * Add doc-base file * Run tests during build * Add debian/patches/git_fix_inline_html.patch to fix issues with inline html handling (closes: #646552) [ Bernd Zeimetz ] * Setting DM-Upload-Allowed: yes -- Bernd Zeimetz Sat, 05 May 2012 22:31:31 +0200 python-markdown (2.1.1-2) unstable; urgency=low * Switch to debhelper 8 * Add python-markdown-doc package -- Dmitry Shachnev Thu, 16 Feb 2012 19:06:04 +0400 python-markdown (2.1.1-1) unstable; urgency=low * Add myself to Uploaders * New upstream release * Add debian/markdown_py.1 manpage * Drop 01-fix-unusual-interpreter.patch, fixed upstream -- Dmitry Shachnev Wed, 25 Jan 2012 13:26:18 +0400 python-markdown (2.1.0-1) unstable; urgency=low [ Dmitry Shachnev ] * New upstream release * Use 3.0 (quilt) source format * Port to dh_python* * Build Python3 package (closes: #647094) * debian/patches/01-fix-unusual-interpreter.patch: - fix interpreter in def_list and tables extensions * Bump Standards-Version to 3.9.2, no changes required -- Debian Python Modules Team Sun, 22 Jan 2012 15:24:30 +0400 python-markdown (2.0.3-2) unstable; urgency=low * Rename /usr/bin/markdown to /usr/bin/markdown_py for now. The Python implementation is not compatible enough to be an alternative for the Perl version yet. (Closes: #567378) * Get rid of the new source format mess, we use the default. * Add .PHONY to debian/rules. * Bump Standards-Version to 3.8.4 - no changes needed. * Drop XB-Python-Version, not needed. -- Bernd Zeimetz Wed, 24 Feb 2010 23:24:10 +0100 python-markdown (2.0.3-1) unstable; urgency=low [ Raphaƫl Hertzog ] * New upstream release. Closes: #525563 * Remove myself from Uploaders. * Update watch file to point to pypi. * Switch to source format "3.0 (quilt)". * Fix URL in README.Debian. Closes: #532416 * Switch to debhelper 7 tiny rules files and compat mode 7. * Build-depends on python instead of python-dev. * Update Standards-Version to 3.8.3. -- Debian Python Modules Team Wed, 27 Jan 2010 17:48:00 +0100 python-markdown (1.7-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Emilio Pozuelo Monfort ] * debian/rules: Don't rely on python-support directory structure. Thanks Josselin Mouette. Closes: #517061. * Standards-Version is 3.8.0. No changes needed. -- Debian Python Modules Team Wed, 25 Feb 2009 23:35:20 +0100 python-markdown (1.7-1) unstable; urgency=low [ Bernd Zeimetz ] * New upstream version. * debian/control: - Adding Homepage field, removing pseudo-field from description - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) - Updating my email address - Bumping Standards-Version to 3.7.3 - no changes needed. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field -- Bernd Zeimetz Sun, 02 Mar 2008 23:43:50 +0100 python-markdown (1.6b-1) unstable; urgency=low * New upstream version -- Bernd Zeimetz Sun, 19 Aug 2007 01:41:04 +0200 python-markdown (1.6a-1) unstable; urgency=low * New upstream version (Closes: #398856) * debian/control: - Added XS-Vcs-Browser, XS-Vcs-Svn field - Moved python-support to Build-Depends, fixing lintian error clean-should-be-satisfied-by-build-depends * debian/watch: - Updating watch file - upstream ships a .zip file now * debian/changelog.pointer: - Removing file, upstream ships a changelog now * debian/README.Debian: - Updated, upstream ships a changelog now * debian/copyright: - Reflecting upstreams change in licensing, markdown is dual-licensed under GPL-2 and BSD now * debian/dirs: - Removing file, not needed anymore * debian/compat: - Bumping to level 5 -- Bernd Zeimetz Sat, 18 Aug 2007 14:36:15 +0200 python-markdown (1.4-2) unstable; urgency=low * Acknowledge previous NMU. Closes: #374865 * Update to new python policy. Closes: #373326 * Updated Standards-Version. * Added myself to uploaders. -- Raphael Hertzog Fri, 23 Jun 2006 10:48:53 +0200 python-markdown (1.4-1.1) unstable; urgency=high * Non-maintainer upload. * Build-depend on python-dev instead of python; fixes FTBFS, patch from Andreas Jochens. (Closes: #373201) -- Steinar H. Gunderson Tue, 20 Jun 2006 23:53:45 +0200 python-markdown (1.4-1) unstable; urgency=low * Initial release Closes: #364082 -- Fredrik Steen Fri, 21 Apr 2006 13:18:31 +0200 debian/control0000664000000000000000000000563113442777502010613 0ustar Source: python-markdown Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Fredrik Steen , Dmitry Shachnev Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-7~), python-nose, python-tidylib, python3-nose, dh-python Standards-Version: 3.9.5 Homepage: https://github.com/waylan/Python-Markdown Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-markdown/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-markdown/trunk/ X-Python-Version: >= 2.6 X-Python3-Version: >= 3.1 XS-Testsuite: autopkgtest Package: python-markdown Architecture: all Depends: ${python:Depends}, ${misc:Depends} Recommends: python-pygments Suggests: python-markdown-doc Description: text-to-HTML conversion library/tool (implemented in Python 2) Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). . This is a Python implementation of John Gruber's Markdown. The current version of python-markdown implements all Markdown syntax features and fully passes Markdown Test Suite 1.0. It also supports footnotes and attributes. . This package contains all the files needed to use Markdown with Python 2.x, and the /usr/bin/markdown_py command-line tool. Package: python3-markdown Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Recommends: python3-pygments Suggests: python-markdown-doc Description: text-to-HTML conversion library/tool (implemented in Python 3) Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). . This is a Python implementation of John Gruber's Markdown. The current version of python-markdown implements all Markdown syntax features and fully passes Markdown Test Suite 1.0. It also supports footnotes and attributes. . This package contains all the files needed to use Markdown with Python 3.x. Package: python-markdown-doc Architecture: all Depends: ${misc:Depends} Section: doc Description: text-to-HTML conversion library/tool (documentation) Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). . This is a Python implementation of John Gruber's Markdown. The current version of python-markdown implements all Markdown syntax features and fully passes Markdown Test Suite 1.0. It also supports footnotes and attributes. . This package contains HTML documentation files for python-markdown. debian/python3-markdown.install0000664000000000000000000000002112300370147013772 0ustar usr/lib/python3/ debian/python-markdown-doc.docs0000664000000000000000000000001412300370147013736 0ustar build/docs/ debian/python-markdown.manpages0000664000000000000000000000002512300370147014040 0ustar debian/markdown_py.1 debian/rules0000775000000000000000000000152612300370147010251 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- PYTHON2=$(shell pyversions -r) PYTHON3=$(shell py3versions -r) %: dh $@ --with python2,python3 --buildsystem=python_distutils override_dh_auto_clean: dh_auto_clean rm -rf build/ override_dh_auto_install: set -ex; for python in $(PYTHON3); do \ $$python setup.py install --install-layout=deb --root=debian/tmp; \ done dh_auto_install override_dh_auto_build: set -ex; for python in $(PYTHON3); do \ $$python setup.py build; \ done dh_auto_build ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: set -ex; for python in $(PYTHON2) $(PYTHON3); do \ $$python /usr/bin/nosetests -v; \ done dh_auto_test endif override_dh_compress: dh_compress -X.txt .PHONY: override_dh_auto_clean override_dh_auto_install override_dh_auto_test \ override_dh_compress debian/python-markdown-doc.doc-base0000664000000000000000000000067312300370147014476 0ustar Document: python-markdown Title: Markdown module for Python Author: Python Markdown Project Abstract: This is documentation of python-markdown module, which includes usage instructions, extensions documentation and API reference. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-markdown-doc/docs/index.html Files: /usr/share/doc/python-markdown-doc/docs/*.html /usr/share/doc/python-markdown-doc/docs/extensions/*.html debian/compat0000664000000000000000000000000212300370147010363 0ustar 9 debian/tests/0000775000000000000000000000000012300370147010327 5ustar debian/tests/control0000664000000000000000000000021612300370147011731 0ustar Tests: python-markdown Depends: python-markdown, python-nose, python-tidylib Tests: python3-markdown Depends: python3-markdown, python3-nose debian/tests/python-markdown0000664000000000000000000000022512300370147013412 0ustar #!/bin/sh set -eu cp -r tests "$ADTTMP/" cd "$ADTTMP" for python in $(pyversions -i); do PYTHONWARNINGS=d $python /usr/bin/nosetests -v 2>&1 done debian/tests/python3-markdown0000664000000000000000000000022712300370147013477 0ustar #!/bin/sh set -eu cp -r tests "$ADTTMP/" cd "$ADTTMP" for python in $(py3versions -i); do PYTHONWARNINGS=d $python /usr/bin/nosetests3 -v 2>&1 done debian/python-markdown.install0000664000000000000000000000003412300370147013713 0ustar usr/lib/python2.*/ usr/bin/ debian/watch0000664000000000000000000000012412300370147010213 0ustar version=3 https://pypi.python.org/packages/source/M/Markdown/Markdown-(.*)\.tar\.gz debian/source/0000775000000000000000000000000012300370147010465 5ustar debian/source/format0000664000000000000000000000001412300370147011673 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000737512300370147011134 0ustar This package was debianized by Fredrik Steen on Fri, 21 Apr 2006 13:18:31 +0200. It was downloaded from https://pypi.python.org/pypi/Markdown. Authors: Manfred Stienstra Yuri Takhteyev Waylan Limberg Dmitry Shachnev Copyright: 2004-2007 Manfred Stienstra Yuri Takhteyev 2006-2011 Waylan Limberg 2007-2008 The Python Markdown Project 1999-2007 Fredrik Lundh (markdown/serializers.py) 2008 Django Software Foundation (markdown/odict.py) 2011 Brian Neal (markdown/extensions/nl2br.py) 2008 Jack Miller (markdown/extensions/toc.py) Licenses: Python-Markdown is licensed under the BSD license: 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. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ``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 REGENTS 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. markdown/searializers.py is licensed under the following conditions: By obtaining, using, and/or copying this software and/or its associated documentation, you agree that you have read, understood, and will comply with the following terms and conditions: Permission to use, copy, modify, and distribute this software and its associated documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies, and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Secret Labs AB or the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- ABILITY AND FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/markdown_py.10000664000000000000000000000227112300370147011603 0ustar .TH MARKDOWN_PY 1 .SH NAME markdown_py \- a Python implementation of John Gruber's Markdown. .SH SYNOPSIS .B markdown_py [\fIoptions\fR] [\fIINPUT_FILE\fR] .RS 0 (STDIN is assumed if no INPUT_FILE is given) .SH DESCRIPTION Command-line Markdown compiler based on python\-markdown module, with extensions support. .SH OPTIONS .TP \fB\-\-version\fR Show program's version number and exit. .TP \fB\-h\fR, \fB\-\-help\fR Show the help message and exit. .TP \fB\-f \fIOUTPUT_FILE\fR, \fB\-\-file=\fIOUTPUT_FILE\fR Write output to OUTPUT_FILE. Defaults to STDOUT. .TP \fB\-e \fIENCODING\fR, \fB\-\-encoding=\fIENCODING\fR Encoding for input and output files. .TP \fB\-q\fR, \fB\-\-quiet\fR Suppress all warnings. .TP \fB\-v\fR, \fB\-\-verbose\fR Print all warnings. .TP \fB\-s \fISAFE_MODE\fR, \fB\-\-safe=\fISAFE_MODE\fR \'replace\', \'remove\' or \'escape\' HTML tags in input. .TP \fB\-o \fIOUTPUT_FORMAT\fR, \fB\-\-output_format=\fIOUTPUT_FORMAT\fR \'xhtml1\' (default), \'html4\' or \'html5\'. .TP \fB\-\-noisy\fR Print debug messages. .TP \fB\-x \fIEXTENSION\fR, \fB\-\-extension=\fIEXTENSION\fR Load extension EXTENSION. .TP \fB\-n\fR, \fB\-\-no_lazy_ol\fR Observe number of first item of ordered lists. debian/README.Debian0000664000000000000000000000117112300370147011226 0ustar python-markdown for Debian -------------------------- Basic usage as a module: import markdown html = markdown.markdown(your_text_string) You can read more about the modules and how to write extensions in the documentation, which is provided in python-markdown-doc package, or online: http://pythonhosted.org/Markdown/ You can read about the markdown syntax here: http://daringfireball.net/projects/markdown/basics -- Fredrik Steen , Fri, 21 Apr 2006 13:18:31 +0200, Bernd Zeimetz , Sat, 18 Aug 2007 09:37:31 +0200 Dmitry Shachnev , Fri, 22 Feb 2013 10:15:23 +0400