<commit_before>{ lib, buildPythonPackage, fetchPypi, isPy27, pbr, sphinx, sphinx-testing, nose, glibcLocales }:

buildPythonPackage rec {
  pname = "sphinx-jinja";
  version = "1.1.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0hz13vc65zi4zmay40nz8wzxickv1q9zzl6x03qc7rvvapz0c91p";
  };

  buildInputs = [ pbr ];
  propagatedBuildInputs = [ sphinx ];

  checkInputs = [ sphinx-testing nose glibcLocales ];

  checkPhase = lib.optionalString (!isPy27) ''
    # prevent python from loading locally and breaking namespace
    mv sphinxcontrib .sphinxcontrib
  '' + ''
    # Zip (epub) does not support files with epoch timestamp
    LC_ALL="en_US.UTF-8" nosetests -e test_build_epub
  '';

  meta = with lib; {
    description = "Sphinx extension to include jinja templates in documentation";
    maintainers = with maintainers; [ ];
    license = licenses.mit;
  };
}
<commit_msg>python3Packages.sphinx-jinja: 1.1.1 -> 1.4.0<commit_after>{ lib, buildPythonPackage, fetchPypi, isPy27, pbr, sphinx, sphinx-testing, nose, glibcLocales }:

buildPythonPackage rec {
  pname = "sphinx-jinja";
  version = "1.4.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e6614d986c0289cb85b016c25eb8cb9781ceb841e70bee639c5123f39ad90b38";
  };

  buildInputs = [ pbr ];
  propagatedBuildInputs = [ sphinx ];

  checkInputs = [ sphinx-testing nose glibcLocales ];

  checkPhase = lib.optionalString (!isPy27) ''
    # prevent python from loading locally and breaking namespace
    mv sphinxcontrib .sphinxcontrib
  '' + ''
    # Zip (epub) does not support files with epoch timestamp
    LC_ALL="en_US.UTF-8" nosetests -e test_build_epub
  '';

  meta = with lib; {
    description = "Sphinx extension to include jinja templates in documentation";
    maintainers = with maintainers; [ ];
    license = licenses.mit;
  };
}

{'fraction_non_alphanumeric': 0.10603588907014681, 'fraction_numerical': 0.0478520935290919, 'mean_word_length': 3.804177545691906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5759093', 'n_tokens_mistral': 712, 'n_tokens_neox': 642, 'n_words': 152}