debian/0000775000000000000000000000000012316332557007177 5ustar debian/source/0000775000000000000000000000000012304053544010470 5ustar debian/source/format0000664000000000000000000000001412304053544011676 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000540212304053544011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: misaka Source: git://github.com/FSX/misaka.git Files: debian/* Copyright: (c) 2013, Thomas Goirand License: MIT Files: docs/assets/elements.less Copyright: Dmitry Fadeyev License: Public-domain Files: src/sundown/autolink.* src/sundown/buffer.* src/sundown/html.* src/sundown/html_smartypants.c src/sundown/markdown.* Copyright: (c) 2011, Vicent Marti (c) 2008-2009, Natacha Porté License: ISC Files: * Copyright: (c) 2013, Frank Smit (c) 2011, Vincent Marti (c) 2008-2009, Natacha Porte (c) 2011, Benjamin Heintz (c) 2011, Honza Pokorny (c) 2012, Francesco Mari License: MIT License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED “AS IS” AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 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. License: Public-domain This work is dedicated to the public domain and is free for all uses, commercial or otherwise. No form of credit required. License: MIT 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. debian/python-misaka.preinst0000664000000000000000000000025212304053544013361 0ustar #!/bin/sh set -e if [ "${1}" = "upgrade" ] ; then if [ ! -h /usr/bin/misaka ] && [ -e /usr/bin/misaka ] ; then rm /usr/bin/misaka fi fi #DEBHELPER# exit 0 debian/python-misaka.prerm0000664000000000000000000000020612304053544013021 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] ; then update-alternatives --remove misaka /usr/bin/python2-misaka fi #DEBHELPER# exit 0 debian/changelog0000664000000000000000000000146612316332557011060 0ustar python-misaka (1.0.2-2build1) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:35:27 +0100 python-misaka (1.0.2-2) unstable; urgency=medium * Build-depends on python3-all-dev to avoid FTBFS with Python 3.4, thanks to Matthias Klose for the bug report (Closes: #736706). * Now depends on realpath. * Fixed debian/copyright. * Manages /usr/bin/misaka using update-alternatives. * Standards-Version: is now 3.9.5. * Added cython, cython3 as build-depends. * Added autopkgtest. -- Thomas Goirand Fri, 28 Feb 2014 08:57:25 +0000 python-misaka (1.0.2-1) unstable; urgency=low * Initial release. (Closes: #721705) -- Thomas Goirand Sun, 01 Sep 2013 22:27:22 +0800 debian/gbp.conf0000664000000000000000000000024012304053544010603 0ustar [DEFAULT] upstream-branch = master debian-branch = debian/unstable upstream-tag = %(version)s compression = xz [git-buildpackage] export-dir = ../build-area/ debian/control0000664000000000000000000000410612316332557010603 0ustar Source: python-misaka Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: PKG OpenStack Uploaders: Julien Danjou , Thomas Goirand , Mehdi Abaakouk Build-Depends: cython, cython3, debhelper (>= 9), openstack-pkg-tools, python-all (>= 2.6.6-3~), python-dev (>= 2.7.5-4) | python2.6-dev, python-dev (>= 2.7.5-4) | python2.7-dev, python-setuptools, python3-all, python3-all-dev, python3-dev, python3-setuptools Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-misaka.git Vcs-Git: git://anonscm.debian.org/openstack/python-misaka.git Homepage: http://misaka.61924.nl/ XS-Testsuite: autopkgtest Package: python-misaka Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: realpath, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Recommends: ${python:Recommends} Description: binding for Sundown, a markdown parsing library - python 2.x Misaca is A Python 2 and 3 binding for Sundown, a really fast Markdown parser implemented in C. Misaka is written in Cython and C. And it features a set of Markdown extensions and customizable renderers. Just like the Sundown binding for Ruby, Redcarpet. . This package provides the Python 2.x module. Package: python3-misaka Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: realpath, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Recommends: ${python3:Recommends} Description: binding for Sundown, a markdown parsing library - python 3.x Misaca is A Python 2 and 3 binding for Sundown, a really fast Markdown parser implemented in C. Misaka is written in Cython and C. And it features a set of Markdown extensions and customizable renderers. Just like the Sundown binding for Ruby, Redcarpet. . This package provides the Python 3.x module. debian/python3-misaka.preinst0000664000000000000000000000025212304053544013444 0ustar #!/bin/sh set -e if [ "${1}" = "upgrade" ] ; then if [ ! -h /usr/bin/misaka ] && [ -e /usr/bin/misaka ] ; then rm /usr/bin/misaka fi fi #DEBHELPER# exit 0 debian/python3-misaka.postinst0000664000000000000000000000023612304053544013645 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] ; then update-alternatives --install /usr/bin/misaka misaka /usr/bin/python3-misaka 200 fi #DEBHELPER# exit 0 debian/rules0000775000000000000000000000160112304053544010246 0ustar #!/usr/bin/make -f PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) UPSTREAM_GIT = git://github.com/FSX/misaka.git include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_auto_clean: echo "Nothing to do" override_dh_auto_install: set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-misaka; \ done set -e && for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-misaka; \ done # Handle the fact that the misaka script is on both packages mv $(CURDIR)/debian/python-misaka/usr/bin/misaka $(CURDIR)/debian/python-misaka/usr/bin/python2-misaka mv $(CURDIR)/debian/python3-misaka/usr/bin/misaka $(CURDIR)/debian/python3-misaka/usr/bin/python3-misaka debian/watch0000664000000000000000000000011612304053544010217 0ustar version=3 http://pypi.python.org/packages/source/m/misaka misaka-(.*).tar.gz debian/python-misaka.postinst0000664000000000000000000000023612304053544013562 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] ; then update-alternatives --install /usr/bin/misaka misaka /usr/bin/python2-misaka 300 fi #DEBHELPER# exit 0 debian/python-misaka.postrm0000664000000000000000000000023712304053544013224 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then update-alternatives --remove misaka /usr/bin/python2-misaka fi #DEBHELPER# exit 0 debian/python3-misaka.prerm0000664000000000000000000000020612304053544013104 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] ; then update-alternatives --remove misaka /usr/bin/python3-misaka fi #DEBHELPER# exit 0 debian/compat0000664000000000000000000000000212304053544010366 0ustar 9 debian/tests/0000775000000000000000000000000012304053544010332 5ustar debian/tests/python-misaka0000664000000000000000000000022512304053544013040 0ustar #!/bin/sh set -e -u cp -r tests "$ADTTMP" cd "$ADTTMP/tests" for py in $(pyversions -i); do echo "Testing with $py..." $py -m misaka_test done debian/tests/python3-misaka0000664000000000000000000000022612304053544013124 0ustar #!/bin/sh set -e -u cp -r tests "$ADTTMP" cd "$ADTTMP/tests" for py in $(py3versions -i); do echo "Testing with $py..." $py -m misaka_test done debian/tests/control0000664000000000000000000000020012304053544011725 0ustar Tests: python-misaka Depends: python-all, python-misaka, tidy Tests: python3-misaka Depends: python3-all, python3-misaka, tidy debian/python3-misaka.postrm0000664000000000000000000000023712304053544013307 0ustar #!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then update-alternatives --remove misaka /usr/bin/python3-misaka fi #DEBHELPER# exit 0