Unverified Commit 0f387059 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #259732 from natsukium/grappelli-safe

python311Packages.grappelli-safe: rename from grappelli_safe
parents 16e46495 9b8f826b
Loading
Loading
Loading
Loading
+22 −6
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  version = "1.1.1";
  pname = "grappelli_safe";
  pname = "grappelli-safe";
  pyproject = true;

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ee34b3e2a3711498b1f8da3d9daa8a1239efdf255a212181742b6a5890fac039";
    pname = "grappelli_safe";
    inherit version;
    hash = "sha256-7jSz4qNxFJix+No9naqKEjnv3yVaISGBdCtqWJD6wDk=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  # upstream has no tests
  doCheck = false;

  pythonImportsCheck = [
    "grappelli_safe"
  ];

  meta = with lib; {
    description = "A snapshot of django-grappelli for the Mezzanine CMS";
    longDescription = ''
@@ -26,9 +43,8 @@ buildPythonPackage rec {
    '';
    homepage = "https://github.com/stephenmcd/grappelli-safe";
    downloadPage = "http://pypi.python.org/pypi/grappelli_safe/";
    license = licenses.free;
    changelog = "https://github.com/stephenmcd/grappelli-safe/releases/tag/v${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ prikhi ];
    platforms = platforms.unix;
  };

}
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
, fetchPypi
, filebrowser_safe
, future
, grappelli_safe
, grappelli-safe
, isPyPy
, pep8
, pillow
@@ -46,7 +46,7 @@ buildPythonPackage rec {
    django-contrib-comments
    filebrowser_safe
    future
    grappelli_safe
    grappelli-safe
    pillow
    pytz
    requests
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ mapAliases ({
  gpyopt = throw "gpyopt was remove because it's been archived upstream"; # added 2023-06-07
  graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
  graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
  grappelli_safe = grappelli-safe; # added 2023-10-08
  grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
  ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
  HAP-python = hap-python; # added 2021-06-01
+1 −1
Original line number Diff line number Diff line
@@ -4691,7 +4691,7 @@ self: super: with self; {
    inherit (pkgs) graphviz;
  };
  grappelli_safe = callPackage ../development/python-modules/grappelli_safe { };
  grappelli-safe = callPackage ../development/python-modules/grappelli-safe { };
  graspologic = callPackage ../development/python-modules/graspologic { };