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

Eli Schwartz eschwartz at archlinux.org
Tue Jun 11 07:06:13 UTC 2019


    Date: Tuesday, June 11, 2019 @ 07:06:13
  Author: eschwartz
Revision: 480169

upgpkg: python-unrardll 0.1.4-1

upstream release
sdist now has tests, so add check()

Modified:
  python-unrardll/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-11 04:40:56 UTC (rev 480168)
+++ PKGBUILD	2019-06-11 07:06:13 UTC (rev 480169)
@@ -4,8 +4,8 @@
 _pkgname=unrardll
 pkgbase='python-unrardll'
 pkgname=('python-unrardll' 'python2-unrardll')
-pkgver=0.1.3
-pkgrel=4
+pkgver=0.1.4
+pkgrel=1
 pkgdesc="Python wrapper for UnRAR DLL"
 arch=('x86_64')
 url="https://github.com/kovidgoyal/${_pkgname}"
@@ -13,8 +13,10 @@
 depends=('libunrar')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('5f214ab1ec24208c6ee353f2d836e536968d5379b7140129f04aa3a52bc56a5e'
+sha256sums=('4149c0729cf96a0bae80360e7d94dc40af1088c8da7f6eb8d10e09b8632e92ad'
             'SKIP')
+b2sums=('cbbbe53b9457a4a633f10a2bb5817685ebb75c88f6b20eee01a39610c0b5541bd86f77917efc7824277794e12b30afac4eb0237694cd7b0cc7caf76fb6dbf80e'
+        'SKIP')
 validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
 
 build() {
@@ -24,6 +26,13 @@
   python2 setup.py build
 }
 
+check() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  python setup.py test
+  python2 setup.py test
+}
+
 package_python-unrardll() {
   depends+=('python')
 


More information about the arch-commits mailing list