diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-05-26 07:35:31 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-05-26 07:35:31 +0000 |
commit | 38a38907443dbf78f62131d674470793d3c481d1 (patch) | |
tree | 03f03d39286340c8f83963af392c02d89e5d0784 /dev-python | |
parent | Missing dependency for documentation. Bug #320855 (diff) | |
download | historical-38a38907443dbf78f62131d674470793d3c481d1.tar.gz historical-38a38907443dbf78f62131d674470793d3c481d1.tar.bz2 historical-38a38907443dbf78f62131d674470793d3c481d1.zip |
imported from sunrise
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pyvtk/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/pyvtk/Manifest | 15 | ||||
-rw-r--r-- | dev-python/pyvtk/files/pyvtk-0.4.74.patch | 20 | ||||
-rw-r--r-- | dev-python/pyvtk/metadata.xml | 6 | ||||
-rw-r--r-- | dev-python/pyvtk/pyvtk-0.4.74.ebuild | 30 |
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/pyvtk/ChangeLog b/dev-python/pyvtk/ChangeLog new file mode 100644 index 000000000000..9b41ac30a413 --- /dev/null +++ b/dev-python/pyvtk/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/pyvtk +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvtk/ChangeLog,v 1.1 2010/05/26 07:35:31 jlec Exp $ + +*pyvtk-0.4.74 (26 May 2010) + + 26 May 2010; Justin Lecher <jlec@gentoo.org> +pyvtk-0.4.74.ebuild, + +files/pyvtk-0.4.74.patch, +metadata.xml: + Imported from sunrise + + diff --git a/dev-python/pyvtk/Manifest b/dev-python/pyvtk/Manifest new file mode 100644 index 000000000000..d6d1c04372fa --- /dev/null +++ b/dev-python/pyvtk/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pyvtk-0.4.74.patch 972 RMD160 e74d1c361c6b41a98dfec5441347fc7a661abbf2 SHA1 107e7143fa5eefc2cee0c6e6504769c90d816758 SHA256 34a197ba98c8d88e704526f435c57915acde17557542ade76a99fa280ce85116 +DIST PyVTK-0.4.74.tar.gz 25700 RMD160 3c3642cbb83243bac721dbaffa191fe6582a8cf3 SHA1 672e55192ee7c4ec6e2e7616ac155bf08856877b SHA256 a34cc4660a85f4828bedf28ff2b4c95baad98fc8f79e2647c59b5ea66c9250c7 +EBUILD pyvtk-0.4.74.ebuild 671 RMD160 e6342f8902ad279997dbaf9989567067da4c8a58 SHA1 1586e43a6554640143a55f5e442504e119fd198b SHA256 9b33b466d5d2dab69d5faa54e854c2d4f851c63156c6e4cfa30307f0fb45d419 +MISC ChangeLog 371 RMD160 c1e22c42ff1fd66538c96215a700d0d2fe3fa236 SHA1 36aef60b959ef21d605c8daeb27619e432eee11c SHA256 3e4066b28d9c1b397d003a4454703ff54daf3b6fea443fa720f9403355a58ea6 +MISC metadata.xml 212 RMD160 821967849e82eb7da00173fa282eaf5f52715559 SHA1 b9ea6b5628ffcf438269a89c08b73186e6875390 SHA256 509ca9b4863734d98cb9d1bfe375c56a4d6225151ff8d0b95e9c05497a1e609a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAkv8z0gACgkQgAnW8HDreRaOFwCeI0x9CFsv2F75BPeeFEvc+eLB +lSkAoKbS9eIIvE8Y2mgLSP5+bGnbwMgR +=Zspx +-----END PGP SIGNATURE----- diff --git a/dev-python/pyvtk/files/pyvtk-0.4.74.patch b/dev-python/pyvtk/files/pyvtk-0.4.74.patch new file mode 100644 index 000000000000..651c1f5ec37c --- /dev/null +++ b/dev-python/pyvtk/files/pyvtk-0.4.74.patch @@ -0,0 +1,20 @@ +--- PyVTK-0.4.74/lib/__init__.py 2003-04-07 16:56:08.000000000 +0200 ++++ PyVTK-0.4.74/lib/__init__.py 2008-12-03 18:08:35.000000000 +0100 +@@ -202,7 +202,7 @@ + #print 'Reading file',`filename` + f = open(filename,'rb') + l = f.readline() +- if not l.strip().replace(' ','').lower() == '#vtkdatafileversion2.0': ++ if not l.strip()[-3:] == '1.0' and not l.strip()[-3:] == '2.0' and not l.strip()[-3:] == '3.0': + raise TypeError, 'File '+`filename`+' is not VTK 2.0 format' + self.header = f.readline().rstrip() + format = f.readline().strip().lower() +@@ -222,7 +222,7 @@ + for i in range(2): + if only_structure: break + if not l: break +- l = [s.strip() for s in l.lower().split(' ')] ++ l = [s.strip() for s in l.lower().split()] + assert len(l)==2 and l[0] in ['cell_data','point_data'], l[0] + data = l[0] + n = eval(l[1]) diff --git a/dev-python/pyvtk/metadata.xml b/dev-python/pyvtk/metadata.xml new file mode 100644 index 000000000000..2090bf3be2f6 --- /dev/null +++ b/dev-python/pyvtk/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer><email>jlec@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-python/pyvtk/pyvtk-0.4.74.ebuild b/dev-python/pyvtk/pyvtk-0.4.74.ebuild new file mode 100644 index 000000000000..0f3a43ab45ec --- /dev/null +++ b/dev-python/pyvtk/pyvtk-0.4.74.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyvtk/pyvtk-0.4.74.ebuild,v 1.1 2010/05/26 07:35:31 jlec Exp $ + +EAPI="2" + +PYTHON_DEPEND="*" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +MY_P=PyVTK-${PV} + +DESCRIPTION="Tools for manipulating VTK files in Python" +HOMEPAGE="http://cens.ioc.ee/projects/pyvtk/" +SRC_URI="http://cens.ioc.ee/projects/pyvtk/rel-0.x/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +S="${WORKDIR}"/${MY_P} + +RESTRICT_PYTHON_ABIS="3.*" + +src_prepare() { + epatch "${FILESDIR}"/${P}.patch + distutils_src_prepare +} |