diff options
author | 2006-02-02 19:33:01 +0000 | |
---|---|---|
committer | 2006-02-02 19:33:01 +0000 | |
commit | 044cc9f1697a583318d1cc46fbeef19fbc95cc7c (patch) | |
tree | ecf48ba88615b5859fe8e0decf5aa400f7269b4f /www-apps | |
parent | Added layman ebuild (diff) | |
download | overlay-044cc9f1697a583318d1cc46fbeef19fbc95cc7c.tar.gz overlay-044cc9f1697a583318d1cc46fbeef19fbc95cc7c.tar.bz2 overlay-044cc9f1697a583318d1cc46fbeef19fbc95cc7c.zip |
Adding pyblosxom to my personal overlay to upgrade to 1.3
svn path=/stable/; revision=646
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/pyblosxom/ChangeLog | 14 | ||||
-rw-r--r-- | www-apps/pyblosxom/Manifest | 7 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/CVS/Entries | 5 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/CVS/Repository | 1 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/CVS/Root | 1 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/config-hook.sh | 13 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/digest-pyblosxom-1.2.1 | 1 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/gentoo-webapp.patch | 22 | ||||
-rw-r--r-- | www-apps/pyblosxom/files/postinstall-en.txt | 12 | ||||
-rw-r--r-- | www-apps/pyblosxom/metadata.xml | 10 | ||||
-rw-r--r-- | www-apps/pyblosxom/pyblosxom-1.2.1.ebuild | 45 |
11 files changed, 131 insertions, 0 deletions
diff --git a/www-apps/pyblosxom/ChangeLog b/www-apps/pyblosxom/ChangeLog new file mode 100644 index 0000000..0030496 --- /dev/null +++ b/www-apps/pyblosxom/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for www-apps/pyblosxom +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/ChangeLog,v 1.2 2006/02/02 19:18:00 wrobel Exp $ + + 02 Feb 2006; <wrobel@gentoo.org> metadata.xml: + Modified maintainer + +*pyblosxom-1.2.1 (10 Jan 2006) + + 10 Jan 2006; <wrobel@gentoo.org> +files/config-hook.sh, + +files/gentoo-webapp.patch, +files/postinstall-en.txt, + +pyblosxom-1.2.1.ebuild: + Added pyblosxom-1.2.1 from the webapps overlay to the portage tree + diff --git a/www-apps/pyblosxom/Manifest b/www-apps/pyblosxom/Manifest new file mode 100644 index 0000000..52f9a03 --- /dev/null +++ b/www-apps/pyblosxom/Manifest @@ -0,0 +1,7 @@ +MD5 e4ddf2c046982bbd6d01bf1009b2ec2c ChangeLog 525 +MD5 0835a464fdaa7a605c63376bb18a2b24 files/config-hook.sh 468 +MD5 072ef383d4b7bba7b7f5d2207c00267c files/digest-pyblosxom-1.2.1 66 +MD5 549472aeb8561d15d9795008c05e2b81 files/gentoo-webapp.patch 1096 +MD5 1b151b39edadce257e08dac6407dd8fd files/postinstall-en.txt 326 +MD5 2475b9abb75a74d9fa92ea07cfaf7d41 metadata.xml 300 +MD5 4dfb3fab8b4317c8f67a2f0cf9c54880 pyblosxom-1.2.1.ebuild 1016 diff --git a/www-apps/pyblosxom/files/CVS/Entries b/www-apps/pyblosxom/files/CVS/Entries new file mode 100644 index 0000000..bb1c96f --- /dev/null +++ b/www-apps/pyblosxom/files/CVS/Entries @@ -0,0 +1,5 @@ +/config-hook.sh/1.1/Tue Jan 10 21:28:05 2006// +/gentoo-webapp.patch/1.1/Tue Jan 10 21:28:05 2006// +/postinstall-en.txt/1.1/Tue Jan 10 21:28:05 2006// +/digest-pyblosxom-1.2.1/1.1/Thu Feb 2 19:15:36 2006// +D diff --git a/www-apps/pyblosxom/files/CVS/Repository b/www-apps/pyblosxom/files/CVS/Repository new file mode 100644 index 0000000..c6e79b1 --- /dev/null +++ b/www-apps/pyblosxom/files/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/www-apps/pyblosxom/files diff --git a/www-apps/pyblosxom/files/CVS/Root b/www-apps/pyblosxom/files/CVS/Root new file mode 100644 index 0000000..0362322 --- /dev/null +++ b/www-apps/pyblosxom/files/CVS/Root @@ -0,0 +1 @@ +wrobel@cvs.gentoo.org:/var/cvsroot diff --git a/www-apps/pyblosxom/files/config-hook.sh b/www-apps/pyblosxom/files/config-hook.sh new file mode 100644 index 0000000..963713c --- /dev/null +++ b/www-apps/pyblosxom/files/config-hook.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +case "$1" in + install) + chown ${VHOST_SERVER_UID} ${MY_INSTALLDIR}/log + sed -i -e "s#/path/to/blog#${MY_INSTALLDIR}/data/#" ${VHOST_CGIBINDIR}/pyblosxom/config.py || exit + sed -i -e "s#/path/to/logdir#${MY_INSTALLDIR}/log/#" ${VHOST_CGIBINDIR}/pyblosxom/config.py || exit + sed -i -e "s#^\#\(.*\)/path/to/my/plugins#\1/usr/share/pyblosxom-1.2.1/plugins/#" ${VHOST_CGIBINDIR}/pyblosxom/config.py || exit + ;; + *) + # Nothing to do for clean up + ;; +esac diff --git a/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1 b/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1 new file mode 100644 index 0000000..ad0a457 --- /dev/null +++ b/www-apps/pyblosxom/files/digest-pyblosxom-1.2.1 @@ -0,0 +1 @@ +MD5 c59e2cb44a9e72ba5e46e265ed23f0ad pyblosxom-1.2.1.tar.gz 46580 diff --git a/www-apps/pyblosxom/files/gentoo-webapp.patch b/www-apps/pyblosxom/files/gentoo-webapp.patch new file mode 100644 index 0000000..6630fb5 --- /dev/null +++ b/www-apps/pyblosxom/files/gentoo-webapp.patch @@ -0,0 +1,22 @@ +diff -Naur pyblosxom-1.2.1.orig/setup.py pyblosxom-1.2.1/setup.py +--- pyblosxom-1.2.1.orig/setup.py 2005-07-31 13:06:25.000000000 +0200 ++++ pyblosxom-1.2.1/setup.py 2005-07-31 13:06:46.000000000 +0200 +@@ -64,12 +64,13 @@ + + # we want to move the web script files as well, so we sneak them + # in here. ++# These are handled by the webapp class in Gentoo ++# os.path.normpath("web/pyblosxom.cgi"), ++# os.path.normpath("web/config.py") + pydf.append( [os.path.join('share', PVER, 'web'), +- [os.path.normpath("web/pyblosxom.cgi"), +- os.path.normpath("web/pyblosxom.tac"), ++ [os.path.normpath("web/pyblosxom.tac"), + os.path.normpath("web/pyblosxom_wsgi.cgi"), +- os.path.normpath("web/wsgi_app.py"), +- os.path.normpath("web/config.py")]]) ++ os.path.normpath("web/wsgi_app.py")]]) + + else: + # we don't know what platform they have, so we print out +diff -Naur pyblosxom-1.2.1.orig/web/config.py pyblosxom-1.2.1/web/config.py diff --git a/www-apps/pyblosxom/files/postinstall-en.txt b/www-apps/pyblosxom/files/postinstall-en.txt new file mode 100644 index 0000000..cd7af6e --- /dev/null +++ b/www-apps/pyblosxom/files/postinstall-en.txt @@ -0,0 +1,12 @@ +PyBlosxom setup: + +1. Customize the config file + ${VHOST_CGIBINDIR}/pyblosxom/config.py + +2. Add any pyblosxom plugins you would like to use to the + /usr/share/${P}/plugins directory. + +3. Add blog entries as normal text files to + ${MY_INSTALLDIR}/data + +-- Go to http://${VHOST_HOSTNAME}/cgi-bin/pyblosxom/pyblosxom.cgi diff --git a/www-apps/pyblosxom/metadata.xml b/www-apps/pyblosxom/metadata.xml new file mode 100644 index 0000000..2dde2f7 --- /dev/null +++ b/www-apps/pyblosxom/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> + <email>wrobel@gentoo.org</email> + <name>Gunnar Wrobel</name> + <description>Primary maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild b/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild new file mode 100644 index 0000000..21fc252 --- /dev/null +++ b/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/pyblosxom/pyblosxom-1.2.1.ebuild,v 1.1 2006/01/10 21:50:24 wrobel Exp $ + +inherit eutils distutils webapp + +DESCRIPTION="PyBlosxom is a lightweight weblog system." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://pyblosxom.sourceforge.net/" + +LICENSE="MIT" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="virtual/python" + +src_unpack() { + + unpack ${A} && cd "${S}" + + epatch ${FILESDIR}/gentoo-webapp.patch + +} + +src_install() { + webapp_src_preinst + + distutils_src_install + dodoc README + + keepdir /usr/share/${P}/plugins + keepdir ${MY_HTDOCSDIR}/data + keepdir ${MY_HTDOCSDIR}/log + + mkdir -p ${D}${MY_CGIBINDIR}/pyblosxom + cp web/{config.py,pyblosxom.cgi} ${D}${MY_CGIBINDIR}/pyblosxom/ + + webapp_configfile ${MY_CGIBINDIR}/pyblosxom/config.py + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_hook_script ${FILESDIR}/config-hook.sh + + webapp_src_install +} |