Unverified Commit 399d2f74 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.fe25519: refactor, python312Packages.ge25519: refactor (#371400)

parents 315f5fbd d98510f4
Loading
Loading
Loading
Loading
+8 −13
Original line number Diff line number Diff line
@@ -5,16 +5,16 @@
  fetchPypi,
  fountains,
  parts,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  wheel,
}:

buildPythonPackage rec {
  pname = "fe25519";
  version = "1.5.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -23,23 +23,18 @@ buildPythonPackage rec {
    hash = "sha256-la+17tPHjceMTe7Wk8DGVaSptk8XJa+l7GTeqLIFDvs=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    bitlist
    fountains
    parts
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace "--doctest-modules --ignore=docs --cov=fe25519 --cov-report term-missing" ""
  '';
  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "fe25519" ];

+8 −13
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@
  fetchPypi,
  fountains,
  parts,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  wheel,
}:

buildPythonPackage rec {
  pname = "ge25519";
  version = "1.5.1";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -24,24 +24,19 @@ buildPythonPackage rec {
    hash = "sha256-VKDPiSdufWwrNcZSRTByFU4YGoJrm48TDm1nt4VyclA=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    fe25519
    parts
    bitlist
    fountains
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace "--doctest-modules --ignore=docs --cov=ge25519 --cov-report term-missing" ""
  '';
  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "ge25519" ];