Unverified Commit 6cf90ebb authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

pkgs/by-name/{m,n}*: migrate to pyproject = true (#423900)

parents aebb995e 3c186416
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
python3Packages.buildPythonApplication {
  pname = "macpm";
  version = "0.24-unstable-2024-11-19";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "visualcjy";
@@ -17,6 +17,16 @@ python3Packages.buildPythonApplication {
    hash = "sha256-jqaPPvYbuL8q6grmBLyZLf8aDmjugYxMOWAh1Ix82jc=";
  };

  build-system = with python3Packages; [
    setuptools
  ];

  dependencies = with python3Packages; [
    dashing
    humanize
    psutil
  ];

  # has no tests
  doCheck = false;

@@ -25,11 +35,7 @@ python3Packages.buildPythonApplication {
    ln -rs $out/bin/macpm $out/bin/asitop
  '';

  dependencies = with python3Packages; [
    dashing
    humanize
    psutil
  ];
  pythonImportsCheck = [ "macpm" ];

  meta = {
    description = "Perf monitoring CLI tool for Apple Silicon; previously named 'asitop'";
+7 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec {
  pname = "mapproxy";
  version = "5.0.0";
  format = "setuptools";
  pyproject = true;
  disabled = python3Packages.pythonOlder "3.8";

  src = fetchFromGitHub {
@@ -22,6 +22,10 @@ python3Packages.buildPythonApplication rec {
    substituteInPlace mapproxy/util/ext/serving.py --replace-warn "args = [sys.executable] + sys.argv" "args = sys.argv"
  '';

  build-system = with python3Packages; [ setuptools ];

  pythonRemoveDeps = [ "future" ];

  dependencies = with python3Packages; [
    boto3 # needed for caches service
    jsonschema
@@ -31,7 +35,6 @@ python3Packages.buildPythonApplication rec {
    shapely
    gdal
    lxml
    setuptools
    werkzeug
  ];

@@ -40,6 +43,8 @@ python3Packages.buildPythonApplication rec {
  #    https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt
  doCheck = false;

  pythonImportsCheck = [ "mapproxy" ];

  meta = {
    description = "Open source proxy for geospatial data";
    homepage = "https://mapproxy.org/";
+8 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
  pname = "mastodon-archive";
  version = "1.4.2";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kensanata";
@@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-b4bYQshz7mwxEfpRYV7ze4C8hz58R9cVp58wHvGFb0A=";
  };

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

  dependencies = with python3.pkgs; [
    html2text
    mastodon-py
    progress
@@ -25,6 +29,8 @@ python3.pkgs.buildPythonApplication rec {
  # There is no test
  doCheck = false;

  pythonImportsCheck = [ "mastodon_archive" ];

  meta = with lib; {
    description = "Utility for backing up your Mastodon content";
    mainProgram = "mastodon-archive";
+5 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3.pkgs.buildPythonPackage rec {
  pname = "md-tangle";
  version = "1.4.4";
  format = "setuptools";
  pyproject = true;

  # By some strange reason, fetchPypi fails miserably
  src = fetchFromGitHub {
@@ -17,10 +17,14 @@ python3.pkgs.buildPythonPackage rec {
    hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c=";
  };

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

  # Pure Python application, uses only standard modules and comes without
  # testing suite
  doCheck = false;

  pythonImportsCheck = [ "md_tangle" ];

  meta = with lib; {
    homepage = "https://github.com/joakimmj/md-tangle/";
    description = "Generates (\"tangles\") source code from Markdown documents";
+5 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
python3Packages.buildPythonApplication {
  pname = "mdslides";
  version = "unstable-2022-12-15";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "dadoomer";
@@ -16,8 +16,12 @@ python3Packages.buildPythonApplication {
    sha256 = "sha256-31ALsy1P/vfI+H6Onmg4TXLeKbVAQ1FlnFs4k6ZOgHQ=";
  };

  build-system = with python3Packages; [ setuptools ];

  doCheck = false;

  pythonImportsCheck = [ "mdslides" ];

  meta = with lib; {
    longDescription = "Using markdown, write simple but beautiful presentations with math, animations and media, which can be visualized in a web browser or exported to PDF.";
    homepage = "https://github.com/dadoomer/markdown-slides";
Loading