[Python-modules-commits] r34081 - in packages/djangorestframework-gis/trunk/debian (4 files)

fladi at users.alioth.debian.org fladi at users.alioth.debian.org
Tue Sep 1 10:33:42 UTC 2015


    Date: Tuesday, September 1, 2015 @ 10:33:40
  Author: fladi
Revision: 34081

Provide Python3 package.

Added:
  packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides
Modified:
  packages/djangorestframework-gis/trunk/debian/changelog
  packages/djangorestframework-gis/trunk/debian/control
  packages/djangorestframework-gis/trunk/debian/rules

Modified: packages/djangorestframework-gis/trunk/debian/changelog
===================================================================
--- packages/djangorestframework-gis/trunk/debian/changelog	2015-09-01 09:01:30 UTC (rev 34080)
+++ packages/djangorestframework-gis/trunk/debian/changelog	2015-09-01 10:33:40 UTC (rev 34081)
@@ -1,3 +1,13 @@
+djangorestframework-gis (0.8-2) unstable; urgency=low
+
+  * Provide separate Python3 package.
+  * Use python-django-filters in Build-Depends and Depends.
+  * Remove python-pyspatialite and python-pysqlite2 from Build-Depends.
+  * Add lintian override for missing upstream changelog in Python3
+    package.
+
+ -- Michael Fladischer <fladi at debian.org>  Tue, 01 Sep 2015 12:22:04 +0200
+
 djangorestframework-gis (0.8-1) unstable; urgency=medium
 
   * New upstream release.

Modified: packages/djangorestframework-gis/trunk/debian/control
===================================================================
--- packages/djangorestframework-gis/trunk/debian/control	2015-09-01 09:01:30 UTC (rev 34080)
+++ packages/djangorestframework-gis/trunk/debian/control	2015-09-01 10:33:40 UTC (rev 34081)
@@ -8,13 +8,17 @@
                libsqlite3-mod-spatialite,
                python-all,
                python-djangorestframework (>= 3.0.4),
-               python-django-filter,
+               python-django-filters,
                python-gdal,
-               python-pyspatialite,
-               python-pysqlite2,
-               python-setuptools
+               python-setuptools,
+               python3-all,
+               python3-djangorestframework (>= 3.0.4),
+               python3-django-filters,
+               python3-gdal,
+               python3-setuptools
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 Homepage: https://github.com/djangonauts/django-rest-framework-gis
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/djangorestframework-gis/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/djangorestframework-gis/trunk/
@@ -22,7 +26,7 @@
 Package: python-djangorestframework-gis
 Architecture: all
 Depends: python-djangorestframework (>= 3.0.4),
-         python-django-filter,
+         python-django-filters,
          ${misc:Depends},
          ${python:Depends}
 Description: Geographic add-ons for Django REST Framework
@@ -40,3 +44,27 @@
       compatible.
   * InBBOXFilter: Filters a queryset to only those instances within a certain
       bounding box.
+
+Package: python3-djangorestframework-gis
+Architecture: all
+Depends: python3-djangorestframework (>= 3.0.4),
+         python3-django-filters,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Geographic add-ons for Django REST Framework (Python3 version)
+ djangorestframework-gis extends the Django REST Framework to also handle
+ geographic data as used by GeoDjango during serialization and deserialization.
+ It provides the following features:
+ .
+  * GeometryField: This field handles GeoDjango geometry fields, providing
+      custom to_native and from_native methods for GeoJSON input/output.
+  * GeoModelSerializer: This serializer updates the field_mapping dictionary to
+      include field mapping of GeoDjango geometry fields to the above
+      GeometryField.
+  * GeoFeatureModelSerializer: GeoFeatureModelSerializer is a subclass of
+      GeoModelSerializer which will output data in a format that is GeoJSON
+      compatible.
+  * InBBOXFilter: Filters a queryset to only those instances within a certain
+      bounding box.
+ .
+ This package contains the Python 3 version of the library.

Added: packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides
===================================================================
--- packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides	                        (rev 0)
+++ packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides	2015-09-01 10:33:40 UTC (rev 34081)
@@ -0,0 +1,2 @@
+# Upstream does not provide a separate changelog.
+python3-djangorestframework-gis: no-upstream-changelog

Modified: packages/djangorestframework-gis/trunk/debian/rules
===================================================================
--- packages/djangorestframework-gis/trunk/debian/rules	2015-09-01 09:01:30 UTC (rev 34080)
+++ packages/djangorestframework-gis/trunk/debian/rules	2015-09-01 10:33:40 UTC (rev 34081)
@@ -6,12 +6,12 @@
 export PYBUILD_NAME=djangorestframework-gis
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e; \
-	for python in $(shell pyversions -r); do \
+	for python in $(shell pyversions -r) $(shell py3versions -r); do \
 	  $$python runtests.py ; \
 	done
 endif




More information about the Python-modules-commits mailing list