diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-03-07 09:44:19 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-03-07 09:44:19 +0000 |
commit | 5629d315faec9e43605765385dadef5f05fc28b6 (patch) | |
tree | 59b2870b55d262c4accd8322d9827bef61f46cd4 /dev-python/h5py | |
parent | Mask old copies of sys-fs/lvm2 incompatible with stable udev. (diff) | |
download | historical-5629d315faec9e43605765385dadef5f05fc28b6.tar.gz historical-5629d315faec9e43605765385dadef5f05fc28b6.tar.bz2 historical-5629d315faec9e43605765385dadef5f05fc28b6.zip |
revbump; tests re-invoked, patch re locale issue filed upstream, fixes Bug #450892 by flameeyes
Package-Manager: portage-2.1.11.40/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/h5py')
-rw-r--r-- | dev-python/h5py/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/h5py/Manifest | 20 | ||||
-rw-r--r-- | dev-python/h5py/files/h5py-2.1-ucode.patch | 23 | ||||
-rw-r--r-- | dev-python/h5py/h5py-2.1.2-r1.ebuild | 43 |
4 files changed, 80 insertions, 15 deletions
diff --git a/dev-python/h5py/ChangeLog b/dev-python/h5py/ChangeLog index 3849074c4619..89c5b5cd22b5 100644 --- a/dev-python/h5py/ChangeLog +++ b/dev-python/h5py/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/h5py # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/ChangeLog,v 1.16 2013/02/28 10:06:41 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/ChangeLog,v 1.17 2013/03/07 09:43:56 idella4 Exp $ + +*h5py-2.1.2-r1 (07 Mar 2013) + + 07 Mar 2013; Ian Delaney <idella4@gentoo.org> +files/h5py-2.1-ucode.patch, + +h5py-2.1.2-r1.ebuild, h5py-2.1.2.ebuild: + revbump; tests re-invoked, patch re locale issue filed upstream, fixes Bug + #450892 by flameeyes 28 Feb 2013; Kacper Kowalik <xarthisius@gentoo.org> -h5py-2.1.0.ebuild, -h5py-2.1.1-r1.ebuild, -h5py-2.1.1.ebuild, h5py-2.1.2.ebuild: diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 43a748e5ec63..d7ab454dc3b1 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,24 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +AUX h5py-2.1-ucode.patch 1035 SHA256 f47582265a59d8aed30bffd7eafc467d884ef8fe9a1a609d5c23b4919c6e9514 SHA512 bca8f49e1fb738239ea629a01ea67838c3f509c9669de2a035390c22934b7b6623879eefe29548428f654c3500826cb1f2372fcd2ed5fa9bf46882ee373b54c3 WHIRLPOOL 6b2477caf5c813d8e9a98f62c8cd1b75f63c0006910ddbb31bbdba964dab8141e46de26f197ee7012ec1096b69026cbafc1f258f7388fea74f9f454ebd5e434f DIST h5py-2.1.2.tar.gz 985537 SHA256 26679852da555db57478b3c65f0ba3e60e2e6c642e6952481e5af85cf59ec5bd SHA512 15ca0209e8d8f172cb0708a2de946fbbde8551d9bebc4a95fa7ae31558457a7f43249d5289d7675490c577deb4e0153698fd2407644078bf30bd5ab10135fce3 WHIRLPOOL dd4bbb3f3ac8a6dd9fcf51b2de53fa1d575ff29a67c2c5b9d9a6cc07267f12c0e36d03db0e29e206306d550ae9f56c6e562b29def3d797f553165edc04a9a374 +EBUILD h5py-2.1.2-r1.ebuild 1139 SHA256 54cb8e4ce930573ea323a14c4002cd038e2711e2f3185e1cae256f7fc098ac13 SHA512 10ede5eeeecc8df8fb2cf6cc22c16acd3d0941e550ec3e6829138ccd4257474168fd16f296cee17a533ba339e5004c0ef743674faaba7397e6c1860d51838aca WHIRLPOOL c9476a819b0875eeb7fcdb67f39981a23988392e3e6cae857e706c31b5020d87d6e8e9f4c05e7adc8e56e614c6c35844a07309d2933dca530226336c4064af4a EBUILD h5py-2.1.2.ebuild 832 SHA256 c4ee318cc18354bf758f7b98c1db2d787a7ac5fde7948dddd53fd4645493913b SHA512 1274624d2d93182d4ea46bdafda09c893c70430d7451851400cbc0cd7d88a265a7b4808f3f726c107f4f34327ae87c999871100012401c0b73ed27ea3735dffa WHIRLPOOL fc5e27ac29ba530406016cd16374915b6381447a940f38f08316d3dd6e6d0ef84194134120fb0c43b5305a6cd2cc5012b043397ac0118e90a3161d1c55f571f1 -MISC ChangeLog 3326 SHA256 c7a9e47184a33938d1c4862df8a693a79487af64168cef686745e3a12745a861 SHA512 691ff908de201616a85dff8334216380eb2a501459ae6ecb498320642b05096fd617ecb32583cc7b0240a5d9dc3d2ed642b98f74eed44807933bfd40572821e9 WHIRLPOOL 447c378b380228527d3b95146120fb688410159efb1f4488280078f85b8fa7f88d5bb1113684012e00b1d160c03deef1b14b4c9f201f9532e0146a18bbf8c73c +MISC ChangeLog 3575 SHA256 34f923e3a41d9c4d6d9561c585eee835b4bd9ae281f21c4b1d9840098fa3c5ee SHA512 7a703baa68c161e1aab592275613b69214e9290754cf2fe7d2114fe27f39ae473e07673c2a26f562f2dcf6056844ca5d9643e08c519219e4c92c768cd6844aba WHIRLPOOL b5ece2abb6add96ffea01a6af622e49032bca21958362c495f1a34842810e17bbe458cabf37652469da9d02f159400051a285ca25b6a7c903a527b60c7065d95 MISC metadata.xml 782 SHA256 948a16755d0917c8b271cc609023918c395b001f73a8f5e4336f2cc305559b5e SHA512 e6835620c77db69b0d18b54cc3fd004b0c9f18f3b153c3a35c2551b3381ea012c3cc3ac03b0642fa1b6033b3c9b4d50dbda31aa85eca1c80e1bd97f66e8b02cd WHIRLPOOL affd7db591bf0430ac2260b716e0b84b1c19c81d1f5ca3f8630662ee67d23dcf8537c9b9fd010f30cf549ca7eec357cbbfd4c5d5077706cff2df3e67102bf00d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJRLyxFAAoJEF0huFKJUZL5TGEQAJtM3EUoaho1RABWfWG7h70q -DW/XMO86Z67ENfJT5eKVk+ugGk/6Xx7rURyTA2zipnah9OqXn5Gz2KLp2wRlvezX -RAMHO+sl5NGrVoEfNtEdHIw8MoG0DAbIuHwJWTgyEZzLhndgQyxmlaseCp62PwEr -znBxs8btmLFDkB8bmIO6m7wGO5VZRTYyQ8tCrf/1+AyQzX/jpQxMRWkZ9HDYaFbX -DY5+3ft2i+z1g0B5uN2ThQZTLs3+APQQEaYeYqLevcsWMAcRX5OHBDRcC8Wv+xGw -IOu00hHy4tBSYqjEu9fVqlAHYsDSuokK9kCUIonV9xzffPWxJ4cpnrexxV2Y/LU/ -YDzPNoW6lqbvlZIj1Gi8pecDpkfK8AoNjUqrCR1goQD9I6ecYILu6oJNET4AGogu -92E2uR+Hvk0HQrUoNBz7uFHu7hL1362gUJBXd26ljsXkv/jmuJhCa6UURzsLlmYZ -XNCAHKauAVqmz5x3bHeEhpJjU4X26xxm5AqNKAQN5rdtmlAmLjsj50hipmsFAINc -+0ckVr+0xsYS8R9HY7CUZdtpaIPNOSuHwFUBTGAe9XvDmK2GPe+fLGEHmDRIA2wH -4oQKVLBZkxWZeTkRCOGj89jmQ/B5v6wIXYw7pysqlyB5w5f3ODun2DiUwZo6JEIE -FpCEejBtJlMODs59AkHb -=jq8W +iEYEAREIAAYFAlE4YWkACgkQso7CE7gHKw0T6ACfcjQNrjD7Bs+LrAHtw1Nws/mh +hVsAn111367P3qemJ+9ikKNtxgbBC/SO +=hd4R -----END PGP SIGNATURE----- diff --git a/dev-python/h5py/files/h5py-2.1-ucode.patch b/dev-python/h5py/files/h5py-2.1-ucode.patch new file mode 100644 index 000000000000..5bc1a2f620f4 --- /dev/null +++ b/dev-python/h5py/files/h5py-2.1-ucode.patch @@ -0,0 +1,23 @@ +See https://github.com/h5py/h5py/issues/263 +diff -ur h5py-2.1.2.orig/h5py/_hl/tests/test_base.py h5py-2.1.2/h5py/_hl/tests/test_base.py +--- h5py/_hl/tests/test_base.py 2013-02-07 23:40:26.000000000 +0800 ++++ h5py/_hl/tests/test_base.py 2013-03-07 16:35:25.774142098 +0800 +@@ -62,6 +62,7 @@ + typ = self.f['type'] + self._check_type(typ) + ++ @unittest.skipUnless(sys.getfilesystemencoding() == 'UTF-8', "only passes for locale utf-8") + def test_file(self): + """ File object repr() with unicode """ + fname = tempfile.mktemp(self.USTRING+u'.hdf5') +diff -ur h5py-2.1.2.orig/h5py/_hl/tests/test_file.py h5py-2.1.2/h5py/_hl/tests/test_file.py +--- h5py/_hl/tests/test_file.py 2013-02-07 23:40:26.000000000 +0800 ++++ h5py/_hl/tests/test_file.py 2013-03-07 16:34:59.006143430 +0800 +@@ -323,6 +323,7 @@ + self.assertTrue(fid) + self.assertTrue(not fid) + ++@unittest.skipUnless(sys.getfilesystemencoding() == 'UTF-8', "only passes for locale utf-8") + class TestUnicode(TestCase): + + """ diff --git a/dev-python/h5py/h5py-2.1.2-r1.ebuild b/dev-python/h5py/h5py-2.1.2-r1.ebuild new file mode 100644 index 000000000000..98f3ebb80624 --- /dev/null +++ b/dev-python/h5py/h5py-2.1.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/h5py/h5py-2.1.2-r1.ebuild,v 1.1 2013/03/07 09:43:56 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 flag-o-matic eutils + +DESCRIPTION="A simple Python interface to HDF5 files" +HOMEPAGE="http://h5py.alfven.org/ http://code.google.com/p/h5py/ http://pypi.python.org/pypi/h5py" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test examples" + +RDEPEND=" + sci-libs/hdf5:= + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )" + +python_prepare_all() { + append-cflags -fno-strict-aliasing + epatch "${FILESDIR}"/${PN}-2.1-ucode.patch +} + +python_test() { + cd "${BUILD_DIR}"/lib/ && nosetests ./${PN}/lowtest || die +} + +python_install_all() { + dodoc README.txt + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |