Firstly, thanks to Thomas (and all others involved) for maintaining such a great Bitcoin client!
Just thought I'd put this down here since I'm not a coder and have no knowledge (or very little) of any scripting.
Currently I'm running 10.10 Yosemite and it worked well under 10.9 Mavericks as well.
I needed to do this to get my Trezor up and running (which it is and it is well!)
I figured other Mac users with Trezors who aren't coding wizards could use the help.
I used Homebrew or "Brew" as the cool kids call it because I just couldn't get MacPorts to work.
It might have been a 10.10 dependency thing though. We'll never know!
Install Homebrew
ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install Software Prerequesites (Xcode, CLI tools, etc)
https://github.com/Homebrew/homebrew/wiki/installationAgree to Xcode Agreement
sudo xcodebuild -license
Install Brew Add-on things for compiling
brew install gettext
brew link gettext --force
brew install pyqt
Copy latest version of Electrum from GitHub (copies into folder in home folder)
git clone git://github.com/spesmilo/electrum.git
Now in terminal run through these one by one, you shouldn't hit any snags, you'll know at the end if you do!
python mki18n.py
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
python setup.py sdist --format=zip,gztar
ARCHFLAGS="-arch i386 -arch x86_64" sudo python setup-release.py py2app --includes sip
sudo hdiutil create -fs HFS+ -volname "Electrum" -srcfolder dist/Electrum.app dist/electrum-2.0B-macosx.dmg
Final product pops into your home folder under ~/electrum/dist and has a nice dmg and the app itself ready to be dragged over to the applications folder.
Looking forward to the 2.0 final, take your time though, make it shine you are doing a great job!
Edit: Funnily enough Electrum doesn't seem to care about the Trezor and doesn't mention it if it is not connected. Previously it would say something along the lines of watching mode only if it wasn't attached, but now... nothing. Oh well, I'll just keep using my older version with Trezor support!