[Pkg-linaro-lava-devel] Bug#936414: django-compat: Python2 removal in sid/bullseye
Steve Langasek
steve.langasek at canonical.com
Thu Sep 26 06:36:33 BST 2019
Package: django-compat
Followup-For: Bug #936414
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch
The attached patch drops the python2 package from django-compat.
Please consider uploading it to Debian 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-compat-1.0.15/debian/control django-compat-1.0.15/debian/control
--- django-compat-1.0.15/debian/control 2018-04-21 05:40:51.000000000 -0700
+++ django-compat-1.0.15/debian/control 2019-09-25 22:29:05.000000000 -0700
@@ -5,28 +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-six, python-django-nose,
python3-all, python3-setuptools,
python3-django, python3-six, python3-django-nose
-X-Python-Version: >=2.7
Testsuite: autopkgtest
Standards-Version: 4.1.4
Homepage: https://github.com/arteria/django-compat
Vcs-Git: https://github.com/Linaro/pkg-django-compat.git
Vcs-Browser: https://github.com/Linaro/pkg-django-compat.git
-Package: python-django-compat
-Architecture: all
-Depends: python-six, ${misc:Depends}, ${python:Depends}
-Description: Forward and backwards compatibility layer for Django 1.4.x to 1.9.x
- This module provides a backwards compatibility layer for Django versions which
- helps in the following:
- 1. Be able to use the LTS versions of Django and support newer versions in
- your app
- 2. Use features from newer Django versions in an old one
- 3. Manage and master the gap between different framework versions
-
Package: python3-django-compat
Architecture: all
Depends: python3-six, ${misc:Depends}, ${python3:Depends}
diff -Nru django-compat-1.0.15/debian/rules django-compat-1.0.15/debian/rules
--- django-compat-1.0.15/debian/rules 2018-04-21 05:40:51.000000000 -0700
+++ django-compat-1.0.15/debian/rules 2019-09-25 22:29:05.000000000 -0700
@@ -1,14 +1,13 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2,python3
+ dh $@ --buildsystem pybuild --with python3
override_dh_auto_test::
- python runtests.py
+ python3 runtests.py
override_dh_auto_install:
dh_auto_install
- python setup.py install --root=debian/python-django-compat/ --install-layout=deb
python3 setup.py install --root=debian/python3-django-compat/ --install-layout=deb
override_dh_auto_clean::
More information about the Pkg-linaro-lava-devel
mailing list