add debian directory
This commit is contained in:
parent
4c6730a146
commit
c7417f5b53
|
@ -0,0 +1,40 @@
|
|||
python-django-jsonfield (0.9.13-2) unstable; urgency=low
|
||||
|
||||
* Fix Django 1.7 AppRegistryNotReady error, by calling django.setup() in
|
||||
tests. Closes: #763240.
|
||||
|
||||
-- Brian May <bam@debian.org> Mon, 29 Sep 2014 12:04:08 +1000
|
||||
|
||||
python-django-jsonfield (0.9.13-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Python3 patch no longer required; deleted.
|
||||
|
||||
-- Brian May <bam@debian.org> Mon, 07 Jul 2014 08:58:49 +1000
|
||||
|
||||
python-django-jsonfield (0.9.12-3) unstable; urgency=low
|
||||
|
||||
* Python3 package. Closes: #753462.
|
||||
|
||||
-- Brian May <bam@debian.org> Wed, 02 Jul 2014 16:15:14 +1000
|
||||
|
||||
python-django-jsonfield (0.9.12-2) unstable; urgency=medium
|
||||
|
||||
* Add python-django to Build-Depends to fix test suite run.
|
||||
|
||||
-- Raphaël Hertzog <hertzog@debian.org> Fri, 24 Jan 2014 21:02:27 +0100
|
||||
|
||||
python-django-jsonfield (0.9.12-1) unstable; urgency=high
|
||||
|
||||
* New upstream version.
|
||||
* Compatible with Django 1.6 (which is already in testing, hence the
|
||||
severity).
|
||||
* Switch to pybuild in anticipation of Python 3 support.
|
||||
|
||||
-- Raphaël Hertzog <hertzog@debian.org> Tue, 21 Jan 2014 08:43:20 +0100
|
||||
|
||||
python-django-jsonfield (0.9.10-1) unstable; urgency=low
|
||||
|
||||
* Initial release. Closes: #717830
|
||||
|
||||
-- Raphaël Hertzog <hertzog@debian.org> Thu, 25 Jul 2013 14:51:15 +0200
|
|
@ -0,0 +1 @@
|
|||
tests.db
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,41 @@
|
|||
Source: python-django-jsonfield
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
|
||||
Uploaders: Raphaël Hertzog <hertzog@debian.org>,
|
||||
Brian May <bam@debian.org>
|
||||
Standards-Version: 3.9.5
|
||||
Build-Depends: debhelper (>= 9), dh-python,
|
||||
python-all, python-setuptools, python-django,
|
||||
python3-all, python3-setuptools, python3-django,
|
||||
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django-jsonfield/trunk/
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-django-tagging/trunk/
|
||||
Homepage: https://bitbucket.org/schinckel/django-jsonfield/
|
||||
|
||||
Package: python-django-jsonfield
|
||||
Architecture: all
|
||||
Depends: ${python:Depends}, ${misc:Depends}, python-django (>= 1.3)
|
||||
Description: JSON field for Django models (Python 2)
|
||||
This package provides a Django field (jsonfield.JSONField) that you can use to
|
||||
store arbitrary JSON structures in a simple text field at the database level.
|
||||
.
|
||||
Accessing the field returns a decoded object (list, dict, string).
|
||||
.
|
||||
In forms, it appears like a TextField but the input is validated to be valid
|
||||
JSON.
|
||||
.
|
||||
This is the Python 2 version of the package.
|
||||
|
||||
Package: python3-django-jsonfield
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends}, ${misc:Depends}, python-django (>= 1.3)
|
||||
Description: JSON field for Django models (Python 3)
|
||||
This package provides a Django field (jsonfield.JSONField) that you can use to
|
||||
store arbitrary JSON structures in a simple text field at the database level.
|
||||
.
|
||||
Accessing the field returns a decoded object (list, dict, string).
|
||||
.
|
||||
In forms, it appears like a TextField but the input is validated to be valid
|
||||
JSON.
|
||||
.
|
||||
This is the Python 3 version of the package.
|
|
@ -0,0 +1,34 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: django-jsonfield
|
||||
Upstream-Contact: Matthew Schinckel <matt@schinckel.net>
|
||||
Source: https://pypi.python.org/pypi/django-jsonfield/
|
||||
|
||||
Files: *
|
||||
Copyright: 2012 Matthew Schinckel <matt@schinckel.net>
|
||||
License: BSD-3-Clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2012 Raphaël Hertzog <hertzog@debian.org>
|
||||
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:
|
||||
* 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 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 MATTHEW SCHINCKEL 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.
|
|
@ -0,0 +1 @@
|
|||
README.rst
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=django-jsonfield
|
||||
|
||||
%:
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
||||
|
||||
.PHONY: override_dh_auto_test
|
||||
override_dh_auto_test:
|
||||
python2 debian/run_tests.py
|
||||
python3 debian/run_tests.py
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.getcwd())
|
||||
|
||||
from django.conf import settings
|
||||
settings.configure(
|
||||
INSTALLED_APPS=['jsonfield'],
|
||||
DATABASES={
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': 'tests.db',
|
||||
'USER': '',
|
||||
'PASSWORD': '',
|
||||
'HOST': '',
|
||||
'PORT': '',
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
import django
|
||||
django.setup()
|
||||
|
||||
from django.core import management
|
||||
management.call_command('test')
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,3 @@
|
|||
version=3
|
||||
http://pypi.python.org/pypi/django-jsonfield/ \
|
||||
.*/django-jsonfield/django-jsonfield-(.+).tar.gz
|
Loading…
Reference in New Issue