[Python-modules-commits] [python-motor] 01/03: Remove asyncio and aiohttp related code from Python 2.7 packages - it's not supported

Ondřej Nový onovy at moszumanska.debian.org
Tue Nov 15 17:16:00 UTC 2016


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

onovy pushed a commit to branch master
in repository python-motor.

commit 490f078565b82ec8f0a828520ce4fc33ccdbe11f
Author: Ondřej Nový <onovy at debian.org>
Date:   Tue Nov 15 18:04:14 2016 +0100

    Remove asyncio and aiohttp related code from Python 2.7 packages - it's not supported
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index b75411a..088f311 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
 #! /usr/bin/make -f
 
 export PYBUILD_NAME = motor
+# See: https://jira.mongodb.org/browse/MOTOR-129
+export PYBUILD_AFTER_INSTALL_python2=rm \
+	'{destdir}/{install_dir}/motor/aiohttp.py' \
+	'{destdir}/{install_dir}/motor/motor_asyncio.py'
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list