Commit 2f39eec6 authored by Ondřej Nový's avatar Ondřej Nový

Drop Python 2 support.

parent ee77f782
......@@ -4,6 +4,7 @@ django-classy-tags (0.8.0-2) UNRELEASED; urgency=medium
* Convert git repository from git-dpm to gbp layout
* Use 'python3 -m sphinx' instead of sphinx-build for building docs
* Use debhelper-compat instead of debian/compat.
* Drop Python 2 support.
-- Ondřej Nový <onovy@debian.org> Tue, 13 Feb 2018 10:18:07 +0100
......
......@@ -7,9 +7,6 @@ Uploaders: Michael Fladischer <fladi@debian.org>,
Thomas Goirand <zigo@debian.org>,
Build-Depends: debhelper-compat (= 9),
dh-python,
python-all,
python-django (>= 1.5),
python-setuptools,
python3-all,
python3-django,
python3-setuptools,
......@@ -19,28 +16,6 @@ Homepage: https://github.com/ojii/django-classy-tags
Vcs-Git: https://salsa.debian.org/python-team/modules/django-classy-tags.git
Vcs-Browser: https://salsa.debian.org/python-team/modules/django-classy-tags
Package: python-django-classy-tags
Architecture: all
Depends: python-django (>= 1.5),
${misc:Depends},
${python:Depends},
Suggests: python-django-classy-tags-doc,
Description: Class based template tags for Django projects
django-classy-tags is an approach at making writing template tags in
Django easier, shorter and more fun. It provides an extensible
argument parser which reduces most of the boiler plate code you
usually have to write when coding custom template tags.
.
django-classy-tags does no magic by design. Thus you will not get
automatic registering/loading of your tags like other solutions
provide. You will not get automatic argument guessing from function
signatures but rather you have to declare what arguments your tag
accepts. There is no magic in your template tag class either,
it’s just a subclass of django.template.Node which invokes a parser
class to parse the arguments when it’s initialized and resolves those
arguments into keyword arguments in it’s render method and calls its
render_tag method with those keyword arguments.
Package: python3-django-classy-tags
Architecture: all
Depends: python3-django,
......
......@@ -6,7 +6,7 @@
export PYBUILD_NAME=django-classy-tags
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment