Unverified Commit e6480813 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #266983 from natsukium/py-stringmatching

python311Packages.py-stringmatching: rename from py_stringmatching
parents 115ddb06 b9311bee
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, nose
, setuptools
, pytestCheckHook
, numpy
, pythonOlder
, six
@@ -10,25 +11,33 @@
buildPythonPackage rec {
  pname = "py-stringmatching";
  version = "0.4.3";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "py_stringmatching";
    inherit version;
    sha256 = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4=";
    hash = "sha256-khubsWOzEN80HDOCORMgT3sMqfajGfW0UUCDAL03je4=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    numpy
    six
  ];

  nativeCheckInputs = [
    nose
    pytestCheckHook
  ];

  preCheck = ''
    cd $out
  '';

  pythonImportsCheck = [
    "py_stringmatching"
  ];
+1 −0
Original line number Diff line number Diff line
@@ -281,6 +281,7 @@ mapAliases ({
  pushbullet = pushbullet-py;  # Added 2022-10-15
  Pweave = pweave; # added 2023-02-19
  py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07
  py_stringmatching = py-stringmatching; # added 2023-11-12
  pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
  pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
  pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
+1 −1
Original line number Diff line number Diff line
@@ -11045,7 +11045,7 @@ self: super: with self; {
  pystray = callPackage ../development/python-modules/pystray { };
  py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
  py-stringmatching = callPackage ../development/python-modules/py-stringmatching { };
  pysvg-py3 = callPackage ../development/python-modules/pysvg-py3 { };