<commit_before>package:
  name: nextpnr
  version: {{ GIT_DESCRIBE_TAG }}

source:
  git_url: https://github.com/timvideos/nextpnr.git
  git_rev: master

build:
  # y==GIT_DESCRIBE_NUMBER, z==DATESTR, x==GIT_DESCRIBE_HASH
  #
  # number: 10693001803050325
  #         1yyyy00zzzzzzzzzz
  number: {{ '1%04i00%s'|format(GIT_DESCRIBE_NUMBER|int, os.environ.get('DATESTR')) }}
  # string: 0693.1803050325.g588ce0e3
  #         yyyy.zzzzzzzzzz.gxxxxxxxx
  string: {{ '%04i'|format(GIT_DESCRIBE_NUMBER|int) }}.{{ os.environ.get('DATESTR') }}.{{ GIT_DESCRIBE_HASH }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - python {{ python }}
  host:
    - bison
    - boost
    - cmake
    - flex
    - fontconfig
    - icestorm
    - ncurses
    - pkg-config
    - python {{ python }}
    - readline
  run:
    - icestorm
    - libboost
    - py-boost
    - python
    - readline

#test:
#  commands:
#    - ./run_reg_test.pl vtr_reg_basic
#    - ./run_reg_test.pl vtr_reg_strong -j2

about:
  home: https://github.com/YosysHQ/nextpnr
  license: ISC
  license_file: COPYING
  summary: 'nextpnr aims to be a vendor neutral, timing driven, FOSS FPGA place and route tool.'<commit_msg>nextpnr: Add yosys as dependency + run test.<commit_after>package:
  name: nextpnr
  version: {{ GIT_DESCRIBE_TAG }}

source:
  git_url: https://github.com/timvideos/nextpnr.git
  git_rev: master

build:
  # y==GIT_DESCRIBE_NUMBER, z==DATESTR, x==GIT_DESCRIBE_HASH
  #
  # number: 10693001803050325
  #         1yyyy00zzzzzzzzzz
  number: {{ '1%04i00%s'|format(GIT_DESCRIBE_NUMBER|int, os.environ.get('DATESTR')) }}
  # string: 0693.1803050325.g588ce0e3
  #         yyyy.zzzzzzzzzz.gxxxxxxxx
  string: {{ '%04i'|format(GIT_DESCRIBE_NUMBER|int) }}.{{ os.environ.get('DATESTR') }}.{{ GIT_DESCRIBE_HASH }}
  script_env:
    - CI
    - TRAVIS

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - python {{ python }}
  host:
    - bison
    - boost
    - cmake
    - flex
    - fontconfig
    - icestorm
    - ncurses
    - pkg-config
    - python {{ python }}
    - readline
  run:
    - icestorm
    - libboost
    - py-boost
    - python
    - readline
    - yosys

test:
  commands:
    - nextpnr-ice40 -V

about:
  home: https://github.com/YosysHQ/nextpnr
  license: ISC
  license_file: COPYING
  summary: 'nextpnr aims to be a vendor neutral, timing driven, FOSS FPGA place and route tool.'
{'fraction_non_alphanumeric': 0.1364190012180268, 'fraction_numerical': 0.03857084855866829, 'mean_word_length': 2.710843373493976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, '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': '4847162', 'n_tokens_mistral': 1062, 'n_tokens_neox': 988, 'n_words': 171}