Please see this as a placeholder as it currently has issues: - add 3.x support (fixed) - minor change to MY_PN (fixed) - tests fail since sheets/* is missing from MANIFEST.in (talked to upstream) - <2.5 syntax bug (also communicated with upstream) So, I'll update the bug when upstream responds. Most likely when "0.9.8p4" arrives.
A newer version is available in Progress Overlay since r1431. 2.4 Python ABI has been restricted. Dependencies have been updated etc.
*** Bug 402551 has been marked as a duplicate of this bug. ***
Johan or John, can you check this out?
Created attachment 303871 [details, diff] ebuild patch for 0.7.7 copied to 0.9.9 Try this archtester cssutils # ebuild cssutils-0.9.9.ebuild clean test PYTHONPATH=build-2.7/lib nosetests --verbosity=1 ........................................................................................................................................................................................................................................................................................................................................................................... ---------------------------------------------------------------------- Ran 363 tests in 8.575s OK archtester cssutils # ebuild cssutils-0.9.9.ebuild merge >>> Original instance of package unmerged safely. * Compilation and optimization of Python modules for CPython 2.7 ... [ ok ] >>> dev-python/cssutils-0.9.9 merged.
<2.5 syntax bug (also communicated with upstream) Hmmmm. archtester cssutils # USE_PYTHON="2.5 2.6 2.7" ebuild cssutils-0.9.9.ebuild clean test merge Passed all the tests; then at the last moment >>> Original instance of package unmerged safely. * Compilation and optimization of Python modules for CPython 2.5 ... [ !! ] * Compiling /usr/lib64/python2.5/site-packages/cssutils/_codec3.py ... * File "/usr/lib64/python2.5/site-packages/cssutils/_codec3.py", line 67 * if c != b"xef"[0]: * ^ * SyntaxError: invalid syntax * Compilation and optimization of Python modules for CPython 2.6 ... [ ok ] * Compilation and optimization of Python modules for CPython 2.7 ... [ ok ] >>> dev-python/cssutils-0.9.9 merged.
Created attachment 303891 [details] cssutils-0.9.9.ebuild New ebuild. Fixes all around: - homepage - src_uri - desc - deps - python 3 support (don't run tests though) - remove _codec3.py installation for py2 since it will syntax error on py2.5 - add use=examples - sed upstream broken test (https://bitbucket.org/cthedot/cssutils/issue/8/test-failure)
archtester cssutils # USE_PYTHON="2.5 2.6 2.7 3.2" ebuild cssutils-0.9.9.ebuild clean test install * Generating '/usr/bin/csscapture' wrapper script * Generating '/usr/bin/csscombine' wrapper script * Generating '/usr/bin/cssparse' wrapper script >>> Completed installing cssutils-0.9.9 into /mnt/gen2/TmpDir/portage/dev-python/cssutils-0.9.9/image/ sweet success
+*cssutils-0.9.9 (02 Mar 2012) + + 02 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> +cssutils-0.9.9.ebuild: + Version bump to 0.9.9 for bug 381983 (thanks to Johan Bergstroem).