Please bump. Seems to have py3* support and test fixes.
dev-python/rdflib-3.2.0 with support for Python 3 has been available in Progress Overlay since 2012-01-25.
====================================================================== ERROR: Failure: ImportError (No module named isodate) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/mnt/sdb1/build/portage/dev-python/rdflib-3.2.0/work/rdflib-3.2.0/rdflib/__init__.py", line 65, in <module> from rdflib.term import URIRef, BNode, Literal, Variable File "/mnt/sdb1/build/portage/dev-python/rdflib-3.2.0/work/rdflib-3.2.0/rdflib/term.py", line 49, in <module> from isodate import parse_time, parse_date, parse_datetime ImportError: No module named isodate ---------------------------------------------------------------------- Ran 45 tests in 0.029s FAILED (errors=45) * ERROR: dev-python/rdflib-3.2.0 failed (test phase): * Testing failed with CPython 2.7 in testing() function
Created attachment 305631 [details, diff] ebuild patch for rdflib-3.2.0.ebuild gentoo64 rdflib # USE_PYTHON="2.5 2.6 2.7 3.1 3.2 2.7-pypy-1.8 " ebuild rdflib-3.2.0.ebuild clean install running install_scripts >>> Completed installing rdflib-3.2.0 into /mnt/gen2/TmpDir/portage/dev-python/rdflib-3.2.0/image/ gentoo64 rdflib # USE_PYTHON="2.5 2.6 2.7" ebuild rdflib-3.2.0.ebuild clean test * Testing of dev-python/rdflib-3.2.0 with CPython 2.5... Ran 494 tests in 5.410s * Testing of dev-python/rdflib-3.2.0 with CPython 2.6... Ran 494 tests in 5.869s * Testing of dev-python/rdflib-3.2.0 with CPython 2.7... Ran 494 tests in 5.127s gentoo64 rdflib # USE_PYTHON="2.5 2.6 2.7" ebuild rdflib-3.2.0.ebuild install running install_scripts >>> Completed installing rdflib-3.2.0 into /mnt/gen2/TmpDir/portage/dev-python/rdflib-3.2.0/image/ There is likely some manouevour to get python3s to succeed in test; will need to ask the author from which this is based. This package has a new dep, a new ebuild in fact. RDEPEND="dev-python/isodate. See see also How is that for an update?
- distutils.eclass adds dependency on Python, so PYTHON_DEPEND="*:2.5" is not needed. - This package works with Jython. (Tests pass.) - Such a src_prepare() is useless.
Created attachment 305703 [details, diff] revised ebuild patch You didn't mention python3 in the tests. Should they work in this form? The python copy sources was a left over from making a testing() { }.
archtester rdflib # USE_PYTHON=3.2 ebuild rdflib-3.2.1.ebuild clean test * Testing of dev-python/rdflib-3.2.1 with CPython 3.2... version is 3.2 the PYTHONPATH is build-3.2/lib/ Running nose with: --attr= test rdflib --where=./ --with-doctest --doctest-extension=.doctest --doctest-tests EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE ====================================================================== ---------------------------------------------------------------------- ---------------------------------------------------------------------- Ran 52 tests in 0.040s FAILED (errors=52) * ERROR: dev-python/rdflib-3.2.1 failed (test phase): * Testing failed with CPython 3.2 in testing() function Perfect score
+*rdflib-3.2.1 (04 May 2012) + + 04 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +rdflib-3.2.1.ebuild: + Version bump, fixes #401657 by Justin Lecher <jlec@gentoo.org>. Thanks to Ian + Delaney <johneed@hotmail.com> for help