Unverified Commit 85c6e3f8 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.euporie: 2.10.3 -> 2.10.4 (#495559)

parents c7c1c150 55439be7
Loading
Loading
Loading
Loading
+53 −47
Original line number Diff line number Diff line
@@ -2,96 +2,100 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,

  # build-system
  hatchling,
  setuptools,

  # dependencies
  aenum,
  aiohttp,
  prompt-toolkit,
  pygments,
  nbformat,
  jupyter-client,
  typing-extensions,
  fastjsonschema,
  platformdirs,
  pyperclip,
  flatlatex,
  fsspec,
  imagesize,
  markdown-it-py,
  ipykernel,
  jupyter-client,
  jupytext,
  linkify-it-py,
  markdown-it-py,
  mdit-py-plugins,
  flatlatex,
  timg,
  nbformat,
  pillow,
  platformdirs,
  prompt-toolkit,
  pygments,
  pyperclip,
  python-code-minimap,
  sixelcrop,
  timg,
  typing-extensions,
  universal-pathlib,
  fsspec,
  jupytext,
  ipykernel,
  pytestCheckHook,

  # tests
  html2text,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  python-magic,
  html2text,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "euporie";
  version = "2.10.3";
  version = "2.10.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "joouha";
    repo = "euporie";
    tag = "v${version}";
    hash = "sha256-wXHhv5vK17XDGh+2GTaw7hoSi4tC9jGVoyrfw1yt6Zo=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-JzCVpI1O+KM+V4fLw+vwAsFbUK5SXZvAZWffzojU0u0=";
  };

  build-system = [
    setuptools
    hatchling
    setuptools
  ];

  pythonRelaxDeps = [
    "markdown-it-py"
    "mdit-py-plugins"
    "platformdirs"
    "universal-pathlib"
  ];
  dependencies = [
    aenum
    aiohttp
    prompt-toolkit
    pygments
    nbformat
    jupyter-client
    typing-extensions
    fastjsonschema
    platformdirs
    pyperclip
    flatlatex
    fsspec
    imagesize
    markdown-it-py
    ipykernel
    jupyter-client
    jupytext
    linkify-it-py
    markdown-it-py
    mdit-py-plugins
    flatlatex
    timg
    nbformat
    pillow
    platformdirs
    prompt-toolkit
    pygments
    pyperclip
    python-code-minimap
    sixelcrop
    timg
    typing-extensions
    universal-pathlib
    fsspec
    jupytext
    ipykernel
  ];

  pythonRelaxDeps = [
    "aenum"
    "linkify-it-py"
    "markdown-it-py"
    "mdit-py-plugins"
    "platformdirs"
  ];

  doCheck = true;

  nativeCheckInputs = [
    pytestCheckHook
    html2text
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
    python-magic
    html2text
    writableTmpDirAsHomeHook
  ];

@@ -106,6 +110,8 @@ buildPythonPackage rec {
      ```
    '';
    homepage = "https://euporie.readthedocs.io/";
    downloadPage = "https://github.com/joouha/euporie";
    changelog = "https://github.com/joouha/euporie/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
    license = lib.licenses.mit;
    mainProgram = "euporie";
    maintainers = with lib.maintainers; [
@@ -113,4 +119,4 @@ buildPythonPackage rec {
      renesat
    ];
  };
}
})
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  uv-build,
}:

buildPythonPackage (finalAttrs: {
  pname = "python-code-minimap";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "joouha";
    repo = "python-code-minimap";
    tag = "v${finalAttrs.version}";
    hash = "sha256-zp0F5vJPZAp8lBFBOLWYMuAzlerXDa0vM9P3oBtBjGo=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail \
        "uv_build>=0.9.0,<0.10.0" \
        "uv_build"
  '';

  build-system = [
    uv-build
  ];

  pythonImportsCheck = [ "code_minimap" ];

  # No tests
  doCheck = false;

  meta = {
    description = "Pure Python code minimap render";
    homepage = "https://github.com/joouha/python-code-minimap";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -15427,6 +15427,8 @@ self: super: with self; {
  python-clementine-remote = callPackage ../development/python-modules/python-clementine-remote { };
  python-code-minimap = callPackage ../development/python-modules/python-code-minimap { };
  python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
  python-coinmarketcap = callPackage ../development/python-modules/python-coinmarketcap { };