Date: Thursday, November 12, 2020 @ 16:56:16
  Author: foutrelis
Revision: 752105

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xlsxwriter/repos/community-staging-any/PKGBUILD (from rev 
752104, python-xlsxwriter/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2020-11-12 16:56:16 UTC (rev 752105)
@@ -0,0 +1,24 @@
+# Maintainer: Andrzej Giniewicz <ggi...@gmail.com>
+
+pkgname=python-xlsxwriter
+pkgver=1.3.6
+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=("${pkgname}-${pkgver}.tar.gz::https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz";)
+sha256sums=('6737c1e90ff85d1a6229bcc3e7e040217df0e071ad1c367ebe86f1450dff1902')
+
+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"
+}

Reply via email to