Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2022 11:11:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264362] [NEW PORT] devel/py-jschema_to_python: Generate Python classes from a JSON schema
Message-ID:  <bug-264362-7788-qm25xjtjNQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264362-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264362-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264362

--- 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: Versioni=
ng for this project requires either an sdist tarball, or access to an upstr=
eam 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.VersionInf=
o. 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264362-7788-qm25xjtjNQ>