Created attachment 240738 [details] editors/setzer: Update to 54
Packages that install files into PYTHON_SITELIBDIR must use flavours and set PKGNAMEPREFIX as indicated in ยง 6.17 Porter's Handbook. Please add this. Please check if you can expand pkg-descr a bit. python:3.5+ can be replaced by python as no version that old is in the Ports tree anymore.
Please also provide a link to a changelog if available.
Created attachment 240824 [details] 0002-editors-setzer-Update-to-54.patch (In reply to Robert Clausecker from comment #2) * added PKGNAMEPREFIX and flavors * I added more text to pkg-descr that I found on the site. * python:3.5+ replaced with python. Unfortunately I can't guess where his changelog is I duplicated the changes in the revision. If you have time, can you try to test this program?
A test run of the program fails, likely due to a missing dependency: Traceback (most recent call last): File "/usr/local/bin/setzer", line 29, in <module> from setzer.workspace.workspace import Workspace File "/usr/local/lib/python3.9/site-packages/setzer/workspace/workspace.py", line 23, in <module> from setzer.document.document_latex import DocumentLaTeX File "/usr/local/lib/python3.9/site-packages/setzer/document/document_latex.py", line 22, in <module> import setzer.document.build_system.build_system as build_system File "/usr/local/lib/python3.9/site-packages/setzer/document/build_system/build_system.py", line 26, in <module> import setzer.document.build_system.builder.builder_build_latex as builder_build_latex File "/usr/local/lib/python3.9/site-packages/setzer/document/build_system/builder/builder_build_latex.py", line 23, in <module> import pexpect ModuleNotFoundError: No module named 'pexpect' When you update Python ports, make sure to check for newly required dependencies!
If I manually add this dependency, the port runs fine. For the future, you can use "poudriere testport -i" to get an interactive shell in the test jail with the package you just built installed. This allows you to test it easily. You should also set NO_ARCH=yes as this port does not install any architecture-specific files. You can find a warning about this in the testport log: =======================<phase: package >============================ ===== env: DEVELOPER_MODE=yes PACKAGES=/tmp/pkgs PKGREPOSITORY=/tmp/pkgs PKGLATESTREPOSITORY=/tmp/pkgs/Latest 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2023-03-16T10:02:03+0000' 'PKG_NOTE_built_by=poudriere-git-3.3.99.20220831' STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building package for py39-setzer-54 pkg-static: DEVELOPER_MODE: Notice: arch "FreeBSD:13:amd64" -- no architecture specific files found: **** could this package use a wildcard architecture? ===========================================================================
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6eb1f4e572d021446e49e753a65ef7cae20184c3 commit 6eb1f4e572d021446e49e753a65ef7cae20184c3 Author: Clockwork6400 <Clockwork6400@protonmail.com> AuthorDate: 2023-03-13 17:19:53 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-17 09:02:16 +0000 editors/setzer: Update to 54 Changelog: https://github.com/cvfosammmm/Setzer/compare/v0.4.1...v54 PR: 270104 Differential Revision: https://reviews.freebsd.org/D39021 editors/setzer/Makefile | 18 ++--- editors/setzer/distinfo | 6 +- editors/setzer/pkg-descr | 4 ++ editors/setzer/pkg-plist | 173 +++++++++++++++++++++++++++-------------------- 4 files changed, 116 insertions(+), 85 deletions(-)
Thank you for your contribution.