diff --git a/debian/control b/debian/control index 1699abe..a95e263 100644 --- a/debian/control +++ b/debian/control @@ -3,24 +3,15 @@ Maintainer: Marco Bardelli Section: python Priority: optional Build-Depends: debhelper-compat (= 12), quilt, dh-python, - python-all (>= 2.6.6-3~), python3-all, - python-sphinx, python-setuptools, python3-setuptools, - python-django, python3-django, python-memcache, python3-memcache, - python-django-redis, python3-django-redis + python3-all, + python3-sphinx, python3-setuptools, + python3-django, python3-memcache, + python3-django-redis Standards-Version: 3.9.5 -X-Python-Version: >= 2.6 Vcs-Git: git://anonscm.debian.org/collab-maint/django-ratelimit.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/django-ratelimit.git Homepage: https://github.com/jsocol/django-ratelimit -Package: python-django-ratelimit -Architecture: all -Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.4) -Description: Cache-based rate-limiting for Django - Django Ratelimit provides a decorator to rate-limit views. Limiting can - be based on IP address or a field in the request--either a GET or POST - variable. - Package: python3-django-ratelimit Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-django (>= 1.4) diff --git a/debian/rules b/debian/rules index dda5f7c..ed80208 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ upstream_commit_release="d58c489797405db348b30dec6103dcfff73160ec" upstream_base_url="https://github.com/jsocol/django-ratelimit/archive" %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild + dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_testdir @@ -25,9 +25,6 @@ override_dh_auto_test: @echo test with python3 PYTHONPATH="." DJANGO_SETTINGS_MODULE="test_settings" \ python3 $(shell which django-admin) test ratelimit - @echo test with python2 - PYTHONPATH="." DJANGO_SETTINGS_MODULE="test_settings" \ - python2 $(shell which django-admin) test ratelimit override_dh_clean: $(MAKE) -C docs clean