package:
  name: openbabel
  version: 2.3.90dev7d621d9

source:
  fn: openbabel-2-4-0.zip
  url: https://github.com/openbabel/openbabel/archive/openbabel-2-4-0.zip
  sha1: 822ceadb66316b281ecfcbb37e1c7227634b909d

  patches:
    - include-dirs.patch
    - fix_library_path_search.diff
    - fix_data_path.diff

build:
  number: 0
  detect_binary_files_with_prefix: true
  skip:
    - [win]

requirements:
  build:
    - gcc     # [linux]
    - llvm    # [osx]
    - cmake
    - zlib
    - swig
    - eigen
    - bzip2
    - python
    - zlib
    - libxml2
  run:
    - python
    - libgcc  # [linux]
    - zlib
    - libxml2

test:
  imports:
    - openbabel
    - pybel
  commands:
    - obabel --help

about:
    home: http://www.openbabel.org/
    license: GPLv2
    summary: "A chemical toolbox designed to speak the many languages of chemical data"

package:
  name: openbabel
  version: 2.4.0

source:
  fn: openbabel-2-4-0.zip
  url: https://github.com/openbabel/openbabel/archive/openbabel-2-4-0.zip
  sha1: 822ceadb66316b281ecfcbb37e1c7227634b909d

  patches:
    - include-dirs.patch
    - fix_library_path_search.diff
    - fix_data_path.diff

build:
  number: 0
  detect_binary_files_with_prefix: true

requirements:
  build:
    - gcc     # [linux]
    - llvm    # [osx]
    - cmake
    - zlib
    - swig
    - eigen
    - bzip2
    - python
    - zlib
    - libxml2
  run:
    - python
    - libgcc  # [linux]
    - zlib
    - libxml2

test:
  imports:
    - openbabel
    - pybel
  commands:
    - obabel --help

about:
    home: http://www.openbabel.org/
    license: GPLv2
    summary: "A chemical toolbox designed to speak the many languages of chemical data"

Fix package version number and Win build
Fix package version number and Win build
