[Slackbuilds-users] Dependency error for python3-matplotlib

Robby Workman rworkman at slackbuilds.org
Sat Nov 18 22:36:54 UTC 2017


On Sat, 18 Nov 2017 08:22:27 -0800
Benjamin Trigona-Harany <slackbuilds at jaxartes.net> wrote:

> On Saturday, November 18, 2017 1:00:40 AM PST Ythogtha wrote:
> > Hi!
> > 
> > 	python3-matplotlib lists python-dateutil as requirement,
> > but it needs to be python3-dateutil.
> > The README tells datetutil and pytz needs to be compiled against
> > python3, so I guess dateutil was like pytz and needed to be bluit
> > with PYTHON3=yes, but that doesn't seems to be the case anymore.  
> 
> The confusion may be down to the different ways of doing SlackBuilds
> for Python 3 modules. By my count, there are four:
> 
> 1. Silently install Python 3 support if python/python3 is installed.
> 2. Install Python 3 support if you pass PYTHON3=yes (or some other
> option) to the SlackBuild.
> 3. Have a separate python3-XYZ SlackBuild.
> 
> Personally, I much prefer option 3 since I can then be explicit about
> what is installed and what should go in REQUIRES without complicated
> instructions in README about dependencies.
> 
> Now that Python 3 is in current, however, the next release of
> Slackware and its Slackbuilds offers an opportunity. Option 1,
> previously my least favourite, is now viable except where a module
> exists for Python 2 but not 3 (or vice versa) and a few other edge
> cases (Jupyter kernels is one I know of).
> 
> I know we don't like enforcing rules on maintainers, but a friendly 
> recommendation for Python SlackBuilds would be welcome :)


For Slackware 15.0, I think the best option is to have both python2 and 
python3 support in a single package, since there's the expectation that
both python2 and python3 are on the system already.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20171118/9dee31b9/attachment.asc>


More information about the SlackBuilds-users mailing list