python-oauth2
python-oauth2 copied to clipboard
Does not build on OpenBSD (corrections included)
Appears to require gmake rather than make, which I resolved by invoking via correct name (didn't see any hints to do this).
The following: DEPS := $(shell find $(PWD)/deps -type f -printf "file://%p ") does not work with BSD find (no -printf), changed to: DEPS := $(shell find $(PWD)/deps -type f -exec echo "file://{} " ;)
Similarly: SOURCES := $(shell find $(SRCDIR) -type f -name .py -not -name 'test__') does not work with BSD find (no -not), changed to: SOURCES := $(shell find $(SRCDIR) -type f ( -name _.py -and ! -name 'test_' ))
After making the above changes I was able to 'gmake' successfully on OpenBSD 4.8/macppc.
Not sure what this has to do specifically with this repo. My python skills aren't uber but shouldn't building this lib be done via easy_install? cc @joestump
He's talking about making the Makefile compatible with BSD. This is a valid bug I believe.
Cool, seems like relatively simple changes, what's needed to get this into a PR @chort ?