python312Packages.django-bootstrap4: 24.3 -> 24.4 (#344890)

This commit is contained in:
Martin Weinelt 2024-09-30 15:36:30 +02:00 committed by GitHub
commit 5770316a43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,35 +15,39 @@
# tests
python,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-bootstrap4";
version = "24.3";
format = "pyproject";
version = "24.4";
pyproject = true;
src = fetchFromGitHub {
owner = "zostera";
repo = "django-bootstrap4";
rev = "refs/tags/v${version}";
hash = "sha256-sZY/0f1PbYQu9fN65H6H7xLvsdE9AXK0cMt9TyAKuUw=";
hash = "sha256-9URZ+10GVX171Zht49UQEDkVOZ7LfOtUvapLydzNAlk=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ beautifulsoup4 ];
dependencies = [ beautifulsoup4 ];
pythonImportsCheck = [ "bootstrap4" ];
nativeCheckInputs = [ (django.override { withGdal = true; }) ];
nativeCheckInputs = [
(django.override { withGdal = true; })
pytest-django
pytestCheckHook
];
checkPhase = ''
runHook preCheck
${python.interpreter} manage.py test -v1 --noinput
runHook postCheck
preCheck = ''
export DJANGO_SETTINGS_MODULE=tests.app.settings
'';
meta = with lib; {