debian/0000755000000000000000000000000012144462532007171 5ustar debian/rules0000755000000000000000000000042711735553133010257 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_install: dh_auto_install rm debian/python-django-rosetta/usr/lib/python*/*-packages/rosetta/polib.py clean: dh clean rm -rf *.egg-info find -name '._*' -delete %: dh $@ debian/changelog0000644000000000000000000000425512144462442011051 0ustar python-django-rosetta (0.7.2-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. * Remove DM-Upload-Allowed; it's no longer used by the archive software. [ Michael Ziegler ] * New upstream version. * Refresh 01-import.patch. * Bump polib dependency to 1.0.3. -- Michael Ziegler Mon, 13 May 2013 20:11:23 +0200 python-django-rosetta (0.6.6-1) unstable; urgency=low * New upstream release. * Change watchfile to grab the sources from PyPI since upstream moved. * Refresh patches/01-import.diff. * Change debian/copyright to machine-readable format. * Bump Standards-Version to 3.9.3. -- Michael Ziegler Sat, 31 Mar 2012 12:07:08 +0200 python-django-rosetta (0.6.0-1) unstable; urgency=low * New upstream release. * Bump Standards Version to 3.9.2. * Update patches/01-import.diff to match the new version of views.py. * Bump Django dependency to 1.2. * Set DMUA (advocated by christoph and dktrkranz). -- Michael Ziegler Sat, 28 May 2011 10:21:37 +0200 python-django-rosetta (0.5.6-1) unstable; urgency=low * New upstream release. * Bump Standards Version to 3.9.0. * Update patches/01-import.diff with new line numbers and surrounding code. * In the clean target, remove macos resource fork files. -- Michael Ziegler Sun, 11 Jul 2010 11:18:50 +0200 python-django-rosetta (0.5.5-1) unstable; urgency=low * New upstream release. * Changed watchfile to use googlecode.d.n. -- Michael Ziegler Thu, 10 Jun 2010 10:29:01 +0200 python-django-rosetta (0.5.3-1) unstable; urgency=low * New upstream release. * Remove rosetta/polib.py from the package which is pulled in from the python-polib dependency. * Change patches/01-import.diff to follow DEP-3. * rm upstream's egg-info directory before building the package. -- Michael Ziegler Sun, 28 Feb 2010 11:57:45 +0100 python-django-rosetta (0.5.2-1) unstable; urgency=low * Initial release (Closes: #564725) -- Michael Ziegler Sat, 23 Jan 2010 13:28:01 +0100 debian/source/0000755000000000000000000000000012144462532010471 5ustar debian/source/format0000644000000000000000000000001411570122511011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211570122511010357 0ustar 7 debian/control0000644000000000000000000000276512144462332010604 0ustar Source: python-django-rosetta Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Michael Ziegler Build-Depends: python, debhelper (>= 7.0.50~), python-setuptools (>= 0.6.10) Build-Depends-Indep: python-support (>= 0.3) Standards-Version: 3.9.3 Homepage: http://code.google.com/p/django-rosetta Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django-rosetta/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-django-rosetta/trunk/ XS-Python-Version: all Package: python-django-rosetta Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.2), python-polib (>= 1.0.3) Description: Eases the translation process of your Django projects A Django application that eases the translation process of your Django projects. . Because it doesn't export any models, Rosetta doesn't create any tables in your project's database. Rosetta can be installed and uninstalled by simply adding and removing a single entry in your project's INSTALLED_APPS and a single line in your main urls.py file. . Features: * Database independent * Reads and writes your project's gettext catalogs (po and mo files) * Installed and uninstalled in under a minute * Uses Django's admin interface CSS * Translation suggestions via Google AJAX Language API . Acknowledgments: * Rosetta uses the excellent polib library to parse and handle Po files. debian/patches/0000755000000000000000000000000012144462532010620 5ustar debian/patches/series0000644000000000000000000000002011570124022012014 0ustar 01-import.patch debian/patches/01-import.patch0000644000000000000000000000155112144226701013367 0ustar Description: Fix the way polib is imported into views.py to work with python-polib. Forwarded: not-needed Author: Michael Ziegler Index: python-django-rosetta-0.7.2/rosetta/views.py =================================================================== --- python-django-rosetta-0.7.2.orig/rosetta/views.py 2013-05-13 20:15:13.648522770 +0200 +++ python-django-rosetta-0.7.2/rosetta/views.py 2013-05-13 20:15:13.642522770 +0200 @@ -9,7 +9,7 @@ from django.utils.translation import ugettext_lazy as _ from django.views.decorators.cache import never_cache from rosetta.conf import settings as rosetta_settings -from rosetta.polib import pofile +from polib import pofile from rosetta.poutil import find_pos, pagination_range, timestamp_with_timezone from rosetta.signals import entry_changed, post_save from rosetta.storage import get_storage debian/watch0000644000000000000000000000013711735552332010226 0ustar version=3 http://pypi.python.org/packages/source/d/django-rosetta/django-rosetta-(.+)\.tar\.gz debian/copyright0000644000000000000000000000677611735553462011154 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: djExtDirect Source: https://github.com/mbi/django-rosetta Files: * Copyright: 2009-2010, Marco Bonetti License: MIT The MIT License . 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: rosetta/polib.py Copyright: 2006-2009, David Jean Louis License: MIT The MIT License . 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: 2010-2012, Michael Ziegler License: MIT The MIT License . 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.