Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pylzma: metadata.xml ChangeLog pylzma-0.3.0.ebuild
Date: Thu, 23 Apr 2009 21:33:40
Message-Id: E1Lx6Y3-0002ev-Ir@stork.gentoo.org
1 patrick 09/04/23 21:33:35
2
3 Added: metadata.xml ChangeLog pylzma-0.3.0.ebuild
4 Log:
5 Initial import from sunrise overlay. Fixes #166953
6 (Portage version: 2.2_rc31/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-python/pylzma/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>maintainer-wanted</herd>
20 </pkgmetadata>
21
22
23
24 1.1 dev-python/pylzma/ChangeLog
25
26 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/ChangeLog?rev=1.1&view=markup
27 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/ChangeLog?rev=1.1&content-type=text/plain
28
29 Index: ChangeLog
30 ===================================================================
31 # ChangeLog for dev-python/pylzma
32 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
33 # $Header: /var/cvsroot/gentoo-x86/dev-python/pylzma/ChangeLog,v 1.1 2009/04/23 21:33:35 patrick Exp $
34
35 *pylzma-0.3.0 (23 Apr 2009)
36
37 23 Apr 2009; Patrick Lauer <patrick@g.o>
38 +files/pylzma-0.3.0-fbsd.patch, +metadata.xml, +pylzma-0.3.0.ebuild:
39 Initial import from sunrise overlay. Fixes #166953
40
41 10 Apr 2007; Ali Polatel (hawking) <polatel@×××××.com>
42 pylzma-0.3.0.ebuild, +files/pylzma-0.3.0-fbsd.patch:
43 Add freebsd patch and ~x86-fbsd keyword
44
45 16 Feb 2007; Tiziano Müller <dev-zero@g.o> pylzma-0.3.0.ebuild:
46 Corrected python dependency. Fixed tests.
47
48 16 Feb 2007; Christian Faulhammer <opfer@g.o> pylzma-0.3.0.ebuild:
49 don't depend on base packages: removed python from DEPEND
50
51 15 Feb 2007; Ali Polatel (hawking) <polatel@×××××××××.com>
52 +pylzma-0.3.0.ebuild, +metadata.xml:
53 New ebuild for bug 166953 thanks to pigfoot
54
55
56
57
58 1.1 dev-python/pylzma/pylzma-0.3.0.ebuild
59
60 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/pylzma-0.3.0.ebuild?rev=1.1&view=markup
61 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pylzma/pylzma-0.3.0.ebuild?rev=1.1&content-type=text/plain
62
63 Index: pylzma-0.3.0.ebuild
64 ===================================================================
65 # Copyright 1999-2009 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 # $Header: /var/cvsroot/gentoo-x86/dev-python/pylzma/pylzma-0.3.0.ebuild,v 1.1 2009/04/23 21:33:35 patrick Exp $
68
69 NEED_PYTHON=2.4
70
71 inherit distutils eutils
72
73 DESCRIPTION="Python bindings for the LZMA compression library."
74 HOMEPAGE="http://www.joachim-bauch.de/projects/python/pylzma/"
75 SRC_URI="http://www.joachim-bauch.de/projects/python/${PN}/releases/${P}.tar.gz"
76
77 LICENSE="LGPL-2.1"
78 SLOT="0"
79 # fails horribly on amd64 at the moment.
80 KEYWORDS="-amd64 ~x86 ~x86-fbsd"
81 IUSE=""
82
83 DEPEND=""
84 RDEPEND=""
85
86 DOCS="doc/usage.txt readme.txt"
87
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91
92 use x86-fbsd && epatch "${FILESDIR}/${P}-fbsd.patch"
93 }
94
95 src_test() {
96 einfo "Testing 7zfiles"
97 export PYTHONPATH="$(ls -d build/lib.*)"
98 "${python}" tests/test_7zfiles.py || die "7zfiles test failed"
99 einfo "Testing compatibility"
100 "${python}" tests/test_compatibility.py || die "Compatibility test failed"
101 einfo "Testing pylzma"
102 "${python}" tests/test_pylzma.py || die "pylzma test failed"
103 einfo "Testing usage"
104 "${python}" tests/test_usage.py || die "usage test failed"
105 }