Unverified Commit 491e49d8 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.pep8-naming: 0.14.1 -> 0.15.0 (#403180)

parents 8f134bb9 9dadf4be
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  flake8,
  python,
  pythonOlder,
@@ -9,19 +10,21 @@

buildPythonPackage rec {
  pname = "pep8-naming";
  version = "0.14.1";
  format = "setuptools";
  version = "0.15.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "PyCQA";
    repo = pname;
    repo = "pep8-naming";
    tag = version;
    hash = "sha256-uIVk8+5rVEIBZLz70WUi0O6/Q9ERptJ3b7314gLPeHk=";
    hash = "sha256-LOHPLS0BtKsocghi3K24VitlRCwyHbYZB6916i7Gj9c=";
  };

  propagatedBuildInputs = [ flake8 ];
  build-system = [ setuptools ];

  dependencies = [ flake8 ];

  checkPhase = ''
    runHook preCheck
@@ -34,7 +37,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Check PEP-8 naming conventions, plugin for flake8";
    homepage = "https://github.com/PyCQA/pep8-naming";
    changelog = "https://github.com/PyCQA/pep8-naming/blob/${version}/CHANGELOG.rst";
    changelog = "https://github.com/PyCQA/pep8-naming/blob/${src.tag}/CHANGELOG.rst";
    license = licenses.mit;
    maintainers = with maintainers; [ eadwu ];
  };