/[gentoo-x86]/dev-python/4suite/4suite-1.0.2.ebuild
Gentoo

Contents of /dev-python/4suite/4suite-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Apr 17 20:52:20 2008 UTC (12 years, 3 months ago) by pythonhead
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fixes bug #217780 and added patch to fix catalog warnings and errors. Quote variables.
(Portage version: 2.1.5_rc4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/4suite/4suite-1.0.2.ebuild,v 1.2 2008/02/23 17:10:53 dev-zero Exp $
4
5 inherit distutils eutils multilib
6
7 MY_P=4Suite-XML-${PV}
8
9 DESCRIPTION="Python tools for XML processing and object-databases."
10 SRC_URI="mirror://sourceforge/foursuite/${MY_P}.tar.bz2"
11 HOMEPAGE="http://www.4suite.org/"
12 LICENSE="Apache-1.1"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="doc"
16
17 DEPEND=">=dev-python/pyxml-0.8.4"
18 RDEPEND="${DEPEND}"
19
20 PYTHON_MODNAME="Ft"
21 DOCS="docs/*.txt"
22
23 S=${WORKDIR}/${MY_P}
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 epatch "${FILESDIR}/${P}-amd64_python2.5.patch"
29 }
30
31 src_compile() {
32 if ! use doc ; then
33 sed -i -e "/'build_docs'/d" \
34 Ft/Lib/DistExt/Build.py || die "sed failed"
35 fi
36 distutils_python_version
37 "${python}" setup.py config \
38 --prefix=/usr \
39 --docdir=/usr/share/doc/${PF} \
40 --libdir=/usr/$(get_libdir)/4Suite || die "setup.py config failed"
41
42 distutils_src_compile
43 }
44
45 src_install() {
46 distutils_src_install \
47 $(use_with doc docs) \
48 --install-lib="/usr/$(get_libdir)/4Suite"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20