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

Merge pull request #302718 from r-ryantm/auto-update/python312Packages.pulsectl-asyncio

python312Packages.pulsectl-asyncio: 1.1.1 -> 1.2.0
parents 0c261992 96859836
Loading
Loading
Loading
Loading
+13 −20
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pulsectl
, pythonOlder
, setuptools
, wheel
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pulsectl,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pulsectl-asyncio";
  version = "1.1.1";
  format = "pyproject";
  version = "1.2.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -18,24 +18,17 @@ buildPythonPackage rec {
    owner = "mhthies";
    repo = "pulsectl-asyncio";
    rev = "refs/tags/v${version}";
    hash = "sha256-Uc8iUo9THWNPRRsvJxfw++41cnKrANe/Fk6e8bgLSkc=";
    hash = "sha256-WqUO4eERJkRg6O+gCmjqfdVbBT/3TVVBUUduoIxcPNQ=";
  };

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

  propagatedBuildInputs = [
    pulsectl
  ];
  dependencies = [ pulsectl ];

  # Tests require a running pulseaudio instance
  doCheck = false;

  pythonImportsCheck = [
    "pulsectl_asyncio"
  ];
  pythonImportsCheck = [ "pulsectl_asyncio" ];

  meta = with lib; {
    description = "Python bindings library for PulseAudio";
+31 −31
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, pytestCheckHook
, xorgserver
, imagemagick
, gobject-introspection
, pulseaudio
, pytest-asyncio
, pytest-lazy-fixture
, qtile
, keyring
, requests
, librsvg
, gtk3
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  gobject-introspection,
  gtk3,
  imagemagick,
  keyring,
  librsvg,
  pulseaudio,
  pytest-asyncio,
  pytest-lazy-fixture,
  pytestCheckHook,
  qtile,
  requests,
  setuptools-scm,
  xorgserver,
}:

buildPythonPackage rec {
  pname = "qtile-extras";
  version = "0.25.0";
  format = "pyproject";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "elParaguayo";
    repo = pname;
    repo = "qtile-extras";
    rev = "refs/tags/v${version}";
    hash = "sha256-OYzSKOVg4D5gKxaEreclYq3D16dl8ddLipSdifokDNY=";
  };

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

  dependencies = [ gtk3 ];

  nativeCheckInputs = [
    pytestCheckHook
    xorgserver
    imagemagick
    gobject-introspection
  ];
  checkInputs = [
    imagemagick
    keyring
    pulseaudio
    pytest-asyncio
    pytest-lazy-fixture
    pytestCheckHook
    qtile
    pulseaudio
    keyring
    requests
    xorgserver
    # stravalib  # marked as broken due to https://github.com/stravalib/stravalib/issues/379
  ];

  disabledTests = [
    # Needs a running DBUS
    "test_brightness_power_saving"
@@ -55,12 +57,13 @@ buildPythonPackage rec {
    "test_wifiicon_internet_check"
    # Image difference is outside tolerance
    "test_decoration_output"
    # Needs github token
    # Needs Github token
    "test_githubnotifications_reload_token"
    # AttributeError: 'NoneType' object has no attribute 'theta'
    "test_image_size_horizontal"
    "test_image_size_vertical"
  ];

  disabledTestPaths = [
    # Needs a running DBUS
    "test/widget/test_iwd.py"
@@ -68,16 +71,13 @@ buildPythonPackage rec {
    # Marked as broken due to https://github.com/stravalib/stravalib/issues/379
    "test/widget/test_strava.py"
  ];

  preCheck = ''
    export HOME=$(mktemp -d)
    export GDK_PIXBUF_MODULE_FILE=${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
    sed -i 's#/usr/bin/sleep#sleep#' test/widget/test_snapcast.py
  '';

  propagatedBuildInputs = [
    gtk3
  ];

  pythonImportsCheck = [ "qtile_extras" ];

  meta = with lib; {