[Slackbuilds-users] Updates - 20161231.1

Jeremy Hansen jebrhansen+SBo at gmail.com
Mon Jan 2 20:09:20 UTC 2017


Best I could find is modifying the program's setup.cfg and add the
following:

[easy_install]
allow_hosts: None

This doesn't disable attempting to download packages (I couldn't find
anything for that), but it does prevents connections because it, obviously,
doesn't have any allowable hosts.

On Mon, Jan 2, 2017, 2:17 PM Andrzej Telszewski <atelszewski at gmail.com>
wrote:

> On 02/01/17 18:37, Audrius Kažukauskas wrote:
> > On Mon, 2017-01-02 at 01:16:32 +0100, Andrzej Telszewski wrote:
> >> Maybe slackrepo does not allow to download something needed by the
> Python
> >> install script.
> >
> > I don't know slackrepo well enough, but this seems likely.
> >
> >> But it shouldn't be downloaded in the first place.
> >>
> >> I don't know enough about Python installation scripts to say the final
> word.
> >
> > borgbackup's setup.py contains the following line:
> >
> >   setup_requires=['setuptools_scm>=1.7'],
> >
> > Thus setuptools_scm should really be a requirement for borgbackup.
> >
> > setuptools documentation has this description of setup_requires field:
> >
> >   A string or list of strings specifying what other distributions need
> >   to be present in order for the setup script to run.  setuptools will
> >   attempt to obtain these (even going so far as to download them using
> >   EasyInstall) before processing the rest of the setup script or
> >   commands. <...>
> >
> > This explains why the build succeeded for Willy and, if slackrepo does
> > indeed disable network access, why it didn't for you.
> >
>
> Thanks for clarification.
> That is what I was thinking is more or less happening.
>
> Do you know if it's possible to disable automatic downloading by the
> setup script (on the command line)?
>
> If it is, I think we should apply this rule to SlackBuilds and then we
> had the true dependencies ;-)
>
> --
> Best regards,
> Andrzej Telszewski
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170102/1408aa3b/attachment.html>


More information about the SlackBuilds-users mailing list