diff options
author | 2012-03-01 15:16:10 +0000 | |
---|---|---|
committer | 2012-03-01 15:16:10 +0000 | |
commit | 806ee087a26253de938c8605afd1d4ef8b9b9d8c (patch) | |
tree | 87831acf596fcc0f0c0a2ddfcd60aff39a9b0bfb /net-zope/zope | |
parent | Stable for amd64, wrt bug #401985 (diff) | |
download | historical-806ee087a26253de938c8605afd1d4ef8b9b9d8c.tar.gz historical-806ee087a26253de938c8605afd1d4ef8b9b9d8c.tar.bz2 historical-806ee087a26253de938c8605afd1d4ef8b9b9d8c.zip |
Removing p.masked net-zope deps
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/zope-2.12.17.ebuild | 160 | ||||
-rw-r--r-- | net-zope/zope/zope-2.12.18.ebuild | 160 | ||||
-rw-r--r-- | net-zope/zope/zope-2.13.6.ebuild | 167 | ||||
-rw-r--r-- | net-zope/zope/zope-2.13.7.ebuild | 167 | ||||
-rw-r--r-- | net-zope/zope/zope-3.2.2.ebuild | 120 | ||||
-rw-r--r-- | net-zope/zope/zope-3.3.1.ebuild | 116 |
6 files changed, 0 insertions, 890 deletions
diff --git a/net-zope/zope/zope-2.12.17.ebuild b/net-zope/zope/zope-2.12.17.ebuild deleted file mode 100644 index 612b65b63510..000000000000 --- a/net-zope/zope/zope-2.12.17.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.12.17.ebuild,v 1.2 2011/04/12 22:26:57 arfrever Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" - -inherit distutils multilib versionator - -MY_PN="Zope2" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Zope 2 application server / web framework" -HOMEPAGE="http://www.zope.org http://zope2.zope.org http://pypi.python.org/pypi/Zope2 https://launchpad.net/zope2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" - -LICENSE="ZPL" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="doc" -RESTRICT="test" - -RDEPEND="|| ( net-zope/namespaces-zope[Products,Shared,Shared-DC] net-zope/namespaces ) - dev-python/docutils - dev-python/restrictedpython - dev-python/setuptools - net-zope/acquisition - net-zope/datetime - net-zope/extensionclass - net-zope/five-formlib - net-zope/initgroups - net-zope/missing - net-zope/multimapping - net-zope/persistence - net-zope/record - net-zope/tempstorage - net-zope/threadlock - net-zope/transaction - net-zope/zconfig - net-zope/zdaemon - net-zope/zlog - >=net-zope/zodb-3.9 - net-zope/zope-app-form - net-zope/zope-app-publication - net-zope/zope-app-publisher - net-zope/zope-app-schema - net-zope/zope-component - net-zope/zope-configuration - net-zope/zope-container - net-zope/zope-contentprovider - net-zope/zope-contenttype - net-zope/zope-deferredimport - net-zope/zope-event - net-zope/zope-exceptions - net-zope/zope-formlib - net-zope/zope-i18n - net-zope/zope-i18nmessageid - net-zope/zope-interface - net-zope/zope-lifecycleevent - net-zope/zope-location - net-zope/zope-mkzeoinstance - net-zope/zope-pagetemplate - net-zope/zope-processlifetime - net-zope/zope-proxy - net-zope/zope-publisher - net-zope/zope-schema - net-zope/zope-security - <net-zope/zope-sendmail-3.7.0 - net-zope/zope-sequencesort - net-zope/zope-site - net-zope/zope-size - net-zope/zope-structuredtext - net-zope/zope-tales - net-zope/zope-testbrowser - net-zope/zope-testing - net-zope/zope-traversing - net-zope/zope-viewlet - net-zope/zopeundo" -DEPEND="${RDEPEND} - app-arch/unzip - doc? ( dev-python/sphinx )" -PDEPEND="net-zope/zsqlmethods" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - python_pkg_setup - ZOPE_INSTALLATION_DIR="usr/$(get_libdir)/${PN}-${SLOT}" -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" - fi -} - -distutils_src_install_post_hook() { - mv "$(distutils_get_intermediate_installation_image)/${ZOPE_INSTALLATION_DIR}/lib/python"{,-${PYTHON_ABI}} -} - -src_install() { - distutils_src_install --home="${ZOPE_INSTALLATION_DIR}" - - # Don't install C sources. - find "${D}${ZOPE_INSTALLATION_DIR}" -name "*.c" | xargs rm -f - - local file - for file in "${D}${ZOPE_INSTALLATION_DIR}/bin/"*; do - scripts_preparation() { - cp "${file}" "${file}-${PYTHON_ABI}" || return 1 - python_convert_shebangs -q $(python_get_version) "${file}-${PYTHON_ABI}" - sed \ - -e "/import sys/i import os\nos.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH') + ':' if os.environ.get('PYTHONPATH') is not None else '') + os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}'))" \ - -e "/import sys/a sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}')))" \ - -i "${file}-${PYTHON_ABI}" - } - python_execute_function -q scripts_preparation - - python_generate_wrapper_scripts -f "${file}" - done - - modules_installation() { - local module - for module in Products Shared Shared/DC; do - echo "__import__('pkg_resources').declare_namespace(__name__)" > "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/${module}/__init__.py" || return 1 - done - } - python_execute_function -q modules_installation - - skel_preparation() { - sed -e "/^ZOPE_RUN=/s/runzope/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/runzope.in" || return 1 - sed -e "/^ZDCTL=/s/zopectl/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/zopectl.in" || return 1 - } - python_execute_function -q skel_preparation - - if use doc; then - pushd build/sphinx/html > /dev/null - dodoc _sources/* || die "Installation of documentation failed" - docinto html - dohtml -r [A-Za-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi - - # Copy the init script skeleton to skel directory of our installation. - insinto "/${ZOPE_INSTALLATION_DIR}/skel" - doins "${FILESDIR}/zope.initd" || die "doins failed" -} - -pkg_postinst() { - python_mod_optimize --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} - -pkg_postrm() { - python_mod_cleanup --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} diff --git a/net-zope/zope/zope-2.12.18.ebuild b/net-zope/zope/zope-2.12.18.ebuild deleted file mode 100644 index 1b72b5148548..000000000000 --- a/net-zope/zope/zope-2.12.18.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.12.18.ebuild,v 1.1 2011/05/09 23:35:35 arfrever Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" - -inherit distutils multilib versionator - -MY_PN="Zope2" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Zope 2 application server / web framework" -HOMEPAGE="http://www.zope.org http://zope2.zope.org http://pypi.python.org/pypi/Zope2 https://launchpad.net/zope2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" - -LICENSE="ZPL" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="doc" -RESTRICT="test" - -RDEPEND="|| ( net-zope/namespaces-zope[Products,Shared,Shared-DC] net-zope/namespaces ) - dev-python/docutils - dev-python/restrictedpython - dev-python/setuptools - net-zope/acquisition - net-zope/datetime - net-zope/extensionclass - net-zope/five-formlib - net-zope/initgroups - net-zope/missing - net-zope/multimapping - net-zope/persistence - net-zope/record - net-zope/tempstorage - net-zope/threadlock - net-zope/transaction - net-zope/zconfig - net-zope/zdaemon - net-zope/zlog - >=net-zope/zodb-3.9 - net-zope/zope-app-form - net-zope/zope-app-publication - net-zope/zope-app-publisher - net-zope/zope-app-schema - net-zope/zope-component - net-zope/zope-configuration - net-zope/zope-container - net-zope/zope-contentprovider - net-zope/zope-contenttype - net-zope/zope-deferredimport - net-zope/zope-event - net-zope/zope-exceptions - net-zope/zope-formlib - net-zope/zope-i18n - net-zope/zope-i18nmessageid - net-zope/zope-interface - net-zope/zope-lifecycleevent - net-zope/zope-location - net-zope/zope-mkzeoinstance - net-zope/zope-pagetemplate - net-zope/zope-processlifetime - net-zope/zope-proxy - net-zope/zope-publisher - net-zope/zope-schema - net-zope/zope-security - <net-zope/zope-sendmail-3.7.0 - net-zope/zope-sequencesort - net-zope/zope-site - net-zope/zope-size - net-zope/zope-structuredtext - net-zope/zope-tales - net-zope/zope-testbrowser - net-zope/zope-testing - net-zope/zope-traversing - net-zope/zope-viewlet - net-zope/zopeundo" -DEPEND="${RDEPEND} - app-arch/unzip - doc? ( dev-python/sphinx )" -PDEPEND="net-zope/zsqlmethods" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - python_pkg_setup - ZOPE_INSTALLATION_DIR="usr/$(get_libdir)/${PN}-${SLOT}" -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" - fi -} - -distutils_src_install_post_hook() { - mv "$(distutils_get_intermediate_installation_image)/${ZOPE_INSTALLATION_DIR}/lib/python"{,-${PYTHON_ABI}} -} - -src_install() { - distutils_src_install --home="${ZOPE_INSTALLATION_DIR}" - - # Don't install C sources. - find "${D}${ZOPE_INSTALLATION_DIR}" -name "*.c" | xargs rm -f - - local file - for file in "${D}${ZOPE_INSTALLATION_DIR}/bin/"*; do - scripts_preparation() { - cp "${file}" "${file}-${PYTHON_ABI}" || return 1 - python_convert_shebangs -q $(python_get_version) "${file}-${PYTHON_ABI}" - sed \ - -e "/import sys/i import os\nos.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH') + ':' if os.environ.get('PYTHONPATH') is not None else '') + os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}'))" \ - -e "/import sys/a sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}')))" \ - -i "${file}-${PYTHON_ABI}" - } - python_execute_function -q scripts_preparation - - python_generate_wrapper_scripts -f "${file}" - done - - modules_installation() { - local module - for module in Products Shared Shared/DC; do - echo "__import__('pkg_resources').declare_namespace(__name__)" > "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/${module}/__init__.py" || return 1 - done - } - python_execute_function -q modules_installation - - skel_preparation() { - sed -e "/^ZOPE_RUN=/s/runzope/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/runzope.in" || return 1 - sed -e "/^ZDCTL=/s/zopectl/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/zopectl.in" || return 1 - } - python_execute_function -q skel_preparation - - if use doc; then - pushd build/sphinx/html > /dev/null - dodoc _sources/* || die "Installation of documentation failed" - docinto html - dohtml -r [A-Za-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi - - # Copy the init script skeleton to skel directory of our installation. - insinto "/${ZOPE_INSTALLATION_DIR}/skel" - doins "${FILESDIR}/zope.initd" || die "doins failed" -} - -pkg_postinst() { - python_mod_optimize --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} - -pkg_postrm() { - python_mod_cleanup --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} diff --git a/net-zope/zope/zope-2.13.6.ebuild b/net-zope/zope/zope-2.13.6.ebuild deleted file mode 100644 index 9c7871230c69..000000000000 --- a/net-zope/zope/zope-2.13.6.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.13.6.ebuild,v 1.2 2011/04/12 22:26:57 arfrever Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" - -inherit distutils multilib versionator - -MY_PN="Zope2" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Zope 2 application server / web framework" -HOMEPAGE="http://www.zope.org http://zope2.zope.org http://pypi.python.org/pypi/Zope2 https://launchpad.net/zope2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" - -LICENSE="ZPL" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="doc" -RESTRICT="test" - -RDEPEND="|| ( net-zope/namespaces-zope[Products,Shared,Shared-DC] net-zope/namespaces ) - dev-python/docutils - dev-python/restrictedpython - dev-python/setuptools - net-zope/accesscontrol - net-zope/acquisition - net-zope/datetime - net-zope/documenttemplate - net-zope/extensionclass - net-zope/initgroups - net-zope/missing - net-zope/multimapping - net-zope/persistence - net-zope/record - net-zope/tempstorage - net-zope/transaction - net-zope/zconfig - net-zope/zdaemon - net-zope/zexceptions - net-zope/zlog - >=net-zope/zodb-3.9 - net-zope/zope-app-form - net-zope/zope-browser - net-zope/zope-browsermenu - net-zope/zope-browserpage - net-zope/zope-browserresource - net-zope/zope-component - net-zope/zope-configuration - net-zope/zope-container - net-zope/zope-contentprovider - net-zope/zope-contenttype - net-zope/zope-deferredimport - net-zope/zope-event - net-zope/zope-exceptions - net-zope/zope-formlib - net-zope/zope-i18n - net-zope/zope-i18nmessageid - net-zope/zope-interface - net-zope/zope-lifecycleevent - net-zope/zope-location - net-zope/zope-pagetemplate - net-zope/zope-processlifetime - net-zope/zope-proxy - net-zope/zope-ptresource - net-zope/zope-publisher - net-zope/zope-schema - net-zope/zope-security - net-zope/zope-sendmail - net-zope/zope-sequencesort - net-zope/zope-site - net-zope/zope-size - net-zope/zope-structuredtext - >=net-zope/zope-tales-3.5.0 - net-zope/zope-testbrowser - net-zope/zope-testing - net-zope/zope-traversing - net-zope/zope-viewlet - net-zope/zopeundo" -DEPEND="${RDEPEND} - app-arch/unzip - doc? ( dev-python/sphinx )" -PDEPEND=">=net-zope/btreefolder2-2.13.0 - net-zope/externalmethod - net-zope/mailhost - net-zope/mimetools - net-zope/ofsp - net-zope/pythonscripts - net-zope/standardcachemanagers - net-zope/zcatalog - net-zope/zctextindex" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - python_pkg_setup - ZOPE_INSTALLATION_DIR="usr/$(get_libdir)/${PN}-${SLOT}" -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" - fi -} - -distutils_src_install_post_hook() { - mv "$(distutils_get_intermediate_installation_image)/${ZOPE_INSTALLATION_DIR}/lib/python"{,-${PYTHON_ABI}} -} - -src_install() { - distutils_src_install --home="${ZOPE_INSTALLATION_DIR}" - - local file - for file in "${D}${ZOPE_INSTALLATION_DIR}/bin/"*; do - scripts_preparation() { - cp "${file}" "${file}-${PYTHON_ABI}" || return 1 - python_convert_shebangs -q $(python_get_version) "${file}-${PYTHON_ABI}" - sed \ - -e "/import sys/i import os\nos.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH') + ':' if os.environ.get('PYTHONPATH') is not None else '') + os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}'))" \ - -e "/import sys/a sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}')))" \ - -i "${file}-${PYTHON_ABI}" - } - python_execute_function -q scripts_preparation - - python_generate_wrapper_scripts -f "${file}" - done - - modules_installation() { - local module - for module in Products Shared Shared/DC; do - echo "__import__('pkg_resources').declare_namespace(__name__)" > "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/${module}/__init__.py" || return 1 - done - } - python_execute_function -q modules_installation - - skel_preparation() { - sed -e "/^ZOPE_RUN=/s/runzope/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/runzope.in" || return 1 - sed -e "/^ZDCTL=/s/zopectl/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/zopectl.in" || return 1 - } - python_execute_function -q skel_preparation - - if use doc; then - pushd build/sphinx/html > /dev/null - dodoc _sources/* || die "Installation of documentation failed" - docinto html - dohtml -r [A-Za-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi - - # Copy the init script skeleton to skel directory of our installation. - insinto "/${ZOPE_INSTALLATION_DIR}/skel" - doins "${FILESDIR}/zope.initd" || die "doins failed" -} - -pkg_postinst() { - python_mod_optimize --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} - -pkg_postrm() { - python_mod_cleanup --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} diff --git a/net-zope/zope/zope-2.13.7.ebuild b/net-zope/zope/zope-2.13.7.ebuild deleted file mode 100644 index 81d413ad5dc3..000000000000 --- a/net-zope/zope/zope-2.13.7.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.13.7.ebuild,v 1.1 2011/05/09 23:44:47 arfrever Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.6" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" - -inherit distutils multilib versionator - -MY_PN="Zope2" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Zope 2 application server / web framework" -HOMEPAGE="http://www.zope.org http://zope2.zope.org http://pypi.python.org/pypi/Zope2 https://launchpad.net/zope2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" - -LICENSE="ZPL" -SLOT="$(get_version_component_range 1-2)" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="doc" -RESTRICT="test" - -RDEPEND="|| ( net-zope/namespaces-zope[Products,Shared,Shared-DC] net-zope/namespaces ) - dev-python/docutils - dev-python/restrictedpython - dev-python/setuptools - net-zope/accesscontrol - net-zope/acquisition - net-zope/datetime - net-zope/documenttemplate - net-zope/extensionclass - net-zope/initgroups - net-zope/missing - net-zope/multimapping - net-zope/persistence - net-zope/record - net-zope/tempstorage - net-zope/transaction - net-zope/zconfig - net-zope/zdaemon - net-zope/zexceptions - net-zope/zlog - >=net-zope/zodb-3.9 - net-zope/zope-app-form - net-zope/zope-browser - net-zope/zope-browsermenu - net-zope/zope-browserpage - net-zope/zope-browserresource - net-zope/zope-component - net-zope/zope-configuration - net-zope/zope-container - net-zope/zope-contentprovider - net-zope/zope-contenttype - net-zope/zope-deferredimport - net-zope/zope-event - net-zope/zope-exceptions - net-zope/zope-formlib - net-zope/zope-i18n - net-zope/zope-i18nmessageid - net-zope/zope-interface - net-zope/zope-lifecycleevent - net-zope/zope-location - net-zope/zope-pagetemplate - net-zope/zope-processlifetime - net-zope/zope-proxy - net-zope/zope-ptresource - net-zope/zope-publisher - net-zope/zope-schema - net-zope/zope-security - net-zope/zope-sendmail - net-zope/zope-sequencesort - net-zope/zope-site - net-zope/zope-size - net-zope/zope-structuredtext - >=net-zope/zope-tales-3.5.0 - net-zope/zope-testbrowser - net-zope/zope-testing - net-zope/zope-traversing - net-zope/zope-viewlet - net-zope/zopeundo" -DEPEND="${RDEPEND} - app-arch/unzip - doc? ( dev-python/sphinx )" -PDEPEND=">=net-zope/btreefolder2-2.13.0 - net-zope/externalmethod - net-zope/mailhost - net-zope/mimetools - net-zope/ofsp - net-zope/pythonscripts - net-zope/standardcachemanagers - net-zope/zcatalog - net-zope/zctextindex" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - python_pkg_setup - ZOPE_INSTALLATION_DIR="usr/$(get_libdir)/${PN}-${SLOT}" -} - -src_compile() { - distutils_src_compile - - if use doc; then - einfo "Generation of documentation" - "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" - fi -} - -distutils_src_install_post_hook() { - mv "$(distutils_get_intermediate_installation_image)/${ZOPE_INSTALLATION_DIR}/lib/python"{,-${PYTHON_ABI}} -} - -src_install() { - distutils_src_install --home="${ZOPE_INSTALLATION_DIR}" - - local file - for file in "${D}${ZOPE_INSTALLATION_DIR}/bin/"*; do - scripts_preparation() { - cp "${file}" "${file}-${PYTHON_ABI}" || return 1 - python_convert_shebangs -q $(python_get_version) "${file}-${PYTHON_ABI}" - sed \ - -e "/import sys/i import os\nos.environ['PYTHONPATH'] = (os.environ.get('PYTHONPATH') + ':' if os.environ.get('PYTHONPATH') is not None else '') + os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}'))" \ - -e "/import sys/a sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib', 'python-${PYTHON_ABI}')))" \ - -i "${file}-${PYTHON_ABI}" - } - python_execute_function -q scripts_preparation - - python_generate_wrapper_scripts -f "${file}" - done - - modules_installation() { - local module - for module in Products Shared Shared/DC; do - echo "__import__('pkg_resources').declare_namespace(__name__)" > "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/${module}/__init__.py" || return 1 - done - } - python_execute_function -q modules_installation - - skel_preparation() { - sed -e "/^ZOPE_RUN=/s/runzope/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/runzope.in" || return 1 - sed -e "/^ZDCTL=/s/zopectl/&-${PYTHON_ABI}/" -i "${D}${ZOPE_INSTALLATION_DIR}/lib/python-${PYTHON_ABI}/Zope2/utilities/skel/bin/zopectl.in" || return 1 - } - python_execute_function -q skel_preparation - - if use doc; then - pushd build/sphinx/html > /dev/null - dodoc _sources/* || die "Installation of documentation failed" - docinto html - dohtml -r [A-Za-z]* _static || die "Installation of documentation failed" - popd > /dev/null - fi - - # Copy the init script skeleton to skel directory of our installation. - insinto "/${ZOPE_INSTALLATION_DIR}/skel" - doins "${FILESDIR}/zope.initd" || die "doins failed" -} - -pkg_postinst() { - python_mod_optimize --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} - -pkg_postrm() { - python_mod_cleanup --allow-evaluated-non-sitedir-paths "/${ZOPE_INSTALLATION_DIR}/lib/python-\${PYTHON_ABI}" -} diff --git a/net-zope/zope/zope-3.2.2.ebuild b/net-zope/zope/zope-3.2.2.ebuild deleted file mode 100644 index e49768624fc2..000000000000 --- a/net-zope/zope/zope-3.2.2.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-3.2.2.ebuild,v 1.3 2011/11/02 21:53:22 vapier Exp $ - -inherit eutils multilib - -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/Zope3/${PV}/Zope-${PV}.tgz" - -LICENSE="ZPL" -SLOT="${PV}" -KEYWORDS="~sparc ~x86" -IUSE="" - -RDEPEND="=dev-lang/python-2.4*" -DEPEND="${RDEPEND} - >=app-shells/bash-2.0 - >=sys-apps/sed-4.0.5" - -S=${WORKDIR}/Zope-${PV} - -ZUNAME=zope -ZGNAME=zope - -ZS_DIR=${ROOT%/}/usr/$(get_libdir) -ZSERVDIR=${ZS_DIR}/${P} -ZSKELDIR=${ZSERVDIR}/zopeskel -ZINSTDIR=/var/lib/zope/${P} - -src_compile() { - - ./configure --prefix="${D}"${ZSERVDIR} --with-python=/usr/bin/python2.4 || die "Failed to configure." - emake || die "Failed to compile." -} - -src_install() { - - dodoc README.txt - dodoc Zope/doc/*.txt - for DIR in schema security skins style zcml zsync - do - docinto ${DIR} - dodoc Zope/doc/${DIR}/* - done - - 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() { - # create the zope user and group for backward compatibility - enewgroup ${ZGNAME} 261 - usermod -g ${ZGNAME} -c "Zope Admin User" -d /var/lib/zope -s /bin/bash ${ZUNAME} 2>&1 >/dev/null || \ - enewuser ${ZUNAME} 261 /bin/bash /var/lib/zope ${ZGNAME} - - einfo "This release can create a default instance using the command: " - einfo " emerge --config =${PF}" - einfo "Instance (${P}) will be created in ${ZINSTDIR} as its home." - einfo "System uid/gid for instance will be: ${ZUNAME}:${ZGNAME}" -} - -pkg_prerm() { - - find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \; -} - -pkg_postrm() { - - rmdir /usr/$(get_libdir)/${ZSERVDIR} 2>/dev/null - ewarn "Instances created for this package are NOT automaticaly deleted!" - ewarn "Inspect these locations and manually remove them (if needed):" - ewarn " /etc/init.d/${P}" - ewarn " ${ZINSTDIR}" -} - -pkg_config() { - - if [ -f /etc/init.d/${P} -o -d ${ZINSTDIR} ] - then - ewarn "Default instance already exists, aborting.." - ewarn "Please delete first /etc/init.d/${P} and ${ZINSTDIR}" - die "Failed to create default instance." - fi - - mkdir -p ${ZINSTDIR} - einfo "Instance ${P} creation, calling mkzopeinstance.." - ${ZSERVDIR}/bin/mkzopeinstance --non-interactive -d ${ZINSTDIR} -u admin:admin - - # bug in zope - einfo "Patching ${ZINSTDIR}/etc/zdaemon.conf" - sed -i -e 's|daemon on|daemon on\n\n # socket has to be defined inside of instance\n socket-name $INSTANCE/var/zdsock|' ${ZINSTDIR}/etc/zdaemon.conf - - # 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 - - # permissions changes - chmod go-rwx -R ${ZINSTDIR} - chown ${ZUNAME}:${ZGNAME} -R ${ZINSTDIR} /var/log/zope/${PN} - - cp ${ZSKELDIR}/zope.initd /etc/init.d/${P} - chmod 755 /etc/init.d/${P} - sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${P} - sed -i -e "s|zopectl|zopectl -u ${ZUNAME}|" /etc/init.d/${P} - - einfo "Default instance created at ${ZINSTDIR}" - einfo "Created default zope user 'admin' with password 'admin'." - einfo "System uid/gid for instance is: ${ZUNAME}:${ZGNAME}." - einfo "To start instance (default ports 8080,8021) use: /etc/init.d/${P} start" - einfo "To start instance on every restart use: rc-update -a ${P} default" -} diff --git a/net-zope/zope/zope-3.3.1.ebuild b/net-zope/zope/zope-3.3.1.ebuild deleted file mode 100644 index 2fb6a786818f..000000000000 --- a/net-zope/zope/zope-3.3.1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-3.3.1.ebuild,v 1.5 2011/11/02 21:53:22 vapier Exp $ - -inherit eutils multilib - -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/Zope3/${PV}/Zope-${PV}.tgz" - -LICENSE="ZPL" -SLOT="${PV}" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="" - -RDEPEND="=dev-lang/python-2.4*" -DEPEND="${RDEPEND} - >=app-shells/bash-2.0 - >=sys-apps/sed-4.0.5" - -S=${WORKDIR}/Zope-${PV} - -ZUNAME=zope -ZGNAME=zope - -ZS_DIR=${ROOT%/}/usr/$(get_libdir) -ZSERVDIR=${ZS_DIR}/${P} -ZSKELDIR=${ZSERVDIR}/zopeskel -ZINSTDIR=/var/lib/zope/${P} - -src_compile() { - - ./configure --prefix="${D}"${ZSERVDIR} --with-python=/usr/bin/python2.4 || die "Failed to configure." - emake || die "Failed to compile." -} - -src_install() { - - dodoc README.txt - dodoc Zope/doc/*.txt - for DIR in schema security skins style zcml zsync - do - docinto ${DIR} - dodoc Zope/doc/${DIR}/* - done - - 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() { - # create the zope user and group for backward compatibility - enewgroup ${ZGNAME} 261 - usermod -g ${ZGNAME} -c "Zope Admin User" -d /var/lib/zope -s /bin/bash ${ZUNAME} 2>&1 >/dev/null || \ - enewuser ${ZUNAME} 261 /bin/bash /var/lib/zope ${ZGNAME} - - einfo "This release can create a default instance using the command: " - einfo " emerge --config =${PF}" - einfo "Instance (${P}) will be created in ${ZINSTDIR} as its home." - einfo "System uid/gid for instance will be: ${ZUNAME}:${ZGNAME}" -} - -pkg_prerm() { - - find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \; -} - -pkg_postrm() { - - rmdir /usr/$(get_libdir)/${ZSERVDIR} 2>/dev/null - ewarn "Instances created for this package are NOT automaticaly deleted!" - ewarn "Inspect these locations and manually remove them (if needed):" - ewarn " /etc/init.d/${P}" - ewarn " ${ZINSTDIR}" -} - -pkg_config() { - - if [ -f /etc/init.d/${P} -o -d ${ZINSTDIR} ] - then - ewarn "Default instance already exists, aborting.." - ewarn "Please delete first /etc/init.d/${P} and ${ZINSTDIR}" - die "Failed to create default instance." - fi - - mkdir -p ${ZINSTDIR} - einfo "Instance ${P} creation, calling mkzopeinstance.." - ${ZSERVDIR}/bin/mkzopeinstance --non-interactive -d ${ZINSTDIR} -u admin:admin - - # 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 - - # permissions changes - chmod go-rwx -R ${ZINSTDIR} - chown ${ZUNAME}:${ZGNAME} -R ${ZINSTDIR} /var/log/zope/${PN} - - cp ${ZSKELDIR}/zope.initd /etc/init.d/${P} - chmod 755 /etc/init.d/${P} - sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${P} - sed -i -e "s|zopectl|zopectl -u ${ZUNAME}|" /etc/init.d/${P} - - einfo "Default instance created at ${ZINSTDIR}" - einfo "Created default zope user 'admin' with password 'admin'." - einfo "System uid/gid for instance is: ${ZUNAME}:${ZGNAME}." - einfo "To start instance (default ports 8080,8021) use: /etc/init.d/${P} start" - einfo "To start instance on every restart use: rc-update -a ${P} default" -} |