Package: yowsup
Version: 2.5.7-4
Followup-For: Bug #938868
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu eoan ubuntu-patch

python-axolotl has already been removed from the latest upload to Debian, so
this makes yowsup's remaining python2 dependency more problematic.

There are no reverse-dependencies of python-yowsup in the archive, so this
is a straightforward removal.  Please see the attached patch, which has been
uploaded to Ubuntu for this issue.

-- 
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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru yowsup-2.5.7/debian/control yowsup-2.5.7/debian/control
--- yowsup-2.5.7/debian/control 2018-10-05 13:52:27.000000000 -0700
+++ yowsup-2.5.7/debian/control 2019-09-04 13:15:14.000000000 -0700
@@ -4,11 +4,6 @@
 Maintainer: Josue Ortega <jo...@debian.org>
 Build-Depends: debhelper (>= 11),
                dh-python,
-               python-all,
-               python-axolotl (>= 0.1.39),
-               python-dateutil,
-               python-pil,
-               python-setuptools,
                python3-all,
                python3-axolotl (>= 0.1.39),
                python3-dateutil,
@@ -19,42 +14,6 @@
 Vcs-Git: https://salsa.debian.org/debian/yowsup.git
 Vcs-Browser: https://salsa.debian.org/debian/yowsup
 
-Package: python-yowsup
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
- python-yowsup-common (>= 2.5.7-1~)
-Description: library to implement a WhatsApp client
- WhatsApp Messenger is a cross-platform mobile messaging app
- which allows you to exchange messages, via Internet, without
- having to pay for SMS, using a mobile phone.
- .
- In addition to basic messaging, WhatsApp users can create
- groups, send each other unlimited images, video and audio
- media messages.
- .
- Yowsup is a cross platform Python library that enable to do all
- the previous in your own app. Yowsup allows you to login and use
- the WhatsApp service, providing all capabilities of an official
- WhatsApp client, allowing to create a full-fledged custom
- WhatsApp client.
- .
- python-yowsup has these features:
-    - Registration.
-    - Text send/receive.
-    - Encryption of messages.
-    - Media send/receive (images, videos, audio, location,
-      contact cards).
-    - Groups(create, leave, join, update picture, updating
-      subject).
-    - Fetch user profile picture.
-    - Fetch user status.
-    - Set profile picture.
-    - Set group icon.
-    - Set status and others.
- .
- The package yowsup-cli is a good example of the python-yowsup
- implementation.
-
 Package: python3-yowsup
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},
@@ -131,7 +90,7 @@
 Section: net
 Architecture: all
 Depends: ${misc:Depends},
-         ${python:Depends},
+         ${python3:Depends},
          python3-yowsup,
          python3-libxml2,
          python3-axolotl (>= 0.1.39),
diff -Nru yowsup-2.5.7/debian/python3-yowsup.docs 
yowsup-2.5.7/debian/python3-yowsup.docs
--- yowsup-2.5.7/debian/python3-yowsup.docs     1969-12-31 16:00:00.000000000 
-0800
+++ yowsup-2.5.7/debian/python3-yowsup.docs     2018-10-05 13:52:27.000000000 
-0700
@@ -0,0 +1 @@
+README.md
diff -Nru yowsup-2.5.7/debian/python3-yowsup.README.Debian 
yowsup-2.5.7/debian/python3-yowsup.README.Debian
--- yowsup-2.5.7/debian/python3-yowsup.README.Debian    1969-12-31 
16:00:00.000000000 -0800
+++ yowsup-2.5.7/debian/python3-yowsup.README.Debian    2018-10-05 
13:52:27.000000000 -0700
@@ -0,0 +1,9 @@
+python-yowsup for Debian
+------------------------
+
+A full and updated python-yowsup library specification/documentation
+is available at:
+
+https://github.com/tgalal/yowsup/wiki
+
+ -- Joao Eriberto Mota Filho <eribe...@debian.org>  Thu, 30 Apr 2015 17:32:30 
-0300
diff -Nru yowsup-2.5.7/debian/python-yowsup.docs 
yowsup-2.5.7/debian/python-yowsup.docs
--- yowsup-2.5.7/debian/python-yowsup.docs      2018-10-05 13:52:27.000000000 
-0700
+++ yowsup-2.5.7/debian/python-yowsup.docs      1969-12-31 16:00:00.000000000 
-0800
@@ -1 +0,0 @@
-README.md
diff -Nru yowsup-2.5.7/debian/python-yowsup.README.Debian 
yowsup-2.5.7/debian/python-yowsup.README.Debian
--- yowsup-2.5.7/debian/python-yowsup.README.Debian     2018-10-05 
13:52:27.000000000 -0700
+++ yowsup-2.5.7/debian/python-yowsup.README.Debian     1969-12-31 
16:00:00.000000000 -0800
@@ -1,9 +0,0 @@
-python-yowsup for Debian
-------------------------
-
-A full and updated python-yowsup library specification/documentation
-is available at:
-
-https://github.com/tgalal/yowsup/wiki
-
- -- Joao Eriberto Mota Filho <eribe...@debian.org>  Thu, 30 Apr 2015 17:32:30 
-0300
diff -Nru yowsup-2.5.7/debian/rules yowsup-2.5.7/debian/rules
--- yowsup-2.5.7/debian/rules   2018-10-05 13:52:27.000000000 -0700
+++ yowsup-2.5.7/debian/rules   2019-09-04 13:15:14.000000000 -0700
@@ -4,8 +4,7 @@
 export PYBUILD_NAME=yowsup
 export PYBUILD_AFTER_INSTALL=cp -rv debian/python3-yowsup/usr/bin \
  debian/yowsup-cli/usr/  ;\
-  rm -rfv debian/python3-yowsup/usr/bin; \
-  rm -rfv debian/python-yowsup/usr/bin
+  rm -rfv debian/python3-yowsup/usr/bin
 
 %:
-       dh $@ --with python2,python3 --buildsystem pybuild
+       dh $@ --with python3 --buildsystem pybuild

Reply via email to