From 76c9b00e45992f0d54e9985000cbe708757bfc20 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 18 Aug 2007 13:30:48 +0000 Subject: [PATCH] Add intrablog theme git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@165 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-intrablogtheme/Manifest | 7 ++++ .../files/digest-trac-intrablogtheme-1.0 | 0 .../trac-intrablogtheme-1.0.ebuild | 40 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 www-apps/trac-intrablogtheme/Manifest create mode 100644 www-apps/trac-intrablogtheme/files/digest-trac-intrablogtheme-1.0 create mode 100644 www-apps/trac-intrablogtheme/trac-intrablogtheme-1.0.ebuild diff --git a/www-apps/trac-intrablogtheme/Manifest b/www-apps/trac-intrablogtheme/Manifest new file mode 100644 index 00000000..989efabf --- /dev/null +++ b/www-apps/trac-intrablogtheme/Manifest @@ -0,0 +1,7 @@ +EBUILD trac-intrablogtheme-1.0.ebuild 1136 RMD160 71b16f3fa6360b39627ac1e973ca8d9410ab04c7 SHA1 3af23a2667f6ab7722e21ddf18de50541f08ecd2 SHA256 1dbfb999c4ee01eeb451bc1766d707ed8b237380cf08ba255818676635f2c9f2 +MD5 fa251fc93494d0477b935b21ce9edfc4 trac-intrablogtheme-1.0.ebuild 1136 +RMD160 71b16f3fa6360b39627ac1e973ca8d9410ab04c7 trac-intrablogtheme-1.0.ebuild 1136 +SHA256 1dbfb999c4ee01eeb451bc1766d707ed8b237380cf08ba255818676635f2c9f2 trac-intrablogtheme-1.0.ebuild 1136 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-trac-intrablogtheme-1.0 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-trac-intrablogtheme-1.0 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-trac-intrablogtheme-1.0 0 diff --git a/www-apps/trac-intrablogtheme/files/digest-trac-intrablogtheme-1.0 b/www-apps/trac-intrablogtheme/files/digest-trac-intrablogtheme-1.0 new file mode 100644 index 00000000..e69de29b diff --git a/www-apps/trac-intrablogtheme/trac-intrablogtheme-1.0.ebuild b/www-apps/trac-intrablogtheme/trac-intrablogtheme-1.0.ebuild new file mode 100644 index 00000000..7be605bd --- /dev/null +++ b/www-apps/trac-intrablogtheme/trac-intrablogtheme-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/intrablogtheme/0.10" +DESCRIPTION="A Trac theme based on the IntraBlog template from http://www.templateworld.com" +HOMEPAGE="http://trac-hacks.org/wiki/IntraBlogTheme" +# 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 IntraBlog template, you have to add:" + elog " [components]" + elog " intrablogtheme.* = enabled" + elog + elog " [theme]" + elog " theme = IntraBlog" + elog "to your trac.ini files." +}