Merge pull request #334658 from mweinelt/django-markup-1.9
python312Packages.django-markup: 1.8.1 -> 1.9
This commit is contained in:
commit
07dfcb7a43
@ -3,6 +3,11 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
django,
|
||||
|
||||
# optionals
|
||||
@ -21,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-markup";
|
||||
version = "1.8.1";
|
||||
version = "1.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -30,14 +35,16 @@ buildPythonPackage rec {
|
||||
owner = "bartTC";
|
||||
repo = "django-markup";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Hhcp4wVJEcYV1lEZ2jWf7nOlt5m4lVAfC6VmKIdxf4c=";
|
||||
hash = "sha256-HSszXZ86hLxRgBZHIs1TA7F7MHLlS58oAhG50yrTquE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" pyproject.toml
|
||||
'';
|
||||
|
||||
buildInputs = [ django ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ django ];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all_filter_dependencies = [
|
||||
@ -58,7 +65,9 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.all_filter_dependencies;
|
||||
|
||||
env.DJANGO_SETTINGS_MODULE = "django_markup.tests";
|
||||
preCheck = ''
|
||||
export DJANGO_SETTINGS_MODULE=django_markup.tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generic Django application to convert text with specific markup to html";
|
||||
|
Loading…
Reference in New Issue
Block a user