Re: [Slackbuilds-users] Is the pyparsing SlackBuild still needed?

2017-03-25 Thread Audrius Kažukauskas
On Sat, 2017-03-25 at 03:55:25 +0100, Kees Theunissen wrote:
> Hello,
> 
> The slackware package python-setuptools-22.0.5-x86_64-1 contains
>   /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py
> and
>   /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.pyc
> 
> So I'm wondering if there is still a need for a separate pyparsing SBo
> SlackBuild?
> 
> The pyparsing SlackBuild is currently required as a first level
> dependency by: spice packaging pydot matplotlib sqlpp11 snuggs puddletag
> flexget enki plaso targetcli-fb letsencrypt

_vendor directory here contains embedded third party libraries which are
meant for internal use by setuptools only, likely because it requires
exact versions of those libraries.  There's no guarantee that those
embedded libraries will even be there for newer setuptools versions.
It's really not a good idea to use them by anything else other than
setuptools.

Vendoring third party code is not unusual, another well known project
that does this is python-requests.

-- 
Audrius Kažukauskas


signature.asc
Description: PGP signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Is the pyparsing SlackBuild still needed?

2017-03-25 Thread Barry Grundy
On Fri, Mar 24, 2017 at 10:55 PM, Kees Theunissen 
wrote:

> Hello,
>
> The slackware package python-setuptools-22.0.5-x86_64-1 contains
>   /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py
> and
>   /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.pyc
>
> So I'm wondering if there is still a need for a separate pyparsing SBo
> SlackBuild?
>
> The pyparsing SlackBuild is currently required as a first level
> dependency by: spice packaging pydot matplotlib sqlpp11 snuggs puddletag
> flexget enki plaso targetcli-fb letsencrypt
>
>
I tested plaso without installing pyparsing.  It builds, but fails it's
utils/check_dependencies.  It will pass the dep check if I create a symlink
to pyparsing, but it is an older version (see below).

As the maintainer, I'd prefer to keep the pyparsing slackbuild separate
rather than trying to install a symlink to an older version.

root@slackbuilds:~/plaso/plaso-1.5.1/utils# ./check_dependencies.py
> Checking availability and versions of dependencies.
> ...
> [FAILURE] missing: pyparsing.
> ...
>
> root@slackbuilds:~# ln -s /usr/lib64/python2.7/site-pack
> ages/pkg_resources/_vendor/pyparsing.py /usr/lib64/python2.7/site-pack
> ages/pyparsing.py



root@slackbuilds:~/plaso/plaso-1.5.1/utils# ./check_dependencies.py
> Checking availability and versions of dependencies.
> ...
> [OK] pyparsing version: 2.0.6
> ...
>

> root@slackbuilds:~# sboinstall pyparsing



root@slackbuilds:~/plaso/plaso-1.5.1/utils# ./check_dependencies.py
> Checking availability and versions of dependencies.
> ...
> [OK] pyparsing version: 2.1.8
> ...
>

Thanks,
Barry
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Is the pyparsing SlackBuild still needed?

2017-03-25 Thread B Watson
On 3/24/17, Kees Theunissen  wrote:

> The pyparsing SlackBuild is currently required as a first level
> dependency by: spice packaging pydot matplotlib sqlpp11 snuggs puddletag
> flexget enki plaso targetcli-fb letsencrypt

Remove it, and see if that stuff still builds and runs?
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] Is the pyparsing SlackBuild still needed?

2017-03-24 Thread Kees Theunissen
Hello,

The slackware package python-setuptools-22.0.5-x86_64-1 contains
  /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py
and
  /usr/lib64/python2.7/site-packages/pkg_resources/_vendor/pyparsing.pyc

So I'm wondering if there is still a need for a separate pyparsing SBo
SlackBuild?

The pyparsing SlackBuild is currently required as a first level
dependency by: spice packaging pydot matplotlib sqlpp11 snuggs puddletag
flexget enki plaso targetcli-fb letsencrypt


Regards,

Kees Theunissen.

-- 
Kees Theunissen,  System and network manager,   Tel: +31 (0)40-3334724
Dutch Institute For Fundamental Energy Research (DIFFER)
e-mail address:   c.j.theunis...@differ.nl
postal address:   PO Box 6336, 5600 HH, Eindhoven, the Netherlands
visitors address: De Zaale 20, 5612 AJ, Eindhoven, the Netherlands

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/