debian/0000755000000000000000000000000012154160006007161 5ustar debian/control0000644000000000000000000000175012154156236010601 0ustar Source: django-model-utils Section: python Priority: extra Maintainer: Jonas Smedegaard Build-Depends: devscripts, python, cdbs (>= 0.4.97~), debhelper, dh-buildinfo, python-setuptools, python-django Standards-Version: 3.9.4 Homepage: https://github.com/carljm/django-model-utils/ Vcs-Git: git://git.debian.org:/git/collab-maint/python-django-model-utils Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-django-model-utils.git Package: python-django-model-utils Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${python:Depends} Description: Django model mixins and utilities Django is a high-level web application framework that loosely follows the model-view-controller design pattern. . django-model-utils model provides some mixins and utilities for Django, including QueryManager for one-line definition of Managers returning a custom QuerySet, InheritanceCastModel for more efficient use of model inheritance, and TimeStampedModel. debian/source/0000755000000000000000000000000012055253117010467 5ustar debian/source/format0000644000000000000000000000001411316654760011705 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000320212154157423011041 0ustar django-model-utils (1.3.1-1) unstable; urgency=low [ upstream ] * New release. + Moved primary development from Bitbucket to GitHub. + Removed deprecated ChoiceEnum, InheritanceCastModel, InheritanceCastManager, and manager_from. + Fixed pickling of PassThroughManager. + Set use_for_related_fields = True on QueryManager. + Added __len__ method to Choices. + Fixed InheritanceQuerySet on Django 1.5. + Allow specifying default value for a StatusField. + Fix calling create() on a RelatedManager that subclasses a dynamic PassThroughManager. + Add workaround in InheritanceQuerySet to avoid overriding prior calls to select_related(). + Added support for arbitrary levels of model inheritance in InheritanceManager. + Added ModelTracker for tracking field changes between model saves. + Added explicit default to BooleanField in tests, for Django trunk compatibility. + Fix intermittent StatusField bug. Closes: bug#711358. Thanks to Jakub Wilk. [ Jonas Smedegaard ] * Update README.source to emphasize control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Update upstream Homepage and source to github. * Bump standards-version to 3.9.4. * Extend coverage for main copyright holder. * Bump packaging license to GPL-3+, and extend coverage to include current year. -- Jonas Smedegaard Thu, 06 Jun 2013 21:12:17 +0200 django-model-utils (1.1.0-1) unstable; urgency=low * Initial packaging release. Closes: bug#694583. -- Jonas Smedegaard Wed, 28 Nov 2012 02:27:06 +0100 debian/README.source0000644000000000000000000000056312121764047011355 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/compat0000644000000000000000000000000212055253147010370 0ustar 8 debian/watch0000644000000000000000000000023612154154433010222 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 https://github.com/carljm/django-model-utils/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/copyright_hints0000644000000000000000000000155312154155540012334 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: AUTHORS.rst CHANGES.rst MANIFEST.in README.rst TODO.rst debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch model_utils/__init__.py model_utils/choices.py model_utils/fields.py model_utils/managers.py model_utils/models.py model_utils/tests/models.py model_utils/tests/tests.py model_utils/tracker.py runtests.py runtests.sh setup.py tox.ini Copyright: *No copyright* License: UNKNOWN FIXME Files: LICENSE.txt Copyright: 2009-2013, Carl Meyer and contributors HOLDERS AND CONTRIBUTORS License: BSD-3-clause FIXME Files: debian/rules Copyright: 2012, Jonas Smedegaard License: GPL-2+ FIXME debian/copyright0000644000000000000000000000464612154156407011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: django-model-utils Upstream-Contact: https://github.com/carljm/django-model-utils/issues/ Source: https://github.com/carljm/django-model-utils/downloads/ git://github.com/carljm/django-model-utils/ Files: * Copyright: 2009-2013, Carl Meyer License: BSD-3-clause Files: debian/* Copyright: 2012-2013, Jonas Smedegaard License: GPL-3+ License: BSD-3-clause Redistribution and use in source and binary forms, 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. * Neither the name of the author nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE 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 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-3+ This file 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 3 of the License, or (at your option) any later version. . Comment: . On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014612154160006010601 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000335512154156342010257 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2012, 2013 Jonas Smedegaard # Description: Main Debian packaging script for django-model-utils # # 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 3, 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 program. If not, see . DEB_BUILDDIR = build include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/python-distutils.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = python-$(DEB_UPSTREAM_PACKAGE) DEB_UPSTREAM_URL = https://github.com/carljm/$(DEB_UPSTREAM_PACKAGE)/archive DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_TARBALL_VERSION) # Avoid unneeded build-dependency on python-dev CDBS_BUILD_DEPENDS_class_python-distutils_python = # Needed by upstream build process and (always) at runtime deps = python-django # Needed by upstream build process bdeps = python-setuptools CDBS_BUILD_DEPENDS += , $(bdeps), $(deps) CDBS_DEPENDS_$(pkg) = $(deps) build/$(pkg):: debian/stamp-test debian/stamp-test: $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,$(cdbs_curpythonindepbinary) runtests.py) touch $@ clean:: rm -f debian/stamp-test DEB_INSTALL_CHANGELOGS_ALL = CHANGES.rst DEB_INSTALL_DOCS_ALL = README.rst debian/control.in0000644000000000000000000000161012154155622011177 0ustar Source: django-model-utils Section: python Priority: extra Maintainer: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.4 Homepage: https://github.com/carljm/django-model-utils/ Vcs-Git: git://git.debian.org:/git/collab-maint/python-django-model-utils Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-django-model-utils.git Package: python-django-model-utils Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${python:Depends} Description: Django model mixins and utilities Django is a high-level web application framework that loosely follows the model-view-controller design pattern. . django-model-utils model provides some mixins and utilities for Django, including QueryManager for one-line definition of Managers returning a custom QuerySet, InheritanceCastModel for more efficient use of model inheritance, and TimeStampedModel.