Skip to content

Commit

Permalink
treewide: replace pythonImportCheck(s) with pythonImportsCheck (#367120)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Dec 22, 2024
2 parents 19a9810 + 0f4860c commit 5e7d59c
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/django-cms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ buildPythonPackage rec {
});
};

pythonImportCheck = [ "cms" ];
pythonImportsCheck = [ "cms" ];

meta = {
description = "Lean enterprise content management powered by Django";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ buildPythonPackage rec {
export PLAYWRIGHT_BROWSERS_PATH="${playwright-driver.browsers}"
'';

pythonImportCheck = [ "filingcabinet" ];
pythonImportsCheck = [ "filingcabinet" ];

meta = {
description = "Django app that manages documents with pages, annotations and collections";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ buildPythonPackage rec {
export DJANGO_SETTINGS_MODULE=tests.settings
'';

pythonImportCheck = [ "django_json_widget" ];
pythonImportsCheck = [ "django_json_widget" ];

meta = {
description = "Alternative widget that makes it easy to edit the jsonfield field of django";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ buildPythonPackage rec {
});
};

pythonImportCheck = [ "djangocms_admin_style" ];
pythonImportsCheck = [ "djangocms_admin_style" ];

meta = {
description = "Django Theme tailored to the needs of django CMS";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ buildPythonPackage rec {
# Disable tests because dependency djangocms-versioning isn't packaged yet.
doCheck = false;

pythonImportCheck = [ "djangocms_alias" ];
pythonImportsCheck = [ "djangocms_alias" ];

meta = {
description = "Lean enterprise content management powered by Django";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ buildPythonPackage rec {
# Tests require module "djangocms-helper" which is not yet packaged
doCheck = false;

pythonImportCheck = [ "djangocms_text_ckeditor" ];
pythonImportsCheck = [ "djangocms_text_ckeditor" ];

meta = {
description = "Text Plugin for django CMS using CKEditor 4";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/meep/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
mpiCheckPhaseHook
];
pythonImportCheck = [
pythonImportsCheck = [
"meep.mpb"
];
checkPhase = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/picologging/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ buildPythonPackage rec {
hypothesis
];

pythonImportCheck = [ "picologging" ];
pythonImportsCheck = [ "picologging" ];

meta = {
homepage = "https://github.com/microsoft/picologging";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/pycangjie/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ buildPythonPackage rec {
sqlite
];

pythonImportCheck = [ "cangjie" ];
pythonImportsCheck = [ "cangjie" ];

# `buildPythonApplication` skips checkPhase
postInstallCheck = ''
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/python-poppler/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ buildPythonPackage rec {

nativeCheckInputs = [ pytestCheckHook ];

pythonImportCheck = [ "poppler" ];
pythonImportsCheck = [ "poppler" ];

meta = {
description = "Python binding to poppler-cpp";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/qtile-bonsai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ buildPythonPackage rec {
"tests/integration/test_widget.py"
];

pythonImportCheck = [ "qtile_bonsai" ];
pythonImportsCheck = [ "qtile_bonsai" ];

meta = {
changelog = "https://github.com/aravinda0/qtile-bonsai/releases/tag/${version}";
Expand Down

0 comments on commit 5e7d59c

Please sign in to comment.