[arch-commits] Commit in python-xlwt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:47:29 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:47:29
  Author: felixonmars
Revision: 752820

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xlwt/repos/community-staging-any/PKGBUILD (from rev 752819, python-xlwt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:47:29 UTC (rev 752820)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+# Contributor: David Moore <davidm at sjsoft.com>
+
+pkgname='python-xlwt'
+pkgver=1.3.0
+pkgrel=5
+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"
+}



More information about the arch-commits mailing list