Control: tags 921528 + patch
Control: tags 921528 + pending
Control: tags 937788 + patch
Control: tags 937788 + pending


Dear maintainer,

I've prepared an NMU for python-gitlab (versioned as 1:1.6.0-3.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-gitlab-1.6.0/debian/changelog python-gitlab-1.6.0/debian/changelog
--- python-gitlab-1.6.0/debian/changelog	2018-11-27 16:41:09.000000000 -0500
+++ python-gitlab-1.6.0/debian/changelog	2019-10-18 21:58:05.000000000 -0400
@@ -1,3 +1,11 @@
+python-gitlab (1:1.6.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937788
+  * Add python3-yaml to python3-gitlab deps; Closes: #921528
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 18 Oct 2019 21:58:05 -0400
+
 python-gitlab (1:1.6.0-3) unstable; urgency=medium
 
   * gitlab-cli: rename executable to python-gitlab (Closes: #910229)
diff -Nru python-gitlab-1.6.0/debian/control python-gitlab-1.6.0/debian/control
--- python-gitlab-1.6.0/debian/control	2018-11-27 16:41:09.000000000 -0500
+++ python-gitlab-1.6.0/debian/control	2019-10-18 21:58:01.000000000 -0400
@@ -5,13 +5,7 @@
 Build-Depends: debhelper (>= 11)
 Build-Depends-Indep:
  dh-python,
- python-all,
- python-doc,
- python-httmock,
- python-mock,
- python-requests,
- python-setuptools (>= 0.6b3),
- python-sphinx,
+ python3-doc,
  python3-all,
  python3-httmock,
  python3-mock,
@@ -24,14 +18,6 @@
 Vcs-Git: https://salsa.debian.org/debian/python-pygitlab.git
 Vcs-Browser: https://salsa.debian.org/debian/python-pygitlab
 
-Package: python-gitlab
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Suggests: python-gitlab-doc
-Description: Python GitLab API client library
- Provides access to the GitLab v3 and v4 server API.
- This package contains the Python 2 library.
-
 Package: python-gitlab-doc
 Architecture: all
 Section: doc
@@ -42,7 +28,7 @@
 
 Package: python3-gitlab
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}, python3-yaml
 Suggests: python-gitlab-doc
 Description: Python 3 GitLab API client library
  Provides access to the GitLab v4 server API.
diff -Nru python-gitlab-1.6.0/debian/rules python-gitlab-1.6.0/debian/rules
--- python-gitlab-1.6.0/debian/rules	2018-11-27 16:41:09.000000000 -0500
+++ python-gitlab-1.6.0/debian/rules	2019-10-18 21:53:10.000000000 -0400
@@ -7,7 +7,7 @@
 include /usr/share/dpkg/default.mk
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
@@ -22,8 +22,6 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	# Remove the script from the Python 2 package and move it to gitlab-cli
-	rm debian/python-gitlab/usr/bin/gitlab
 	mkdir -p debian/gitlab-cli/usr/bin
 	mv debian/python3-gitlab/usr/bin/gitlab debian/gitlab-cli/usr/bin/python-gitlab
 

Reply via email to