python312Packages.cx-freeze: 7.1.1 -> 7.2.0 (#340104)

This commit is contained in:
Fabian Affolter 2024-09-07 10:38:19 +02:00 committed by GitHub
commit 8544965af5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,54 +1,53 @@
{
lib,
buildPythonPackage,
distutils,
fetchPypi,
pythonOlder,
ncurses,
packaging,
setuptools,
filelock,
typing-extensions,
wheel,
patchelf,
}:
buildPythonPackage rec {
pname = "cx-freeze";
version = "7.1.1";
version = "7.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "cx_freeze";
inherit version;
hash = "sha256-M1wwutDj5lNlXyMJkzCEWL7cmXuvW3qZXoZB3rousoc=";
hash = "sha256-xX9xAbTTUTJGSx7IjLiUjDt8W07OS7NUwWCRWJyzNYM=";
};
pythonRelaxDeps = [
"setuptools"
"wheel"
];
postPatch = ''
sed -i /patchelf/d pyproject.toml
# Build system requirements
substituteInPlace pyproject.toml \
--replace-fail "setuptools>=65.6.3,<71" "setuptools" \
--replace-fail "wheel>=0.42.0,<=0.43.0" "wheel"
'';
build-system = [
setuptools
wheel
];
buildInputs = [
ncurses
];
buildInputs = [ ncurses ];
dependencies = [
distutils
filelock
packaging
setuptools
] ++ lib.optionals (pythonOlder "3.10") [
typing-extensions
wheel
];
postPatch = ''
sed -i /patchelf/d pyproject.toml
'';
makeWrapperArgs = [
"--prefix"
"PATH"
@ -56,7 +55,7 @@ buildPythonPackage rec {
(lib.makeBinPath [ patchelf ])
];
# fails to find Console even though it exists on python 3.x
# Fails to find Console even though it exists on python 3.x
doCheck = false;
meta = with lib; {