From 9ea03a495c1e0cbca4bf7bc0d214c33312df71a8 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 18 Aug 2007 13:52:46 +0000 Subject: [PATCH] add Consultant trac theme git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@166 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-consultanttheme/Manifest | 7 ++++ .../files/digest-trac-consultanttheme-1.0 | 0 .../trac-consultanttheme-1.0.ebuild | 40 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 www-apps/trac-consultanttheme/Manifest create mode 100644 www-apps/trac-consultanttheme/files/digest-trac-consultanttheme-1.0 create mode 100644 www-apps/trac-consultanttheme/trac-consultanttheme-1.0.ebuild diff --git a/www-apps/trac-consultanttheme/Manifest b/www-apps/trac-consultanttheme/Manifest new file mode 100644 index 00000000..8b72dac4 --- /dev/null +++ b/www-apps/trac-consultanttheme/Manifest @@ -0,0 +1,7 @@ +EBUILD trac-consultanttheme-1.0.ebuild 1138 RMD160 6bc8b3e2c905d5fa1f53aeef20822530c8f3ccde SHA1 862bbda7adc4a378597b66b9df10a0567cf99c8a SHA256 eb867cb2eaeebf0a6bc2c841012682b8401c885a0a04f860f11a06b1de3a87c3 +MD5 65112c5a4c51ff817928ad2ba7d57fca trac-consultanttheme-1.0.ebuild 1138 +RMD160 6bc8b3e2c905d5fa1f53aeef20822530c8f3ccde trac-consultanttheme-1.0.ebuild 1138 +SHA256 eb867cb2eaeebf0a6bc2c841012682b8401c885a0a04f860f11a06b1de3a87c3 trac-consultanttheme-1.0.ebuild 1138 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-trac-consultanttheme-1.0 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-trac-consultanttheme-1.0 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-trac-consultanttheme-1.0 0 diff --git a/www-apps/trac-consultanttheme/files/digest-trac-consultanttheme-1.0 b/www-apps/trac-consultanttheme/files/digest-trac-consultanttheme-1.0 new file mode 100644 index 00000000..e69de29b diff --git a/www-apps/trac-consultanttheme/trac-consultanttheme-1.0.ebuild b/www-apps/trac-consultanttheme/trac-consultanttheme-1.0.ebuild new file mode 100644 index 00000000..9cc293d4 --- /dev/null +++ b/www-apps/trac-consultanttheme/trac-consultanttheme-1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit distutils subversion + +ESVN_REPO_URI="http://trac-hacks.org/svn/consultanttheme/0.10" +DESCRIPTION="A Trac theme based on the G-Consultant template from templateworld.com" +HOMEPAGE="http://trac-hacks.org/wiki/ConsultantTheme" +# SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="trac" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +SLOT="0" + +DEPEND=">=www-apps/trac-0.10 + >=www-apps/trac-themeengine-1.0 + >=dev-python/setuptools-0.6_rc1" + +# from marienz's setuptools.eclass: +src_install() { + "${python}" setup.py install --root=${D} --no-compile \ + --single-version-externally-managed "$@" || die "install failed" +} + +src_test() { + "${python}" setup.py test || die "tests failed" +} + +pkg_postinst() { + elog "To enable the ConsultantTheme template, you have to add:" + elog " [components]" + elog " consultanttheme.* = enabled" + elog + elog " [theme]" + elog " theme = Consultant" + elog "to your trac.ini files." +}