diff options
author | Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> | 2010-07-03 18:52:45 +0200 |
---|---|---|
committer | Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> | 2010-07-03 18:52:45 +0200 |
commit | 6d75bbb0599de8459f6600ef1f71eabfd65e2a39 (patch) | |
tree | cbdeddb97ff00403eeb24d389b9def1cdef69743 /dev-python | |
parent | sci-mathematics/apron: QA fixes (diff) | |
download | sci-6d75bbb0599de8459f6600ef1f71eabfd65e2a39.tar.gz sci-6d75bbb0599de8459f6600ef1f71eabfd65e2a39.tar.bz2 sci-6d75bbb0599de8459f6600ef1f71eabfd65e2a39.zip |
[dev-python/pytables]: Tests fail only with hdf5[debug]. Removing patch.
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytables/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pytables/files/2.2-failingtests.patch | 122 | ||||
-rw-r--r-- | dev-python/pytables/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/pytables/pytables-2.2.ebuild | 4 |
4 files changed, 3 insertions, 129 deletions
diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index e020913db..48fcc5f2b 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,5 +1,4 @@ -AUX 2.2-failingtests.patch 5079 RMD160 e9aa39c960a0e72dc6fdd2904840e045efe420bf SHA1 73c6b62e780894fe24296eda6b1a06c1bef1c4c3 SHA256 97428513b51ae599e410fc4e00a2edb7cc2ce38d8121256a34ee1738bfde1cfe DIST tables-2.2.tar.gz 4700399 RMD160 6a15629c6d08131589e1825d1a237f2d5c887aab SHA1 1a1c3e01b99fb264ae5fce1fa2950c25e6dcb516 SHA256 ef84024e498b91cf973b4ff24b9cc3663ea67c52dacef8df80ee73aed467585b -EBUILD pytables-2.2.ebuild 1266 RMD160 e6c032ac8121eba94ec6a12385900b84b72eae37 SHA1 d1cfb728bcc6c92e8b22e276793531047fea83fb SHA256 275eff08133685004bd4432ba57a2e8569dbafd63a662e5b8d4eb5b01d755f9e +EBUILD pytables-2.2.ebuild 1200 RMD160 e85533fdd2de251ed733ab427ae3977a2b8acf9e SHA1 cd3ffd9312590263c0cdfce086dfab5594ed86d8 SHA256 7decffbb875b4548dd58dec3063b143c42353b48e043473ad8d45dbb44084e7b MISC ChangeLog 5814 RMD160 3dae86f796fb060d8e44711695d5bda484006bdf SHA1 4156c59b26a5316d3732b371ebb485ac3ac6cf3b SHA256 b5fe8e77bef945c27caeba550a78d2438627a1ce39404c351b44d2b64a267697 -MISC metadata.xml 612 RMD160 9d22d68fdb45ac4657d3eb763efa57768bf14264 SHA1 ea8e47129d3287e27ec0db1443527af7591470c2 SHA256 52c64e805b50f2888f7b68eb3a1ead40f0246d629a4a17b11507d8008d5351c5 +MISC metadata.xml 629 RMD160 5c05c6787d1cdeda8181001c446025917789fd0d SHA1 b04a4c72eaa5edc2bc26b1f5716ac6266e13f387 SHA256 d5196d1a19bd76fb2f2c9113f2aaf1aec359faca7aa432590af2868b41bca23a diff --git a/dev-python/pytables/files/2.2-failingtests.patch b/dev-python/pytables/files/2.2-failingtests.patch deleted file mode 100644 index b583cef52..000000000 --- a/dev-python/pytables/files/2.2-failingtests.patch +++ /dev/null @@ -1,122 +0,0 @@ ---- tables/tests/test_backcompat.py.orig 2010-07-02 13:59:42.746881737 +0200 -+++ tables/tests/test_backcompat.py 2010-07-02 13:59:56.632631876 +0200 -@@ -154,7 +154,7 @@ - lzo_avail = whichLibVersion("lzo") is not None - for n in range(niter): - theSuite.addTest(unittest.makeSuite(VLArrayTestCase)) -- theSuite.addTest(unittest.makeSuite(TimeTestCase)) -+ #theSuite.addTest(unittest.makeSuite(TimeTestCase)) - if lzo_avail: - theSuite.addTest(unittest.makeSuite(Table2_1LZO)) - theSuite.addTest(unittest.makeSuite(Tables_LZO1)) ---- tables/tests/test_hdf5compat.py.orig 2010-07-02 14:22:37.463881893 +0200 -+++ tables/tests/test_hdf5compat.py 2010-07-02 14:22:54.966914960 +0200 -@@ -337,9 +337,9 @@ - theSuite.addTest(unittest.makeSuite(I32BETestCase)) - theSuite.addTest(unittest.makeSuite(I32LETestCase)) - -- theSuite.addTest(unittest.makeSuite(ChunkedCompoundTestCase)) -- theSuite.addTest(unittest.makeSuite(ContiguousCompoundTestCase)) -- theSuite.addTest(unittest.makeSuite(ContiguousCompoundAppendTestCase)) -+ #theSuite.addTest(unittest.makeSuite(ChunkedCompoundTestCase)) -+ #theSuite.addTest(unittest.makeSuite(ContiguousCompoundTestCase)) -+ #theSuite.addTest(unittest.makeSuite(ContiguousCompoundAppendTestCase)) - - theSuite.addTest(unittest.makeSuite(ExtendibleTestCase)) - ---- tables/tests/test_basics.py.orig 2010-07-02 14:30:12.081631489 +0200 -+++ tables/tests/test_basics.py 2010-07-02 14:30:30.479882004 +0200 -@@ -1540,93 +1540,6 @@ - # Then, delete the file - os.remove(file) - -- def test04_openGenericHDF5File(self): -- """Checking opening of a generic HDF5 file""" -- -- # Open an existing generic HDF5 file -- fileh = openFile(self._testFilename("ex-noattr.h5"), mode="r") -- -- # Check for some objects inside -- -- # A group -- columns = fileh.getNode("/columns", classname="Group") -- assert columns._v_name == "columns" -- -- # An Array -- array_ = fileh.getNode(columns, "TDC", classname="Array") -- assert array_._v_name == "TDC" -- -- # (The new LRU code defers the appearance of a warning to this point). -- -- # Here comes an Array of H5T_ARRAY type -- ui = fileh.getNode(columns, "pressure", classname="Array") -- assert ui._v_name == "pressure" -- if common.verbose: -- print "Array object with type H5T_ARRAY -->",repr(ui) -- print "Array contents -->", ui[:] -- -- # A Table -- table = fileh.getNode("/detector", "table", classname="Table") -- assert table._v_name == "table" -- -- fileh.close() -- -- def test04b_UnImplementedOnLoading(self): -- """Checking failure loading resulting in an ``UnImplemented`` node""" -- -- ############### Note for developers ############################### -- # This test fails if you have the line: # -- # ##return childClass(self, childName) # uncomment for debugging # -- # uncommented in Group.py! # -- ################################################################### -- -- h5file = openFile(self._testFilename('smpl_unsupptype.h5')) -- try: -- node = self.assertWarns( -- UserWarning, h5file.getNode, '/CompoundChunked') -- self.assert_(isinstance(node, UnImplemented)) -- finally: -- h5file.close() -- -- def test05_copyUnimplemented(self): -- """Checking that an UnImplemented object cannot be copied""" -- -- # Open an existing generic HDF5 file -- fileh = openFile(self._testFilename("smpl_unsupptype.h5"), mode="r") -- ui = self.assertWarns( -- UserWarning, fileh.getNode, '/CompoundChunked') -- assert ui._v_name == 'CompoundChunked' -- if common.verbose: -- print "UnImplement object -->",repr(ui) -- -- # Check that it cannot be copied to another file -- file2 = tempfile.mktemp(".h5") -- fileh2 = openFile(file2, mode = "w") -- # Force the userwarning to issue an error -- warnings.filterwarnings("error", category=UserWarning) -- try: -- ui.copy(fileh2.root, "newui") -- except UserWarning: -- if common.verbose: -- (type, value, traceback) = sys.exc_info() -- print "\nGreat!, the next UserWarning was catched:" -- print value -- else: -- self.fail("expected an UserWarning") -- -- # Reset the warnings -- # Be careful with that, because this enables all the warnings -- # on the rest of the tests! -- #warnings.resetwarnings() -- # better use: -- warnings.filterwarnings("default", category=UserWarning) -- -- # Delete the new (empty) file -- fileh2.close() -- os.remove(file2) -- -- fileh.close() -- - # The next can be used to check the copy of Array objects with H5T_ARRAY - # in the future - def _test05_copyUnimplemented(self): diff --git a/dev-python/pytables/metadata.xml b/dev-python/pytables/metadata.xml index 363187bc3..a5f8a664d 100644 --- a/dev-python/pytables/metadata.xml +++ b/dev-python/pytables/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> +<herd>sci</herd> <longdescription lang='en'> PyTables is a hierarchical database package designed to efficently manage very large amounts of data. PyTables is built on top of the diff --git a/dev-python/pytables/pytables-2.2.ebuild b/dev-python/pytables/pytables-2.2.ebuild index 857378b36..e605432d1 100644 --- a/dev-python/pytables/pytables-2.2.ebuild +++ b/dev-python/pytables/pytables-2.2.ebuild @@ -33,10 +33,6 @@ S=${WORKDIR}/tables-${PV} DOCS="ANNOUNCE.txt MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS" -src_prepare() { - epatch "${FILESDIR}"/${PV}-failingtests.patch -} - src_install() { distutils_src_install |