Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 460984

Summary: app-text/pelican should depend on dev-python/assets
Product: Gentoo Linux Reporter: Vincent-Xavier JUMEL <endymion+gentoo>
Component: Current packagesAssignee: Dirkjan Ochtman <djc>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vincent-Xavier JUMEL 2013-03-09 17:22:31 UTC
If you want to use pelican plugin «assets», this module tries to import webassets, which is currently missing and should have been pulled in by app-text/pelican

Reproducible: Always

Steps to Reproduce:
1. Install app-text/pelican
2. Enable assets plugin
3. in pelican dir : «make html»
Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/pelican-2.7", line 9, in <module>
    load_entry_point('pelican==3.1.1', 'console_scripts', 'pelican')()
  File "/usr/lib64/python2.7/site-packages/pelican/__init__.py", line 279, in main
    pelican = get_instance(args)
  File "/usr/lib64/python2.7/site-packages/pelican/__init__.py", line 273, in get_instance
    return cls(settings)
  File "/usr/lib64/python2.7/site-packages/pelican/__init__.py", line 46, in __init__
    self.init_plugins()
  File "/usr/lib64/python2.7/site-packages/pelican/__init__.py", line 60, in init_plugins
    plugin = __import__(plugin, globals(), locals(), 'module')
  File "/usr/lib64/python2.7/site-packages/pelican/plugins/assets.py", line 22, in <module>
    from webassets import Environment
ImportError: No module named webassets
make: *** [/home/vincentxavier/pelican/output/index.html] Erreur 1


Expected Results:  
Load the assets plugin.
Comment 1 Vincent-Xavier JUMEL 2013-03-09 19:12:55 UTC
Sorry seems to depend on https://github.com/miracle2k/webassets : an ebuild exists in http://gpo.zugaina.org/dev-python/webassets/ChangeLog
Comment 2 Dirkjan Ochtman gentoo-dev 2013-03-11 08:27:31 UTC
If it's just a plugin, there should probably be a USE flag.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-24 06:15:28 UTC
Mass-closing bugs for removed packages.