[arch-commits] Commit in python-xlsxwriter/trunk (PKGBUILD)

George Rawlinson grawlinson at archlinux.org
Thu Jun 17 09:20:40 UTC 2021


    Date: Thursday, June 17, 2021 @ 09:20:40
  Author: grawlinson
Revision: 964570

upgpkg: python-xlsxwriter 1.4.3-1

* New upstream release.
* Added unit tests to check() function.

Modified:
  python-xlsxwriter/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-17 08:55:20 UTC (rev 964569)
+++ PKGBUILD	2021-06-17 09:20:40 UTC (rev 964570)
@@ -1,7 +1,8 @@
 # Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
 
 pkgname=python-xlsxwriter
-pkgver=1.4.0
+pkgver=1.4.3
 pkgrel=1
 pkgdesc="A Python module for creating Excel XLSX files"
 arch=('any')
@@ -9,8 +10,8 @@
 license=('BSD')
 depends=('python')
 makedepends=('python-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz")
-sha256sums=('56666d2aecd88616886becf4e933268f3ac974286b2f0918ae6e7fd4b4bd2869')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/RELEASE_${pkgver}.tar.gz")
+sha256sums=('88ca0d5a5446df800694479364da94cd90e861a2f5d5b8f2e0b8dac6cea9ae5d')
 
 build() {
   cd "$srcdir"/XlsxWriter-RELEASE_${pkgver}
@@ -17,6 +18,11 @@
   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



More information about the arch-commits mailing list