<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p></p>
    <div class="markdown-here-wrapper" data-md-url="Thunderbird"
      style="">
      <p style="margin: 0px 0px 1.2em ! important;">Hello Duncan,<br>
        thanks for your reply and sorry for the HTML-only message, I’ll
        make sure to send plaintext versions too. ;-)<br>
        While the suggestion of mentioning the usage of <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">pip2tgz</code>
        to obtain pyPdf in the README of sofastats can indeed work as a
        quite good workaround to the issue at hand, I think there are
        some drawbacks to it:</p>
      <ul style="margin: 1.2em 0px;padding-left: 2em;">
        <li style="margin: 0.5em 0px;">people who use automated tools to
          install packages (i.e. <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">sbopkg</code>)
          will build a package that won’t work at runtime, even if all
          the other hard-dependencies specified in the <code style="font-size: 0.85em; font-family: Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid rgb(234, 234, 234); background-color: rgb(248, 248, 248); border-radius: 3px; display: inline;">REQUIRES</code>
          line are installed</li>
        <li style="margin: 0.5em 0px;">dependencies specified in the
          README should only be optional or recommended ones, not
          mandatory ones (at least, this is what I grasped here on SBo)</li>
      </ul>
      <p style="margin: 0px 0px 1.2em ! important;">I guess the second
        one clashes with the guidelines here on SBo, but I don’t know
        for sure.<br>
        If someone knows better, please correct me if I’m wrong</p>
      <p style="margin: 0px 0px 1.2em ! important;">Cheers</p>
      <div
title="MDH:PHA+SGVsbG8gRHVuY2FuLDwvcD48cD50aGFua3MgZm9yI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24ndCBrbm93IGZvciBzdXJlLjwvcD48cD5JZiBzb21lb25lIGtu
b3dzIGJldHRlciwgcGxlYXNlIGNvcnJlY3QgbWUgaWYgSSdtIHdyb25nPC9wPjxwPjxicj48L3A+
        PHA+Q2hlZXJzPC9wPg=="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;">​</div>
    </div>
    <div class="moz-signature">
      <pre>Alan Alberghini

SBo clone: <a href="https://github.com/414n/slackbuilds.org">GitHub</a>
</pre>
    </div>
    <div class="moz-cite-prefix">On 20/08/2017 05:29, Duncan Roe wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20170820032938.GB3396@dimstar.local.net">
      <pre wrap="">On Sat, Aug 19, 2017 at 06:06:47PM +0200, 414N wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">I'm working on an updated sofastats SlackBuild but I stumbled upon a
dependency issue...
It seems like the sofastats package depends since some time on the `pyPdf`
python library for managing PDF exports (see the official documentation at
<a class="moz-txt-link-freetext" href="http://www.sofastatistics.com/wiki/doku.php?id=help:linux_installation#packages_required_dependencies">http://www.sofastatistics.com/wiki/doku.php?id=help:linux_installation#packages_required_dependencies</a>,
although they only report distro-specific package names...). Problem is,
that the pyPdf package on SBo is not the original library required for the
build, but instead is a ~2011 fork based on that library that has since gone
separate ways and was renamed `PyPDF2`. This is also reflected on the module
name, as it is installed as PyPDF2 inside
/usr/lib64/python2.7/site-packages/PyPDF2/.
The full story of the forking is available on the official site of PyPDF2 at
<a class="moz-txt-link-freetext" href="https://mstamy2.github.io/PyPDF2/">https://mstamy2.github.io/PyPDF2/</a>, while the original library is still
available at <a class="moz-txt-link-freetext" href="http://pybrary.net/pyPdf/">http://pybrary.net/pyPdf/</a>.
What I'd like to propose is:

- to rename the current pyPdf package to the more proper `PyPDF2` name

- to submit (I've already created a SlackBuild) the original unmaintained
library as `pyPdf`, so the dependency can be set inside the updated
sofastats.info
--
Alan Alberghini
</pre>
      </blockquote>
      <pre wrap="">
Hi Alan,

Please try to avoid sending HTML-only messages to the list in future.

pyPdf is indexed by PyPI - the Python Package Index
(<a class="moz-txt-link-freetext" href="https://pypi.python.org/pypi">https://pypi.python.org/pypi</a>),  so pip2tgz will build it. The package ends up
as pyPdf-1.13-x86_64-1_pip2_SBo.tgz. (PyPDF2 is also listed on PyPI BTW).

Unfortunately you can't put a pip2tgz-built package as a dependency in
sofastats.info. You would have to mention it in the README as being required.
That would enable you to get the main SB out the door.

I certainly agree that the existing pyPdf SB should be renamed,

Cheers ... Duncan.
_______________________________________________
SlackBuilds-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a>
<a class="moz-txt-link-freetext" href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a>
Archives - <a class="moz-txt-link-freetext" href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a>
FAQ - <a class="moz-txt-link-freetext" href="https://slackbuilds.org/faq/">https://slackbuilds.org/faq/</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>