Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsonschema and openapi related python pkgs #46077

Merged
merged 10 commits into from
Sep 26, 2023

Conversation

tornaria
Copy link
Contributor

Testing the changes

  • I tested the changes in this PR: briefly

@tornaria tornaria force-pushed the python3-jsonschema branch 2 times, most recently from 2d95723 to ed7f06b Compare September 16, 2023 13:24
@tornaria
Copy link
Contributor Author

There was an issue with cross building python3-rpds-py that is now solved.
For the record, this needed build_helper=rust and

if [ "$CROSS_BUILD" ]; then
	makedepends="python3 rust-std"
	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
fi

which I took from python3-adblock.

I wonder if the PYO3_CROSS... variables should go into the rust build_helper (this is repeated in 4 and now 5 templates).

@tornaria
Copy link
Contributor Author

I bite the bullet and moved the PYO3_CROSS_... settings to the rust build-helper.

In #46086 I refactor the other pkgs using PYO3_CROSS_.... Both PRs share the first commit.

@tornaria
Copy link
Contributor Author

cc: @jcgruenhage (python3-jsonschema: update to 4.19.1.)

@ahesford ahesford merged commit 142aa68 into void-linux:master Sep 26, 2023
8 checks passed
@tornaria tornaria deleted the python3-jsonschema branch September 26, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants