Bug 266889 - textproc/py-pikepdf:python-packaging and python-deprecation are missing as run-depend?
Summary: textproc/py-pikepdf:python-packaging and python-deprecation are missing as ru...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 14:21 UTC by Alexander Vereeken
Modified: 2022-10-22 17:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2022-10-07 14:21:01 UTC
Hello,

i do maintain the port print/pdfarranger and it seems that pikepdf are missing run dependencies?

File "/usr/local/lib/python3.9/site-packages/pdfarranger/pdfarranger.py", line 30, in <module>
    import pikepdf
  File "/usr/local/lib/python3.9/site-packages/pikepdf/__init__.py", line 56, in <module>
    from .models import (
  File "/usr/local/lib/python3.9/site-packages/pikepdf/models/__init__.py", line 16, in <module>
    from .image import PdfImage, PdfInlineImage, UnsupportedImageTypeError
  File "/usr/local/lib/python3.9/site-packages/pikepdf/models/image.py", line 16, in <module>
    from deprecation import deprecated
ModuleNotFoundError: No module named 'deprecation'

.....

pkg_resources.DistributionNotFound: The 'packaging>=20' distribution was not found and is required by pikepdf
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-08 01:55:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=857ee3432cd49a378f6d396ff9b23b50cf49701a

commit 857ee3432cd49a378f6d396ff9b23b50cf49701a
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-08 01:54:43 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-10-08 01:54:43 +0000

    textproc/py-pikepdf: Add missing DEPENDS

    PR:             266889
    Reported by:    Alexander88207@protonmail.com

 textproc/py-pikepdf/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-22 17:36:23 UTC
A commit in branch 2022Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c9fc5751340155942f895d0184a2d9d89878b0f

commit 4c9fc5751340155942f895d0184a2d9d89878b0f
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-08 01:54:43 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-10-22 17:33:52 +0000

    textproc/py-pikepdf: Add missing DEPENDS

    PR:             266889
    Reported by:    Alexander88207@protonmail.com

    This also fixes runtime issues with textproc/py-ocrmypdf.

    (cherry picked from commit 857ee3432cd49a378f6d396ff9b23b50cf49701a)

 textproc/py-pikepdf/Makefile | 2 ++
 1 file changed, 2 insertions(+)