Date: Sunday, June 8, 2014 @ 23:07:02
  Author: aginiewicz
Revision: 112834

moving python2-xlwt from community

Added:
  python2-xlwt/
  python2-xlwt/repos/
  python2-xlwt/trunk/
  python2-xlwt/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: python2-xlwt/trunk/PKGBUILD
===================================================================
--- python2-xlwt/trunk/PKGBUILD                         (rev 0)
+++ python2-xlwt/trunk/PKGBUILD 2014-06-08 21:07:02 UTC (rev 112834)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <ggi...@gmail.com>
+# Contributor: Aaron DeVore <aaron.dev...@gmail.com>
+# Contributor: David Moore <dav...@sjsoft.com>
+
+pkgname=python2-xlwt
+pkgver=0.7.5
+pkgrel=0
+pkgdesc="Library to create spreadsheet files compatible with MS Excel 
97/2000/XP/2003 XLS files"
+arch=('any')
+url="http://www.python-excel.org/";
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/x/xlwt/xlwt-${pkgver}.tar.gz";)
+md5sums=('59cb5efd55319465dfcd25e6a485f03c')
+
+build() {
+  cd "$srcdir/xlwt-$pkgver"
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir/xlwt-$pkgver"
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  find "$pkgdir" -name "*.py" -exec sed -i '1s/python[[:space:]]*$/python2/' 
{} \;
+  install -Dm644 licences.py "$pkgdir/usr/share/licenses/$pkgname/licences.py"
+}
+


Property changes on: python2-xlwt/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to