[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#900368: RFS: pygithub/1.40a3-1 [ITP]



Ok! Thanks !!!

El mié., 4 de jul. de 2018 a la(s) 09:13, Dmitry Shachnev <mitya57@debian.org> escribió:
On Wed, Jul 04, 2018 at 07:09:20AM -0300, eamanu15 wrote:
> 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/.
>
> 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?

It is a directory, not a file. Also you need to do it after dh_python3 runs.
So better use this:

override_dh_python3:
        dh_python3
        rm -rfv debian/python3-github/usr/lib/python3.*

--
Dmitry Shachnev
--
Arias Emmanuel
https://www.linkedin.com/in/emmanuel-arias-437a6a8a
http://eamanu.com

Reply to: