Unverified Commit c32d4a84 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #320582 from r-ryantm/auto-update/python311Packages.testrail-api

python311Packages.testrail-api: 1.13.0 -> 1.13.1
parents 6f568c83 36a188fe
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -6,12 +6,13 @@
  pythonOlder,
  requests,
  responses,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "testrail-api";
  version = "1.13.0";
  version = "1.13.1";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -20,17 +21,15 @@ buildPythonPackage rec {
    owner = "tolstislon";
    repo = "testrail-api";
    rev = "refs/tags/${version}";
    hash = "sha256-NGdNpNJ9ejwneSacNmifGJ8TMUuBqMu9tHTyLxTB5Uk=";
    hash = "sha256-VH63shGCBOkbHcUFL4M/QvuVrS+y2JiM1YYBJgZ6r/w=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace "setuptools_scm==7.1.0" "setuptools_scm"
  '';

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [
    setuptools
    setuptools-scm
  ];

  propagatedBuildInputs = [ requests ];
  dependencies = [ requests ];

  nativeCheckInputs = [
    pytestCheckHook
@@ -39,11 +38,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "testrail_api" ];

  meta = with lib; {
  meta = {
    description = "Python wrapper of the TestRail API";
    homepage = "https://github.com/tolstislon/testrail-api";
    changelog = "https://github.com/tolstislon/ytestrail-api/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ aanderse ];
    changelog = "https://github.com/tolstislon/testrail-api/releases/tag/${version}";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ aanderse ];
  };
}