[Bug 259567] devel/py-jsonschema: Version returns 0.0.0, breaking net-im/py-matrix-synapse which runs a version check

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Nov 2021 17:13:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259567

--- Comment #4 from Sascha Biberhofer <ports@skyforge.at> ---
Created attachment 229227
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229227&action=edit
devel/py-jsonschema: Fix missing dependency

Apparently py-jsonschema uses py-setuptools_scm to filter the version from scm
directly. This is reflected in the project's pyproject.toml, see [1].

Our port is missing this dependency, which causes the version to be set to
0.0.0.

I've attached a patch that bumps the port's revision and adds the missing
dependency. Tested building this in poudriere and it works fine. :-)

Credits for this go to David Tucker in the #python room on matrix.org for
pointing pointing me in the right direction. :D

Cheers,
Sascha

[1]
https://github.com/Julian/jsonschema/blob/272b4f24437d9cba1127058dc3479f9bc6d8c4b9/pyproject.toml#L6

-- 
You are receiving this mail because:
You are on the CC list for the bug.