Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

New Formula: OpenBabel 2.2.3 #2247

Closed
rwest opened this issue Aug 20, 2010 · 6 comments
Closed

New Formula: OpenBabel 2.2.3 #2247

rwest opened this issue Aug 20, 2010 · 6 comments

Comments

@rwest
Copy link
Contributor

rwest commented Aug 20, 2010

I have created a new formula for OpenBabel

http://github.com/rwest/homebrew/commit/e46c339eb1d948a82321edb75d79058fa5b498a6

Open Babel is a chemical toolbox designed to speak the many languages of
chemical data. http://openbabel.org/

With the options --ruby --python --perl it builds the bindings for those three languages.
I wasn't quite sure about best-practice for where it should put the bindings (or how to achieve it)
but this seems to function OK for me, as demonstrated in the commit message.

@rwest
Copy link
Contributor Author

rwest commented Aug 21, 2010

The oasa dependency is python, but it's not in the python package index.
I can install it manually by doing
$ pip install http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz

What's the best way to declare this as a dependency?
I feel that
depends_on 'oasa' => :python
won't work as it's not in the python package index.
But that creating a brew formula for it will be discouraged because it's a python project.
Suggestions?

@MikeMcQuaid
Copy link
Member

You can't depend on Python packages like that in Homebrew. You shouldn't build any bindings for the first version, we could add them later once we sort out some of the bindings issues. I'm not the expert on that, you'd probably have to ask adamv or mxcl.

@ghost ghost assigned adamv Apr 11, 2011
@adamv
Copy link
Contributor

adamv commented Apr 25, 2011

I'm doing work in my deps branch to enable more complex external dependency scenarios, such as the oasa dep declared here.

@MikeMcQuaid
Copy link
Member

I think this should be closed or talked about more.

@adamv
Copy link
Contributor

adamv commented Jan 15, 2012

I'll have to rebase my "improved dep support" on top of the other recent changes

@adamv
Copy link
Contributor

adamv commented Mar 10, 2012

Added as b10d691 - sorry about the delay.

@adamv adamv closed this as completed Mar 10, 2012
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants