diff options
author | Sergio Garnica | 2019-02-06 10:08:21 +0100 |
---|---|---|
committer | Sergio Garnica | 2019-02-06 10:08:21 +0100 |
commit | 403eda4aa7deacb00662e7075fa9001d9167a54f (patch) | |
tree | 8007fbe2d07d6a33cbf7341fffa65e9cfef8959e /PKGBUILD | |
parent | 122deed45548522a19ce4f2a681f4ae23f50d9e8 (diff) | |
download | aur-403eda4aa7deacb00662e7075fa9001d9167a54f.tar.gz |
Compile with python 3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
@@ -1,23 +1,24 @@ -# Maintainer: Will Price <will.price94+aur@gmail.com> +# Maintainer: S garnica < swhaat at github > +# Contributor: Will Price <will.price94+aur@gmail.com> # Contributor: Brice Waegeneire <bricewge at gmail dot com> pkgname=platformio-git _pkgname=platformio-core -pkgver=v3.3.0.r296.gaa1c7609 +pkgver=v3.6.4.r31.g31d4706a pkgrel=1 pkgdesc="A cross-platform code builder and library manager" arch=('any') url="http://platformio.org/" license=('GPL') -depends=('python2' - 'python2-arrow' - 'python2-bottle' - 'python2-click-5.1' - 'python2-colorama' - 'python2-lockfile' - 'python2-pyserial' - 'python2-requests' - 'python2-semantic-version') +depends=('python-setuptools' + 'python-arrow' + 'python-bottle' + 'python-click-5.1' + 'python-colorama' + 'python-lockfile' + 'python-pyserial' + 'python-requests' + 'python-semantic-version') optdepends=('energia: For MSP430 based projects' 'arduino: For Arduino based projects') source=('git+https://github.com/platformio/platformio-core.git') @@ -28,7 +29,13 @@ pkgver() { git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +build() +{ + cd "${srcdir}/${_pkgname}" + python setup.py build +} + package() { cd "$srcdir/${_pkgname}" - python2 setup.py install --root="$pkgdir/" --optimize=1 + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build } |