<commit_before>{% set name = "pdf2svg" %}
{% set version = "0.2.3" %}

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

source:
  url: https://github.com/dawbarton/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: 4fb186070b3e7d33a51821e3307dce57300a062570d028feccd4e628d50dea8a

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - m4
    - autoconf
    - automake
    - libtool
    - pkg-config
    - poppler
    - cairo
  run:
    - poppler
    - cairo

test:
  commands:
    - pdf2svg --help

about:
  home: https://github.com/dawbarton/pdf2svg
  license: GPL-2.0
  license_family: GPL
  license_file: LICENSE.txt
  summary: 'A simple PDF to SVG converter using the Poppler and Cairo libraries'

extra:
  recipe-maintainers:
    - ostrokach<commit_msg>Update test command (pdf2svg does not accept --help argument)<commit_after>{% set name = "pdf2svg" %}
{% set version = "0.2.3" %}

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

source:
  url: https://github.com/dawbarton/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: 4fb186070b3e7d33a51821e3307dce57300a062570d028feccd4e628d50dea8a

build:
  number: 0
  skip: True  # [win]

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - m4
    - autoconf
    - automake
    - libtool
    - pkg-config
    - poppler
    - cairo
  run:
    - poppler
    - cairo

test:
  commands:
    - "pdf2svg --help | grep "Usage: pdb2svg"

about:
  home: https://github.com/dawbarton/pdf2svg
  license: GPL-2.0
  license_family: GPL
  license_file: LICENSE.txt
  summary: 'A simple PDF to SVG converter using the Poppler and Cairo libraries'

extra:
  recipe-maintainers:
    - ostrokach
{'fraction_non_alphanumeric': 0.13018096906012844, 'fraction_numerical': 0.0642148277875073, 'mean_word_length': 2.8344519015659957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3594387', 'n_tokens_mistral': 736, 'n_tokens_neox': 667, 'n_words': 150}