Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add py-fann2 recipe #4528

Merged
merged 11 commits into from
Dec 12, 2017
39 changes: 39 additions & 0 deletions recipes/py-fann2/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package:
name: py-fann2
version: "1.1.0"

source:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the standard syntax from the example

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CJ-Wright I patched the source by way of an extra git commit on my fork of their project. Is that frowned on?
When you say to use the standard syntax, do you mean to specify the version and such as variables at the top that are reused throughout the meta.yaml file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git_rev: c5b353587dfc68022a2e1f1b7a4ecfdabbb8d485
git_url: [email protected]:smithsp/fann2.git

build:
skip: True # [win]
number: 0
# noarch_python: True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove these comments

# preserve_egg_dir: True
script: 'python setup.py install --single-version-externally-managed --record=record.txt'

requirements:
build:
- python
- setuptools
- swig
- fann2

run:
- python
- swig
- fann2

test:
imports:
- fann2

about:
home: https://github.com/FutureLinkCorporation/fann2
license: LGPL2
summary: 'Fast Artificial Neural Network Library (fann) python bindings.'

extra:
recipe-maintainers:
- smithsp