python3Packages.uncompyle6: 3.9.1 -> 3.9.2

This commit is contained in:
melvyn
2024-09-28 11:51:19 -04:00
parent bb12bc9c79
commit 4685040762
@@ -6,19 +6,19 @@
spark-parser,
xdis,
nose,
pytest,
pytestCheckHook,
hypothesis,
six,
}:
buildPythonPackage rec {
pname = "uncompyle6";
version = "3.9.1";
version = "3.9.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-xFHDjrPFzINOuLip5uCwzzIm5NlNCP0nbdA/6RWO2yc=";
hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
};
propagatedBuildInputs = [
@@ -28,25 +28,19 @@ buildPythonPackage rec {
nativeCheckInputs = [
nose
pytest
pytestCheckHook
hypothesis
six
];
# Tests attempt to decompile bytecode of the python version
# that is running the tests - this does not work for versions
# above 3.8, but they decompile older bytecode fine
# No tests are provided for versions past 3.8,
# as the project only targets bytecode of versions <= 3.8
doCheck = pythonOlder "3.9";
# six import errors (yet it is supplied...)
checkPhase = ''
runHook preCheck
pytest ./pytest --ignore=pytest/test_function_call.py
runHook postCheck
'';
meta = with lib; {
description = "Python cross-version byte-code deparser";
homepage = "https://github.com/rocky/python-uncompyle6/";
license = licenses.gpl3;
meta = {
description = "A bytecode decompiler for Python versions 3.8 and below";
homepage = "https://github.com/rocky/python-uncompyle6";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ melvyn2 ];
};
}