blob: f1db842db18e825da3ea22a7716e6eb912229509 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-zope/issuetrackerproduct/issuetrackerproduct-0.11.0.ebuild,v 1.2 2011/01/20 13:58:08 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
inherit python
MY_PN="IssueTrackerProduct"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A user-friendly issue tracker web application for Zope"
HOMEPAGE="http://www.issuetrackerproduct.com/"
SRC_URI="http://www.issuetrackerproduct.com/Download/${MY_P}.tgz"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/simplejson
dev-python/stripogram
net-zope/accesscontrol
net-zope/acquisition
net-zope/datetime
net-zope/persistence
net-zope/zcatalog
net-zope/zexceptions
net-zope/zlog
net-zope/zodb
>=net-zope/zope-2.12
net-zope/zope-contenttype
net-zope/zope-structuredtext"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
src_install() {
installation() {
insinto $(python_get_sitedir)/Products/${MY_PN}
doins -r *
}
python_execute_function installation
dodoc CHANGES.txt README.txt TODO.txt || die "dodoc failed"
}
pkg_postinst() {
python_mod_optimize -x /www/ Products/${MY_PN}
}
pkg_postrm() {
python_mod_cleanup Products/${MY_PN}
}
|