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

Felix Yan felixonmars at archlinux.org
Sun Jun 2 18:40:44 UTC 2019


    Date: Sunday, June 2, 2019 @ 18:40:43
  Author: felixonmars
Revision: 476654

upgpkg: python-webcolors 1.9-1

Modified:
  python-webcolors/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 18:40:36 UTC (rev 476653)
+++ PKGBUILD	2019-06-02 18:40:43 UTC (rev 476654)
@@ -2,16 +2,16 @@
 
 pkgbase=python-webcolors
 pkgname=(python-webcolors python2-webcolors)
-pkgver=1.8.1
-pkgrel=2
+pkgver=1.9
+pkgrel=1
 pkgdesc="A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web"
 url="https://github.com/ubernostrum/webcolors"
 license=('BSD')
 arch=('any')
 makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
 source=("https://pypi.io/packages/source/w/webcolors/webcolors-$pkgver.tar.gz")
-sha512sums=('45ddb4ec030206c3ff1edb7de6b8ec1b5f2f9ef5068f37a7c43b66531a2dc6b290cced2af1ca18794aaa9ba17f297022b2f9cc7a92a74ee9b68f758abf7c104e')
+sha512sums=('7644ed5447e665b33a09878070a0e35ce5e93b27b784380e7329b33c405034456707fab6f70074f0dee3819827fca637c0baf08201f66609cf914b8f7664c300')
 
 prepare() {
   cp -a webcolors-$pkgver{,-py2}
@@ -27,10 +27,10 @@
 
 check() {
   cd "$srcdir"/webcolors-$pkgver
-  py.test
+  python setup.py pytest
 
   cd "$srcdir"/webcolors-$pkgver-py2
-  py.test2
+  python2 setup.py pytest
 }
 
 package_python-webcolors() {



More information about the arch-commits mailing list