diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2005-02-18 21:44:23 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2005-02-18 21:44:23 +0000 |
commit | 9a82cf9b9ea0de64aaf2c4b5c44975a025f27186 (patch) | |
tree | c2dcca3aea822291f61d03defe3d1bb48dae91d6 /net-zope/zopex3 | |
parent | Added v4l2 local use-flag for pwlib-1.8.3-r1 (diff) | |
download | gentoo-2-9a82cf9b9ea0de64aaf2c4b5c44975a025f27186.tar.gz gentoo-2-9a82cf9b9ea0de64aaf2c4b5c44975a025f27186.tar.bz2 gentoo-2-9a82cf9b9ea0de64aaf2c4b5c44975a025f27186.zip |
stable mark.
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-zope/zopex3')
-rw-r--r-- | net-zope/zopex3/ChangeLog | 8 | ||||
-rw-r--r-- | net-zope/zopex3/files/digest-zopex3-3.0.0_rc3 | 1 | ||||
-rw-r--r-- | net-zope/zopex3/zopex3-3.0.0.ebuild | 6 | ||||
-rw-r--r-- | net-zope/zopex3/zopex3-3.0.0_rc3.ebuild | 112 |
4 files changed, 9 insertions, 118 deletions
diff --git a/net-zope/zopex3/ChangeLog b/net-zope/zopex3/ChangeLog index 5065fc4cff16..48850e3f8ad5 100644 --- a/net-zope/zopex3/ChangeLog +++ b/net-zope/zopex3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-zope/zopex3 -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zopex3/ChangeLog,v 1.7 2004/11/08 09:31:28 radek Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zopex3/ChangeLog,v 1.8 2005/02/18 21:44:23 radek Exp $ + + 18 Feb 2005; Radoslaw Stachowiak <radek@gentoo.org> zopex3-3.0.0.ebuild, + -zopex3-3.0.0_rc3.ebuild: + removed old rc3 ebuild, marked stable 3.0.0 08 Nov 2004; Radoslaw Stachowiak <radek@gentoo.org> +zopex3-3.0.0.ebuild: New FINAL release of ZOPEx3. diff --git a/net-zope/zopex3/files/digest-zopex3-3.0.0_rc3 b/net-zope/zopex3/files/digest-zopex3-3.0.0_rc3 deleted file mode 100644 index 0233c473ea94..000000000000 --- a/net-zope/zopex3/files/digest-zopex3-3.0.0_rc3 +++ /dev/null @@ -1 +0,0 @@ -MD5 bc1f2bea8c500fb4cbcafed05fe29afe ZopeX3-3.0.0c3.tgz 3178566 diff --git a/net-zope/zopex3/zopex3-3.0.0.ebuild b/net-zope/zopex3/zopex3-3.0.0.ebuild index 6ff20f7c36f4..477ecd5b717f 100644 --- a/net-zope/zopex3/zopex3-3.0.0.ebuild +++ b/net-zope/zopex3/zopex3-3.0.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zopex3/zopex3-3.0.0.ebuild,v 1.1 2004/11/08 09:31:28 radek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zopex3/zopex3-3.0.0.ebuild,v 1.2 2005/02/18 21:44:23 radek Exp $ inherit eutils @@ -13,7 +13,7 @@ LICENSE="ZPL" SLOT="${PV}" IUSE="" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" RDEPEND="=dev-lang/python-2.3*" python='python2.3' diff --git a/net-zope/zopex3/zopex3-3.0.0_rc3.ebuild b/net-zope/zopex3/zopex3-3.0.0_rc3.ebuild deleted file mode 100644 index ebeee37757d1..000000000000 --- a/net-zope/zopex3/zopex3-3.0.0_rc3.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zopex3/zopex3-3.0.0_rc3.ebuild,v 1.1 2004/10/27 11:30:54 radek Exp $ - -inherit eutils - -MYPV="${PV/_r/}" -MYPN="ZopeX3" - -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/${MYPN}/${MYPV}/${MYPN}-${MYPV}.tgz" -LICENSE="ZPL" -SLOT="${PV}" -IUSE="" - -KEYWORDS="~x86 ~ppc" - -RDEPEND="=dev-lang/python-2.3*" -python='python2.3' - -DEPEND="${RDEPEND} -virtual/libc ->=sys-apps/sed-4.0.5" - -S="${WORKDIR}/${MYPN}-${MYPV}" -ZS_DIR=${ROOT%/}/usr/lib -ZSERVDIR=${ZS_DIR}/${PN}-${PV} -ZSKELDIR=${ZSERVDIR}/zopeskel -ZINSTDIR=/var/lib/zope/${PN} - -src_unpack() { - unpack ${A} - cd ${S} -} - -src_compile() { - ./configure --prefix=${D}${ZSERVDIR} || die "Failed to configure." - emake || die "Failed to compile." -} - -src_install() { - - dodoc README.txt - dodoc ZopeX3/doc/*.txt - docinto schema - dodoc ZopeX3/doc/schema/* - docinto security - dodoc ZopeX3/doc/security/* - docinto skins - dodoc ZopeX3/doc/skins/* - docinto style - dodoc ZopeX3/doc/style/* - docinto zcml - dodoc ZopeX3/doc/zcml/* - - make install prefix=${D}${ZSERVDIR} - - dosym ../../share/doc/${PF} ${ZSERVDIR}/doc - - # copy the init script skeleton to zopeskel directory of our installation - cp ${FILESDIR}/zope.initd ${D}${ZSKELDIR}/zope.initd -} - -pkg_postinst() { - - einfo "Be warned that this release is able to create default instance for You." - einfo "Please use 'ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config' for instance creation" -} - -pkg_prerm() { - - find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \; -} - -pkg_postrm() { - - rmdir /usr/lib/${ZSERVDIR} 2>/dev/null -} - -pkg_config() { - - if [ -f /etc/init.d/${PN} -o -d ${ZINSTDIR} ] - then - ewarn "Default instance already exists, aborting.." - ewarn "Please delete first /etc/init.d/${PN} and ${ZINSTDIR}" - die "Failed to create default instance." - fi - - ${ZSERVDIR}/bin/mkzopeinstance -d ${ZINSTDIR} -u admin:admin - mkdir -p ${ZINSTDIR} - - # remove unnecessary zope.initd - rm -f ${ZINSTDIR}/zope.initd - - # log symlink - rm -rf ${ZINSTDIR}/log - mkdir -p /var/log/zope/${PN} - ln -s /var/log/zope/${PN} ${ZINSTDIR}/log - - # draconian permissions :) - chmod go-rwx -R ${ZINSTDIR} - - cp ${ZSKELDIR}/zope.initd /etc/init.d/${PN} - chmod 755 /etc/init.d/${PN} - sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${PN} - - einfo "Default instance created at ${ZINSTDIR}" - einfo "Created default user 'admin' with password 'admin'." - einfo "Be warned that this instance is prepared to run as root only." - einfo "To start instance (ports 8080,8021,) use: /etc/init.d/${PN} start" -} |