Unverified Commit 34b3916e authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

pkgs/by-name/{r,s,t}*: migrate to pyproject = true (#424631)

parents 2d13df39 7d571a93
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
python3Packages.buildPythonApplication rec {
  pname = "r128gain";
  version = "1.0.7";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "desbma";
@@ -26,12 +26,15 @@ python3Packages.buildPythonApplication rec {
    })
  ];

  propagatedBuildInputs = with python3Packages; [
  build-system = with python3Packages; [ setuptools ];

  dependencies = with python3Packages; [
    crcmod
    ffmpeg-python
    mutagen
    tqdm
  ];

  nativeCheckInputs = with python3Packages; [
    requests
    sox
@@ -41,6 +44,8 @@ python3Packages.buildPythonApplication rec {
  # sandbox to be disabled.
  doCheck = false;

  pythonImportsCheck = [ "r128gain" ];

  passthru.updateScript = gitUpdater { };

  meta = with lib; {
+3 −2
Original line number Diff line number Diff line
@@ -7,14 +7,15 @@
python3Packages.buildPythonApplication rec {
  pname = "raiseorlaunch";
  version = "2.3.5";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-L/hu0mYCAxHkp5me96a6HlEY6QsuJDESpTNhlzVRHWs=";
  };

  nativeBuildInputs = [ python3Packages.setuptools-scm ];
  build-system = with python3Packages; [ setuptools ];

  pythonPath = with python3Packages; [ i3ipc ];

  # no tests
+8 −3
Original line number Diff line number Diff line
@@ -12,22 +12,27 @@ in
pypkgs.buildPythonApplication rec {
  pname = "rdiff-backup";
  version = "2.2.6";
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-0HeDVyZrxlE7t/daRXCymySydgNIu/YHur/DpvCUWM8";
  };

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

  buildInputs = [ librsync ];

  propagatedBuildInputs = with pypkgs; [ pyyaml ];
  dependencies = with pypkgs; [ pyyaml ];

  # no tests from pypi
  doCheck = false;

  pythonImportsCheck = [ "rdiff_backup" ];

  meta = with lib; {
    description = "Backup system trying to combine best a mirror and an incremental backup system";
    homepage = "https://rdiff-backup.net";
+5 −1
Original line number Diff line number Diff line
@@ -10,18 +10,22 @@ let
in
python3.pkgs.buildPythonApplication {
  inherit pname version;
  format = "setuptools";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-X/G6osOHCBidKZG/Y2nmHadifDacJhjBIc7WYrUCPn8=";
  };

  build-system = with python3.pkgs; [ setuptools ];

  propagatedBuildInputs = with python3.pkgs; [
    requests
    python-dateutil
  ];

  pythonImportsCheck = [ "redfishtoollib" ];

  meta = {
    description = "Python34 program that implements a command line tool for accessing the Redfish API";
    homepage = "https://github.com/DMTF/Redfishtool";
+6 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
  pname = "regexploit";
  version = "1.0.0";
  format = "setuptools";
  pyproject = true;

  disabled = python3.pythonOlder "3.8";

@@ -18,7 +18,11 @@ python3.pkgs.buildPythonApplication rec {
    sha256 = "0z3fghsyw0ll36in7ihc0qi3gy7mqi6cw1mi8m8c8xb1nlwpfr0y";
  };

  propagatedBuildInputs = with python3.pkgs; [
  build-system = with python3.pkgs; [
    setuptools
  ];

  dependencies = with python3.pkgs; [
    pyyaml
  ];

Loading