[PATCH 2 of 2 cwclientlib] [debian] Remove support of Python 2

nicola.spanti at logilab.fr nicola.spanti at logilab.fr
Thu Feb 27 18:01:09 CET 2020


# HG changeset patch
# User Nicola Spanti <nicola.spanti at logilab.fr>
# Date 1582819125 -3600
#      Thu Feb 27 16:58:45 2020 +0100
# Node ID 3ab188d2beb8d576cdfe0f1539a134120e72eab1
# Parent  5b8fe84677a661ade21fc93c61755806d2f144de
# EXP-Topic debian-clean
# Available At https://hg.logilab.org/review/cwclientlib
#              hg pull https://hg.logilab.org/review/cwclientlib -r 3ab188d2beb8
[debian] Remove support of Python 2

diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/control
--- a/debian/control	Thu Feb 27 16:49:01 2020 +0100
+++ b/debian/control	Thu Feb 27 16:58:45 2020 +0100
@@ -24,25 +24,6 @@
 Standards-Version: 3.9.6
 XS-Python-Version: >= 2.7
 
-Package: python-cwclientlib
-Architecture: all
-Depends:
-  python-requests (>= 2),
-  python-six,
-  ${python:Depends},
-  ${misc:Depends},
-Suggests:
-  python-yaml,
-  python-ndg-httpsclient,
-  python-requests-kerberos,
-  python-argcomplete,
-Description: Python library to easily build CubicWeb clients
- .
- * execute RQL queries remotely (using cubicweb-rqlcontroller),
- * access instances that requires authentication (using cubicweb-signedrequest).
- .
- CubicWeb is a semantic web application framework.
-
 Package: python3-cwclientlib
 Architecture: all
 Depends:
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/copyright
--- a/debian/copyright	Thu Feb 27 16:49:01 2020 +0100
+++ b/debian/copyright	Thu Feb 27 16:58:45 2020 +0100
@@ -4,7 +4,7 @@
 Upstream-Contact: Logilab S.A. <contact at logilab.fr>
 
 Files: *
-Copyright: 2014-2017 Logilab S.A.
+Copyright: 2014-2020 Logilab S.A.
 License: LGPL-2.1
 
 License: LGPL-2.1
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/python-cwclientlib.bash-completion
--- a/debian/python-cwclientlib.bash-completion	Thu Feb 27 16:49:01 2020 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-extras/bash_completion cwclientlib
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/python-cwclientlib.docs
--- a/debian/python-cwclientlib.docs	Thu Feb 27 16:49:01 2020 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-README.rst
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/python-cwclientlib.install
--- a/debian/python-cwclientlib.install	Thu Feb 27 16:49:01 2020 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-usr/bin/*[!3]
-usr/lib/python2.*
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/python3-cwclientlib.docs
--- a/debian/python3-cwclientlib.docs	Thu Feb 27 16:49:01 2020 +0100
+++ b/debian/python3-cwclientlib.docs	Thu Feb 27 16:58:45 2020 +0100
@@ -1,1 +1,1 @@
-README.rst
\ No newline at end of file
+README.rst
diff -r 5b8fe84677a6 -r 3ab188d2beb8 debian/rules
--- a/debian/rules	Thu Feb 27 16:49:01 2020 +0100
+++ b/debian/rules	Thu Feb 27 16:58:45 2020 +0100
@@ -4,7 +4,7 @@
 # export DH_VERBOSE=1
 
 %:
-	dh $@ --with python2,python3,bash-completion --buildsystem=pybuild
+	dh $@ --with python3,bash-completion --buildsystem=pybuild
 
 override_dh_auto_test:
 



More information about the cubicweb-devel mailing list