summaryrefslogtreecommitdiff
blob: e56da1b9e400b3de25fdc45cf38cb4e65648a856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-zope/zopeinterface/zopeinterface-3.0.0.ebuild,v 1.3 2005/02/17 14:27:06 radek Exp $

inherit distutils

MY_PN="ZopeInterface"

DESCRIPTION="Standalone Zope interface library"
HOMEPAGE="http://zope.org/Products/ZopeInterface"
SRC_URI="http://www.zope.org/Products/${MY_PN}/${PV}/${MY_PN}-${PV}.tgz"
LICENSE="ZPL"

SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND="=dev-lang/python-2.3*"

S="${WORKDIR}/${MY_PN}-${PV}"

src_install() {

	distutils_src_install

	if use doc ; then
		cp -a $MY_PN ${D}/usr/share/doc/${PF}/
	fi
}

pkg_postinst() {

	distutils_pkg_postinst
}