Line | |
---|
1 | # Copyright 1999-2010 Gentoo Foundation |
---|
2 | # Distributed under the terms of the GNU General Public License v2 |
---|
3 | # $Header: /var/cvsroot/gentoo-x86/www-apps/trac-webadmin/trac-webadmin-0.1.2.ebuild,v 1.4 2007/02/13 20:39:33 corsair Exp $ |
---|
4 | |
---|
5 | inherit distutils subversion |
---|
6 | |
---|
7 | ESVN_REPO_URI="http://trac-hacks.org/svn/crystalxtheme/0.11" |
---|
8 | DESCRIPTION="A theme for Trac based on http://www.oswd.org/design/preview/id/3465." |
---|
9 | HOMEPAGE="http://trac-hacks.org/wiki/CrystalxTheme" |
---|
10 | # SRC_URI="mirror://gentoo/${P}.tar.bz2" |
---|
11 | |
---|
12 | LICENSE="trac" |
---|
13 | KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
---|
14 | IUSE="" |
---|
15 | |
---|
16 | SLOT="0" |
---|
17 | |
---|
18 | DEPEND=">=www-apps/trac-0.10 |
---|
19 | >=www-apps/trac-themeengine-2.0 |
---|
20 | >=dev-python/setuptools-0.6_rc1" |
---|
21 | |
---|
22 | # from marienz's setuptools.eclass: |
---|
23 | src_install() { |
---|
24 | "${python}" setup.py install --root=${D} --no-compile \ |
---|
25 | --single-version-externally-managed "$@" || die "install failed" |
---|
26 | } |
---|
27 | |
---|
28 | src_test() { |
---|
29 | "${python}" setup.py test || die "tests failed" |
---|
30 | } |
---|
31 | |
---|
32 | pkg_postinst() { |
---|
33 | elog "To enable the IntraBlog template, you have to add:" |
---|
34 | elog " [components]" |
---|
35 | elog " crystalxtheme.* = enabled" |
---|
36 | elog |
---|
37 | elog " [theme]" |
---|
38 | elog " theme = CrystalX" |
---|
39 | elog "to your trac.ini files." |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.