Search Criteria
Package Details: svg2tikz-git 3.2.1.r555.20240924.89d1721-1
Package Actions
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-09-30 13:04 (UTC) |
Dependencies (20)
- python (python37AUR, python311AUR, python310AUR)
- python-inkexAUR
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-poetry (python-poetry-gitAUR) (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-sphinx-argparse (make)
- python-sphinx-click (make)
- python-sphinx-copybutton (make)
- python-sphinx-furo (make)
- python-sphinxext-opengraph (make)
- python-wheel (make)
- texlive-bin (texlive-installerAUR, texlive-fullAUR) (make)
- python-inkexAUR (check)
- python-lxml (check)
- inkscape (inkscape-gitAUR) (optional) – for using the inksape extension files.
- python-lxml (optional)
- xclip (wl-clipboard-x11AUR, xclip-gitAUR) (optional)
Latest Comments
1 2 3 4 Next › Last »
dreieck commented on 2024-06-02 21:50 (UTC)
@lamarpaval wrote:
↗ Upstream states that only
inkex
andlxml
are direct dependencies.So maybe missing dependencies should be directed to
python-inkex
andpython-lxml
?Regards!
dreieck commented on 2024-06-02 14:33 (UTC) (edited on 2024-06-02 14:58 (UTC) by dreieck)
And if your python version is 3.12 then it won't find
inkex
.Is your Python version on 3.12, or 3.11 (
python --version
)?I have ↗ asked upstream.
AlbertoAru commented on 2024-06-01 20:51 (UTC)
I mean, I removed everything on ~/.cache and updated again. I've just done it again, but I don't know if that's what you mean by rebuilding it.
Yes, I do have it on python3.11: https://pastebin.com/raw/HLSSpPwH
dreieck commented on 2024-05-31 07:48 (UTC) (edited on 2024-05-31 07:48 (UTC) by dreieck)
@AlbertuAru:
With
inkex
?Just a guess: have you not re-built it after the latest python update?
Does it have file (
pacman -Ql python-inkex
) in/usr/lib/python3.11/
or any other python version directory that is not3.12
(the up to date python version)?In that case, you need (and do it also with all other packages for which this holds true) to rebuild it.
lamarpavel commented on 2024-05-31 06:42 (UTC)
The packages I listed were all thrown at me in tracebacks like the one I posted for
lxml
. I tried building the package in a clean chroot (usingaurutils
) with nothing installed except base-devel and the dependencies explicitly named in the PKGBUILD.Every package ever imported by any file needs to be in the dependencies, but as you said there is no mention of numpy in the python code itself. It appears that "poetry" is a dependency management system for python (yet another one...) and while I have never seen it before, looking at poetry.lock that looks like a list of packages that are required.
I gave up manually adding all the names I encountered in the traceback to the
checkdepends
and simply removed thecheck()
function in thePKGBUILD
. That allowed me to build the package, but it's probably bad practice for a package maintainer to do so.Sorry, but I don't really know my way around python build tools either. The documentation of the module at https://xyz2tex.github.io/svg2tikz/install.html is not very helpful to me either. It's an unfortunate reality that many projects in the python world only give instructions on how to install them with pip and disregard package manager agnostic usage.
AlbertoAru commented on 2024-05-30 17:58 (UTC)
I am still having these issues for some reason :\
dreieck commented on 2024-05-30 08:30 (UTC)
Ahoj,
Thanks for noticing
python-lxml
.I have added it to
checkdepends
.But I could not find the string
numpy
orclasspath
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 tonumpy
, but also many, many other packages.I do not know what that means.
I also added a couple of more
python-phinx*
packages tomakedepends
sincepyproject.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; furthermorepyproject.toml
has as overall software versionversion = "3.0.1"
, but upstream is already at3.1.0
, so I do not know how up to date the dependency information inpyproject.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:
If the tests are enabled by default in the PKGBUILD,
python-lxml
should be incheckdepends
. Same forpython-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 :(
1 2 3 4 Next › Last »