python3{11,12}Packages.uncompyle6: use pyproject, relax spark-parser dependency, remove nose dependency (#348013)

This commit is contained in:
Emily
2024-10-13 18:22:07 +01:00
committed by GitHub
@@ -2,10 +2,9 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
spark-parser,
xdis,
nose,
pytestCheckHook,
hypothesis,
six,
@@ -14,20 +13,23 @@
buildPythonPackage rec {
pname = "uncompyle6";
version = "3.9.2";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-b3CYD/4IpksRS2hxgy/QLYbJkDX4l2qPH4Eh2tb8pCU=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
spark-parser
xdis
];
pythonRelaxDeps = [ "spark-parser" ];
nativeCheckInputs = [
nose
pytestCheckHook
hypothesis
six
@@ -35,7 +37,7 @@ buildPythonPackage rec {
# No tests are provided for versions past 3.8,
# as the project only targets bytecode of versions <= 3.8
doCheck = pythonOlder "3.9";
doCheck = false;
meta = {
description = "A bytecode decompiler for Python versions 3.8 and below";