-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
Create package for Homebrew Mac OS X packages manager #395
Comments
👍 |
@uetchy do you have any problems with PlatformIO installation? |
@ivankravets No. But it's slight issue around versioning of Python. Homebrew can separately handle Python version required by packages. It means I can use platformio without switching Python. |
@uetchy Could you create Homebrew's formula for |
Actually, I already created Homebrew Formula for platformio based on official reference. But it failed with error: $ brew install platformio
==> Downloading https://github.com/platformio/platformio/archive/v2.6.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio-2.6.3.tar.gz
==> Downloading https://pypi.python.org/packages/source/b/bottle/bottle-0.12.9.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--bottle-0.12.9.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/c/click/click-5.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--click-5.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/c/colorama/colorama-0.3.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--colorama-0.3.5.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/l/lockfile/lockfile-0.12.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--lockfile-0.12.2.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/p/pyserial/pyserial-2.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--pyserial-2.7.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/r/requests/requests-2.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--requests-2.9.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
==> Downloading https://pypi.python.org/packages/source/S/SCons/scons-2.4.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/platformio--SCons-2.4.1.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/platfo
Last 15 lines from /Users/oame/Library/Logs/Homebrew/platformio/07.python:
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
.replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
--prefix=/usr/local/Cellar/platformio/2.6.3/libexec/vendor
--single-version-externally-managed
--record=installed.txt
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
READ THIS: https://git.io/brew-troubleshooting |
P.S: SCons was removed in PlatformIO 2.7.0(which will be released today). |
I think this comment looks like the problem. |
Cool. Could you remove |
+1 |
@uetchy Could you remove |
@ivankravets You can test this Formula with: $ brew install https://gist.githubusercontent.com/uetchy/e752ff8f8315a763b7b8/raw/b694a1668dae0c4654f7a24faaadf879c4ff4212/platformio.rb |
@uetchy Hm...It works!!! Thanks! Is difficult to make PR to the original Hombrew repo with our formula? |
@uetchy will you have any objections if I make PR to https://github.com/Homebrew/homebrew/pulls using your formula? I hope that they will merge it from me. Thanks. |
@ivankravets Hooray! 🙌 |
Thanks for all!!! Done https://twitter.com/platformio_org/status/704287776490004480 |
When trying
|
@ip2k Hm. I don't have I've pushed today new version 2.8.5. Do you have problems with upgrading? |
Could you help us to resolve this issue with SSL and test these downloads? cd /tmp
curl -L https://bintray.com/artifact/download/platformio/dl-packages/ldscripts-19.tar.gz -o ldscripts-19.tar.gz
curl -L https://www.geotrust.com/assets/images/SSL_Enterprise_Image.jpg -o SSL_Enterprise_Image.jpg
curl -L https://github.com -o gh.html
openssl s_client -showcerts -prexit -connect homebrew.bintray.com:443
# They can kill the command (ctrl+C) once it prints the output (this is immediate). Thanks in advance! |
Subj.
The text was updated successfully, but these errors were encountered: