debian/0000755000000000000000000000000012253575071007175 5ustar debian/watch0000644000000000000000000000013611763164362010230 0ustar version=3 http://pypi.python.org/packages/source/d/django-nose/django-nose-([\d\.]+)\.tar\.gz debian/patches/0000755000000000000000000000000012253574633010627 5ustar debian/patches/runtests.patch0000644000000000000000000000347712220306707013537 0ustar Description: Enable non-default python versions for test runs The original version of runtests.sh only allows to run the tests on the current default python version. This patch add the environment variable PYTHON that can be set to a specific python binary (e.g. python2.6) to run the tests with. It also changes the path for django-admin.py to the one supplied by the python-django package. Author: Michael Fladischer Last-Update: 2011-11-26 Forwarded: no --- a/runtests.sh +++ b/runtests.sh @@ -1,6 +1,9 @@ #!/bin/sh export PYTHONPATH=. +if [ -z $PYTHON ]; then + export PYTHON=python +fi django_test() { TEST="$1" @@ -25,9 +28,8 @@ fi } -django_test 'django-admin.py test --settings=testapp.settings' '2' 'normal settings' -django_test 'django-admin.py test --settings=testapp.settings_with_south' '2' 'with south in installed apps' -django_test 'django-admin.py test --settings=testapp.settings_old_style' '2' 'django_nose.run_tests format' -django_test 'testapp/runtests.py testapp.test_only_this' '1' 'via run_tests API' -django_test 'django-admin.py test --settings=testapp.settings_with_plugins testapp/plugin_t' '1' 'with plugins' -django_test 'django-admin.py test --settings=testapp.settings unittests' '4' 'unittests' +django_test "$PYTHON /usr/bin/django-admin test --settings=testapp.settings" '2' 'normal settings' +django_test "$PYTHON /usr/bin/django-admin test --settings=testapp.settings_with_south" '2' 'with south in installed apps' +django_test "$PYTHON /usr/bin/django-admin test --settings=testapp.settings_old_style" '2' 'django_nose.run_tests format' +django_test "$PYTHON testapp/runtests.py testapp.test_only_this" '1' 'via run_tests API' +django_test "$PYTHON /usr/bin/django-admin test --settings=testapp.settings_with_plugins testapp/plugin_t" '1' 'with plugins' debian/patches/series0000644000000000000000000000001711664125207012034 0ustar runtests.patch debian/changelog0000644000000000000000000000524612253574606011061 0ustar django-nose (1.2-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Michael Fladischer ] * New upstream release (Closes: #711360). * Switch to dh_python2. * Build-Depends on dh-python. * Bump Standards version to 3.9.5. * Bump Build-Depends on debhelper to >= 8.1.0 to satisfy build-arch and build-indep targets. * Drop versioned Build-Depends on python-all as no prior versions are available in Wheezy. * Drop versioned Depends and Build-Depends on python-django as no prior versions are available in Wheezy. * Use correct DEP5 format URL for d/copyright. * Rename BSD-django-nose to BSD-3-clause license. * Refresh patch. * Update years in d/copyright. -- Michael Fladischer Mon, 16 Dec 2013 13:56:11 +0100 django-nose (1.1-1) unstable; urgency=low * New upstream release. * Make temporary Metadata-Version fix more generic for future versions. * Bump Standards version to 3.9.3. * Use BSD-django-nose as license name in d/copyright. * Change order of my name. * Add email addresses to authors in d/copyright. * Use PyPi URL in d/watch. -- Michael Fladischer Mon, 04 Jun 2012 19:28:30 +0200 django-nose (0.1.3-1) unstable; urgency=low * New upstream release. * Bump standards version to 3.9.2 (no change). * Use wrap-and-sort on debian/*. * Bump python-django dependency to (>= 1.2). * Temporary fix for Metadata-Version in PKG-INFO (see #645125). * Use http://githubredir.debian.net in d/watch to get clean tarball. * Use runtests.sh provided by upstream to run all tests. * Add python-django-south to Build-Depends to be able to run all tests. * Add patch for runtests.sh to enable the use of non-default python versions for running the tests. -- Fladischer Michael Sat, 26 Nov 2011 13:55:48 +0100 django-nose (0.1.2-2) unstable; urgency=low * Upload to unstable. * Update DEP5 format. * Set PMPT as maintainer and myself as uploader. * Provide a more verbose long description. * Drop debian/pyversions in favour of XS-Python-Version. -- Fladischer Michael Mon, 07 Feb 2011 14:17:27 +0100 django-nose (0.1.2-1) experimental; urgency=low * New upstream release. * Update to Debian policy 3.9.1. * Drop do_not_install_testapp patch as it has been integrated by upstream. * Update copyright year. -- Fladischer Michael Fri, 03 Dec 2010 00:41:23 +0100 django-nose (0.1-1) unstable; urgency=low * Initial release (Closes: #584106) -- Fladischer Michael Wed, 16 Jun 2010 13:15:15 +0200 debian/docs0000644000000000000000000000001311401176754010041 0ustar README.rst debian/copyright0000644000000000000000000000356712253574525011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: django-nose Upstream-Contact: Jeff Balogh Source: http://pypi.python.org/pypi/django-nose/ Files: * Copyright: 2010-2013, Jeff Balogh License: BSD-3-clause Files: debian/* Copyright: 2012-2013, Michael Fladischer License: BSD-3-clause 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: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. 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. . 3. Neither the name of django-nose nor the names of its 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. debian/rules0000755000000000000000000000105312220311111010225 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with=python2 .PHONY: override_dh_auto_test override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -e; \ for python in $(shell pyversions -r); do \ PYTHON=$$python ./runtests.sh; \ done endif .PHONY: override_dh_auto_install override_dh_auto_install: dh_auto_install sed -i 's/Metadata-Version: 1\.0/Metadata-Version: 1\.1/' debian/python-django-nose/usr/lib/python2.*/*-packages/django_nose-*.egg-info/PKG-INFO debian/source/0000755000000000000000000000000012253574633010500 5ustar debian/source/format0000644000000000000000000000001411401176754011702 0ustar 3.0 (quilt) debian/control0000644000000000000000000000213112253574554010602 0ustar Source: django-nose Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Michael Fladischer Build-Depends: debhelper (>= 8.1.0~), dh-python, python-all, python-django, python-django-south, python-nose, python-setuptools Standards-Version: 3.9.5 X-Python-Version: >= 2.5 Homepage: http://pypi.python.org/pypi/django-nose/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-nose/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-nose/trunk/ Package: python-django-nose Architecture: all Depends: python-django, python-nose, ${misc:Depends}, ${python:Depends} Description: Django test runner that uses python-nose python-django-nose integrates python-nose into Django test runner by extending the Django management CLI with nose-related options. Those options are targeted at running nose tests directly from within the Django management system (e.g. django-admin). debian/clean0000644000000000000000000000002711661411542010173 0ustar django_nose.egg-info/* debian/compat0000644000000000000000000000000211401176754010372 0ustar 7