[Pkg-linaro-lava-devel] Bug#936415: django-hijack: Python2 removal in sid/bullseye

Steve Langasek steve.langasek at canonical.com
Thu Sep 26 06:28:43 BST 2019


Package: django-hijack
Version: 2.1.7-1
Followup-For: Bug #936415
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch

Attached is a patch to drop the python2 package from django-hijack.

Please consider uploading at your convenience.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru django-hijack-2.1.7/debian/control django-hijack-2.1.7/debian/control
--- django-hijack-2.1.7/debian/control	2018-03-06 01:34:24.000000000 -0800
+++ django-hijack-2.1.7/debian/control	2019-09-25 21:41:08.000000000 -0700
@@ -5,25 +5,14 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9), dh-python,
- python-all (>= 2.6.6-3),
- python-setuptools (>= 0.6b3), python-django, python-django-nose,
- python-django-compat (>= 1.0.8), python3-all,
+ python3-all,
  python3-setuptools, python3-django, python3-django-nose,
  python3-django-compat (>= 1.0.8)
-X-Python-Version: >=2.7
 Standards-Version: 3.9.7
 Homepage: https://github.com/arteria/django-hijack
 Vcs-Git: https://github.com/Linaro/pkg-django-hijack.git
 Vcs-Browser: https://github.com/Linaro/pkg-django-hijack.git
 
-Package: python-django-hijack
-Architecture: all
-Depends: python-django-compat (>= 1.0.8), ${misc:Depends}, ${python:Depends}
-Description: Allows superusers to login as and work on behalf of other users
- django-hijack allows superusers to hijack or login as and work on behalf of
- other users without knowing their credentials. This is handy for testing and
- debug user problems by the django superuser.
-
 Package: python3-django-hijack
 Architecture: all
 Depends: python3-django-compat (>= 1.0.8), ${misc:Depends}, ${python3:Depends}
diff -Nru django-hijack-2.1.7/debian/rules django-hijack-2.1.7/debian/rules
--- django-hijack-2.1.7/debian/rules	2018-03-06 01:34:24.000000000 -0800
+++ django-hijack-2.1.7/debian/rules	2019-09-25 21:41:08.000000000 -0700
@@ -2,10 +2,9 @@
 
 export PYBUILD_NAME=django-hijack
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test::
-	python runtests.py
 	python3 runtests.py
 
 override_dh_auto_clean::


More information about the Pkg-linaro-lava-devel mailing list