Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2022 16:35:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 264452] devel/py-jsonschema: Include schemas in build
Message-ID:  <bug-264452-21822-9HwyLjV589@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264452-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264452-21822@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=3D264452

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D924f4e5dfca078753a3b12db278625b=
7d5377857

commit 924f4e5dfca078753a3b12db278625b7d5377857
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2022-06-05 16:27:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-05 16:34:00 +0000

    devel/py-jsonschema: Include schemas

    After the latest upgrade to 4.6.0 the pkg was missing the schemas file
    as the new hatch build system which doesn't create the full files as our
    building procedure requires dependency on a stub setup.py file.

    For future reference:
    The method I used for obtaining the setup.py file is to add

    [tool.hatch.build.targets.sdist]
    support-legacy =3D true

    to pyproject.toml. Afterwards, building an sdist with `python3 -m build
    -s` yields a corresponding archive in dist/jsonschema-4.6.0.tar.gz, from
    which the setup.py file can be extracted. The latter build still doesn't
    contain the subdirectory in MANIFEST.in though, so it didn't fix the
    issue entirely.

    While there are lots of dependent ports for now I am committing this but
    will look into a better solution to adapt the situation.

    PR:             264452
    Reported by:    stefan.haemmerl@gmx.de

 devel/py-jsonschema/Makefile                      |  1 +
 devel/py-jsonschema/files/patch-MANIFEST.in (new) |  7 +++
 devel/py-jsonschema/files/patch-setup.py          | 76 +++++++++++++++++++=
+---
 3 files changed, 74 insertions(+), 10 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264452-21822-9HwyLjV589>