[Python-modules-commits] [jinja2] 05/06: Install asyncsupport.py and asyncfilters.py (and compile for Python >= 3.6)

Piotr Ożarowski piotr at moszumanska.debian.org
Tue Jun 20 13:45:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

piotr pushed a commit to branch master
in repository jinja2.

commit 0778e05a7ba9b8f8cb757386804afdf48a4be430
Author: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
Date:   Tue Jun 20 15:30:02 2017 +0200

    Install asyncsupport.py and asyncfilters.py (and compile for Python >= 3.6)
---
 debian/changelog               | 6 ++++++
 debian/python3-jinja2.bcep     | 1 +
 debian/python3-jinja2.install  | 1 +
 debian/python3-jinja2.pyremove | 4 ----
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 94d05a2..906163f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 jinja2 (2.9.6-1) unstable; urgency=medium
 
+  [ Piotr Ożarowski ]
   * New upstream release
   * Install CHANGES file as upstream changelog (closes: 857722)
 
+  [ Michael Hudson-Doyle ]
+  * Install asyncsupport.py and asyncfilters.py now that Python 3.6 is a
+    supported version (but do not compile them on install with Python 3.5).
+    (closes: 862699)
+
  -- Piotr Ożarowski <piotr at debian.org>  Tue, 20 Jun 2017 15:21:18 +0200
 
 jinja2 (2.9.5-1) unstable; urgency=medium
diff --git a/debian/python3-jinja2.bcep b/debian/python3-jinja2.bcep
new file mode 100644
index 0000000..39c7f78
--- /dev/null
+++ b/debian/python3-jinja2.bcep
@@ -0,0 +1 @@
+re|-3.6|/usr/lib/python3/dist-packages/jinja2|.*/async(support|filters).py
diff --git a/debian/python3-jinja2.install b/debian/python3-jinja2.install
new file mode 100644
index 0000000..e27ba92
--- /dev/null
+++ b/debian/python3-jinja2.install
@@ -0,0 +1 @@
+debian/python3-jinja2.bcep usr/share/python3/bcep
diff --git a/debian/python3-jinja2.pyremove b/debian/python3-jinja2.pyremove
deleted file mode 100644
index ba7e4a5..0000000
--- a/debian/python3-jinja2.pyremove
+++ /dev/null
@@ -1,4 +0,0 @@
-# these files require Python3.6 and are not used in <= 3.5
-# see https://github.com/pallets/jinja/issues/643
-jinja2/asyncfilters.py
-jinja2/asyncsupport.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jinja2.git



More information about the Python-modules-commits mailing list