[Bug 264452] devel/py-jsonschema: include schemas in build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Jun 2022 16:40:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264452

            Bug ID: 264452
           Summary: devel/py-jsonschema: include schemas in build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: ports@skyforge.at
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Created attachment 234447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234447&action=edit
devel/py-jsonschema: include schemas in build

devel/py-jsonschema's build processes was moved to hatch with 4.6.0. Our port
currently tries to rely on a setup.py stub, but this yields an incomplete
package. Most notably, the JSON schema files are missing from the package,
which basically breaks the port.

This diff includes a setup.py generated via a hatch sdist build and adds the
schema files to the MANIFEST.in file to include them in the resulting package.

This was initially reported to me by Stefan Hämmerl <stefan.haemmerl@gmx.de>,
who noticed the resulting breakage on his synapse server. :)

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