summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2006-05-27 14:32:10 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2006-05-27 14:32:10 +0000
commitead2a85ed637bb976b61d9f042ede94eaa4e9eac (patch)
treee02d77e77c248a80f1f39f2d32ee4e325c968092 /net-zope/externaleditor
parentremoved old obsolet version (diff)
downloadgentoo-2-ead2a85ed637bb976b61d9f042ede94eaa4e9eac.tar.gz
gentoo-2-ead2a85ed637bb976b61d9f042ede94eaa4e9eac.tar.bz2
gentoo-2-ead2a85ed637bb976b61d9f042ede94eaa4e9eac.zip
version bump, #129581, changed method of using package
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'net-zope/externaleditor')
-rw-r--r--net-zope/externaleditor/ChangeLog10
-rw-r--r--net-zope/externaleditor/externaleditor-0.9.1.ebuild48
-rw-r--r--net-zope/externaleditor/files/digest-externaleditor-0.9.13
3 files changed, 59 insertions, 2 deletions
diff --git a/net-zope/externaleditor/ChangeLog b/net-zope/externaleditor/ChangeLog
index 5553b8c046e7..0d37aba13b9a 100644
--- a/net-zope/externaleditor/ChangeLog
+++ b/net-zope/externaleditor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/externaleditor
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/externaleditor/ChangeLog,v 1.13 2005/05/06 14:54:33 swegener Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/externaleditor/ChangeLog,v 1.14 2006/05/27 14:32:10 radek Exp $
+
+*externaleditor-0.9.1 (27 May 2006)
+
+ 27 May 2006; Radoslaw Stachowiak <radek@gentoo.org>
+ +externaleditor-0.9.1.ebuild:
+ version bump, #129581, changed method of using package
06 May 2005; Sven Wegener <swegener@gentoo.org> externaleditor-0.8.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
diff --git a/net-zope/externaleditor/externaleditor-0.9.1.ebuild b/net-zope/externaleditor/externaleditor-0.9.1.ebuild
new file mode 100644
index 000000000000..1a6ede883c00
--- /dev/null
+++ b/net-zope/externaleditor/externaleditor-0.9.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/externaleditor/externaleditor-0.9.1.ebuild,v 1.1 2006/05/27 14:32:10 radek Exp $
+
+inherit zproduct
+
+MY_PN="ExternalEditor"
+MY_P="${MY_PN}-${PV}-src"
+DESCRIPTION="Allows you to use your favorite editor(s) from ZMI"
+HOMEPAGE="http://plope.com/software/ExternalEditor/"
+SRC_URI="${HOMEPAGE}/${MY_P}.tgz"
+
+LICENSE="ZPL"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=net-zope/zopeedit-${PV}"
+
+ZPROD_LIST="${MY_PN}"
+
+S_ZPROD=${WORKDIR}/${MY_PN}
+#S=${S_ZPROD}
+MYDOC="*.txt ${MYDOC}"
+
+src_unpack() {
+ # this hack is needed for creating proper zope product directory
+ # with only necessary files (looking from zope product standpoint )
+ # while skipping unnecesary files from zopeedit package
+ mkdir ${S_ZPROD}.tmp
+ unpack ${MY_P}.tgz
+ cd ${S_ZPROD}
+ mv *.dtml __init__.py *.txt *.gif ${MY_PN}.py ${S_ZPROD}.tmp
+ cd ..
+ rm -rf ${S_ZPROD}
+ mkdir ${S_ZPROD}
+ # this mv creates proper product directory in default location
+ mv ${S_ZPROD}.tmp ${S_ZPROD}/${MY_PN}
+}
+
+src_install() {
+ S="${S_ZPROD}" zproduct_src_install
+}
+
+pkg_postinst() {
+ zproduct_pkg_postinst
+ ewarn "To use the External Editor Zope Product you will need to manually"
+ ewarn "configure the helper application(/usr/bin/zopeedit.py) for your"
+ ewarn "browser. Read the documention in /usr/share/doc/${PF}/"
+}
diff --git a/net-zope/externaleditor/files/digest-externaleditor-0.9.1 b/net-zope/externaleditor/files/digest-externaleditor-0.9.1
new file mode 100644
index 000000000000..3a87f2e61d2b
--- /dev/null
+++ b/net-zope/externaleditor/files/digest-externaleditor-0.9.1
@@ -0,0 +1,3 @@
+MD5 6befe8f5af29e8b4e27d9aba0299b57c ExternalEditor-0.9.1-src.tgz 50838
+RMD160 b5d560fee828f3c42bb5fd8c935a8357d2f3be04 ExternalEditor-0.9.1-src.tgz 50838
+SHA256 521ed20cd8c1326096a750ae2c99cfcc9bea872cc10b410e60b237da6acdd7dc ExternalEditor-0.9.1-src.tgz 50838