Bug#849648: mitmproxy: Unnecessary Build-Depends on python-cffi (and broken Vcs-Git field)

2016-12-29 Thread Stefano Rivera
Package: mitmproxy
Version: 0.18.1-1
Severity: normal
Tags: patch

Upstream dropped their last cffi module (certffi) in
2723a0e5739412953f60c37d0dab81d684ba5f26

That means that the Build-Depends on python-cffi is unnecessary.

Additionally, when attempting to submit a patch, I noticed that the
Vcs-Git field is incorrect.

Patches attached.

SR
From 93ec45a04325aaf86169bfe3f95e5707f3fcc181 Mon Sep 17 00:00:00 2001
From: Stefano Rivera 
Date: Thu, 29 Dec 2016 15:55:38 +0100
Subject: [PATCH 1/3] Drop python-cffi Build-Depends, unnecessary

---
 debian/control | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debian/control b/debian/control
index a7d18e2d..569eba3b 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 9), dh-python, libssl-dev, python-dev,
  python-setuptools,
  python-urwid (>= 1.3.1),
  python-backports.ssl-match-hostname (>= 3.5.0.1),
- python-cffi,
  python-configargparse (>= 0.10),
  python-flask (>= 0.10.1),
  python-html2text (>= 2016.1.8),
-- 
2.11.0

From e6de4b41b8521f3a2f8da524bd5448ba1ce4db50 Mon Sep 17 00:00:00 2001
From: Stefano Rivera 
Date: Thu, 29 Dec 2016 15:57:22 +0100
Subject: [PATCH 2/3] Fix Vcs-Git field

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 569eba3b..04c0ac54 100644
--- a/debian/control
+++ b/debian/control
@@ -38,7 +38,7 @@ Build-Depends: debhelper (>= 9), dh-python, libssl-dev, python-dev,
  python-jsbeautifier (>= 1.6.3),
  python-tz
 Standards-Version: 3.9.8
-Vcs-Git: https://anonscm.debian.org/collab-maint/mitmproxy.git
+Vcs-Git: https://anonscm.debian.org/git/collab-maint/mitmproxy.git
 Vcs-Browser: https://anonscm.debian.org/git/collab-maint/mitmproxy.git
 Homepage: https://mitmproxy.org
 
-- 
2.11.0



Bug#849648: mitmproxy: Unnecessary Build-Depends on python-cffi (and broken Vcs-Git field)

2016-12-30 Thread Carlos Maddela

On Thu, 29 Dec 2016 16:03:09 +0100 Stefano Rivera wrote:
> Package: mitmproxy
> Version: 0.18.1-1
> Severity: normal
> Tags: patch
>
> Upstream dropped their last cffi module (certffi) in
> 2723a0e5739412953f60c37d0dab81d684ba5f26
>
> That means that the Build-Depends on python-cffi is unnecessary.
>
> Additionally, when attempting to submit a patch, I noticed that the
> Vcs-Git field is incorrect.
>

Sorry, this part was my fault.

> Patches attached.
>
> SR



Bug#849648: mitmproxy: Unnecessary Build-Depends on python-cffi (and broken Vcs-Git field)

2016-12-30 Thread Sébastien Delafond
On Dec/31, Carlos Maddela wrote:
> Sorry, this part was my fault.

Don't sweat it, your previous patches helped tremendously. 

> > Patches attached.

I had already fixed the issue in my git tree, and am currently waiting
on an extra dependency to be uploaded for sid, so that I can package
mitmproxy 1.0.

Cheers,

--Seb