python3Packages.django-stdimage: drop
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
pillow,
|
||||
pytest-cov,
|
||||
gettext,
|
||||
pythonOlder,
|
||||
pythonAtLeast,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-stdimage";
|
||||
version = "6.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codingjoe";
|
||||
repo = "django-stdimage";
|
||||
tag = version;
|
||||
hash = "sha256-uwVU3Huc5fitAweShJjcMW//GBeIpJcxqKKLGo/EdIs=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.8" || pythonAtLeast "3.13";
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
pillow
|
||||
];
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
export DJANGO_SETTINGS_MODULE=tests.settings
|
||||
'';
|
||||
disabledTests = [
|
||||
# SuspiciousFileOperation: Detected path traversal attempt (Even appear in upstream)
|
||||
"test_variations_override"
|
||||
];
|
||||
pythonImportsCheck = [
|
||||
"stdimage"
|
||||
"stdimage.validators"
|
||||
"stdimage.models"
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
pytest-django
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Django Standardized Image Field";
|
||||
homepage = "https://github.com/codingjoe/django-stdimage";
|
||||
changelog = "https://github.com/codingjoe/django-stdimage/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kurogeek ];
|
||||
};
|
||||
}
|
||||
@@ -4378,11 +4378,6 @@ self: super: with self; {
|
||||
|
||||
django-statici18n = callPackage ../development/python-modules/django-statici18n { };
|
||||
|
||||
django-stdimage = callPackage ../development/python-modules/django-stdimage {
|
||||
django = django_4;
|
||||
pytest-django = pytest-django.override { django = django_4; };
|
||||
};
|
||||
|
||||
django-storages = callPackage ../development/python-modules/django-storages { };
|
||||
|
||||
django-structlog = callPackage ../development/python-modules/django-structlog { };
|
||||
|
||||
Reference in New Issue
Block a user