[Freedombox-pkg-team] Bug#932981: Please remove Python 2 support for this package
Thomas Goirand
zigo at debian.org
Thu Jul 25 13:40:22 BST 2019
Source: django-ranged-response
Version: 0.2.0-1
Severity: serious
Tags: patch
Hi,
Attached is a patch to remove Python 2 support for this package,
needed since the upload of Django 2.2 in Sid.
Please apply and upload.
Cheers,
Thomas Goirand (zigo)
-------------- next part --------------
diff -Nru django-ranged-response-0.2.0/debian/changelog django-ranged-response-0.2.0/debian/changelog
--- django-ranged-response-0.2.0/debian/changelog 2018-03-15 21:11:02.000000000 +0100
+++ django-ranged-response-0.2.0/debian/changelog 2019-07-25 14:34:43.000000000 +0200
@@ -1,3 +1,10 @@
+django-ranged-response (0.2.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Removed Python 2 support.
+
+ -- Thomas Goirand <zigo at debian.org> Thu, 25 Jul 2019 14:34:43 +0200
+
django-ranged-response (0.2.0-1) unstable; urgency=low
[ Sunil Mohan Adapa ]
diff -Nru django-ranged-response-0.2.0/debian/control django-ranged-response-0.2.0/debian/control
--- django-ranged-response-0.2.0/debian/control 2018-03-15 21:11:02.000000000 +0100
+++ django-ranged-response-0.2.0/debian/control 2019-07-25 14:34:43.000000000 +0200
@@ -9,9 +9,6 @@
Build-Depends:
debhelper (>=11~),
dh-python,
- python-all,
- python-django,
- python-setuptools,
python3-all,
python3-django,
python3-setuptools
@@ -19,25 +16,6 @@
Homepage: https://pypi.python.org/pypi/django-ranged-response/
Vcs-Browser: https://salsa.debian.org/freedombox-team/django-ranged-response
Vcs-Git: https://salsa.debian.org/freedombox-team/django-ranged-response.git
-X-Python-Version: >= 2.7
-X-Python3-Version: >= 3.5
-
-Package: python-django-ranged-response
-Architecture: all
-Depends:
- python-django,
- ${misc:Depends},
- ${python:Depends}
-Provides:
- ${python:Provides}
-Recommends:
- ${python:Recommends}
-Description: Django file response to stream to browsers properly (Python 2)
- Provides RangedFileResponse that is a modified FileResponse that returns
- Content-Range headers with the response, so browsers that request the file,
- can stream the response properly.
- .
- This package installs the library for Python 2.
Package: python3-django-ranged-response
Architecture: all
diff -Nru django-ranged-response-0.2.0/debian/rules django-ranged-response-0.2.0/debian/rules
--- django-ranged-response-0.2.0/debian/rules 2018-03-15 21:11:02.000000000 +0100
+++ django-ranged-response-0.2.0/debian/rules 2019-07-25 14:34:43.000000000 +0200
@@ -4,4 +4,4 @@
export PYBUILD_NAME=django-ranged-response
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python3 --buildsystem=pybuild
More information about the Freedombox-pkg-team
mailing list