debian/0000755000000000000000000000000012302376505007171 5ustar debian/docs0000644000000000000000000000005611557075664010062 0ustar README debian/html debian/latex/pytidylib.pdf debian/copyright0000644000000000000000000000422111555731552011131 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: PyTidyLib Upstream-Contact: Jason Stitt Source: http://github.com/countergram/pytidylib/ Files: * Copyright: 2009 Jason Stitt License: MIT/X11 (BSD like) 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. Files: debian/* Copyright: 2011 Janos Guljas License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000000176512302376505011054 0ustar python-tidylib (0.2.1~dfsg-2ubuntu3) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:53:09 +0000 python-tidylib (0.2.1~dfsg-2ubuntu2) saucy; urgency=low * debian/control: And add a libtidy build-dependency for the benefit of tests -- Michael Terry Tue, 04 Jun 2013 09:55:34 -0400 python-tidylib (0.2.1~dfsg-2ubuntu1) saucy; urgency=low * debian/rules: Run upstream tests at build time. -- Adam Gandelman Mon, 03 Jun 2013 15:27:38 -0700 python-tidylib (0.2.1~dfsg-2) unstable; urgency=low * Add libjs-underscore dependency and link to replace embeded copy underscore.js file. * Add DM-Upload-Allowed control field. -- Janos Guljas Mon, 26 Dec 2011 22:46:46 +0100 python-tidylib (0.2.1~dfsg-1) unstable; urgency=low * Initial release. (Closes: #623016) -- Janos Guljas Fri, 29 Apr 2011 00:03:51 +0200 debian/links0000644000000000000000000000030211676144604010235 0ustar /usr/share/javascript/jquery/jquery.js usr/share/doc/python-tidylib/html/_static/jquery.js /usr/share/javascript/underscore/underscore.js usr/share/doc/python-tidylib/html/_static/underscore.js debian/doc-base0000644000000000000000000000063311555731552010601 0ustar Document: python-tidylib Title: PyTidyLib Documentation Author: Jason Stitt Abstract: PyTidyLib is a Python package that wraps the HTML Tidy library. This allows you, from Python code, to “fix” invalid (X)HTML markup. Some of the library’s many capabilities. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-tidylib/html/index.html Files: /usr/share/doc/python-tidylib/html/*.html debian/compat0000644000000000000000000000000211555731552010375 0ustar 7 debian/control0000644000000000000000000000310712153370610010570 0ustar Source: python-tidylib Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Janos Guljas Uploaders: Debian Python Modules Team DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python-setuptools, python-sphinx, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra, texlive-fonts-recommended, libtidy-0.99-0, Standards-Version: 3.9.2 Homepage: http://countergram.com/open-source/pytidylib/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-tidylib/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-tidylib/trunk/ Package: python-tidylib Architecture: all Depends: ${misc:Depends}, ${python:Depends}, libtidy-0.99-0, libjs-jquery, libjs-underscore Provides: ${python:Provides} Description: Python wrapper for HTML Tidy (tidylib) PyTidyLib is a Python package that wraps the HTML Tidy library. This allows you, from Python code, to “fix” invalid (X)HTML markup. Some of the library’s many capabilities include: . * Clean up unclosed tags and unescaped characters such as ampersands * Output HTML 4 or XHTML, strict or transitional, and add missing doctypes * Convert named entities to numeric entities, which can then be used in XML documents without an HTML doctype. * Clean up HTML from programs such as Word (to an extent) * Indent the output, including proper (i.e. no) indenting for pre elements, which some (X)HTML indenting code overlooks. debian/rules0000755000000000000000000000106112153366074010253 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_build: dh_auto_build sphinx-build -b latex docs/rst debian/latex make -C debian/latex all-pdf sphinx-build -b html docs/rst debian/html rm -rf debian/html/_sources/ rm -f debian/html/_static/jquery.js rm -f debian/html/._index.html rm -rf debian/html/.doctrees override_dh_auto_clean: rm -rf debian/html rm -rf debian/latex find docs -name "*.pyc" -exec rm -rf {} + dh_auto_clean override_dh_auto_test: set -ex; for i in `ls tests/*.py` ; do PYTHONPATH=$(CURDIR) python $${i} ; done debian/source/0000755000000000000000000000000011676221416010474 5ustar debian/source/format0000644000000000000000000000001411555731550011703 0ustar 3.0 (quilt) debian/pyversions0000644000000000000000000000000511555731552011336 0ustar 2.5- debian/watch0000644000000000000000000000022511557075664010236 0ustar version=3 opts=dversionmangle=s/~dfsg\.\d+$// \ http://githubredir.debian.net/github/countergram/pytidylib /github/countergram/pytidylib/(.+).tar.gz