From 171f1574a963edae177415905f4dc89d9d6f5f11 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 26 Dec 2009 19:24:14 +0000 Subject: [PATCH] add wysiwyg plugin git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1775 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-wysiwygplugin/Manifest | 1 + .../trac-wysiwygplugin-0.2.ebuild | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 www-apps/trac-wysiwygplugin/Manifest create mode 100644 www-apps/trac-wysiwygplugin/trac-wysiwygplugin-0.2.ebuild diff --git a/www-apps/trac-wysiwygplugin/Manifest b/www-apps/trac-wysiwygplugin/Manifest new file mode 100644 index 00000000..6ea72de5 --- /dev/null +++ b/www-apps/trac-wysiwygplugin/Manifest @@ -0,0 +1 @@ +EBUILD trac-wysiwygplugin-0.2.ebuild 1064 RMD160 452e42128e22995efe1350cc49cbeec61b128140 SHA1 b1cf0d8d08d2cc2dbc25c789a913a82a34b029ef SHA256 a4fbb67ccf2722a1599a5e8cb030a6ec13d6a7e9355aff1e2c0a1af4427cbdef diff --git a/www-apps/trac-wysiwygplugin/trac-wysiwygplugin-0.2.ebuild b/www-apps/trac-wysiwygplugin/trac-wysiwygplugin-0.2.ebuild new file mode 100644 index 00000000..1618e0ee --- /dev/null +++ b/www-apps/trac-wysiwygplugin/trac-wysiwygplugin-0.2.ebuild @@ -0,0 +1,36 @@ +# 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/tracwysiwygplugin/0.12/" +DESCRIPTION="Wysiwyg editor embedded into textarea.wikitext." +HOMEPAGE="http://trac-hacks.org/wiki/TracWysiwygPlugin" +# SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="trac" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +SLOT="0" + +DEPEND="=www-apps/trac-0.12* + >=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 TracWiki WYSIWYG Editor plugin in your Trac environments, you have to add:" + elog " [components]" + elog " tracwysiwyg.* = enabled" + elog "to your trac.ini files." +}