Unverified Commit cfd8eb75 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

python3Packages.graphemeu: init at 0.10.0, python3Packages.grapheme: remove (#473415)

parents a67c7f6d fb9b77ca
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  buildPythonPackage,
  click,
  fetchFromGitHub,
  grapheme,
  graphemeu,
  pytestCheckHook,
  python,
  setuptools,
@@ -12,14 +12,19 @@

buildPythonPackage rec {
  pname = "alive-progress";
  version = "3.1.5";
  version = "3.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rsalmei";
    repo = "alive-progress";
    tag = "v${version}";
    hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
    hash = "sha256-2ymLdmaV7mO6tp5bjmbL/67xLP7Srfpt5m8YhOHGmWQ=";
    # Avoid downloading heavy images in img directory
    sparseCheckout = [
      "alive_progress"
      "tests"
    ];
  };

  postInstall = ''
@@ -31,10 +36,13 @@ buildPythonPackage rec {

  propagatedBuildInputs = [
    about-time
    grapheme
    graphemeu
  ];

  pythonRelaxDeps = [ "about_time" ];
  pythonRelaxDeps = [
    "about_time"
    "graphemeu"
  ];

  nativeCheckInputs = [
    click
+0 −29
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "grapheme";
  version = "0.6.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1jiwc3w05c8kh22s3zk7a8km8na3plqc5zimb2qcyxxy3grbkhj4";
  };

  # Tests are no available on PyPI
  # https://github.com/alvinlindstam/grapheme/issues/18
  doCheck = false;

  pythonImportsCheck = [ "grapheme" ];

  meta = {
    description = "Python package for grapheme aware string handling";
    homepage = "https://github.com/alvinlindstam/grapheme";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ creator54 ];
  };
}
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
  pytest-cov-stub,
}:

buildPythonPackage rec {
  pname = "graphemeu";
  version = "0.10.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "timendum";
    repo = "grapheme";
    tag = "v${version}";
    hash = "sha256-qDspbeOmlfQ4VLPdKEuxNPYilKjwUcAJiEOMfx9fFlI=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "grapheme" ];

  meta = {
    description = "Python package for grapheme aware string handling";
    homepage = "https://github.com/timendum/grapheme";
    changelog = "https://github.com/timendum/grapheme/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ anthonyroussel ];
  };
}
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  blurhash,
  cryptography,
  decorator,
  grapheme,
  graphemeu,
  http-ece,
  python-dateutil,
  python-magic,
@@ -42,7 +42,7 @@ buildPythonPackage rec {

  optional-dependencies = {
    blurhash = [ blurhash ];
    grapheme = [ grapheme ];
    grapheme = [ graphemeu ];
    webpush = [
      http-ece
      cryptography
+1 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ mapAliases {
  gplaycli = throw "'gplaycli' has been removed as it was broken and lacked maintenance"; # Added 2025-11-09
  gpy = throw "'gpy' has been removed as it is based on 'paramz', which was removed"; # added 2025-11-10
  gradient_statsd = throw "'gradient_statsd' has been renamed to/replaced by 'gradient-statsd'"; # Converted to throw 2025-10-29
  grapheme = throw "'grapheme' has been removed as it is unmaintained upstream. Consider using 'graphemeu' instead."; # Converted to throw 2025-12-22
  grappelli_safe = throw "'grappelli_safe' has been renamed to/replaced by 'grappelli-safe'"; # Converted to throw 2025-10-29
  groestlcoin_hash = throw "'groestlcoin_hash' has been renamed to/replaced by 'groestlcoin-hash'"; # Converted to throw 2025-10-29
  grpc_google_iam_v1 = throw "'grpc_google_iam_v1' has been renamed to/replaced by 'grpc-google-iam-v1'"; # Converted to throw 2025-10-29
Loading