[Bug 284708] sysutils/py-croniter: change devel/py-python-dateutil dependency to RUN_DEPENDS

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Feb 2025 13:52:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284708

            Bug ID: 284708
           Summary: sysutils/py-croniter: change devel/py-python-dateutil
                    dependency to RUN_DEPENDS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: nick@foobar.org
                CC: skreuzer@FreeBSD.org, sunpoet@FreeBSD.org
                CC: skreuzer@FreeBSD.org, sunpoet@FreeBSD.org

Created attachment 257382
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257382&action=edit
change devel/py-python-dateutil dependency from BUILD_DEPENDS to RUN_DEPENDS

py-croniter's dependency on python-dateutil is a runtime dependency, not a
build dependency.

% python3.10 -c 'import croniter'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python3.10/site-packages/croniter/__init__.py", line 3,
in <module>
    from .croniter import (
  File "/usr/local/lib/python3.10/site-packages/croniter/croniter.py", line 8,
in <module>
    from dateutil.relativedelta import relativedelta
ModuleNotFoundError: No module named 'dateutil'
%

Without the patch below, anything depending on croniter will fail to load.

-- 
You are receiving this mail because:
You are the assignee for the bug.