adding for portato
git-svn-id: http://svn.sabayonlinux.org/overlay@1478 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-1.0.2.ebuild,v 1.6 2007/07/08 07:39:58 hawking Exp $
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="lxml is a Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://codespeak.net/lxml/"
|
||||
SRC_URI="http://codespeak.net/lxml/${P}.tgz"
|
||||
|
||||
LICENSE="BSD GPL-2 as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ia64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libxml2-2.6.16
|
||||
>=dev-libs/libxslt-1.1.12
|
||||
>=dev-python/pyrex-0.9.3
|
||||
virtual/python"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PN}-1.0-distutils.diff"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
dohtml doc/html/*
|
||||
|
||||
dodoc *.txt
|
||||
docinto doc
|
||||
dodoc doc/*.txt
|
||||
docinto doc/licenses
|
||||
dodoc doc/licenses/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
}
|
||||
Reference in New Issue
Block a user