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

Eli Schwartz eschwartz at archlinux.org
Wed Jul 4 19:18:00 UTC 2018


    Date: Wednesday, July 4, 2018 @ 19:17:59
  Author: eschwartz
Revision: 352094

upgpkg: python-blessed 1.15.0-2

python 3.7 rebuild
add tests

Modified:
  python-blessed/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-04 19:17:59 UTC (rev 352093)
+++ PKGBUILD	2018-07-04 19:17:59 UTC (rev 352094)
@@ -4,7 +4,7 @@
 
 pkgname=python-blessed
 pkgver=1.15.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A thin, practical wrapper around terminal styling, screen positioning, and keyboard input'
 arch=('any')
 url='https://github.com/jquast/blessed'
@@ -11,6 +11,7 @@
 license=('GPL')
 depends=('python-six' 'python-wcwidth')
 makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest')
 source=("https://pypi.python.org/packages/source/b/blessed/blessed-${pkgver}.tar.gz")
 sha256sums=('777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21')
 
@@ -19,6 +20,13 @@
 
   python setup.py build
 }
+
+check() {
+  cd blessed-${pkgver}
+
+  python -m pytest
+}
+
 package() {
   cd blessed-${pkgver}
 



More information about the arch-commits mailing list