diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/python2-traits | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/python2-traits')
-rw-r--r-- | community/python2-traits/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/python2-traits/PKGBUILD b/community/python2-traits/PKGBUILD new file mode 100644 index 000000000..4efd06c57 --- /dev/null +++ b/community/python2-traits/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 88228 2013-04-14 19:37:35Z aginiewicz $ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> + +pkgname=python2-traits +pkgver=4.3.0 +pkgrel=1 +pkgdesc="Explicitly typed attributes for Python" +arch=('i686' 'x86_64') +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/archive/${pkgver}.tar.gz") +md5sums=('f78c15c44e0f965cc2ab799806a80388') + +build() { + cd "$srcdir"/traits-$pkgver + + python2 setup.py build +} + +package() { + cd "$srcdir"/traits-$pkgver + + python2 setup.py install --root="$pkgdir"/ --optimize=1 + + install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + |