Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26484 Details for
Bug 42111
Zope 2.6.4 ebuild missing an option
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
zope-2.6.4-r2.ebuild.patch
zope-2.6.4-r2.ebuild.patch (text/plain), 3.97 KB, created by
Jodok Batlogg (RETIRED)
on 2004-02-27 12:31:31 UTC
(
hide
)
Description:
zope-2.6.4-r2.ebuild.patch
Filename:
MIME Type:
Creator:
Jodok Batlogg (RETIRED)
Created:
2004-02-27 12:31:31 UTC
Size:
3.97 KB
patch
obsolete
>--- /usr/portage/net-zope/zope/zope-2.6.4.ebuild 2004-02-20 20:41:12.000000000 +0100 >+++ /usr/local/portage/net-zope/zope/zope-2.6.4-r2.ebuild 2004-02-27 21:10:39.000000000 +0100 >@@ -1,18 +1,17 @@ > # Copyright 1999-2004 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /home/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.4.ebuild,v 1.2 2004/02/17 13:38:21 lanius Exp $ >+# $Header: /home/cvs/gentoo/portage/net-zope/zope/zope-2.6.4-r1.ebuild,v 1.1 2004/02/20 21:49:59 jb Exp $ > > inherit eutils > >-S="${WORKDIR}/Zope-${PV}-src" >- > DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites." > HOMEPAGE="http://www.zope.org" >+ > SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-src.tgz" > LICENSE="ZPL" > SLOT="${PV}" >- >-KEYWORDS="x86 ~sparc" >+KEYWORDS="~x86 ~sparc" >+IUSE="utf-8" > > # This is for developers that wish to test Zope with virtual/python. > # If this is a problem, let me know right away. --kutsuya@gentoo.org >@@ -39,12 +38,16 @@ > >=sys-apps/sed-4.0.5 > >=app-admin/zope-config-0.3" > >+ >+S="${WORKDIR}/Zope-${PV}-src" >+ > ZUID=zope > ZGID=$(echo ${P} |sed -e "s:\.:_:g") > ZS_DIR=${ROOT}/usr/share/zope/ > ZI_DIR=${ROOT}/var/lib/zope/ > ZSERVDIR=${ZS_DIR}/${PF}/ > ZINSTDIR=${ZI_DIR}/${ZGID} >+ZOPEOPTS="\"-u zope\"" > CONFDIR=${ROOT}/etc/conf.d/ > RCNAME=zope.initd > >@@ -83,7 +86,6 @@ > fi > ewarn "Zope Corp. only recommends using python-2.1.3 " > ewarn "with this version of zope. Emerge at your own risk." >- ewarn "Python-2.3 is known NOT to work." > sleep 12 > fi > enewgroup ${ZGID} >@@ -100,6 +102,29 @@ > docinto doc/PLATFORMS ; dodoc doc/PLATFORMS/* > docinto doc/changenotes ; dodoc doc/changenotes/* > >+ # Patched StructuredText will accept source text formatted in utf-8 encoding, >+ # apply all formattings and output utf-8 encoded text. >+ # if you want to use this option you need to set your >+ # system python encoding to utf-8 (create the file sitecusomize.py inside >+ # your site-packages, add the following lines >+ # import sys >+ # sys.setdefaultencoding('utf-8') >+ # If this is a problem, let me know right away. --batlogg@solution2u.net >+ # I wondering if we need a USE flag for this and wheter we can set the >+ # sys.encoding automtically >+ # so i defined a use flag utf-8 >+ >+ if use utf-8; then >+ einfo "Patching structured text" >+ einfo "make sure you have set the system pythong encoding to utf-8" >+ einfo "create the file sitecusomize.py inside your site-packages" >+ einfo "import sys" >+ einfo "sys.setdefaultencoding('utf-8')" >+ cd ${S}/lib/python/StructuredText/ >+ patch -p0 < ${FILESDIR}/stx_i18n-1.0.0.patch >+ cd ${S} >+ fi >+ > # using '/etc/init.d/zope' > rm -Rf start stop LICENSE.txt README.txt doc/ > >@@ -112,8 +137,7 @@ > > # Add conf.d script. > dodir /etc/conf.d >- cp ${FILESDIR}/2.6.1/zope.envd .templates/zope.confd >- >+ cp ${FILESDIR}/${PV}/zope.confd .templates/zope.confd > # Fill in environmental variables > sed -i \ > -e "/ZOPE_OPTS=/ c\\ZOPE_OPTS=${ZOPEOPTS}\\ " \ >@@ -121,10 +145,13 @@ > -e "/SOFTWARE_HOME=/ c\\SOFTWARE_HOME=${ZSERVDIR}/lib/python\\ " \ > .templates/zope.confd > >- # Add rc-script. >- #!! TODO: fill in $python in zope-r2.initd >- sed -e "/python=/ c\\python=\"${python}\"\\ " ${FILESDIR}/2.6.1/${RCNAME} \ >- > .templates/zope.initd >+ # Add conf.d script. >+ dodir /etc/init.d >+ cp ${FILESDIR}/${PV}/zope.initd .templates/zope.initd >+ # Fill in rc-script. >+ sed -i \ >+ -e "/python=/ c\\python=\"${python}\"\\ " \ >+ .templates/zope.initd > > # Copy the remaining contents of ${S} into the ${D}. > dodir ${ZSERVDIR}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42111
:
25996
|
25997
|
25998
|
25999
|
26482
|
26484
|
27315