Lines 1-13
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/4suite-1.0_beta3.ebuild,v 1.10 2006/10/20 20:33:40 kloeri Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit distutils eutils python multilib |
5 |
inherit distutils eutils python multilib |
6 |
|
6 |
|
7 |
MY_PV=${PV/_beta/b} |
7 |
S=${WORKDIR}/4Suite-XML-${PV} |
8 |
S=${WORKDIR}/4Suite-${MY_PV} |
|
|
9 |
DESCRIPTION="Python tools for XML processing and object-databases." |
8 |
DESCRIPTION="Python tools for XML processing and object-databases." |
10 |
SRC_URI="ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-${MY_PV}.tar.gz" |
9 |
SRC_URI="ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-${PV}.tar.gz" |
11 |
HOMEPAGE="http://www.4suite.org/" |
10 |
HOMEPAGE="http://www.4suite.org/" |
12 |
|
11 |
|
13 |
DEPEND=">=dev-lang/python-2.3 |
12 |
DEPEND=">=dev-lang/python-2.3 |
Lines 15-21
Link Here
|
15 |
|
14 |
|
16 |
IUSE="doc" |
15 |
IUSE="doc" |
17 |
SLOT="0" |
16 |
SLOT="0" |
18 |
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" |
17 |
KEYWORDS="~x86" |
19 |
LICENSE="Apache-1.1" |
18 |
LICENSE="Apache-1.1" |
20 |
|
19 |
|
21 |
PYTHON_MODNAME="Ft" |
20 |
PYTHON_MODNAME="Ft" |
Lines 25-39
Link Here
|
25 |
unpack ${A} |
24 |
unpack ${A} |
26 |
cd ${S} |
25 |
cd ${S} |
27 |
|
26 |
|
28 |
epatch ${FILESDIR}/1.0_b3-add_root_opt.diff |
27 |
epatch ${FILESDIR}/${PV}-add-root-opt.patch |
29 |
python_version |
28 |
python_version |
30 |
python setup.py config --prefix=/usr --docdir=/usr/share/doc/${P} --pythonlibbdir=/usr/$(get_libdir)/python${PYVER}/site-packages --libdir=/usr/$(get_libdir)/4Suite |
29 |
python setup.py config --prefix=/usr --docdir=/usr/share/doc/${P} --pythonlibdir=/usr/$(get_libdir)/python${PYVER}/site-packages --libdir=/usr/$(get_libdir)/4Suite |
31 |
} |
30 |
} |
32 |
|
31 |
|
33 |
src_install() { |
32 |
src_install() { |
34 |
if use doc; then |
33 |
distutils_src_install $(use_with doc docs) |
35 |
distutils_src_install --with-docs |
|
|
36 |
else |
37 |
distutils_src_install |
38 |
fi |
39 |
} |
34 |
} |