pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-django-tastypie v0.12.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8a5655bd006
branches:  trunk
changeset: 641517:a8a5655bd006
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sun Nov 09 21:57:00 2014 +0000

description:
v0.12.0
=======

This release adds official support for both Django 1.7, as well as
several bugfixes.

.. warning::

  If you were previously relying on importing the ``User`` model from
  ``tastypie.compat``, this import will no longer work correctly. This was
  removed due to the way app-loading works in Django 1.7 & no great solution
  for dodging this issue exists.

  If you were using either of::

    from tastypie.compat import User
    from tastypie.compat import username_field

  Please update your code as follows::

    from tastypie.compat import get_user_model
    from tastypie.compat import get_username_field


Bugfixes
--------

* Drastic reworking of the test suite. (SHA: 95f57f7)
* Fixed Travis to run Python 3.4 tests. (SHA: 7af528c)
* Fixed a bug where URLs would be incorrectly handled if the ``api_name`` &
  ``resource_name`` were the same. (SHA: fd55aa3)
* Fixed a test requirement for PyYAML. (SHA: b4f6531)
* Added support for Django 1.7. (SHA: 7881bb6)
* Documentation updates:

    * Fixed header in ``tools.rst``. (SHA: f8af772)
    * Fixed header in ``resources.rst``. (SHA: 9508cbf)

diffstat:

 www/py-django-tastypie/Makefile |   4 ++--
 www/py-django-tastypie/PLIST    |  14 ++++++++++----
 www/py-django-tastypie/distinfo |   8 ++++----
 3 files changed, 16 insertions(+), 10 deletions(-)

diffs (60 lines):

diff -r ce27a0efe365 -r a8a5655bd006 www/py-django-tastypie/Makefile
--- a/www/py-django-tastypie/Makefile   Sun Nov 09 20:48:45 2014 +0000
+++ b/www/py-django-tastypie/Makefile   Sun Nov 09 21:57:00 2014 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2014/06/02 05:12:35 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2014/11/09 21:57:00 rodent Exp $
 
-DISTNAME=      django-tastypie-0.11.1
+DISTNAME=      django-tastypie-0.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    python www
 MASTER_SITES=  https://pypi.python.org/packages/source/d/django-tastypie/
diff -r ce27a0efe365 -r a8a5655bd006 www/py-django-tastypie/PLIST
--- a/www/py-django-tastypie/PLIST      Sun Nov 09 20:48:45 2014 +0000
+++ b/www/py-django-tastypie/PLIST      Sun Nov 09 21:57:00 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/06/02 05:12:35 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/11/09 21:57:00 rodent Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -71,9 +71,6 @@
 ${PYSITELIB}/tastypie/migrations/0001_initial.py
 ${PYSITELIB}/tastypie/migrations/0001_initial.pyc
 ${PYSITELIB}/tastypie/migrations/0001_initial.pyo
-${PYSITELIB}/tastypie/migrations/0002_add_apikey_index.py
-${PYSITELIB}/tastypie/migrations/0002_add_apikey_index.pyc
-${PYSITELIB}/tastypie/migrations/0002_add_apikey_index.pyo
 ${PYSITELIB}/tastypie/migrations/__init__.py
 ${PYSITELIB}/tastypie/migrations/__init__.pyc
 ${PYSITELIB}/tastypie/migrations/__init__.pyo
@@ -89,6 +86,15 @@
 ${PYSITELIB}/tastypie/serializers.py
 ${PYSITELIB}/tastypie/serializers.pyc
 ${PYSITELIB}/tastypie/serializers.pyo
+${PYSITELIB}/tastypie/south_migrations/0001_initial.py
+${PYSITELIB}/tastypie/south_migrations/0001_initial.pyc
+${PYSITELIB}/tastypie/south_migrations/0001_initial.pyo
+${PYSITELIB}/tastypie/south_migrations/0002_add_apikey_index.py
+${PYSITELIB}/tastypie/south_migrations/0002_add_apikey_index.pyc
+${PYSITELIB}/tastypie/south_migrations/0002_add_apikey_index.pyo
+${PYSITELIB}/tastypie/south_migrations/__init__.py
+${PYSITELIB}/tastypie/south_migrations/__init__.pyc
+${PYSITELIB}/tastypie/south_migrations/__init__.pyo
 ${PYSITELIB}/tastypie/templates/tastypie/basic.html
 ${PYSITELIB}/tastypie/templates/tastypie/detail.html
 ${PYSITELIB}/tastypie/templates/tastypie/list.html
diff -r ce27a0efe365 -r a8a5655bd006 www/py-django-tastypie/distinfo
--- a/www/py-django-tastypie/distinfo   Sun Nov 09 20:48:45 2014 +0000
+++ b/www/py-django-tastypie/distinfo   Sun Nov 09 21:57:00 2014 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/06/02 05:12:35 rodent Exp $
+$NetBSD: distinfo,v 1.2 2014/11/09 21:57:00 rodent Exp $
 
-SHA1 (django-tastypie-0.11.1.tar.gz) = be703272f13c1868d32475624e5e559014c51b06
-RMD160 (django-tastypie-0.11.1.tar.gz) = 17bf091e0c427d7936e2977ef679f59d5cd5eafd
-Size (django-tastypie-0.11.1.tar.gz) = 729351 bytes
+SHA1 (django-tastypie-0.12.0.tar.gz) = d25683a71548ccf1c11fb40b21298bd3842efbc1
+RMD160 (django-tastypie-0.12.0.tar.gz) = 1d3590f442aa3bc12a3d16fc689868360c8daca9
+Size (django-tastypie-0.12.0.tar.gz) = 730294 bytes



Home | Main Index | Thread Index | Old Index