Files
macports-ports/python/py-cryptography/files/patch-pyproject-sdist-only-include.diff
Paul Guyot 68480a2387 py-cryptography: relax uv_build version cap, fix installed files
Relax uv_build version cap from <0.10.0 to <1.0.0 for
cryptography_vectors subport to work with current uv-build.

Several files were installed by mistake with recent maturin versions.
Remove them by fixing the pyproject file.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-03-22 17:55:53 -04:00

26 lines
699 B
Diff

--- pyproject.toml.orig
+++ pyproject.toml
@@ -106,10 +106,10 @@
locked = true
sdist-generator = "git"
include = [
- "CHANGELOG.rst",
- "CONTRIBUTING.rst",
+ { path = "CHANGELOG.rst", format = "sdist" },
+ { path = "CONTRIBUTING.rst", format = "sdist" },
- "docs/**/*",
+ { path = "docs/**/*", format = "sdist" },
{ path = "src/_cffi_src/**/*.py", format = "sdist" },
{ path = "src/_cffi_src/**/*.c", format = "sdist" },
@@ -121,7 +121,7 @@
{ path = "src/rust/**/Cargo.lock", format = "sdist" },
{ path = "src/rust/**/*.rs", format = "sdist" },
- "tests/**/*.py",
+ { path = "tests/**/*.py", format = "sdist" },
]
exclude = [
"vectors/**/*",