[arch-commits] Commit in python-css-parser/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Oct 26 06:33:58 UTC 2020
Date: Monday, October 26, 2020 @ 06:33:58
Author: eschwartz
Revision: 733829
upgpkg: python-css-parser 1.0.5-1: upstream release
pypi tarball now ships the tests; wire them up
Modified:
python-css-parser/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-26 06:22:45 UTC (rev 733828)
+++ PKGBUILD 2020-10-26 06:33:58 UTC (rev 733829)
@@ -2,8 +2,8 @@
_pkgname=css-parser
pkgname=python-css-parser
-pkgver=1.0.4
-pkgrel=4
+pkgver=1.0.5
+pkgrel=1
pkgdesc="A CSS Cascading Style Sheets library for Python"
arch=('any')
url="https://github.com/ebook-utils/${_pkgname}"
@@ -11,7 +11,7 @@
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('3781128e55c1e72aa00369873e214f683e3f42944ae83d399697adb7d2966f68fb500c39982845ce9cd06078e4021838d82b06f99d90938069371da8a89a0857'
+sha512sums=('3cdb6db5366fb05a7e277fbe9139cd4279afd8209f8813046c24fe4bde2c668765c06c9067ba4e9d894eabb2c33b71e7cfa6c807fe33e5c63f0394abdf489f0e'
'SKIP')
validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
@@ -21,6 +21,12 @@
python setup.py build
}
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py test
+}
+
package() {
cd "${srcdir}"/${_pkgname}-${pkgver}
More information about the arch-commits
mailing list