/[gentoo-x86]/dev-python/celementtree/celementtree-1.0.5.ebuild
Gentoo

Contents of /dev-python/celementtree/celementtree-1.0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Jul 3 06:56:14 2007 UTC (11 years, 2 months ago) by hawking
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Drop old
(Portage version: 2.1.3_rc6)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/celementtree/celementtree-1.0.5.ebuild,v 1.6 2007/01/18 23:39:03 lucass Exp $
4
5 inherit distutils
6
7 MY_P="cElementTree-${PV}-20051216"
8 DESCRIPTION="The cElementTree module is a C implementation of the ElementTree API"
9 HOMEPAGE="http://effbot.org/zone/celementtree.htm"
10 SRC_URI="http://effbot.org/downloads/${MY_P}.tar.gz"
11
12 LICENSE="ElementTree"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
15
16 IUSE="doc"
17 DEPEND=">=dev-lang/python-2.1.3-r1
18 >=dev-python/elementtree-1.2"
19 S="${WORKDIR}/${MY_P}"
20
21 src_install() {
22 distutils_src_install
23 if use doc; then
24 insinto /usr/share/doc/${PF}/samples
25 doins samples/*
26 doins selftest.py
27 fi
28 }
29
30 src_test() {
31 "${python}" setup.py install --home="${T}/test" || die "test copy failed"
32 PYTHONPATH="${T}/test/lib/python" \
33 "${python}" selftest.py || die "selftest.py failed"
34 rm -rf "${T}/test"
35 }

  ViewVC Help
Powered by ViewVC 1.1.20