Package Details: platformio 3.2.1-1

Git Clone URL: https://aur.archlinux.org/platformio.git (read-only)
Package Base: platformio
Description: A cross-platform code builder and library manager
Upstream URL: https://github.com/platformio/platformio-core/
Keywords: arduino builder platformio
Licenses: Apache
Conflicts: platformio-git
Submitter: zer0chain
Maintainer: zer0chain
Last Packager: zer0chain
Votes: 21
Popularity: 2.498109
First Submitted: 2016-02-11 15:01
Last Updated: 2016-12-13 12:52

Latest Comments

myles commented on 2016-12-12 23:19

Thanks for maintaining this package.
These changes work:
-pkgver=3.1.0
+pkgver=3.2.1
-sha256sums=('80b22f4322904648ea4b355935ea9315cfd765c3286022b54b75227e1be03d83')
+sha256sums=('5a85e60afc28b4ee04b43efd90c77f69b6c6ff96829e1b8750aa52143bca6eb2')
- cd "$srcdir/platformio-$pkgver"
+ cd "$srcdir/platformio-core-$pkgver"

tirithen commented on 2016-12-10 10:19

Yes, it's failing, I tried to change to this to get the latest version 3.2.1

# Maintainer: Guilhelm Savin <aur@gsav.in>
# Upstream URL: https://github.com/platformio/platformio
#
# For improvements/fixes to this package, please send a pull request:
# https://github.com/gsavin/arch
#

pkgname=platformio
pkgver=3.2.1
pkgrel=0
pkgdesc="A cross-platform code builder and library manager"
arch=('any')
url="https://github.com/platformio/platformio/"
license=('Apache')
depends=('python2'
'python2-bottle'
'python2-click-5.1' # https://github.com/platformio/platformio/issues/349
'python2-colorama'
'python2-lockfile'
'python2-pyserial'
'python2-requests'
'python2-semantic-version'
'python2-setuptools')
conflicts=('platformio-git')
source=("https://github.com/platformio/platformio/archive/v${pkgver}.tar.gz")
sha256sums=('5a85e60afc28b4ee04b43efd90c77f69b6c6ff96829e1b8750aa52143bca6eb2')

package() {
cd "$srcdir/platformio-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}

But I got some PKGBUILD error that it could not find some file. Not to good at this. Could @zer0chain give us a hand maybe? :)

ninov commented on 2016-11-30 19:40

Getting an error building this package:

==> Making package: platformio 3.1.0-1 (Wed Nov 30 20:40:39 CET 2016)
==> Retrieving sources...
-> Found v3.1.0.tar.gz
==> Validating source files with sha256sums...
v3.1.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
:: failed to verify platformio integrity

zer0chain commented on 2016-11-11 11:48

Thanks @bricewge. Sorry for the late update.

bricewge commented on 2016-10-24 16:35

I made a pull request [1] to the github repository indicated in the PKGBUILD. There you can find a working recipe for platformio 3.1.0

[1]: https://github.com/gsavin/arch/pull/1

patrickelectric commented on 2016-10-11 11:23

Please, update the package.

xsmile commented on 2016-09-13 19:16

PKGBUILD for 3.0.1 with python-click-5.1: http://hastebin.com/hahezahipa.bash

zer0chain commented on 2016-06-20 09:21

@buckket I agree it is a bad idea. I thought platformio will moved to the next version of click and so it shoud be temporary to use this patch on setup.py. However, I think it is also a bad idea to use an out-of-date package in AUR when the last version if available in the official repository.

buckket commented on 2016-06-17 23:36

Dear maintainer,

patching setup.py to allow the usage of click v6 is a bad idea, there is a reason this restriction is in place: click v6 introduces a bug to platformio. [0]

Instead I suggest adjusting the PKGBUILD dependency to explicitly list an older, but compatible, version of click.
Someone already has created a python-click-5.1 package [1], which would be a perfect fit.

[0]: https://github.com/pallets/click/issues/473
[1]: https://aur.archlinux.org/packages/python-click-5.1/

zer0chain commented on 2016-04-13 20:56

avrdude is a known issue for platformio on Arch, but I do not think that adding these deps is the proper way of solving it.
Best is to use the avrdude provided by Arch rather than the one of platformio. A symbolic link (~/.platformio/packages/tool-avrdude -> /usr/bin/avrdude) do the job for now.

All comments