[Bug 265643] graphics/inkscape: missing dependency on www/py-cssselect

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Aug 2022 10:13:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265643

            Bug ID: 265643
           Summary: graphics/inkscape: missing dependency on
                    www/py-cssselect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trombik1973@gmail.com
                CC: gnome@FreeBSD.org, nivit@FreeBSD.org
                CC: gnome@FreeBSD.org, nivit@FreeBSD.org

inkscape reports an exception.

how to reproduce:

1. install inkscape
2. [File] -> [New from template] -> select [Business card]

```text
Traceback (most recent call last):
  File "/usr/local/share/inkscape/extensions/template.py", line 24, in <module>
    import inkex
  File "/usr/local/share/inkscape/extensions/inkex/__init__.py", line 11, in
<module>
    from .extensions import *
  File "/usr/local/share/inkscape/extensions/inkex/extensions.py", line 34, in
<module>
    from .elements import (
  File "/usr/local/share/inkscape/extensions/inkex/elements/__init__.py", line
10, in <module>
    from ._base import ShapeElement, BaseElement
  File "/usr/local/share/inkscape/extensions/inkex/elements/_base.py", line 38,
in <module>
    from ..styles import Style, Classes
  File "/usr/local/share/inkscape/extensions/inkex/styles.py", line 33, in
<module>
    from .css import ConditionalRule
  File "/usr/local/share/inkscape/extensions/inkex/css.py", line 27, in
<module>
    import cssselect
ModuleNotFoundError: No module named 'cssselect'

```

a quick fix:

install www/py-cssselect

see also:

https://gitlab.com/inkscape/inkscape/-/issues/2473
https://bugs.archlinux.org/task/74792?project=1&string=inkscape
https://src.fedoraproject.org/rpms/inkscape/c/39c6c1b8

-- 
You are receiving this mail because:
You are on the CC list for the bug.