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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:30:47 UTC 2019


    Date: Monday, November 4, 2019 @ 07:30:46
  Author: felixonmars
Revision: 523510

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xlsxwriter/repos/community-staging-any/PKGBUILD (from rev 523509, python-xlsxwriter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:30:46 UTC (rev 523510)
@@ -0,0 +1,24 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-xlsxwriter'
+pkgver=1.2.2
+pkgrel=2
+pkgdesc="A Python module for creating Excel XLSX files"
+arch=('any')
+url="https://github.com/jmcnamara/XlsxWriter"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz")
+sha256sums=('227279fa4389808b8b894830dfc4e0ae3f3055e81767677a24ee8da03527a98e')
+
+build() {
+  cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -D -m644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list