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

Jelle van der Waa jelle at archlinux.org
Mon Oct 19 19:22:53 UTC 2015


    Date: Monday, October 19, 2015 @ 21:22:53
  Author: jelle
Revision: 144384

upgpkg: python-cssutils 1.0.1-1

l

Modified:
  python-cssutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-19 19:08:58 UTC (rev 144383)
+++ PKGBUILD	2015-10-19 19:22:53 UTC (rev 144384)
@@ -7,8 +7,8 @@
 
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
-pkgver=1.0
-pkgrel=3
+pkgver=1.0.1
+pkgrel=1
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/"
@@ -17,8 +17,8 @@
 # We need to include mock as a check dependency due to the following pbr bug:
 # https://bugs.launchpad.net/pbr/+bug/1493735
 checkdepends=('python2-mock')
-source=("http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.zip")
-md5sums=('0c0b9df329ec1461c732d0f3cba05e93')
+source=("http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.tar.gz")
+md5sums=('7fcdf2c3e9f053136af1990146eb361d')
 
 build() {
   cd "${srcdir}"
@@ -61,7 +61,9 @@
 
 check() {
   cd "${srcdir}/cssutils-${pkgver}"
-  # Currently broken..
-#  python3 setup.py test
+  2to3 --no-diffs -nw src
+  python3 setup.py test
+
+  cd "${srcdir}/cssutils-py2-${pkgver}"
   python2 setup.py test
 }



More information about the arch-commits mailing list