<commit_before>{% set name = "spaln" %}
{% set version = "2.4.5" %}
{% set sha256 = "a62a97ec16bbf375d23ab1fbcb54bb8ea5fb0faccf93b28f9192da45e929116d" %}

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

source:
  url: https://github.com/ogotoh/{{ name }}/archive/refs/tags/ver.{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - patch-makefile_pl   # add a Makefile.PL for the Perl part of the code
    - patch-makefile_ldflags  # add a LDFLAGS variable to the Makefile

build:
  number: 0

requirements:
  build:
    - make
    - {{ compiler('cxx') }}
  host:
    - perl
    - zlib
  run:
    - perl
    - zlib

test:
  commands:<commit_msg>[ci skip] Merge PR 30521<commit_after>{% set name = "spaln" %}
{% set version = "2.4.6" %}
{% set sha256 = "7f00b62d2b71283c5ee750c806c12b0ec09aefac9f8e75b98ece146a210433aa" %}

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

source:
  url: https://github.com/ogotoh/{{ name }}/archive/refs/tags/ver.{{ version }}.tar.gz
  sha256: {{ sha256 }}
  patches:
    - patch-makefile_pl   # add a Makefile.PL for the Perl part of the code
    - patch-makefile_ldflags  # add a LDFLAGS variable to the Makefile

build:
  number: 0

requirements:
  build:
    - make
    - {{ compiler('cxx') }}
  host:
    - perl
    - zlib
  run:
    - perl
    - zlib

test:
  commands:
{'fraction_non_alphanumeric': 0.14510097232610322, 'fraction_numerical': 0.0762902019446522, 'mean_word_length': 2.9008746355685133, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6779479', 'n_tokens_mistral': 600, 'n_tokens_neox': 532, 'n_words': 121}