debian: remove python2 package
This commit is contained in:
parent
996cd2bb62
commit
39eff832bc
|
@ -3,24 +3,15 @@ Maintainer: Marco Bardelli <bardelli.marco@gmail.com>
|
|||
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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue