Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401657 - Version Bump dev-python/rdflib-3.2.1 now
Summary: Version Bump dev-python/rdflib-3.2.1 now
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/RDFLib/rdflib/issu...
Whiteboard:
Keywords:
Depends on: 408503
Blocks: 401771
  Show dependency tree
 
Reported: 2012-01-31 16:49 UTC by Justin Lecher (RETIRED)
Modified: 2012-05-04 15:53 UTC (History)
1 user (show)

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


Attachments
ebuild patch for rdflib-3.2.0.ebuild (rdflib.patch,1.44 KB, patch)
2012-03-16 15:06 UTC, Ian Delaney (RETIRED)
Details | Diff
revised ebuild patch (rdflib.patch,1.34 KB, patch)
2012-03-17 13:36 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-01-31 16:49:19 UTC
Please bump.
Seems to have py3* support and test fixes.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-01-31 17:56:19 UTC
dev-python/rdflib-3.2.0 with support for Python 3 has been available in Progress Overlay since 2012-01-25.
Comment 2 Patrick Lauer gentoo-dev 2012-03-09 09:16:38 UTC
======================================================================
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
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-03-16 15:06:21 UTC
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?
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-03-17 00:39:18 UTC
- 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.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2012-03-17 13:36:11 UTC
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() { }.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2012-05-04 15:01:14 UTC
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
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-04 15:53:13 UTC
+*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