Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381983 - dev-python/cssutils-0.9.9 version bump request
Summary: dev-python/cssutils-0.9.9 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 402551 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-05 21:25 UTC by Johan Bergström
Modified: 2012-03-02 08:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch for 0.7.7 copied to 0.9.9 (cssutils.patch,708 bytes, patch)
2012-03-01 20:31 UTC, Ian Delaney (RETIRED)
Details | Diff
cssutils-0.9.9.ebuild (cssutils-0.9.9.ebuild,1.47 KB, text/plain)
2012-03-01 22:04 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2011-09-05 21:25:54 UTC
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.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2011-12-12 05:38:54 UTC
A newer version is available in Progress Overlay since r1431.
2.4 Python ABI has been restricted. Dependencies have been updated etc.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-03-01 09:22:41 UTC
*** Bug 402551 has been marked as a duplicate of this bug. ***
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-03-01 15:10:43 UTC
Johan or John, can you check this out?
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-03-01 20:31:22 UTC
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.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-03-01 20:59:07 UTC
<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.
Comment 6 Johan Bergström 2012-03-01 22:04:04 UTC
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)
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2012-03-01 22:28:58 UTC
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
Comment 8 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-03-02 08:32:07 UTC
+*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).