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

2020-08-19 Thread Eli Schwartz via arch-commits
Date: Thursday, August 20, 2020 @ 01:35:34
  Author: eschwartz
Revision: 685257

python-cssutils: revamp build, purge no-op fixups, run tests cleanly

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |   33 +++--
 1 file changed, 19 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-20 00:24:12 UTC (rev 685256)
+++ PKGBUILD2020-08-20 01:35:34 UTC (rev 685257)
@@ -13,28 +13,33 @@
 license=('LGPL3')
 depends=('python')
 makedepends=('python-setuptools')
-# We need to include mock as a check dependency due to the following pbr bug:
-# https://bugs.launchpad.net/pbr/+bug/1493735
-source=("https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz;)
+checkdepends=('python-pbr')
+source=("https://files.pythonhosted.org/packages/source/c/cssutils/cssutils-${pkgver}.tar.gz;)
 md5sums=('dc66d96c2d78f1687f59ac412fe9d318')
 
-build() {
-  # Use #!/usr/bin/python3 
-  cd cssutils-${pkgver}/src
-  find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env 
python/python3/' '{}' \;
+prepare() {
+  cd cssutils-${pkgver}
+
+  # don't pin old versions of testrunner
+  sed -i "/tests_require/{s/pbr < 1\.7\.0/pbr/;s/'mock',//}" setup.py
+  sed -i 's/import mock/from unittest import mock/' src/cssutils/tests/*.py
 }
 
-package() {
-  cd "cssutils-${pkgver}"
+build() {
+  cd cssutils-${pkgver}
 
-  python3 setup.py install --root="${pkgdir}/" --optimize=1
-
-  # Don't install tests (FS#27567)
-  rm -rf "${pkgdir}/usr/lib/python3.3/site-packages/tests"
+  2to3 --no-diffs -nw src
+  python setup.py build
 }
 
 check() {
   cd "${srcdir}/cssutils-${pkgver}"
-  2to3 --no-diffs -nw src
+
   python3 setup.py test
 }
+
+package() {
+  cd "cssutils-${pkgver}"
+
+  python3 setup.py install --root="${pkgdir}/" --optimize=1
+}


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

2020-07-11 Thread Jelle van der Waa via arch-commits
Date: Saturday, July 11, 2020 @ 21:27:14
  Author: jelle
Revision: 663284

Make reproducible by rebuilding

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-11 21:22:57 UTC (rev 663283)
+++ PKGBUILD2020-07-11 21:27:14 UTC (rev 663284)
@@ -6,7 +6,7 @@
 
 pkgname=python-cssutils
 pkgver=1.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2019-10-31 Thread Evangelos Foutras via arch-commits
Date: Thursday, October 31, 2019 @ 17:09:44
  Author: foutrelis
Revision: 521280

Python 3.8 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 17:09:22 UTC (rev 521279)
+++ PKGBUILD2019-10-31 17:09:44 UTC (rev 521280)
@@ -6,7 +6,7 @@
 
 pkgname=python-cssutils
 pkgver=1.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 15:45:43
  Author: foutrelis
Revision: 519189

Python 3.8 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 15:45:32 UTC (rev 519188)
+++ PKGBUILD2019-10-25 15:45:43 UTC (rev 519189)
@@ -6,7 +6,7 @@
 
 pkgname=python-cssutils
 pkgver=1.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2019-02-16 Thread Jelle van der Waa via arch-commits
Date: Saturday, February 16, 2019 @ 20:50:49
  Author: jelle
Revision: 433827

Kill python2-cssutils from PKGBUILD

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |   38 +-
 1 file changed, 5 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-16 20:47:19 UTC (rev 433826)
+++ PKGBUILD2019-02-16 20:50:49 UTC (rev 433827)
@@ -4,8 +4,7 @@
 # Contributor: Rick W. Chena 
 # Contributor: Andrea Fagiani 
 
-pkgbase=python-cssutils
-pkgname=('python2-cssutils' 'python-cssutils')
+pkgname=python-cssutils
 pkgver=1.0.2
 pkgrel=2
 pkgdesc="A CSS Cascading Style Sheets library for Python"
@@ -12,48 +11,24 @@
 arch=('any')
 url="http://cthedot.de/cssutils/;
 license=('LGPL3')
-makedepends=('python2-setuptools' 'python-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
 # 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=("https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz;)
 md5sums=('dc66d96c2d78f1687f59ac412fe9d318')
 
 build() {
-  cd "${srcdir}"
-
-  # Create python2 build dir
-  cp -a cssutils-${pkgver} cssutils-py2-${pkgver}
-
   # Use #!/usr/bin/python3 
   cd cssutils-${pkgver}/src
   find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env 
python/python3/' '{}' \;
-
-  cd "${srcdir}/cssutils-py2-${pkgver}"
-  find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i -e 
's:#!/usr/bin/env python:#!/usr/bin/env python2:g' '{}' \;
 }
 
-package_python2-cssutils() {
-  depends=('python2')
+package() {
+  cd "cssutils-${pkgver}"
 
-  cd "${srcdir}/cssutils-py2-${pkgver}"
-
-  python2 setup.py install --root="${pkgdir}/" --optimize=1
-
-  # Don't install tests (FS#27567)
-  rm -rf "${pkgdir}/usr/lib/python2.7/site-packages/tests"
-}
-
-package_python-cssutils() {
-  depends=('python')
-
-  cd "${srcdir}/cssutils-${pkgver}"
-
   python3 setup.py install --root="${pkgdir}/" --optimize=1
 
-  # Avoid a conflict: only keep the Py2 executables.
-  rm -rf "${pkgdir}/usr/bin"
-
   # Don't install tests (FS#27567)
   rm -rf "${pkgdir}/usr/lib/python3.3/site-packages/tests"
 }
@@ -62,7 +37,4 @@
   cd "${srcdir}/cssutils-${pkgver}"
   2to3 --no-diffs -nw src
   python3 setup.py test
-
-  cd "${srcdir}/cssutils-py2-${pkgver}"
-  python2 setup.py test
 }


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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 16:55:53
  Author: felixonmars
Revision: 348591

Python 3.7 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 16:55:40 UTC (rev 348590)
+++ PKGBUILD2018-06-30 16:55:53 UTC (rev 348591)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2017-03-15 Thread Jelle van der Waa
Date: Wednesday, March 15, 2017 @ 18:29:19
  Author: jelle
Revision: 216469

upgpkg: python-cssutils 1.0.2-1

Modified:
  python-cssutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-03-15 18:26:41 UTC (rev 216468)
+++ PKGBUILD2017-03-15 18:29:19 UTC (rev 216469)
@@ -7,8 +7,8 @@
 
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
-pkgver=1.0.1
-pkgrel=2
+pkgver=1.0.2
+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}.tar.gz;)
-md5sums=('7fcdf2c3e9f053136af1990146eb361d')
+source=("https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz;)
+md5sums=('dc66d96c2d78f1687f59ac412fe9d318')
 
 build() {
   cd "${srcdir}"


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

2016-12-25 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 17:09:18
  Author: felixonmars
Revision: 202034

Python 3.6 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 17:08:41 UTC (rev 202033)
+++ PKGBUILD2016-12-25 17:09:18 UTC (rev 202034)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2015-10-19 Thread Jelle van der Waa
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
===
--- PKGBUILD2015-10-19 19:08:58 UTC (rev 144383)
+++ PKGBUILD2015-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
 }


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

2015-09-20 Thread Evangelos Foutras
Date: Sunday, September 20, 2015 @ 12:25:22
  Author: foutrelis
Revision: 141233

Python 3.5 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 10:24:49 UTC (rev 141232)
+++ PKGBUILD2015-09-20 10:25:22 UTC (rev 141233)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A CSS Cascading Style Sheets library for Python"
 arch=('any')
 url="http://cthedot.de/cssutils/;


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

2015-09-20 Thread Evangelos Foutras
Date: Sunday, September 20, 2015 @ 12:24:49
  Author: foutrelis
Revision: 141232

Add python2-mock to checkdepends

Modified:
  python-cssutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 10:15:56 UTC (rev 141231)
+++ PKGBUILD2015-09-20 10:24:49 UTC (rev 141232)
@@ -14,6 +14,9 @@
 url="http://cthedot.de/cssutils/;
 license=('LGPL3')
 makedepends=('python2-setuptools' 'python-setuptools')
+# 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')
 


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

2014-03-17 Thread Jelle van der Waa
Date: Monday, March 17, 2014 @ 15:44:51
  Author: jelle
Revision: 107479

upgpkg: python-cssutils 1.0-2

python3.4 rebuild

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-17 14:42:36 UTC (rev 107478)
+++ PKGBUILD2014-03-17 14:44:51 UTC (rev 107479)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;
@@ -38,7 +38,6 @@
 
   python2 setup.py install --root=${pkgdir}/ --optimize=1
 
-
   # Don't install tests (FS#27567)
   rm -rf ${pkgdir}/usr/lib/python2.7/site-packages/tests
 }



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

2013-12-17 Thread Jelle van der Waa
Date: Tuesday, December 17, 2013 @ 19:43:02
  Author: jelle
Revision: 102712

upgpkg: python-cssutils 1.0-1

Modified:
  python-cssutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-12-17 18:09:28 UTC (rev 102711)
+++ PKGBUILD2013-12-17 18:43:02 UTC (rev 102712)
@@ -7,8 +7,8 @@
 
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
-pkgver=0.9.10
-pkgrel=5
+pkgver=1.0
+pkgrel=1
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;
@@ -15,7 +15,7 @@
 license=('LGPL3')
 makedepends=('python2-setuptools' 'python-setuptools')
 
source=(http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.zip;)
-md5sums=('81b5c0294c54479a54548769eaa236f8')
+md5sums=('0c0b9df329ec1461c732d0f3cba05e93')
 
 build() {
   cd ${srcdir}
@@ -61,5 +61,5 @@
   cd ${srcdir}/cssutils-${pkgver}
   # Currently broken..
 #  python3 setup.py test
-#  python2 setup.py test
+  python2 setup.py test
 }



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

2013-12-08 Thread Jelle van der Waa
Date: Sunday, December 8, 2013 @ 17:18:57
  Author: jelle
Revision: 102324

upgpkg: python-cssutils 0.9.10-5

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-08 13:38:14 UTC (rev 102323)
+++ PKGBUILD2013-12-08 16:18:57 UTC (rev 102324)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=0.9.10
-pkgrel=4
+pkgrel=5
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;



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

2013-11-14 Thread Jelle van der Waa
Date: Thursday, November 14, 2013 @ 22:08:51
  Author: jelle
Revision: 101008

upgpkg: python-cssutils 0.9.10-2

fix FS#37006

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |   21 ++---
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-14 20:43:40 UTC (rev 101007)
+++ PKGBUILD2013-11-14 21:08:51 UTC (rev 101008)
@@ -22,6 +22,10 @@
 
   # Create python2 build dir
   cp -a cssutils-${pkgver} cssutils-py2-${pkgver}
+
+  # Use #!/usr/bin/python3 
+  cd cssutils-${pkgver}/src
+  find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env 
python/python3/' '{}' \;
 }
 
 package_python2-cssutils() {
@@ -50,16 +54,11 @@
 
   # Don't install tests (FS#27567)
   rm -rf ${pkgdir}/usr/lib/python3.3/site-packages/tests
+}
 
-  # Use #!/usr/bin/python3 
-  cd $pkgdir/usr/lib/python3.3/site-packages/cssutils
-  find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env 
python/python3/' '{}' \;
-
+check() {
+  cd ${srcdir}/cssutils-${pkgver}
+  # Currently broken..
+#  python3 setup.py test
+#  python2 setup.py test
 }
-
-#check() {
-#  cd ${srcdir}/cssutils-${pkgver}
-#  # Currently broken..
-##  python3 setup.py test
-##  python2 setup.py test
-#}



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

2013-11-14 Thread Jelle van der Waa
Date: Thursday, November 14, 2013 @ 22:17:23
  Author: jelle
Revision: 101013

upgpkg: python-cssutils 0.9.10-3

fix FS#37006

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-14 21:15:21 UTC (rev 101012)
+++ PKGBUILD2013-11-14 21:17:23 UTC (rev 101013)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=0.9.10
-pkgrel=2
+pkgrel=3
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;



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

2013-11-14 Thread Jelle van der Waa
Date: Thursday, November 14, 2013 @ 23:55:16
  Author: jelle
Revision: 101015

upgpkg: python-cssutils 0.9.10-4

fix shebang in prepare()

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-14 21:17:37 UTC (rev 101014)
+++ PKGBUILD2013-11-14 22:55:16 UTC (rev 101015)
@@ -8,7 +8,7 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=0.9.10
-pkgrel=3
+pkgrel=4
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;
@@ -26,6 +26,9 @@
   # Use #!/usr/bin/python3 
   cd cssutils-${pkgver}/src
   find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env 
python/python3/' '{}' \;
+
+  cd ${srcdir}/cssutils-py2-${pkgver}
+  find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i -e 
's:#!/usr/bin/env python:#!/usr/bin/env python2:g' '{}' \;
 }
 
 package_python2-cssutils() {
@@ -35,8 +38,6 @@
 
   python2 setup.py install --root=${pkgdir}/ --optimize=1
 
-  sed -i -e s:#!/usr/bin/env python:#!/usr/bin/env python2:g \
- $(find ${pkgdir} -name '*.py')
 
   # Don't install tests (FS#27567)
   rm -rf ${pkgdir}/usr/lib/python2.7/site-packages/tests



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

2013-08-19 Thread Ángel Velásquez
Date: Monday, August 19, 2013 @ 11:52:54
  Author: angvp
Revision: 95995

upgpkg: python-cssutils 0.9.10-2

Rebuild against setuptools

Modified:
  python-cssutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-08-19 09:47:57 UTC (rev 95994)
+++ PKGBUILD2013-08-19 09:52:54 UTC (rev 95995)
@@ -8,12 +8,12 @@
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
 pkgver=0.9.10
-pkgrel=1
+pkgrel=2
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;
 license=('LGPL3')
-makedepends=('python2-distribute' 'python-distribute')
+makedepends=('python2-setuptools' 'python-setuptools')
 
source=(http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.zip;)
 md5sums=('81b5c0294c54479a54548769eaa236f8')
 
@@ -57,9 +57,9 @@
 
 }
 
-check() {
-  cd ${srcdir}/cssutils-${pkgver}
-  # Currently broken..
-#  python3 setup.py test
-#  python2 setup.py test
-}
+#check() {
+#  cd ${srcdir}/cssutils-${pkgver}
+#  # Currently broken..
+##  python3 setup.py test
+##  python2 setup.py test
+#}



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

2013-05-06 Thread Jelle van der Waa
Date: Monday, May 6, 2013 @ 09:49:31
  Author: jelle
Revision: 89950

upgpkg: python-cssutils 0.9.10-1

Modified:
  python-cssutils/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-06 07:32:36 UTC (rev 89949)
+++ PKGBUILD2013-05-06 07:49:31 UTC (rev 89950)
@@ -7,15 +7,15 @@
 
 pkgbase=python-cssutils
 pkgname=('python2-cssutils' 'python-cssutils')
-pkgver=0.9.9
-pkgrel=3
+pkgver=0.9.10
+pkgrel=1
 pkgdesc=A CSS Cascading Style Sheets library for Python
 arch=('any')
 url=http://cthedot.de/cssutils/;
 license=('LGPL3')
 makedepends=('python2-distribute' 'python-distribute')
 
source=(http://pypi.python.org/packages/source/c/cssutils/cssutils-${pkgver}.zip;)
-md5sums=('5f8ea824cc0e0518b574da20e895be08')
+md5sums=('81b5c0294c54479a54548769eaa236f8')
 
 build() {
   cd ${srcdir}
@@ -60,5 +60,6 @@
 check() {
   cd ${srcdir}/cssutils-${pkgver}
   # Currently broken..
-  # python3 setup.py test
+#  python3 setup.py test
+#  python2 setup.py test
 }