<commit_before>{% set name = "ledger" %}
{% set version = "3.1.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/ledger/ledger/archive/v{{ version }}.tar.gz
  sha256: b248c91d65c7a101b9d6226025f2b4bf3dabe94c0c49ab6d51ce84a22a39622b

build:
  number: 0
  skip: True  # [not (py<=27 and unix)]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
    - make
  host:
    - boost >=1.49
    - gmp >=4.2.2
    - mpfr >=2.4.0
    - utfcpp >=2.3.4
    - gettext >=0.17 # optional
    - libedit >=3.0.200901011 # optional
    - python >=2.4,<3 # optional
    - doxygen >=1.5.7.1 # docs
    - graphviz >=2.20.3 # docs
    - texinfo >=4.13 # docs
  run:
    - boost >=1.49
    - gmp >=4.2.2
    - mpfr >=2.4.0
    - utfcpp >=2.3.4
    - gettext >=0.17 # optional
    - libedit >=3.0.200901011 # optional
    - python >=2.4,<3 # optional

test:
  commands:
    ledger

about:
  home: https://www.ledger-cli.org/
  license: BSD-3-Clause
  license_file: LICENSE.md
  summary: 'Double-entry accounting system with a command-line reporting interface'
  description: |
    Ledger is a powerful, double-entry accounting system that is accessed from the
    UNIX command-line. Ledger, begun in 2003, is written by <NAME> and
    released under the BSD license. It has also inspired several ports to other
    languages.
  doc_url: https://www.ledger-cli.org/docs.html
  dev_url: https://github.com/ledger/ledger

extra:
  recipe-maintainers:
    - twrightsman
<commit_msg>Add Python 2 as a build requirement<commit_after>{% set name = "ledger" %}
{% set version = "3.1.3" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://github.com/ledger/ledger/archive/v{{ version }}.tar.gz
  sha256: b248c91d65c7a101b9d6226025f2b4bf3dabe94c0c49ab6d51ce84a22a39622b

build:
  number: 0
  skip: True  # [not (py<=27 and unix)]

requirements:
  build:
    - {{ compiler('cxx') }}
    - cmake
    - make
    - python >=2.4,<3
  host:
    - boost >=1.49
    - gmp >=4.2.2
    - mpfr >=2.4.0
    - utfcpp >=2.3.4
    - gettext >=0.17 # optional
    - libedit >=3.0.200901011 # optional
    - python >=2.4,<3 # optional
    - doxygen >=1.5.7.1 # docs
    - graphviz >=2.20.3 # docs
    - texinfo >=4.13 # docs
  run:
    - boost >=1.49
    - gmp >=4.2.2
    - mpfr >=2.4.0
    - utfcpp >=2.3.4
    - gettext >=0.17 # optional
    - libedit >=3.0.200901011 # optional
    - python >=2.4,<3 # optional

test:
  commands:
    ledger

about:
  home: https://www.ledger-cli.org/
  license: BSD-3-Clause
  license_file: LICENSE.md
  summary: 'Double-entry accounting system with a command-line reporting interface'
  description: |
    Ledger is a powerful, double-entry accounting system that is accessed from the
    UNIX command-line. Ledger, begun in 2003, is written by <NAME> and
    released under the BSD license. It has also inspired several ports to other
    languages.
  doc_url: https://www.ledger-cli.org/docs.html
  dev_url: https://github.com/ledger/ledger

extra:
  recipe-maintainers:
    - twrightsman

{'fraction_non_alphanumeric': 0.14369310793237972, 'fraction_numerical': 0.08062418725617686, 'mean_word_length': 2.577906976744186, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 40, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, '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': '2232406', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1179, 'n_words': 292}