[Python-modules-commits] r34082 - in packages/djangorestframework-gis/tags (15 files)
fladi at users.alioth.debian.org
fladi at users.alioth.debian.org
Tue Sep 1 10:39:22 UTC 2015
Date: Tuesday, September 1, 2015 @ 10:39:21
Author: fladi
Revision: 34082
[svn-buildpackage] Tagging djangorestframework-gis 0.8-2
Added:
packages/djangorestframework-gis/tags/0.8-2/
packages/djangorestframework-gis/tags/0.8-2/debian/changelog
(from rev 34081, packages/djangorestframework-gis/trunk/debian/changelog)
packages/djangorestframework-gis/tags/0.8-2/debian/control
(from rev 34081, packages/djangorestframework-gis/trunk/debian/control)
packages/djangorestframework-gis/tags/0.8-2/debian/copyright
(from rev 34076, packages/djangorestframework-gis/trunk/debian/copyright)
packages/djangorestframework-gis/tags/0.8-2/debian/patches/series
(from rev 34075, packages/djangorestframework-gis/trunk/debian/patches/series)
packages/djangorestframework-gis/tags/0.8-2/debian/patches/skip_tests_spatialite.patch
(from rev 34075, packages/djangorestframework-gis/trunk/debian/patches/skip_tests_spatialite.patch)
packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch
(from rev 34074, packages/djangorestframework-gis/trunk/debian/patches/spatialite.patch)
packages/djangorestframework-gis/tags/0.8-2/debian/python3-djangorestframework-gis.lintian-overrides
(from rev 34081, packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides)
packages/djangorestframework-gis/tags/0.8-2/debian/rules
(from rev 34081, packages/djangorestframework-gis/trunk/debian/rules)
Deleted:
packages/djangorestframework-gis/tags/0.8-2/debian/changelog
packages/djangorestframework-gis/tags/0.8-2/debian/control
packages/djangorestframework-gis/tags/0.8-2/debian/copyright
packages/djangorestframework-gis/tags/0.8-2/debian/patches/series
packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch
packages/djangorestframework-gis/tags/0.8-2/debian/rules
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/changelog
===================================================================
--- packages/djangorestframework-gis/trunk/debian/changelog 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/changelog 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1,5 +0,0 @@
-djangorestframework-gis (0.7-1) unstable; urgency=low
-
- * Initial release (Closes: #764969).
-
- -- Michael Fladischer <FladischerMichael at fladi.at> Sun, 12 Oct 2014 18:46:46 +0200
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/changelog (from rev 34081, packages/djangorestframework-gis/trunk/debian/changelog)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/changelog (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/changelog 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,32 @@
+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.
+ * Update debian/patches/spatialite.patch to work with libsqlite3-mod-
+ spatialite (Closes: #793526).
+ * Add skip_tests_spatialite.patch to skip unittests that are not
+ supported by spatialite.
+ * Make Depends and Build-Depends on python-djangorestframework
+ versioned (>= 3.0.4).
+ * Add libsqlite3-mod-spatialite to Build-Depends.
+ * Remove spatialite-bin from Build-Depends.
+ * Update Homepage field to the correct upstream location.
+ * Update years in d/copyright.
+ * Change my email address to fladi at debian.org.
+
+ -- Michael Fladischer <fladi at debian.org> Tue, 01 Sep 2015 08:20:20 +0200
+
+djangorestframework-gis (0.7-1) unstable; urgency=low
+
+ * Initial release (Closes: #764969).
+
+ -- Michael Fladischer <FladischerMichael at fladi.at> Sun, 12 Oct 2014 18:46:46 +0200
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/control
===================================================================
--- packages/djangorestframework-gis/trunk/debian/control 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/control 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1,42 +0,0 @@
-Source: djangorestframework-gis
-Section: python
-Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Michael Fladischer <FladischerMichael at fladi.at>
-Build-Depends: debhelper (>= 9),
- dh-python,
- python-all,
- python-djangorestframework,
- python-django-filter,
- python-gdal,
- python-pyspatialite,
- python-pysqlite2,
- python-setuptools,
- spatialite-bin
-Standards-Version: 3.9.6
-X-Python-Version: >= 2.6
-Homepage: https://github.com/dmeehan/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/
-
-Package: python-djangorestframework-gis
-Architecture: all
-Depends: python-djangorestframework,
- python-django-filter,
- ${misc:Depends},
- ${python:Depends}
-Description: Geographic add-ons for Django REST Framework
- 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.
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/control (from rev 34081, packages/djangorestframework-gis/trunk/debian/control)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/control (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/control 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,70 @@
+Source: djangorestframework-gis
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ libsqlite3-mod-spatialite,
+ python-all,
+ python-djangorestframework (>= 3.0.4),
+ python-django-filters,
+ python-gdal,
+ 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/
+
+Package: python-djangorestframework-gis
+Architecture: all
+Depends: python-djangorestframework (>= 3.0.4),
+ python-django-filters,
+ ${misc:Depends},
+ ${python:Depends}
+Description: Geographic add-ons for Django REST Framework
+ 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.
+
+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.
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/copyright
===================================================================
--- packages/djangorestframework-gis/trunk/debian/copyright 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/copyright 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1,31 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: djangorestframework-gis
-Upstream-Contact: Douglas Meehan <dmeehan at gmail.com>
-Source: https://github.com/djangonauts/django-rest-framework-gis
-
-Files: *
-Copyright: 2013-2014, Douglas Meehan <dmeehan at gmail.com>
-License: Expat
-
-Files: debian/*
-Copyright: 2014, Fladischer Michael <FladischerMichael at fladi.at>
-License: Expat
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/copyright (from rev 34076, packages/djangorestframework-gis/trunk/debian/copyright)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/copyright (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/copyright 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: djangorestframework-gis
+Upstream-Contact: Douglas Meehan <dmeehan at gmail.com>
+Source: https://github.com/djangonauts/django-rest-framework-gis
+
+Files: *
+Copyright: 2013-2015, Douglas Meehan <dmeehan at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2015, Fladischer Michael <fladi at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/patches/series
===================================================================
--- packages/djangorestframework-gis/trunk/debian/patches/series 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/patches/series 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1 +0,0 @@
-spatialite.patch
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/patches/series (from rev 34075, packages/djangorestframework-gis/trunk/debian/patches/series)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/patches/series (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/patches/series 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,2 @@
+spatialite.patch
+skip_tests_spatialite.patch
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/patches/skip_tests_spatialite.patch (from rev 34075, packages/djangorestframework-gis/trunk/debian/patches/skip_tests_spatialite.patch)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/patches/skip_tests_spatialite.patch (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/patches/skip_tests_spatialite.patch 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,48 @@
+Description: Skip tests the fail with spatialite.
+Author: Michael Fladischer <fladi at debian.org>
+Last-Update: 2015-08-31
+Forwarded: no
+Index: djangorestframework-gis/tests/django_restframework_gis_tests/test_filters.py
+===================================================================
+--- djangorestframework-gis.orig/tests/django_restframework_gis_tests/test_filters.py 2015-03-03 11:54:39.000000000 +0100
++++ djangorestframework-gis/tests/django_restframework_gis_tests/test_filters.py 2015-08-31 20:18:02.423247707 +0200
+@@ -9,13 +9,14 @@
+
+
+ import urllib
++from django.conf import settings
+ from django.test import TestCase
++from django.utils.unittest import skipIf
+ from django.contrib.gis.geos import GEOSGeometry, Polygon
+ from django.core.urlresolvers import reverse
+
+ from .models import Location
+
+-
+ class TestRestFrameworkGis(TestCase):
+
+ def setUp(self):
+@@ -77,6 +78,7 @@
+ for result in response.data['features']:
+ self.assertEqual(result['properties']['name'] in ('isContained', 'isEqualToBounds', 'overlaps'), True)
+
++ @skipIf(settings.DATABASES['default']['ENGINE'] == 'django.contrib.gis.db.backends.spatialite', 'Spatialite detected')
+ def test_TileFilter_filtering(self):
+ """
+ Checks that the TMSTileFilter returns only objects strictly contained
+@@ -126,6 +128,7 @@
+ for result in response.data['features']:
+ self.assertEqual(result['properties']['name'] in ('isContained', 'isEqualToBounds', 'overlaps'), True)
+
++ @skipIf(settings.DATABASES['default']['ENGINE'] == 'django.contrib.gis.db.backends.spatialite', 'Spatialite detected')
+ def test_DistanceToPointFilter_filtering(self):
+ """
+ Checks that the DistancFilter returns only objects within the given distance of the
+@@ -261,6 +264,7 @@
+ for result in response.data['features']:
+ self.assertEqual(result['properties']['name'] in (treasure_island.name), True)
+
++ @skipIf(settings.DATABASES['default']['ENGINE'] == 'django.contrib.gis.db.backends.spatialite', 'Spatialite detected')
+ def test_GeometryField_filtering(self):
+ """ Checks that the GeometryField allows sane filtering. """
+ self.assertEqual(Location.objects.count(), 0)
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch
===================================================================
--- packages/djangorestframework-gis/trunk/debian/patches/spatialite.patch 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1,87 +0,0 @@
-Description: Disable tests that only work with PostGIS
- Some of the upstream tests are designed to test features only supported on a
- PostGIS enable database. To make the tests run with an embedded spatialite
- database, those tests are skipped if the database connection ist not done using
- the PostGIS driver.
- See the following URL for a compatibility matrix:
- https://docs.djangoproject.com/en/1.7/ref/contrib/gis/db-api/#compatibility-tables
-Author: Michael Fladischer <FladischerMichael at fladi.at>
-Last-Update: 2014-10-12
-Forwarded: not-needed
-
---- a/tests/settings.py
-+++ b/tests/settings.py
-@@ -5,12 +5,8 @@
-
- DATABASES = {
- 'default': {
-- 'ENGINE': 'django.contrib.gis.db.backends.postgis',
-- 'NAME': 'django_restframework_gis',
-- 'USER': 'postgres',
-- 'PASSWORD': 'postgres',
-- 'HOST': '',
-- 'PORT': ''
-+ 'ENGINE': 'django.contrib.gis.db.backends.spatialite',
-+ 'NAME': 'test.db',
- },
- }
-
-@@ -18,11 +14,11 @@
-
- INSTALLED_APPS = (
- 'django.contrib.staticfiles',
--
-+
- # rest framework
- 'rest_framework',
- 'rest_framework_gis',
--
-+
- # test app
- 'django_restframework_gis_tests'
- )
-@@ -40,6 +36,8 @@
- STATIC_ROOT = '%s/static/' % SITE_ROOT
- STATIC_URL = '/static/'
-
-+ANONYMOUS_USER_ID=-1
-+
- TEMPLATE_STRING_IF_INVALID = 'INVALID_TEMPLATE: %s END_INVALID_TEMPLATE'
-
- # local settings must be imported before test runner otherwise they'll be ignored
---- a/tests/django_restframework_gis_tests/tests.py
-+++ b/tests/django_restframework_gis_tests/tests.py
-@@ -9,7 +9,9 @@
-
-
- import urllib
-+from django.conf import settings
- from django.test import TestCase
-+from django.test.testcases import skipIf
- from django.contrib.gis.geos import GEOSGeometry, Polygon
- from django.core.urlresolvers import reverse
-
-@@ -471,6 +473,7 @@
- for result in response.data['features']:
- self.assertEqual(result['properties']['name'] in ('isContained', 'isEqualToBounds', 'overlaps'), True)
-
-+ @skipIf(settings.DATABASES['default']["ENGINE"] != "django.contrib.gis.db.backends.postgis", "PostGIS not installed")
- def test_TileFilter_filtering(self):
- """
- Checks that the TMSTileFilter returns only objects strictly contained
-@@ -520,6 +523,7 @@
- for result in response.data['features']:
- self.assertEqual(result['properties']['name'] in ('isContained', 'isEqualToBounds', 'overlaps'), True)
-
-+ @skipIf(settings.DATABASES['default']["ENGINE"] != "django.contrib.gis.db.backends.postgis", "PostGIS not installed")
- def test_DistanceToPointFilter_filtering(self):
- """
- Checks that the DistancFilter returns only objects within the given distance of the
-@@ -655,6 +659,7 @@
- for result in response.data['features']:
- self.assertEqual(result['properties']['name'] in (treasure_island.name), True)
-
-+ @skipIf(settings.DATABASES['default']["ENGINE"] != "django.contrib.gis.db.backends.postgis", "PostGIS not installed")
- def test_GeometryField_filtering(self):
- """ Checks that the GeometryField allows sane filtering. """
- self.assertEqual(Location.objects.count(), 0)
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch (from rev 34074, packages/djangorestframework-gis/trunk/debian/patches/spatialite.patch)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/patches/spatialite.patch 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,46 @@
+Description: Disable tests that only work with PostGIS
+ Some of the upstream tests are designed to test features only supported on a
+ PostGIS enable database. To make the tests run with an embedded spatialite
+ database, those tests are skipped if the database connection ist not done using
+ the PostGIS driver.
+ See the following URL for a compatibility matrix:
+ https://docs.djangoproject.com/en/1.7/ref/contrib/gis/db-api/#compatibility-tables
+Author: Michael Fladischer <fladi at debian.org>
+Last-Update: 2014-10-12
+Forwarded: not-needed
+
+Index: djangorestframework-gis/tests/settings.py
+===================================================================
+--- djangorestframework-gis.orig/tests/settings.py 2015-08-31 19:50:59.446139272 +0200
++++ djangorestframework-gis/tests/settings.py 2015-08-31 21:13:33.447199982 +0200
+@@ -5,15 +5,15 @@
+
+ DATABASES = {
+ 'default': {
+- 'ENGINE': 'django.contrib.gis.db.backends.postgis',
+- 'NAME': 'django_restframework_gis',
+- 'USER': 'postgres',
+- 'PASSWORD': 'postgres',
+- 'HOST': '',
+- 'PORT': ''
++ 'ENGINE': 'django.contrib.gis.db.backends.spatialite',
++ 'NAME': 'test.db',
+ },
+ }
+
++# Support mod_spatialite:
++# https://code.djangoproject.com/ticket/23901
++SPATIALITE_LIBRARY_PATH = 'mod_spatialite'
++
+ SECRET_KEY = 'fn)t*+$)ugeyip6-#txyy$5wf2ervc0d2n#h)qb)y5 at ly$t*@w'
+
+ INSTALLED_APPS = (
+@@ -45,6 +45,8 @@
+ STATIC_ROOT = '%s/static/' % SITE_ROOT
+ STATIC_URL = '/static/'
+
++ANONYMOUS_USER_ID=-1
++
+ TEMPLATE_STRING_IF_INVALID = 'INVALID_TEMPLATE: %s END_INVALID_TEMPLATE'
+
+ # local settings must be imported before test runner otherwise they'll be ignored
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/python3-djangorestframework-gis.lintian-overrides (from rev 34081, packages/djangorestframework-gis/trunk/debian/python3-djangorestframework-gis.lintian-overrides)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/python3-djangorestframework-gis.lintian-overrides (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/python3-djangorestframework-gis.lintian-overrides 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,2 @@
+# Upstream does not provide a separate changelog.
+python3-djangorestframework-gis: no-upstream-changelog
Deleted: packages/djangorestframework-gis/tags/0.8-2/debian/rules
===================================================================
--- packages/djangorestframework-gis/trunk/debian/rules 2015-08-17 13:47:10 UTC (rev 33822)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/rules 2015-09-01 10:39:21 UTC (rev 34082)
@@ -1,17 +0,0 @@
-#!/usr/bin/make -f
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-export PYBUILD_NAME=djangorestframework-gis
-
-%:
- dh $@ --with python2 --buildsystem=pybuild
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- set -e; \
- for python in $(shell pyversions -r); do \
- $$python runtests.py ; \
- done
-endif
Copied: packages/djangorestframework-gis/tags/0.8-2/debian/rules (from rev 34081, packages/djangorestframework-gis/trunk/debian/rules)
===================================================================
--- packages/djangorestframework-gis/tags/0.8-2/debian/rules (rev 0)
+++ packages/djangorestframework-gis/tags/0.8-2/debian/rules 2015-09-01 10:39:21 UTC (rev 34082)
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=djangorestframework-gis
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e; \
+ for python in $(shell pyversions -r) $(shell py3versions -r); do \
+ $$python runtests.py ; \
+ done
+endif
More information about the Python-modules-commits
mailing list