debian/0000755000000000000000000000000011755235551007177 5ustar debian/rules0000755000000000000000000000100611746246242010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2,sphinxdoc override_dh_auto_clean: dh_auto_clean rm -rf django_pipeline.egg-info docs/_build override_dh_auto_build: dh_auto_build make -C docs html text override_dh_auto_install: dh_auto_install --destdir=debian/python-django-pipeline dh_installdocs -ppython-django-pipeline-doc docs/_build/html override_dh_installchangelogs: dh_installchangelogs docs/_build/text/changelog.txt debian/watch0000644000000000000000000000032011746237435010226 0ustar # Compulsory line, this is a version 3 file version=3 # Unfortunately upstream currently don't provide any releases on homepage http://pypi.python.org/pypi/django-pipeline/ .*django-pipeline-(.*)\.tar\.gz.* debian/patches/0000755000000000000000000000000011755227457010634 5ustar debian/patches/series0000644000000000000000000000004211755226233012034 0ustar make_jsmin_optional exclude_tests debian/patches/exclude_tests0000644000000000000000000000124111755227457013430 0ustar Description: exclude tests Author: Dmitry Nezhevenko Index: django-pipeline-1.2.2.1/setup.py =================================================================== --- django-pipeline-1.2.2.1.orig/setup.py 2012-05-17 19:51:39.000000000 +0300 +++ django-pipeline-1.2.2.1/setup.py 2012-05-17 20:02:29.000000000 +0300 @@ -12,7 +12,7 @@ author='Timothée Peignier', author_email='timothee.peignier@tryphon.org', url='https://github.com/cyberdelia/django-pipeline', - packages=find_packages(), + packages=find_packages(exclude=('tests', 'tests.tests.*', 'tests.*',)), zip_safe=False, include_package_data=True, classifiers=[ debian/patches/make_jsmin_optional0000644000000000000000000000164711746242606014602 0ustar Description: Make JSMin dependency optional JSMin is a JavaScript compressor. It's known to be non-free due to additional statement to MIT license (The Software shall be used for Good, not Evil.) . This patchs stubs out JSMin usage. Instead uncompressed JS will be returned. This should be ok since it is not default compressor at all. Author: Dmitry Nezhevenko Bug: https://github.com/cyberdelia/django-pipeline/issues/99 --- django-pipeline-1.2.2.orig/pipeline/compressors/jsmin.py +++ django-pipeline-1.2.2/pipeline/compressors/jsmin.py @@ -7,5 +7,9 @@ class JSMinCompressor(CompressorBase): (http://pypi.python.org/pypi/jsmin/). """ def compress_js(self, js): - from jsmin import jsmin - return jsmin(js) + try: + from jsmin import jsmin + return jsmin(js) + except ImportError: + # JSMin is not available + return js debian/README.Debian0000644000000000000000000000102011746236616011234 0ustar django-pipeline for Debian -------------------------- Django-pipeline provides a way to choose which JS compressor to use. Unfortunately JSMin one requires special python library: http://pypi.python.org/pypi/jsmin Unfortunately it's non-free due to licensing issue: http://wonko.com/post/jsmin-isnt-welcome-on-google-code As a workaround and to maintain API compatibility with upstream, Debian package is shipped with "stubbed out" JSMin wrapper -- Dmitry Nezhevenko Thu, 26 Apr 2012 13:54:47 +0300 debian/compat0000644000000000000000000000000211746211336010370 0ustar 8 debian/changelog0000644000000000000000000000024411746476172011057 0ustar django-pipeline (1.2.2.1-1) unstable; urgency=low * Initial release (Closes: #670508) -- Dmitry Nezhevenko Thu, 26 Apr 2012 12:18:18 +0300 debian/python-django-pipeline-doc.doc-base.django-pipeline0000644000000000000000000000070011746476641020775 0ustar Document: django-pipeline Title: Django-Pipeline library documentation Abstract: Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-django-pipeline-doc/html/index.html Files: /usr/share/doc/python-django-pipeline-doc/html/* debian/control0000644000000000000000000000220411746525512010577 0ustar Source: django-pipeline Section: python Priority: optional Maintainer: Dmitry Nezhevenko Build-Depends: debhelper (>= 8), python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python-django (>= 1.4), python-sphinx (>= 1.0.7+dfsg) Standards-Version: 3.9.3 X-Python-Version: >= 2.6 Homepage: https://github.com/cyberdelia/django-pipeline Package: python-django-pipeline Architecture: all Depends: ${python:Depends}, ${misc:Depends} Description: Asset packaging library for Django Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding. Package: python-django-pipeline-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${sphinxdoc:Depends} Recommends: doc-base Description: Documentation for Django Pipeline library Pipeline is an asset packaging library for Django, providing both CSS and JavaScript concatenation and compression, built-in JavaScript template support, and optional data-URI image and font embedding. . This package contains documentation in HTML format debian/copyright0000644000000000000000000000265211746243032011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: django-pipeline Source: Files: * Copyright: 2008 Andreas Pelme 2011-2012 Timothée Peignier License: Expat Files: debian/* Copyright: 2012 Dmitry Nezhevenko License: Expat License: Expat 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/source/0000755000000000000000000000000011746211335010471 5ustar debian/source/format0000644000000000000000000000001411746211335011677 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000000011746211336010033 0ustar