add platformio

This commit is contained in:
Travis Burtrum 2020-03-02 22:58:51 -05:00
parent 07fb1cfb7d
commit 0cce47b851
1 changed files with 34 additions and 0 deletions

34
src/platformio/PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Guilhelm Savin <aur@gsav.in>
# Maintainer: Jake <aur@ja-ke.tech>
#
# 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=4.2.1
pkgrel=1
pkgdesc="A cross-platform code builder and library manager"
arch=('any')
url="https://github.com/platformio/platformio-core/"
license=('Apache')
depends=('python-setuptools'
'python-bottle'
'python-click'
'python-colorama'
'python-pyserial>=3.4' #https://github.com/platformio/platformio-core/commit/a37eb9868f3b20e982d0c3cd1a742fcb8ab60efc
'python-requests'
'python-semantic-version'
'python-tabulate'
'python-pyelftools'
'python-marshmallow')
conflicts=('platformio-git')
source=("https://github.com/platformio/platformio-core/archive/v${pkgver}.tar.gz")
sha256sums=('9b405e4ab29232673f28a4302edabaeef15fb963b00aae6b37f6e6b4068bd26c')
package() {
cd "$srcdir/platformio-core-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}