python3Packages.django-crispy-bootstrap*: move setuptools into build-system, sort dependencies

This commit is contained in:
Kerstin Humm
2024-09-04 12:54:31 +02:00
committed by Valentin Gagarin
parent e06a8c8987
commit dbff342f64
3 changed files with 16 additions and 10 deletions
@@ -21,15 +21,16 @@ buildPythonPackage rec {
hash = "sha256-w5CGWf14Wa8hndpk5r4hlz6gGykvRL+1AhA5Pz5Ejtk=";
};
build-system = [ setuptools ];
dependencies = [
django
setuptools
django-crispy-forms
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
django-crispy-forms
];
pythonImportsCheck = [ "crispy_bootstrap3" ];
@@ -37,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Bootstrap 3 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap3";
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap3/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "django-crispy-bootstrap4";
version = "2024.1";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "django-crispy-forms";
@@ -21,15 +21,16 @@ buildPythonPackage rec {
hash = "sha256-upHrNDhoY+8qD+aeXPcY452xUIyYjW0apf8mVo6pqY4=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
django
setuptools
django-crispy-forms
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
django-crispy-forms
];
pythonImportsCheck = [ "crispy_bootstrap4" ];
@@ -37,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Bootstrap 4 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap4";
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap4/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "django-crispy-bootstrap5";
version = "2024.2";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "django-crispy-forms";
@@ -21,15 +21,16 @@ buildPythonPackage rec {
hash = "sha256-ehcDwy53pZCqouvUm6qJG2FJzlFZaygTZxNYPOqH1q0=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
django
setuptools
django-crispy-forms
];
nativeCheckInputs = [
pytest-django
pytestCheckHook
django-crispy-forms
];
pythonImportsCheck = [ "crispy_bootstrap5" ];
@@ -37,6 +38,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Bootstrap 5 template pack for django-crispy-forms";
homepage = "https://github.com/django-crispy-forms/crispy-bootstrap5";
changelog = "https://github.com/django-crispy-forms/crispy-bootstrap5/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};