From 316bee78b6cf71c708e125f18156df2562e95ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Sodre=CC=81?= Date: Thu, 27 Apr 2017 01:02:32 +0000 Subject: [PATCH] Initial commit for Google or-tools Closes #2717 --- recipes/or-tools/meta.yaml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/or-tools/meta.yaml diff --git a/recipes/or-tools/meta.yaml b/recipes/or-tools/meta.yaml new file mode 100644 index 0000000000000..29e583cb5929c --- /dev/null +++ b/recipes/or-tools/meta.yaml @@ -0,0 +1,51 @@ +{% set name = "or-tools" %} +{% set version = "5.1" %} +{% set sha256 = "25aedf676ccc5ae246be44543572fba9be5f42f2fb0c1f7edcc6f138db207d32" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + fn: {{ name }}-{{ version }}.tar.gz + url: https://github.com/google/{{ name }}/archive/v{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + script: python setup.py install --single-version-externally-managed --record record.txt + +requirements: + build: + - python + - setuptools + - toolchain + run: + - python + +test: + imports: + - ortools + +about: + home: https://developers.google.com/optimization/ + # Remember to specify the license variants for BSD, Apache, GPL, and LGLP. + # Prefer the short version, e.g: GPL-2.0 instead of GNU General Public License version 2.0 + # See https://opensource.org/licenses/alphabetical + license: Apache + # The license_family, i.e. "BSD" if license is "BSD-3-Clause". (optional) + license_family: MIT + # It is strongly encouraged to include a license file in the package, + # (even if the license doesn't require it) using the license_file entry. + # See http://conda.pydata.org/docs/building/meta-yaml.html#license-file + license_file: LICENSE.txt + summary: 'Google Optimization Tools is a fast and portable software suite for solving combinatorial optimization problems' + + # The remaining entries in this section are optional, but recommended + description: | + doc_url: https://developers.google.com/optimization/introduction/using + dev_url: https://github.com/google/{{ name }} + +extra: + recipe-maintainers: + - sodre