[arch-commits] Commit in sugar-activity-calculate/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Mon Mar 9 19:55:21 UTC 2020


    Date: Monday, March 9, 2020 @ 19:55:21
  Author: bgyorgy
Revision: 593299

upgpkg: sugar-activity-calculate 46-1: Update to new version

Modified:
  sugar-activity-calculate/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-09 19:43:55 UTC (rev 593298)
+++ PKGBUILD	2020-03-09 19:55:21 UTC (rev 593299)
@@ -2,7 +2,7 @@
 
 pkgname=sugar-activity-calculate
 _pkgname=Calculate
-pkgver=45
+pkgver=46
 pkgrel=1
 pkgdesc="Graphing calculator for Sugar"
 arch=('any')
@@ -10,16 +10,11 @@
 license=('GPL')
 groups=('sugar-fructose')
 depends=('sugar-toolkit-gtk3')
-optdepends=('python2-matplotlib: alternative plotting backend')
+optdepends=('python-matplotlib: alternative plotting backend')
 source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2)
-sha256sums=('37d7e522cfab67b27facefc23bf0b720b676fec9f0dedebadf96400d2dd48eef')
+sha256sums=('b5f0e98905770076c7441cd5a73815db507a2c1c456c639655e645a76e65e25d')
 
-prepare() {
-  cd $_pkgname-$pkgver
-  sed -i 's@^#!.*python$@#!/usr/bin/python2@' setup.py
-}
-
 package() {
   cd $_pkgname-$pkgver
-  python2 setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
+  python setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
 }



More information about the arch-commits mailing list