Package Details: svg2tikz-git 3.2.1.r555.20240924.89d1721-2

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: 2024-12-14 12:29 (UTC)

Latest Comments

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

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.

dreieck commented on 2023-11-02 09:17 (UTC) (edited on 2023-11-02 09:38 (UTC) by dreieck)

A fixed PKGBUILD which solves the build issues (also the inkscape plugin source dir changed) and has also improved $pkgver can be found ↗ here.

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

package() fails:

==> Starting package()...
python: can't open file '/tmp/makepkg/build/svg2tikz-git/src/svg2tikz/setup.py': [Errno 2] No such file or directory

Regards!