Date: Monday, August 19, 2013 @ 12:33:34 Author: angvp Revision: 96025
archrelease: copy trunk to community-testing-any Added: python2-traitsui/repos/community-testing-any/ python2-traitsui/repos/community-testing-any/PKGBUILD (from rev 96024, python2-traitsui/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: python2-traitsui/repos/community-testing-any/PKGBUILD (from rev 96024, python2-traitsui/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-08-19 10:33:34 UTC (rev 96025) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgname=python2-traitsui +pkgver=4.3.0 +pkgrel=2 +pkgdesc="Traits-capable user interfaces" +arch=('any') +url="https://github.com/enthought/traitsui" +license=('BSD') +depends=('python2-pyface') +makedepends=('python2-setuptools') +options=(!emptydirs) + +source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/traitsui/archive/${pkgver}.tar.gz") +md5sums=('23b63f254d268666c816f1954c34b41a') + +build() { + cd "$srcdir"/traitsui-$pkgver + + python2 setup.py build +} + +package() { + cd "$srcdir"/traitsui-$pkgver + + python2 setup.py install --root="$pkgdir"/ --optimize=1 + + install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +