Your message dated Mon, 29 Mar 2021 19:54:59 +0100
with message-id <20210329195459.3d9e5aa4@sylvester.codehelp>
and subject line Addressing version confusion
has caused the Debian Bug report #932983,
regarding Please remove python2 support from your package
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
932983: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932983
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: django-restricted-resource
Version: 2016.8-2
Severity: serious
Tags: patch
Hi,
Please see attached quick and dirty patch to remove Python 2 support from
your module, which is needed since the upload of Django 2.2. in Sid.
Cheers,
Thomas Goirand (zigo)
diff --git a/debian/changelog b/debian/changelog
index 10909c0..ac7a04c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+django-restricted-resource (2016.8-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Removed Python 2 support.
+
+ -- Thomas Goirand <z...@debian.org> Thu, 25 Jul 2019 14:49:40 +0200
+
django-restricted-resource (2016.8-2) unstable; urgency=medium
* Reduce build-depends to assist python3 transition.
diff --git a/debian/control b/debian/control
index 7358028..035b2bb 100644
--- a/debian/control
+++ b/debian/control
@@ -13,16 +13,6 @@ Homepage: http://www.linaro.org/engineering/validation
Vcs-Browser: https://github.com/Linaro/pkg-django-restricted-resource
Vcs-Git: https://github.com/Linaro/pkg-django-restricted-resource.git
-Package: python-django-restricted-resource
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
-Description: Django Base model for ownership and access control (Python 2)
- Restricted resources can have owners, users or groups of users,
- organised within the django admin interface. Resources can be
- public or private to allow an app to provide access control
- over model objects.
-
Package: python3-django-restricted-resource
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
diff --git a/debian/rules b/debian/rules
index 45ed112..b16845e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,15 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2,python3
+ dh $@ --with python3
.PHONY: override_dh_auto_test
override_dh_auto_test:
# Run the bundled tests (in-memory database) when building the package
- LC_ALL=C python ./django_restricted_resource/test_project/manage.py test
LC_ALL=C python3 ./django_restricted_resource/test_project/manage.py
test
override_dh_auto_install:
dh_auto_install
- python setup.py install
--root=$(CURDIR)/debian/python-django-restricted-resource/ --install-layout=deb
python3 setup.py install
--root=$(CURDIR)/debian/python3-django-restricted-resource/ --install-layout=deb
override_dh_auto_clean:
--- End Message ---
--- Begin Message ---
This bug was actually fixed Mon, 19 Aug 2019 19:51:03 GMT but the
version tracking got confused. So I'm just sorting out how the bug
shows in DDPO and PTS.
(Original closure was just fixed 932983 2016.8-3)
--
Neil Williams
=============
http://www.linux.codehelp.co.uk/
pgpTnaCe7bs40.pgp
Description: OpenPGP digital signature
--- End Message ---