Date: Monday, November 4, 2019 @ 08:19:55
  Author: felixonmars
Revision: 523685

archrelease: copy trunk to community-staging-any

Added:
  python-xlwt/repos/community-staging-any/
  python-xlwt/repos/community-staging-any/PKGBUILD
    (from rev 523684, python-xlwt/trunk/PKGBUILD)

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

Copied: python-xlwt/repos/community-staging-any/PKGBUILD (from rev 523684, 
python-xlwt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-11-04 08:19:55 UTC (rev 523685)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: Aaron DeVore <[email protected]>
+# Contributor: David Moore <[email protected]>
+
+pkgname='python-xlwt'
+pkgver=1.3.0
+pkgrel=4
+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=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/python-excel/xlwt/archive/${pkgver}.tar.gz";)
+sha256sums=('1961682c6a3cedb44e6a96ff6ed099d80af8da9a669dbbbc1d1959e8398122d6')
+
+build() {
+  cd "$srcdir"/xlwt-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/xlwt-${pkgver}
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 docs/licenses.rst 
"$pkgdir/usr/share/licenses/$pkgname/licences.rst"
+}

Reply via email to