Unverified Commit 3455ba44 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #287086 from dotlambda/protonvpn-gui-4.1.10

protonvpn-gui: 4.1.0-unstable-2023-10-25 -> 4.1.10
parents be5c4d49 47bcf4a4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -27,14 +27,14 @@

buildPythonApplication rec {
  pname = "protonvpn-gui";
  version = "4.1.0-unstable-2023-10-25";
  version = "4.1.10";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "proton-vpn-gtk-app";
    rev = "713324e9e4ee9f030c8115072cae379eb3340c42";
    hash = "sha256-DfuM4b2cSIA8j9Ux3TzInRCvzQGb9LvJDSwRhfadBPY=";
    rev = "refs/tags/v${version}";
    hash = "sha256-D06dMMjzFE7gIGFpIH/+0xmVCckqAWLkb3lc2ZmxNZs=";
  };

  nativeBuildInputs = [
@@ -71,7 +71,7 @@ buildPythonApplication rec {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton --cov-report=html --cov-report=term" ""
      --replace-fail "--cov=proton --cov-report=html --cov-report=term" ""
  '';

  postInstall = ''
+5 −10
Original line number Diff line number Diff line
@@ -11,16 +11,16 @@
, pytestCheckHook
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "proton-vpn-api-core";
  version = "0.20.1-unstable-2023-10-10";
  version = "0.20.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "python-proton-vpn-api-core";
    rev = "9c03fc30d3ff08559cab3644eadde027b029375d";
    hash = "sha256-vnz1+NazQceAs9KA3Jq0tsJditRoG/LoBR+0wuDzzHk=";
    rev = "refs/tags/v${version}";
    hash = "sha256-acck0Nc/15soTJBC/4y83ID9fjF/q4vrYr6SsLAAVRY=";
  };

  nativeBuildInputs = [
@@ -38,7 +38,7 @@ buildPythonPackage {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton/vpn/core/ --cov-report html --cov-report term" ""
      --replace-fail "--cov=proton/vpn/core/ --cov-report html --cov-report term" ""
  '';

  pythonImportsCheck = [ "proton.vpn.core" ];
@@ -52,11 +52,6 @@ buildPythonPackage {
    export HOME=$(mktemp -d)
  '';

  disabledTestPaths = [
    # Has a single test failing with Permission denied: '/run'
    "tests/test_session.py"
  ];

  meta = with lib; {
    description = "Acts as a facade to the other Proton VPN components, exposing a uniform API to the available Proton VPN services";
    homepage = "https://github.com/ProtonVPN/python-proton-vpn-api-core";
+5 −5
Original line number Diff line number Diff line
@@ -9,16 +9,16 @@
, pytestCheckHook
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "proton-vpn-connection";
  version = "0.11.0-unstable-2023-09-05";
  version = "0.11.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "python-proton-vpn-connection";
    rev = "747ccacb5350ad59f2a09953b8d20c5c161aab54";
    hash = "sha256-WyMG0kmwBKoWc0mHnaop9E0upPAYHFwS/A9I1//WwlY=";
    rev = "refs/tags/v${version}";
    hash = "sha256-RuLnc/olI8S09WFG126N2xZgW4gf+DDpRstcelqMhs4=";
  };

  nativeBuildInputs = [
@@ -34,7 +34,7 @@ buildPythonPackage {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton.vpn.connection --cov-report html --cov-report term" ""
      --replace-fail "--cov=proton.vpn.connection --cov-report html --cov-report term" ""
  '';

  pythonImportsCheck = [ "proton.vpn.connection" ];
+5 −5
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@
, pytestCheckHook
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "proton-vpn-logger";
  version = "0.2.1-unstable-2023-05-10";
  version = "0.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "python-proton-vpn-logger";
    rev = "0acbc1ab41a65cbc9ceb340e3db011e6f89eb65a";
    hash = "sha256-VIggBKopAAKiNdQ5ypG1qI74E2WMDwDSriSuka/DBKA=";
    rev = "refs/tags/v${version}";
    hash = "sha256-/LfMjyTs/EusgnKEQugsdJzqDZBvaAhbsTUVLDCRw0I=";
  };

  nativeBuildInputs = [
@@ -28,7 +28,7 @@ buildPythonPackage {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
      --replace-fail "--cov=proton/vpn/logging/ --cov-report html --cov-report term" ""
  '';

  pythonImportsCheck = [ "proton.vpn.logging" ];
+7 −5
Original line number Diff line number Diff line
@@ -8,19 +8,20 @@
, proton-vpn-connection
, pycairo
, pygobject3
, pytest-asyncio
, pytestCheckHook
}:

buildPythonPackage {
buildPythonPackage rec {
  pname = "proton-vpn-network-manager";
  version = "0.3.0-unstable-2023-09-05";
  version = "0.3.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ProtonVPN";
    repo = "python-proton-vpn-network-manager";
    rev = "6ffd04fa0ae88a89d2b733443317066ef23b3ccd";
    hash = "sha256-Bqlwo7U/mwodQarl30n3/BNETqit1MVQUJT+mAhC6AI=";
    rev = "refs/tags/v${version}";
    hash = "sha256-UEXoIFLB3/q3G3ASrgsXxF21iT5rCWm4knGezcmxmnk=";
  };

  nativeBuildInputs = [
@@ -40,12 +41,13 @@ buildPythonPackage {

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "--cov=proton/vpn/backend/linux/networkmanager --cov-report html --cov-report term" ""
      --replace-fail "--cov=proton/vpn/backend/linux/networkmanager --cov-report html --cov-report term" ""
  '';

  pythonImportsCheck = [ "proton.vpn.backend.linux.networkmanager" ];

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

Loading