HomeFreeBSD

devel/py-gptscript: Update to 0.7.1

Description

devel/py-gptscript: Update to 0.7.1

  • Add a post-patch target to fix an error when generating temporary packing list:

> Generating temporary packing list

Traceback (most recent call last):

File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module>
  _main(sys.argv[1:], "python -m installer")
File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main
  with WheelFile.open(args.wheel) as source:
File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__
  return next(self.gen)
         ^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line 162, in open
  with zipfile.ZipFile(path) as f:
       ^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/zipfile.py", line 1294, in __init__
  self.fp = io.open(file, filemode)
            ^^^^^^^^^^^^^^^^^^^^^^^

FileNotFoundError: [Errno 2] No such file or directory: /wrkdirs/usr/ports/devel/py-gptscript/work-py311/py-gptscript-0.7.1/dist/gptscript-0.7.1*.whl

  • Error code 1

This is due to a wrong version number in pyproject.toml file.

Details

Provenance
nivitAuthored on Mon, Jun 17, 8:39 AM
Parents
R11:2612aa236edb: mail/mlmmj: reduce the number of dependencies necessary to build
Branches
Unknown
Tags
Unknown