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

Merge pull request #268811 from fabaff/python-opendata-transport-bump

python311Packages.python-opendata-transport: 0.3.0 -> 0.4.0
parents 5448ed61 e212445c
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, aiohttp
, urllib3
, pythonOlder
, setuptools
, urllib3
}:

buildPythonPackage rec {
  pname = "python-opendata-transport";
  version = "0.3.0";
  format = "setuptools";
  version = "0.4.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.9";

  src = fetchPypi {
    pname = "python_opendata_transport";
    inherit version;
    hash = "sha256-CpzMMp2C3UOiUna9EcUucD/PKv7AZlkaU8QJfWntoi8=";
    hash = "sha256-2lEKPu5vjyqNUqz1NGmZ5b6YP3oWnCgoubDdiQCbdps=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    aiohttp
    urllib3
  ];

  # no tests are present
  # No tests are present
  doCheck = false;

  pythonImportsCheck = [
@@ -34,6 +39,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python client for interacting with transport.opendata.ch";
    homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport";
    changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };