package:
  name: openbabel
  version: "2.4.0"

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

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

build:
  number: 1
  detect_binary_files_with_prefix: true
  skip: True  # [win]

requirements:
  build:
    - cmake
    - zlib
    - swig
    - bzip2
    - python
    - zlib
    - libxml2
  run:
    - python
    - zlib
    - libxml2

test:
  imports:
    - openbabel
    - pybel
  commands:
    - cd $SRC_DIR/test ; python test_pybel.py
    - cd $SRC_DIR/test ; python testkekule.py
    - cd $SRC_DIR/test ; python testbindings.py
    - cd $SRC_DIR/test ; python testexample.py

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:
  url: https://github.com/openbabel/openbabel/archive/openbabel-2-4-0.zip 
  fn: openbabel-2-4-0.zip 

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

build:
  number: 2
  detect_binary_files_with_prefix: true
  skip: True  # [win]

requirements:
  build:
    - cmake
    - zlib
    - swig
    - bzip2
    - python
    - zlib
    - libxml2
  run:
    - python
    - zlib
    - libxml2

test:
  imports:
    - openbabel
    - pybel
  commands:
    - cd $SRC_DIR/test ; python test_pybel.py
    - cd $SRC_DIR/test ; python testkekule.py
    - cd $SRC_DIR/test ; python testbindings.py
    - cd $SRC_DIR/test ; python testexample.py

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

Update OpenBabel build to fix conda-build
Update OpenBabel build to fix conda-build

*sigh*
