<commit_before>{% set apr_ver = "1.6.5" %}
{% set apu_ver = "1.6.1" %}
{% set api_ver = "1.2.2" %}
{% set mirror = "http://www-us.apache.org/dist/" %}

package:
  name: apr
  version: {{ apr_ver }}

source:
  - url: {{ mirror }}/apr/apr-{{ apr_ver }}.tar.bz2                           # [unix]
    folder: apr                                                               # [unix]
    sha256: a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105  # [unix]
  - url: {{ mirror }}/apr/apr-util-{{ apu_ver }}.tar.bz2                      # [unix]
    folder: apr-util                                                          # [unix]
    sha256: d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b  # [unix]
  - url: {{ mirror }}/apr/apr-iconv-{{ api_ver }}.tar.bz2                     # [unix]
    folder: apr-iconv                                                         # [unix]
    sha256: 7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313  # [unix]
  - url: {{ mirror }}/apr/apr-{{ apr_ver }}-win32-src.zip                     # [win]
    folder: apr                                                               # [win]
    sha256: 922e3e32ca304e864b080236dc490bfc5be0fbdfda3a9f971653dfa8489e0c1c  # [win]
  - url: {{ mirror }}/apr/apr-util-{{ apu_ver }}-win32-src.zip                # [win]
    folder: apr-util                                                          # [win]
    sha256: 9eb17fff6484333fe65b7972411ee33dfdb468896f85add0e1ff1b6751698b41  # [win]
  - url: {{ mirror }}/apr/apr-iconv-{{ api_ver }}-win32-src.zip               # [win]
    folder: apr-iconv                                                         # [win]
    sha256: 7b5dbcf81df98e31ef52deff78eee1746b7ea86025efd220c5faa62fabb76bdf  # [win]

build:
  number: 0
  ignore_run_exports:                                           # [win]
    - expat                                                     # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:                                                         # [win]
    - expat                                                     # [win]
  run:
    - libapr
    - libaprutil
    - libapriconv

outputs:
  - name: libapr
    version: {{ apr_ver }}
    build:
      run_exports:
        # https://abi-laboratory.pro/tracker/timeline/apr/
        # This is only on the basis of libapr.so
        - {{ pin_subpackage('libapr', max_pin='x') }}
    requirements:
      build:
        - {{ compiler('c') }}
        - make                                                  # [unix]
      host:<commit_msg>Drop selector from `host` in metapackage<commit_after>{% set apr_ver = "1.6.5" %}
{% set apu_ver = "1.6.1" %}
{% set api_ver = "1.2.2" %}
{% set mirror = "http://www-us.apache.org/dist/" %}

package:
  name: apr
  version: {{ apr_ver }}

source:
  - url: {{ mirror }}/apr/apr-{{ apr_ver }}.tar.bz2                           # [unix]
    folder: apr                                                               # [unix]
    sha256: a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105  # [unix]
  - url: {{ mirror }}/apr/apr-util-{{ apu_ver }}.tar.bz2                      # [unix]
    folder: apr-util                                                          # [unix]
    sha256: d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b  # [unix]
  - url: {{ mirror }}/apr/apr-iconv-{{ api_ver }}.tar.bz2                     # [unix]
    folder: apr-iconv                                                         # [unix]
    sha256: 7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313  # [unix]
  - url: {{ mirror }}/apr/apr-{{ apr_ver }}-win32-src.zip                     # [win]
    folder: apr                                                               # [win]
    sha256: 922e3e32ca304e864b080236dc490bfc5be0fbdfda3a9f971653dfa8489e0c1c  # [win]
  - url: {{ mirror }}/apr/apr-util-{{ apu_ver }}-win32-src.zip                # [win]
    folder: apr-util                                                          # [win]
    sha256: 9eb17fff6484333fe65b7972411ee33dfdb468896f85add0e1ff1b6751698b41  # [win]
  - url: {{ mirror }}/apr/apr-iconv-{{ api_ver }}-win32-src.zip               # [win]
    folder: apr-iconv                                                         # [win]
    sha256: 7b5dbcf81df98e31ef52deff78eee1746b7ea86025efd220c5faa62fabb76bdf  # [win]

build:
  number: 0
  ignore_run_exports:                                           # [win]
    - expat                                                     # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - expat                                                     # [win]
  run:
    - libapr
    - libaprutil
    - libapriconv

outputs:
  - name: libapr
    version: {{ apr_ver }}
    build:
      run_exports:
        # https://abi-laboratory.pro/tracker/timeline/apr/
        # This is only on the basis of libapr.so
        - {{ pin_subpackage('libapr', max_pin='x') }}
    requirements:
      build:
        - {{ compiler('c') }}
        - make                                                  # [unix]
      host:
{'fraction_non_alphanumeric': 0.1184852625414796, 'fraction_numerical': 0.10579738434511028, 'mean_word_length': 1.2258905299739358, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 46, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6472734', 'n_tokens_mistral': 2023, 'n_tokens_neox': 1752, 'n_words': 269}