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

Andrzej Giniewicz aginiewicz at archlinux.org
Fri Mar 11 20:31:11 UTC 2016


    Date: Friday, March 11, 2016 @ 21:31:11
  Author: aginiewicz
Revision: 166160

upgpkg: python-traits 4.5.0-2

python-traits: release of package for both python and python2

Modified:
  python-traits/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-11 20:30:07 UTC (rev 166159)
+++ PKGBUILD	2016-03-11 20:31:11 UTC (rev 166160)
@@ -4,7 +4,7 @@
 pkgbase=python-traits
 pkgname=('python2-traits' 'python-traits')
 pkgver=4.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Explicitly typed attributes for Python"
 arch=('i686' 'x86_64')
 url="https://github.com/enthought/traits"
@@ -11,18 +11,12 @@
 license=('BSD')
 makedepends=('python-setuptools' 'python-numpy' 'python2-setuptools' 'python2-numpy')
 
-source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/traits/archive/${pkgver}.tar.gz")
+source=("traits-${pkgver}.tar.gz::https://github.com/enthought/traits/archive/${pkgver}.tar.gz")
 md5sums=('b77b08837afd20c1254e5d94369712cd')
 
 prepare() {
   cd "$srcdir"
   cp -a traits-${pkgver} traits-py2-${pkgver}
-  cd traits-py2-${pkgver}
-
-  sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-      -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
-      -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
-      -i $(find . -name '*.py')
 }
 
 build() {



More information about the arch-commits mailing list