Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: eamanu15 Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#900368: RFS: pygithub/1.40a3-1 [ITP] Date: Wed, 04 Jul 2018 12:20:01 +0200 Message-ID: References: X-Original-To: Dmitry Shachnev X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Jul 4 10:12:14 2018 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -2.438 Reply-To: eamanu15 , 900368@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Mentors X-Debian-Pr-Message: followup 900368 X-Debian-Pr-Package: sponsorship-requests X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 149; neutral, 50; spammy, 1. spammytokens:0.936-+--H*c:alternative hammytokens:0.000-+--Lintian, 0.000-+--lintian, 0.000-+--dh_python3, 0.000-+--debianpython, 0.000-+--dist-packages Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=my8DbxL4sTfmw20BB4x8OCQ27/mQI65jEadx6SYqejc=; b=ldatdSvhTy7tr49BM10k4OC8a92igxFlwEBGpJr7hVAOkyPF21jCBRdr02bR5JbTji wdTCjP17Ao8RHMkXA1QgSFA+sq6Jl258YnIT0BbCV30g1fTSTPDtmBM8fO6qdE6ZtXjx 3UJ4jsmHWM4lN/N9xQ1tgOFAVgAdaQKToU2mYHDflJIIX3QyJPMykF1EmEFLc66KheKn 2XuDt6acZqe1LWzPzUDEHM6JXMzIjTXuB+0cKWGntMAGGyPmCaBgyQvSMbpKphWgUBq9 ZmkLTqasTDXRXg26GfSMbEokyw5r3/VS6T0YXK+pivwtW9eEH2CX05ddBo38Euj6CWiA 8mgQ== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=my8DbxL4sTfmw20BB4x8OCQ27/mQI65jEadx6SYqejc=; b=IC7OKRGQAlA1IKyUwx75I9i5lUPw0zDroFV4xZclLsw3UZEXiyaNPe1Ms+G0pa2Lyz Qo3DQjSSMjTYt367IC4H2KgoJJp5/P7FfWbTAhziaypWmpX+oIyHq5KeNQEc6ZdZos7l Sczp5/26s2ugFSArVihaanf3+B1gXKU6I84mhdZGOyyH75U28NF+u+jBU6t31nLqKfNj qPiyUKX4TDLbSEZjUPzXFuHS/zERQ8JO4DmoJs4Dxr4F5HFihkjb2LtpvTO+oMUcBOvu N3u5uMEaR7Vc3N2sqgYveAdzwHKIxzbYbNoiEdBiMHRF8+N2y/w2ps4rkYsuF6bNnJMm bljw== X-Gm-Message-State: APt69E3tmLSvnVOuNoIRhApg0+jI6dUOeY07Sv/wtaAfxkHwAigpFr82 uoV4htOL0Kw1NnIXHIpwrmwLmt4RHx24qQp7fLc= X-Google-SMTP-Source: AAOMgpc9ha/JV5JXPMOLOLZETRzP4gcXgoJjQgAUTxjNkl0ir4VTGeHu6lFtDVSV5SQJc7aABdwxMzDmUKZD0MDArfY= X-Received: by 2002:ab0:25d6:: with SMTP id y22-v6mr815787uan.33.1530698972824; Wed, 04 Jul 2018 03:09:32 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008889b1057029a014" X-Debian-Message: from BTS X-Mailing-List: archive/latest/1470534 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 72 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 900368@bugs.debian.org, debian-python@lists.debian.org X-Original-Date: Wed, 4 Jul 2018 07:09:20 -0300 X-Original-Message-ID: X-Original-References: <20180703201724.GA13557@mitya57.me> <20180703201724.GA13557@mitya57.me> Xref: csiph.com linux.debian.bugs.dist:906010 linux.debian.maint.python:10676 --0000000000008889b1057029a014 Content-Type: text/plain; charset="UTF-8" Hello Dmitry, I have the fixes almost already, Just, I have a doubt in this point: - When building in the current sid, I get Lintian warnings about three files > shipped in /usr/lib/python3.7/dist-packages/. > > That probably happens because of output of 2to3 is slightly different in > Python 3.6 and 3.7 (e.g. files.items() vs. iter(files.items())), and > dh_python3 does not remove the file if it does not match. > > I would recommend removing debian/python3-github/usr/lib/python3.* > manually > in debian/rules. Keeping debian-python@ in Cc in case someone has a > better > idea. > To fix this problem I could add in the d/rules the next line: override_dh_auto_install: dh_auto_install find ./debian/python3-github/usr/lib/ -type f -name python3.* -delete isn't? Regards! Thanks! Emmanuel -- Arias Emmanuel https://www.linkedin.com/in/emmanuel-arias-437a6a8a http://eamanu.com --0000000000008889b1057029a014 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Dmitry,

I have the fix= es almost already, Just, I have a doubt in this point:

=
- When building in the current sid, I get Lintian warnings about three file= s
=C2=A0 shipped in /usr/lib/python3.7/dist-packages/.

=C2=A0 That probably happens because of output of 2to3 is slightly differen= t in
=C2=A0 Python 3.6 and 3.7 (e.g. files.items() vs. iter(files.items())), and=
=C2=A0 dh_python3 does not remove the file if it does not match.

=C2=A0 I would recommend removing debian/python3-github/usr/lib/python3.* m= anually
=C2=A0 in debian/rules. Keeping debian-python@ in Cc in case someone has a = better
=C2=A0 idea.

To fix this problem I coul= d add in the d/rules the next line:

override_dh_au= to_install:
=C2=A0=C2=A0=C2=A0 dh_auto_install
=C2=A0=C2=A0=C2=A0 fin= d ./debian/python3-github/usr/lib/ -type f -name python3.* -delete

isn't?

Regards!
Tha= nks!
Emmanuel
--
--0000000000008889b1057029a014--