[Bug 264362] [NEW PORT] devel/py-jschema_to_python: Generate Python classes from a JSON schema

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Jun 2022 11:11:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264362

--- Comment #3 from Po-Chuan Hsieh <sunpoet@FreeBSD.org> ---
(In reply to Nuno Teixeira from comment #2)

The error message describe the problem.

> error in setup command: Error parsing /wrkdirs/usr/ports/devel/py-jschema_to_python/work-py38/jschema-to-python-1.2.3/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name jschema_to_python was given, but was not able to be found.

The problem is caused by using a tarball from GitHub.
The build should use either the sdist (from PyPI) or a complete git clone.

BTW, this should be devel/py-jschema-to-python to match PyPI naming. I can
build this port successfully using the sdist from PyPI.

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