[arch-commits] Commit in python-xlsxwriter/repos/community-any (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at archlinux.org
Thu Jun 17 09:29:22 UTC 2021


    Date: Thursday, June 17, 2021 @ 09:29:22
  Author: grawlinson
Revision: 964575

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-17 09:24:31 UTC (rev 964574)
+++ PKGBUILD	2021-06-17 09:29:22 UTC (rev 964575)
@@ -1,24 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgname=python-xlsxwriter
-pkgver=1.4.0
-pkgrel=1
-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=('56666d2aecd88616886becf4e933268f3ac974286b2f0918ae6e7fd4b4bd2869')
-
-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"
-}

Copied: python-xlsxwriter/repos/community-any/PKGBUILD (from rev 964574, python-xlsxwriter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-17 09:29:22 UTC (rev 964575)
@@ -0,0 +1,30 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=python-xlsxwriter
+pkgver=1.4.3
+pkgrel=1
+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::${url}/archive/RELEASE_${pkgver}.tar.gz")
+sha256sums=('88ca0d5a5446df800694479364da94cd90e861a2f5d5b8f2e0b8dac6cea9ae5d')
+
+build() {
+  cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
+  python -m unittest discover
+}
+
+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