summaryrefslogtreecommitdiff
path: root/community/python2-traits/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-traits/PKGBUILD')
-rw-r--r--community/python2-traits/PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/community/python2-traits/PKGBUILD b/community/python2-traits/PKGBUILD
index 842eb0e8d..1ae9671e7 100644
--- a/community/python2-traits/PKGBUILD
+++ b/community/python2-traits/PKGBUILD
@@ -1,29 +1,28 @@
-# $Id: PKGBUILD 75625 2012-08-27 16:55:19Z aginiewicz $
+# $Id: PKGBUILD 88228 2013-04-14 19:37:35Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python2-traits
-pkgver=4.2.0
-_githubtag=0afc79d
-pkgrel=2
+pkgver=4.3.0
+pkgrel=1
pkgdesc="Explicitly typed attributes for Python"
arch=('i686' 'x86_64' 'mips64el')
-url="http://code.enthought.com/projects/traits/"
+url="https://github.com/enthought/traits"
license=('BSD')
depends=('python2-numpy')
makedepends=('python2-distribute')
options=(!emptydirs)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/traits/tarball/${pkgver}")
-md5sums=('835c83c320ed1109ca05fa4ae4556828')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/traits/archive/${pkgver}.tar.gz")
+md5sums=('f78c15c44e0f965cc2ab799806a80388')
build() {
- cd "$srcdir"/enthought-traits-${_githubtag}
+ cd "$srcdir"/traits-$pkgver
python2 setup.py build
}
package() {
- cd "$srcdir"/enthought-traits-${_githubtag}
+ cd "$srcdir"/traits-$pkgver
python2 setup.py install --root="$pkgdir"/ --optimize=1