+++ /dev/null
---- 7zip/LzmaCompatDecode.h.orig Thu Dec 28 06:27:50 2006
-+++ 7zip/LzmaCompatDecode.h Thu Dec 28 06:27:56 2006
-@@ -39,10 +39,6 @@
- # define LZMACALL
- #endif
-
--#ifndef malloc
--#include <malloc.h>
--#endif
--
- #ifndef UInt32
- #ifdef _LZMA_UINT32_IS_ULONG
- #define UInt32 unsigned long
+++ /dev/null
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylzma/pylzma-0.3.0.ebuild,v 1.1 2009/04/23 21:33:35 patrick Exp $
-
-NEED_PYTHON=2.4
-
-inherit distutils eutils
-
-DESCRIPTION="Python bindings for the LZMA compression library."
-HOMEPAGE="http://www.joachim-bauch.de/projects/python/pylzma/"
-SRC_URI="http://www.joachim-bauch.de/projects/python/${PN}/releases/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-# fails horribly on amd64 at the moment.
-KEYWORDS="-amd64 ~x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-DOCS="doc/usage.txt readme.txt"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- use x86-fbsd && epatch "${FILESDIR}/${P}-fbsd.patch"
-}
-
-src_test() {
- einfo "Testing 7zfiles"
- export PYTHONPATH="$(ls -d build/lib.*)"
- "${python}" tests/test_7zfiles.py || die "7zfiles test failed"
- einfo "Testing compatibility"
- "${python}" tests/test_compatibility.py || die "Compatibility test failed"
- einfo "Testing pylzma"
- "${python}" tests/test_pylzma.py || die "pylzma test failed"
- einfo "Testing usage"
- "${python}" tests/test_usage.py || die "usage test failed"
-}