python312Packages.bindep: 2.12.0 -> 2.13.0 (#395030)
This commit is contained in:
@@ -3,27 +3,29 @@
|
||||
buildPythonPackage,
|
||||
distro,
|
||||
fetchPypi,
|
||||
fixtures,
|
||||
libredirect,
|
||||
packaging,
|
||||
parsley,
|
||||
pbr,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
testtools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bindep";
|
||||
version = "2.12.0";
|
||||
version = "2.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wGtR5tC6OWWq2PPCXwpXS+D4AboHyxp4SV2olUZ952A=";
|
||||
hash = "sha256-33VkdT5YMDO7ETM4FQ13JUAUW00YmkgB7FaiW17eUFA=";
|
||||
};
|
||||
|
||||
env.PBR_VERSION = version;
|
||||
|
||||
build-system = [
|
||||
pbr
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
@@ -33,8 +35,21 @@ buildPythonPackage rec {
|
||||
distro
|
||||
];
|
||||
|
||||
# Checks moved to 'passthru.tests' to workaround infinite recursion
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
fixtures
|
||||
libredirect.hook
|
||||
pytestCheckHook
|
||||
testtools
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
echo "ID=nixos
|
||||
" > os-release
|
||||
export NIX_REDIRECTS=/etc/os-release=$(realpath os-release)
|
||||
export PATH=$PATH:$out/bin
|
||||
'';
|
||||
|
||||
pytestFlagsArray = [ "-s" ];
|
||||
|
||||
pythonImportsCheck = [ "bindep" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user