[arch-commits] Commit in scons/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu Oct 5 07:43:52 UTC 2017


    Date: Thursday, October 5, 2017 @ 07:43:51
  Author: arojas
Revision: 306783

Update to 3.0.0

Modified:
  scons/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-05 07:41:04 UTC (rev 306782)
+++ PKGBUILD	2017-10-05 07:43:51 UTC (rev 306783)
@@ -7,29 +7,25 @@
 # reminder: scons moving to py3 any time soon
 
 pkgname=scons
-pkgver=2.5.1
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="Extensible Python-based build utility"
 arch=('any')
 url="http://scons.org"
 license=('MIT')
-depends=('python2')
+depends=('python')
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('aaaf09e1351a598f98d17b0cf1103e7a')
+md5sums=('1c99878d0eaf9b768b50721e913142d3')
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  python2 setup.py install --standard-lib \
-                           --prefix=/usr \
-                           --install-data=/usr/share \
-                           --optimize=1 \
-                           --root="$pkgdir"
+  python setup.py install --standard-lib \
+                          --prefix=/usr \
+                          --install-data=/usr/share \
+                          --optimize=1 \
+                          --root="$pkgdir"
 
-  # fix for python 2.7
-  sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' \
-    "$pkgdir"/usr/bin/*
-
   install -Dm644 LICENSE.txt \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list