From cf2f71bc84fbf6127ae4df3a5eff345f03dce025 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 17 Jul 2009 21:57:15 +0000 Subject: [PATCH] add python.org trac theme git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1383 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-pydotorgtheme/Manifest | 3 ++ www-apps/trac-pydotorgtheme/metadata.xml | 34 ++++++++++++++++ .../trac-pydotorgtheme-2.0.ebuild | 40 +++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 www-apps/trac-pydotorgtheme/Manifest create mode 100644 www-apps/trac-pydotorgtheme/metadata.xml create mode 100644 www-apps/trac-pydotorgtheme/trac-pydotorgtheme-2.0.ebuild diff --git a/www-apps/trac-pydotorgtheme/Manifest b/www-apps/trac-pydotorgtheme/Manifest new file mode 100644 index 00000000..0529ae67 --- /dev/null +++ b/www-apps/trac-pydotorgtheme/Manifest @@ -0,0 +1,3 @@ +EBUILD trac-crystalxtheme-1.0.ebuild 1123 RMD160 35393df313e61aae8a283e421b99f6a8cc034f23 SHA1 baebac4b6e32b7b4a82018defe1733383f10099a SHA256 f8c57639ccefb686d5826101e5790d00a7d0525ce7f9b5623c2555890447af5a +MISC ChangeLog 384 RMD160 92f4357debb45de76916f42be5fab03a8905376b SHA1 7954c61fbf5f95c8a6a85e066ab83c350d5907df SHA256 b6bc6d44e3dcb62a86d8a4247c42e32afeeb8c05fa221d6fcc95085b8f41c4f2 +MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/www-apps/trac-pydotorgtheme/metadata.xml b/www-apps/trac-pydotorgtheme/metadata.xml new file mode 100644 index 00000000..46a44e57 --- /dev/null +++ b/www-apps/trac-pydotorgtheme/metadata.xml @@ -0,0 +1,34 @@ + + + + +no-herd + + @gentoo.org + + + + + diff --git a/www-apps/trac-pydotorgtheme/trac-pydotorgtheme-2.0.ebuild b/www-apps/trac-pydotorgtheme/trac-pydotorgtheme-2.0.ebuild new file mode 100644 index 00000000..88ef5350 --- /dev/null +++ b/www-apps/trac-pydotorgtheme/trac-pydotorgtheme-2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 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/pydotorgtheme/0.11/" +DESCRIPTION="A theme based on python.org" +HOMEPAGE="http://trac-hacks.org/wiki/PyDotOrgTheme" +# 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-2.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 " pydotorgtheme.* = enabled" + elog + elog " [theme]" + elog " theme = PyDotOrg" + elog "to your trac.ini files." +}