Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9527

Re: RFS: python-patch 1.16

Path csiph.com!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Paolo Greppi <paolo.greppi@libpf.com>
Newsgroups linux.debian.maint.python, linux.debian.bugs.dist
Subject Re: RFS: python-patch 1.16
Date Wed, 24 May 2017 11:50:02 +0200
Message-ID <tKAVP-wS-3@gated-at.bofh.it> (permalink)
References <sIL1w-5fn-17@gated-at.bofh.it> <sTMwV-11o-9@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed May 24 09:42:38 2017
Old-Return-Path <paolo.greppi@libpf.com>
X-Amavis-Spam-Status No, score=-9.68 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=unavailable autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5
X-Greylist delayed 313 seconds by postgrey-1.35 at bendel; Wed, 24 May 2017 09:41:34 UTC
Reply-To paolo.greppi@libpf.com
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1495618576; bh=LTjpWLVLqeCehRkuzRV30zPf06EN1DWNgsPc0NkwSCs=; h=Subject:From:To:Date:MIME-Version:Content-Type; b=KmFPZ7d8bCeCjTXoA9/f6yCJbp0OIE56TZcSQG0SOBzUxUjP8g6xMBNq/JERaZXQq toCMdu5fJrw8B4L5RfF6D3QCRVa/WBfnny7vYA3dPKDEL5g+yftGIUF8cDJbVKCKT1 WBz3lqpx7QgBMCEhkpCFwXg9/rp8FsWHB5EM3a4TMXnADs+b54AkYpnP24AtBFN3sn OfuHqSPmVzSSXc/6vEzOifq4Y5MWRdpcFh/1Z6xTxCgw+2IVkIoi2WKv6aaRBqQuZj DPEYW0C0PRiClh+s9QIFxheBH98WWaatD9CApM8ims35+SMI+gCbw8shamonhv/r+0 EHk4Q5vtjPGOw==
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14904
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/2d50fd9f-dc90-1027-6033-0c5098898289@libpf.com
Approved robomod@news.nic.it
Lines 106
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc mattia@debian.org, 845482@bugs.debian.org
X-Original-Date Wed, 24 May 2017 11:36:10 +0200
X-Original-Message-ID <2d50fd9f-dc90-1027-6033-0c5098898289@libpf.com>
X-Original-References <351f9b0c-19bd-64ad-4fb7-33d5c6d8b05b@libpf.com> <20161229171739.cyqm5kec6vym5ukn@mapreri.org>
Xref csiph.com linux.debian.maint.python:9527 linux.debian.bugs.dist:825327

Cross-posted to 2 groups.

Show key headers only | View raw


Il 29/12/2016 18:17, Mattia Rizzolo ha scritto:
> On Tue, Nov 29, 2016 at 08:20:23AM +0100, Paolo Greppi wrote:
>> Hi,
> 
> Hi!
> 
> FYI, I found your RFS only thanks to the /topic in #debian-python.
> Unless you're very lucky most RFSes sent to random mailing lists have a
> tendency to get lost/ignored; that's why I suggest you always file a RFS
> bug and X-Debbugs-CC the relevant team, unless you know that team is
> going to react (like pkg-js recently).

OK thanks for the suggestion

>> I packaged python-patch as per this ITP:
>> https://bugs.debian.org/845482, this is the repo:
>> https://anonscm.debian.org/cgit/python-modules/packages/python-patch.git
>>
>> Please someone more experienced than me review it and if it's OK sponsor
>> its upload.
> 
> I fixed the file name in the pristine-tar branch (otherwise `origtargz`
> ignored it..).

I rebuilt the repo from scratch anyway...

>> Please note that since the pypi tarball has no tests, whereas the github
>> tarball has no setup, I choose the latter and added the setup.py with a
>> git-dpm/quilt patch. I hope this is correct.

I had incorrectly added setup.py to master.
In the new repo I removed the setup.py file from the master branch, it is now really added by the patch.
This caused some trouble with the auto_clean target which I think I addressed.

> Yep, that's fine.  Please ask upstream to syncronize both, and have
> github ship the setup.py, and the tarball the release.

https://github.com/techtonik/python-patch/issues/51

> more changes I ask you:
> * d/changelog:
>   + please kill the second changelog line; first uploads should only
>     come with a "first upload" line
>   + finalize it (dch -r)

done

> * d/control:
>   + please wrap-and-sort that list of build-deps
>   + why are you commenting out the Testsuite field?
>   + Vcs-* are pointing to a repo that's not DPMT's, that's wrong
>     (furthermore that URL first requires auth, and it gave me a 404, so
>     I think it's a private repo)

done; I have uncommented the testsuite (not sure why it was commented)

> * d/compat:
>   + please bump to 10 (d/control already have the >= 10, so I guess you
>     just forgot to push this one too)

done

> * d/rules:
>   + please repspect DEB_BUILD_OPTIONS=nocheck

should be OK (see below)

>   + please use the method provided by pybuild to properly run the tests
>     against all supported python versions, against what you just
>     "built"; I think that one runs only one python version (2.7)
>     against the original sources.

I have added a test_suite config to setup.py (and moved from distutil to setuptools); this testsuite is then picked up by pybuild, and AFAICT it honors the nocheck flag automatically

>   + you're overriding dh_auto_install when you only want to append
>     --install-script to the command invoked.  Please use
>     PYBUILD_INSTALL_ARGS=--install-scripts=... instead.

OK

> * d/copyright:
>   + why are you licensing debian/ under a different license?

because I prefer GPL for my contributions to Debian

>   + personally I find a lot more readable to have all the file paragraph
>     at the top, and all stand alone licenses at the bottom

OK

>   + other/pack.py is under another license

OK added a public domain license for that

> * I: python-patch: new-package-should-not-package-python2-module python-patch

OK I stripped all python2 stuff

>   + right, I was about to forget about this...
> * I: python-patch source: binary-control-field-duplicates-source field "section" in package python-patch

OK (solved by the previous one BTW)

Thanks for all ! It should be now ready to go.

Paolo

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

RFS: python-patch 1.16 Paolo Greppi <paolo.greppi@libpf.com> - 2016-11-29 08:30 +0100
  Re: RFS: python-patch 1.16 Mattia Rizzolo <mattia@debian.org> - 2016-12-29 18:20 +0100
    Re: RFS: python-patch 1.16 Mattia Rizzolo <mattia@debian.org> - 2017-04-04 19:40 +0200
      Re: RFS: python-patch 1.16 Paolo Greppi <paolo.greppi@libpf.com> - 2017-04-04 20:00 +0200
    Re: RFS: python-patch 1.16 Paolo Greppi <paolo.greppi@libpf.com> - 2017-05-24 11:50 +0200

csiph-web