pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/textproc/py-sphinxcontrib-bibtex



>> Please, sort your PLISTs. You can use pkgtools/plist-utils -> plist-sort for that. It handles ${PYSITELIB} and alikes.
> 
> I just run make print-PLIST - doesn't that sort the files automatically? (And if not, maybe it should?)
> 
>> Also, I see the package requires:
>> pybtex>=0.20
>> pybtex-docutils>=0.2.0
>> six>=1.4.1
>> Sphinx>=1.0
>> oset>=0.1.3
>> but there are not in DEPENDS. Will it work without them?
> 
> It compiles in a sandbox, and the pkgsrc-wip package did not have them either. I'm packaging all this so the new Coq version can make its documentation - that does need pybtex, sphinx [which I have 
> added as a dependency to this package as well] and oset, but not six, so if anything I don't think they are hard dependencies.
> 
> best
> 
>  Jaap

Python will _always_ compile without dependencies. You know, it is not compilation in the way e.g. C code compiles. It just compacts the structure, so it can be loaded quicker.


What I did:

% ipython3.7

import sphinxcontrib.bibtex
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-2a8e22473813> in <module>()
----> 1 import sphinxcontrib.bibtex

/dist/pkg/lib/python3.7/site-packages/sphinxcontrib/bibtex/__init__.py in <module>()
     14 import docutils.nodes
     15 import docutils.parsers.rst
---> 16 from sphinxcontrib.bibtex.cache import Cache
     17 from sphinxcontrib.bibtex.nodes import bibliography
     18 from sphinxcontrib.bibtex.roles import CiteRole

/dist/pkg/lib/python3.7/site-packages/sphinxcontrib/bibtex/cache.py in <module>()
     25 import collections
     26 import copy
---> 27 from oset import oset
     28 import re
     29 

ModuleNotFoundError: No module named 'oset'


So, please, add the dependencies (create new packages if needed).

Cheers :)
Adam


Home | Main Index | Thread Index | Old Index