debian/0000775000000000000000000000000012306342424007170 5ustar debian/copyright0000664000000000000000000001177512175135412011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python-django-compressor Source: http://pypi.python.org/pypi/django_compressor/ Files: debian/* Copyright: (c) 2012, Thomas Goirand License: MIT Files: compressor/filters/jsmin/rjsmin.py Copyright: 2006-2011, André Malo License: Apache-2.0 Files: compressor/filters/cssmin/* Copyright: (c) 2010 Zachary Voase License: MIT Files: compressor/utils/decorators.py Copyright: 2009-2011, Ask Solem and contributors License: BSD-2-clauses Files: compressor/utils/stringformat.py Copyright: 2010, Florent Xicluna License: BSD-3-clauses Files: * Copyright: 2009-2011 django_compressor authors (see AUTHORS file) 2008 Andreas Pelme 2006-2011 André Malo or his licensors, as applicable 2009-2011 Ask Solem and contributors. 2010 by Florent Xicluna. License: MIT 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. License: BSD-3-clauses Redistribution and use in source and binary forms of the software as well as documentation, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * The names of the contributors may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER 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 License: BSD-2-clauses Redistribution and use in source and binary forms of the software as well as documentation, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. . THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER 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 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian based systems, the full text of the Apache-2.0 license is available in this file: /usr/share/common-licenses/Apache-2.0 debian/compat0000664000000000000000000000000212175135412010367 0ustar 9 debian/watch0000664000000000000000000000014412175135412010221 0ustar version=3 http://pypi.python.org/packages/source/d/django-compressor/django-compressor-(.*)\.tar.gz debian/source/0000775000000000000000000000000012175135412010471 5ustar debian/source/format0000664000000000000000000000001412175135412011677 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012263224036010617 5ustar debian/patches/django-1.6-compat.patch0000664000000000000000000000101412263224036014661 0ustar Description: Use Django 1.6 discover_runner Author: James Page Forwarded: no --- a/compressor/test_settings.py +++ b/compressor/test_settings.py @@ -31,6 +31,4 @@ TEMPLATE_DIRS = ( os.path.join(TEST_DIR, 'test_templates'), ) -TEST_RUNNER = 'discover_runner.DiscoverRunner' - SECRET_KEY = "iufoj=mibkpdz*%bob952x(%49rqgv8gg45k36kjcg76&-y5=!" --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,5 +1,4 @@ flake8 -django-discover-runner coverage unittest2 BeautifulSoup==3.2.0 debian/patches/series0000664000000000000000000000003012263224022012020 0ustar django-1.6-compat.patch debian/rules0000775000000000000000000000207312306342217010252 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 UPSTREAM_GIT = git://github.com/jezdez/django_compressor.git include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --with python2 PYDEF=$(shell pyversions -d) ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: PYTHONPATH=$PYTHONPATH:. python /usr/lib/$(PYDEF)/dist-packages/django/bin/django-admin.py test --settings=compressor.test_settings compressor || true rm -rf $(CURDIR)/compressor/tests/static/CACHE endif override_dh_auto_build: override_dh_install: set -e ; for i in `pyversions -s` ; do \ $$i setup.py install --install-layout=deb --root=debian/python-compressor ; \ rm -f $(CURDIR)/debian/usr/lib/$$i/dist-packages/compressor/tests/static/CACHE/css/* ; \ rm -f $(CURDIR)/debian/usr/lib/$$i/dist-packages/compressor/tests/static/CACHE/js/* ; \ done find debian/python-compressor -iname '*.pyc' -delete override_dh_usrlocal: rm -f $(CURDIR)/debian/usr/share/pyshared/compressor/tests/static/CACHE/css/* rm -f $(CURDIR)/debian/usr/share/pyshared/compressor/tests/static/CACHE/js/* debian/CHANGELOG0000664000000000000000000000025212175135412010402 0ustar commit b88dc6d499b4de7dd437e7e59753d1442394fa8f Author: Thomas Goirand Date: Sun Oct 14 10:50:24 2012 +0000 Added initial upstream source v1.2 debian/gbp.conf0000664000000000000000000000023712175135412010612 0ustar [DEFAULT] upstream-branch = master debian-branch = debian/unstable upstream-tag = %(version)s compression = xz [git-buildpackage] export-dir = ../build-area/ debian/docs0000664000000000000000000000001312175135412010036 0ustar README.rst debian/pydist-overrides0000664000000000000000000000003612175135412012427 0ustar django_appconf python-appconf debian/changelog0000664000000000000000000000274712306342424011054 0ustar python-django-compressor (1.3-1ubuntu3) trusty; urgency=medium * d/control: Drop python-beautifulsoup from BD's (LP: #1252627), its only required to run tests and is a optional parser at runtime. * d/rules: Correct path for django-admin.py so tests actually run, even if the result is ignored. -- James Page Fri, 07 Mar 2014 13:09:39 +0000 python-django-compressor (1.3-1ubuntu2) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:51:17 +0000 python-django-compressor (1.3-1ubuntu1) trusty; urgency=medium * Drop use of external discover-runner as this is included in django >= 1.6 (LP: #1252627): - d/patches/django-1.6-compat.patch: Patch out use of discover_runner. - d/control: Drop BD on python-django-discover-runner, version BD on python-django >= 1.6. -- James Page Wed, 08 Jan 2014 10:32:15 +0000 python-django-compressor (1.3-1) unstable; urgency=low * New upstream release. * Added unit tests build-depends and ran wrap-and-sort. -- Thomas Goirand Wed, 26 Jun 2013 14:29:00 +0800 python-django-compressor (1.2-2) unstable; urgency=low * Uploading to unstable. -- Thomas Goirand Sun, 12 May 2013 15:20:14 +0000 python-django-compressor (1.2-1) experimental; urgency=low * Initial release. -- Thomas Goirand Sun, 14 Oct 2012 10:51:47 +0000 debian/control0000664000000000000000000000232612306340761010600 0ustar Source: python-django-compressor Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: PKG OpenStack Uploaders: Thomas Goirand , Build-Depends: debhelper (>= 9), openstack-pkg-tools, python-all (>= 2.6.6-3~), python-setuptools Build-Depends-Indep: python-appconf, python-coverage, python-django (>= 1.6), python-html5lib, python-jinja2, python-lxml, python-mock, python-nose, python-unittest2 Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-django-compressor.git;a=summary Vcs-Git: git://anonscm.debian.org/openstack/python-django-compressor.git Homepage: http://pypi.python.org/pypi/django_compressor/ Package: python-compressor Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: python-appconf, python-django (>= 1.1), ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: Compresses linked and inline JavaScript or CSS into single cached files Django Compressor combines and compresses linked and inline Javascript or CSS in a Django templates into cacheable static files by using the compress template tag.