diff options
author | M.Reynolds | 2018-09-23 21:40:37 -0400 |
---|---|---|
committer | M.Reynolds | 2018-09-23 21:40:37 -0400 |
commit | 5fb50181c4f9eeb4b1915af6df3be30403e1a15c (patch) | |
tree | e01103c8daef45001df2b5920406fe226fea186d /PKGBUILD | |
parent | d740f8ee012ca94fcf744d777248eeffcf7496e3 (diff) | |
download | aur-5fb50181c4f9eeb4b1915af6df3be30403e1a15c.tar.gz |
Update 3.0.0b5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,15 +1,16 @@ # Maintainer: M.Reynolds <blackboxnetworkproject@gmail.com> pkgname=thonny -pkgver=2.1.21 +pkgver=3.0.0b5 pkgrel=1 pkgdesc="Python IDE for beginners." arch=('any') url="http://thonny.cs.ut.ee/" license=('MIT') -depends=('openssl' 'python' 'python-beautifulsoup4' 'python-jedi' 'tcl' 'tk') +depends=('openssl' 'python' 'python-beautifulsoup4' 'python-docutils' + 'python-astroid' 'python-pylint' 'python-pyserial' 'python-jedi' 'tcl' 'tk') source=("https://bitbucket.org/plas/$pkgname/downloads/$pkgname-$pkgver-x86_64.tar.gz") -sha256sums=('f608106cb5ad17c45825a68a951d01911691eee286fc60d3dfa6dfd4cc4b4bcb') +sha256sums=('4f05396faee7d381097f6b88624f2b199f619917cb7c8c99a76ecff5d706fb36') package() { @@ -18,6 +19,9 @@ package() { # Correct install path for binary and icon file sed -i 's|$target_dir|/usr|' "$pkgname/templates/Thonny.desktop" + # Update launch script for the correct Python version + # sed -i 's|3.6|3.7' "$pkgname/bin/thonny" + install -Dm 644 "$pkgname/templates/Thonny.desktop" \ "$pkgdir/usr/share/applications/thonny.desktop" @@ -27,10 +31,7 @@ package() { # Install.py currently does not allow for setting root for creating a package # Files must by copied manually for now in section below. - install -d 644 "$pkgdir/usr/lib/python3.6/site-packages/thonny" - cp -dr --no-preserve=ownership "$pkgname/lib/python3.6/site-packages/thonny" \ - "$pkgdir/usr/lib/python3.6/site-packages" - - # install -Dm 644 "$pkgname/lib/python3.6/site-packages/distro.py" \ - # "$pkgdir/usr/lib/python3.6/site-packages/distro.py" + install -d 644 "$pkgdir/usr/lib/python3.7/site-packages/thonny" + cp -dr --no-preserve=ownership "$pkgname/lib/python3.7/site-packages/thonny" \ + "$pkgdir/usr/lib/python3.7/site-packages" } |