Package Details: svg2tikz-git 3.3.0+12.r572.20250314.2eefdc0-1

Git Clone URL: https://aur.archlinux.org/svg2tikz-git.git (read-only, click to copy)
Package Base: svg2tikz-git
Description: Set of tools for converting SVG graphics to TikZ/PGF code.
Upstream URL: http://xyz2tex.github.io/svg2tikz/
Licenses: GPL-2.0-or-later
Conflicts: inkscape-tikz, python-svg2tikz, svg2tikz, svg2tikz-doc
Provides: inkscape-tikz, python-svg2tikz, svg2tikz, svg2tikz-doc
Replaces: inkscape-tikz-hg
Submitter: haawda
Maintainer: dreieck
Last Packager: dreieck
Votes: 17
Popularity: 0.000000
First Submitted: 2014-08-23 13:27 (UTC)
Last Updated: 2025-03-30 11:22 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

dreieck commented on 2024-05-30 08:30 (UTC)

Ahoj,

The tests are failing due to missing dependencies:
[…]
If the tests are enabled by default in the PKGBUILD, python-lxml should be in checkdepends. Same for python-cssselect, numpy and whichever other modules are needed.`

Thanks for noticing python-lxml.

I have added it to checkdepends.

But I could not find the string numpy or classpath in any file in the downloaded source directory. How you come that they are needed?, or did you list them just as examples?

poetry.lock contains reference to numpy, but also many, many other packages.

I do not know what that means.

I also added a couple of more python-phinx* packages to makedepends since pyproject.toml lists them under [tool.poetry.group.docs.dependencies]. But build so far has also worked for me without them, so I am not sure; furthermore pyproject.toml has as overall software version version = "3.0.1", but upstream is already at 3.1.0, so I do not know how up to date the dependency information in pyproject.toml is. Can you enlighten me about it?
I do not know how python-own packaging works and what the metadata means. The only packaging format I know about is Arch Linux.

Regards!

lamarpavel commented on 2024-05-30 07:09 (UTC) (edited on 2024-05-30 07:12 (UTC) by lamarpavel)

The tests are failing due to missing dependencies:

Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_utility_functions.py:13: in <module>
    from svg2tikz.tikz_export import (
svg2tikz/__init__.py:4: in <module>
    from .tikz_export import convert_file, convert_svg
svg2tikz/tikz_export.py:38: in <module>
    import inkex
/usr/lib/python3.12/site-packages/inkex/__init__.py:11: in <module>
    from .extensions import *
/usr/lib/python3.12/site-packages/inkex/extensions.py:34: in <module>
    from .elements import (
/usr/lib/python3.12/site-packages/inkex/elements/__init__.py:9: in <module>
    from ._parser import SVG_PARSER, load_svg
/usr/lib/python3.12/site-packages/inkex/elements/_parser.py:30: in <module>
    from lxml import etree
E   ModuleNotFoundError: No module named 'lxml'

If the tests are enabled by default in the PKGBUILD, python-lxml should be in checkdepends. Same for python-cssselect, numpy and whichever other modules are needed.

AlbertoAru commented on 2024-05-29 16:06 (UTC)

Hi! Thanks for replying! Yes, I do have it installed. I've tried to update it again, and got the same errors :(

dreieck commented on 2024-05-29 11:18 (UTC) (edited on 2024-05-29 11:19 (UTC) by dreieck)

inkex importing error came back:

That's strange, I cannot reproduce, I just did a fresh build.

Do you have the dependency python-inkex installed?

It is listed in the depends array.

Does it also need to be listed in checkdepends, even though it is in depends?

Anyway, I just also added it to checkdepends.

Regards!

AlbertoAru commented on 2024-05-29 09:35 (UTC) (edited on 2024-05-29 10:15 (UTC) by AlbertoAru)

inkex importing error came back:

ERROR tests/test_complete_files.py
ERROR tests/test_geometrical_functions.py
ERROR tests/test_parsing.py
ERROR tests/test_svg2tikz.py
ERROR tests/test_tikz_path_exporter.py
ERROR tests/test_utility_functions.py

dreieck commented on 2024-01-15 18:19 (UTC)

Thanks, @Patchke, for notifying.

Done.

Patschke commented on 2024-01-15 16:13 (UTC)

The check() step fails for me with a ModuleNotFoundError on the python package inkex. There seems to exist an AUR package python-inkex, so I assume you could add that as dependency for the check() step.

dreieck commented on 2024-01-13 17:10 (UTC)

I fixed the package.

dreieck commented on 2023-11-02 09:37 (UTC)

Also, the maintainer according to the Maintainer: line is not the same as the maintainer according to the AUR information.