Unverified Commit 0c385f3f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.cvelib: 1.7.1 -> 1.8.0 (#448809)

parents 843b77ab f300319a
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@
  pytestCheckHook,
  pythonOlder,
  requests,
  setuptools,
  hatchling,
  testers,
}:

buildPythonPackage rec {
  pname = "cvelib";
  version = "1.7.1";
  version = "1.8.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -23,16 +23,10 @@ buildPythonPackage rec {
    owner = "RedHatProductSecurity";
    repo = "cvelib";
    tag = version;
    hash = "sha256-AhA+2lEI/hsbIVCfSWO0vI6eWkObjsq5xYOSqVvUPkU=";
    hash = "sha256-lbwrZSzJaP+nKFwt7xiq/LTzgOuf8aELxjrxEKkYpfc=";
  };

  postPatch = ''
    # collective.checkdocs is unmaintained for over 10 years
    substituteInPlace pyproject.toml \
      --replace-fail '"collective.checkdocs",' ""
  '';

  build-system = [ setuptools ];
  build-system = [ hatchling ];

  dependencies = [
    click
@@ -49,7 +43,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Library and a command line interface for the CVE Services API";
    homepage = "https://github.com/RedHatProductSecurity/cvelib";
    changelog = "https://github.com/RedHatProductSecurity/cvelib/blob/${version}/CHANGELOG.md";
    changelog = "https://github.com/RedHatProductSecurity/cvelib/blob/${src.tag}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ raboof ];
    mainProgram = "cve";