Commit 4fb6f6bb authored by Jonas Meurer's avatar Jonas Meurer Committed by github-actions[bot]
Browse files

svg2tikz: 3.0.1 -> 3.1.0

Fix the build issue by relaxing lxml dependency.

Diff: https://github.com/xyz2tex/svg2tikz/compare/v3.0.1...v3.1.0
Changelog: https://github.com/xyz2tex/svg2tikz/releases/tag/v3.1.0
(cherry picked from commit f6cf233c)
parent d24e7fdc
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
@@ -7,30 +7,39 @@
  inkex,
  lxml,
  pytestCheckHook,
  pythonRelaxDepsHook,
}:

buildPythonPackage rec {
  pname = "svg2tikz";
  version = "3.0.1";
  version = "3.1.0";

  disabled = pythonOlder "3.7";

  format = "pyproject";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "xyz2tex";
    repo = "svg2tikz";
    rev = "refs/tags/v${version}";
    hash = "sha256-hvGvJFxhu7llj+tFfZvz12dZ8QYjY7zcLzB5S44l+IM=";
    hash = "sha256-lL+CQGZMK+rxjw2kTNE6kK3FCt6ARsAD6ROMsXWwDCs=";
  };

  nativeBuildInputs = [ poetry-core ];
  build-system = [
    poetry-core
  ];

  propagatedBuildInputs = [
  dependencies = [
    inkex
    lxml
  ];

  pythonRelaxDeps = [
    "lxml"
  ];

  nativeBuildInputs = [ pythonRelaxDepsHook ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "svg2tikz" ];