Created attachment 238047 [details] Add run time dependency on "www/py-requests" On freebsd-quesitons@ list, lumiwa@dismail.de mentioned in message 20221112140934.157b9d6e@dismail.de ... I am using Inkscape 1.2.1 on FreeBSD 13.1 - Release - p3 and it works. The problem which I have is when going File - Import Web Image... than I got: Traceback (most recent call last): File "/usr/local/share/inkscape/extensions/other/clipart/import_web_image.py", line 47, in <module> from import_sources import RemoteSource, RemoteFile, RemotePage File "/usr/local/share/inkscape/extensions/other/clipart/import_sources.py", line 26, in <module> import requests ModuleNotFoundError: No module named 'requests' Either Inkscape ought to intercept the error & ask the user to install "requests" package so that it could "Import Web Image". Or, the FreeBSD port, graphics/inkscape, needs run time dependency on the package. Attached (untested yet) patch adds the run time dependency on "www/py-requests" port; bumps the PORTREVISION to 9.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c65779922470d65c99bb6c7c113526eb84ce762 commit 1c65779922470d65c99bb6c7c113526eb84ce762 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-11-13 10:20:32 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-11-13 10:20:32 +0000 graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image" PR: 267735 graphics/inkscape/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Shipped, thanks
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fb31ee47011d5e07068e52fea8e9f560bea9679 commit 3fb31ee47011d5e07068e52fea8e9f560bea9679 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-11-13 10:20:32 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-11-13 10:27:18 +0000 graphics/inkscape: Add runtime dependency on www/py-requests to "Import Web Image" PR: 267735 (cherry picked from commit 1c65779922470d65c99bb6c7c113526eb84ce762) graphics/inkscape/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)