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

package:
  name: pdftopng
  version: {{ version }}

source:
  - url: https://github.com/vinayak-mehta/pdftopng/archive/v{{ version }}.tar.gz
    sha256: 2b0cda9b7e151d67a182bb753138309c3a6b035939577c5527a34a2c1ef96b64
    patches:
      - 0001-fix-setup.patch
      - setOverprintPreview.patch
  - url: https://github.com/freedesktop/poppler/raw/fcdff7bb19e2ac0fab6505f17e0c18c8faa86323/utils/numberofcharacters.h
    sha256: 285258e387080c775e4f6f5bca652e9e707c3beac83c6625d3b840c4e13c6440

build:
  number: 0

requirements:
  build:
    - python                                 # [build_platform != target_platform]
    - cross-python_{{ target_platform }}     # [build_platform != target_platform]
    - pybind11                               # [build_platform != target_platform]
    - {{ compiler('cxx') }}
  host:
    - python
    - setuptools
    - cython
    - pybind11
    - poppler
    - click
    - pip
  run:
    - python
    - poppler
    - click

test:
  imports:
    - pdftopng

about:
  home: https://github.com/vinayak-mehta/pdftopng
  license: GPL-2.0-only
  license_file: LICENSE
  summary: A PDF to PNG conversion library (based on pdftoppm from poppler) 

extra:
  recipe-maintainers:
    - izahn<commit_msg>add vinayak-mehta as maintainer<commit_after>{% set version = "0.2.3" %}

package:
  name: pdftopng
  version: {{ version }}

source:
  - url: https://github.com/vinayak-mehta/pdftopng/archive/v{{ version }}.tar.gz
    sha256: 2b0cda9b7e151d67a182bb753138309c3a6b035939577c5527a34a2c1ef96b64
    patches:
      - 0001-fix-setup.patch
      - setOverprintPreview.patch
  - url: https://github.com/freedesktop/poppler/raw/fcdff7bb19e2ac0fab6505f17e0c18c8faa86323/utils/numberofcharacters.h
    sha256: 285258e387080c775e4f6f5bca652e9e707c3beac83c6625d3b840c4e13c6440

build:
  number: 0

requirements:
  build:
    - python                                 # [build_platform != target_platform]
    - cross-python_{{ target_platform }}     # [build_platform != target_platform]
    - pybind11                               # [build_platform != target_platform]
    - {{ compiler('cxx') }}
  host:
    - python
    - setuptools
    - cython
    - pybind11
    - poppler
    - click
    - pip
  run:
    - python
    - poppler
    - click

test:
  imports:
    - pdftopng

about:
  home: https://github.com/vinayak-mehta/pdftopng
  license: GPL-2.0-only
  license_file: LICENSE
  summary: A PDF to PNG conversion library (based on pdftoppm from poppler) 

extra:
  recipe-maintainers:
    - izahn
    - vinayak-mehta
{'fraction_non_alphanumeric': 0.10255417956656347, 'fraction_numerical': 0.09829721362229102, 'mean_word_length': 2.575380359612725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5494568', 'n_tokens_mistral': 1119, 'n_tokens_neox': 980, 'n_words': 155}