Unverified Commit 5e275c36 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.podcastparser: 0.6.10 -> 0.6.11 (#464132)

parents 8b922e9f 652a5fbe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ python.pkgs.buildPythonApplication rec {
    "mashumaro"
    "orjson"
    "pillow"
    "podcastparser"
    "xmltodict"
    "zeroconf"
  ];
+11 −11
Original line number Diff line number Diff line
@@ -2,36 +2,36 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "podcastparser";
  version = "0.6.10";
  format = "setuptools";

  disabled = pythonOlder "3.7";
  version = "0.6.11";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "gpodder";
    repo = "podcastparser";
    tag = version;
    hash = "sha256-P9wVyxTO0nz/DfuBhCE+VjhH1uYx4jBd30Ca26yBzbo=";
    hash = "sha256-eF/YHKSCMZnavkoX3LcAFHPSPABijn+aPVzaeRYY3WI=";
  };

  postPatch = ''
    substituteInPlace pytest.ini \
      --replace "--cov=podcastparser --cov-report html --doctest-modules" ""
  '';
  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "podcastparser" ];

  meta = with lib; {
    description = "Module to parse podcasts";
    homepage = "http://gpodder.org/podcastparser/";
    changelog = "https://github.com/gpodder/podcastparser/releases/tag/${src.tag}";
    license = licenses.bsd2;
    maintainers = with maintainers; [ mic92 ];
  };