summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/ChangeLog8
-rw-r--r--net-zope/zope/Manifest4
-rw-r--r--net-zope/zope/zope-2.13.1.ebuild166
3 files changed, 176 insertions, 2 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 5398a8615a2d..757fc1200153 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/zope
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.188 2010/12/07 16:34:55 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.189 2010/12/07 17:16:29 arfrever Exp $
+
+*zope-2.13.1 (07 Dec 2010)
+
+ 07 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +zope-2.13.1.ebuild:
+ Version bump.
*zope-2.12.14 (07 Dec 2010)
diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest
index 1a3adf0d7cc7..89ea57ac3122 100644
--- a/net-zope/zope/Manifest
+++ b/net-zope/zope/Manifest
@@ -10,6 +10,7 @@ DIST Zope-3.3.1.tgz 6594248 RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d SHA1
DIST Zope2-2.12.13.zip 2336056 RMD160 fcd7ce20b2466c6ea05d6b5b7a09fb84fcc74f80 SHA1 ab8d8b2aac4bb6c4d9a5009c01b3bb5567c76464 SHA256 a2bec997a732040750bc52941de32acca1e4730572f81aed6c8b7b402449612b
DIST Zope2-2.12.14.zip 2336464 RMD160 3c8cf3f240eba9390c05bb6850d1283d3d10bab3 SHA1 74d31a6fb9b48d619acd063d370ce0692d142c20 SHA256 6c47a37cb86a84c2cdd0c3174df7dceaf7870c5716d85cf84a60d809433bf6b2
DIST Zope2-2.13.0.zip 1522716 RMD160 6d9bcda39b87625ba8fb8626b9c2c26dc4284636 SHA1 c3b6c6f3356933dc348cbbc8fee67232cb20b4e1 SHA256 80bb6f8d179717ebc151e86d52753eaa5f6946040d97176bf14a2cc4f21e9281
+DIST Zope2-2.13.1.zip 1523311 RMD160 5af12992cd77f56a9feba43fcbd7f14ef0a6609c SHA1 06ec219f15e3b9560c527c93764465163f3145a2 SHA256 95a2db2784ceb7147ab6cba22c2ebb3113a2fe1b2857e5c96f02b68fa3897243
EBUILD zope-2.10.11.ebuild 2334 RMD160 5628a00cce8b9dfcd847049528cc13c6c41c401d SHA1 1fabddbc3731fc9cb9344fe05970cbf5f14d8438 SHA256 ec30cd035f75578d46a9588a50c973abdad2eb54a8a0d8e2f6914a2a9cccb7d9
EBUILD zope-2.10.7-r1.ebuild 2419 RMD160 a8eacc97fc3ec0d837e130c19b6160c51087054f SHA1 6cb14047b90e25b36582dc1b77296fd7033a1421 SHA256 b9fc3ccc0f925043e4999bc40d077ac3f927987fb72a4e2db3c1d2e9dac78f69
EBUILD zope-2.10.7.ebuild 2378 RMD160 b5aec5e9ff6fc8081dff21d3ab5049929922712d SHA1 8a7d41e475abb6efd60b1212e8520f862d804f8b SHA256 641c43f253d26a75a926283f5a5c8dadc65797cf605984b5d1b185c1161e8845
@@ -17,10 +18,11 @@ EBUILD zope-2.10.9.ebuild 2337 RMD160 7c7c5d215a96ecad33a10810e0d9c8e1d9dd9400 S
EBUILD zope-2.12.13.ebuild 4918 RMD160 eabededb385dde51c23c6d9d5f101bddba3ef7c1 SHA1 ee614b9a6353f2f89cd79294c459e554d06683e4 SHA256 b95367f7f0c0217ddc73c757373c19a3435e201992f6bedef85f7adff5d87709
EBUILD zope-2.12.14.ebuild 4911 RMD160 559b10c075f5a02ee52abcc875dab45476c6e7d9 SHA1 348be300ea267feaec828c6cf8ef3b040e782281 SHA256 9905ac0dc6931f4ea97c784c236e4b4c74e2c5ef737f6f2178dda58b18e643d7
EBUILD zope-2.13.0.ebuild 5041 RMD160 dc48f693f8876059190ecbee607221331a0be9bd SHA1 dafa4d25a06d80cb1a694fa1804b2c2ccad7734c SHA256 6663793c7e040264202e6e09e761d9e4e0ed9d268450e78f4ccd42216b8743d4
+EBUILD zope-2.13.1.ebuild 5034 RMD160 71f87d47d0a966a96ce204b16224a3a63464724a SHA1 cdbd7264f6eab43948febdd022917b6f74c1fad5 SHA256 32c878903fb280c55c4607091d445c0817caa4c5c024f97e3d5f1aac33f680bf
EBUILD zope-2.9.10-r1.ebuild 2439 RMD160 4d893fe82971f3d3a6b5bf47873c272ec732329b SHA1 930744cecdff3eed82705332bb505b9d5abbf486 SHA256 057741f43d33bd395e4bf69a1706931c5dcae18cd4f5e7e94d849a85dcde6345
EBUILD zope-2.9.10.ebuild 2397 RMD160 e33501ae1658b572c23e9383492215c2af0cc5b1 SHA1 fabcdb45cce3c0ae12e3f77e12a2122f409f13ec SHA256 c2ccd01a1e47987ef0a82c2803decdb85bc189e955b2c6c6c62186c897164a04
EBUILD zope-2.9.12.ebuild 2356 RMD160 77459a869dd0925c53572055e901fa1e710128f1 SHA1 2abb52de300d7d67c1f5f13600310cbc37264dfd SHA256 55a08e94da72603b68859f3dd91595fb8d2fc481378e5e0c868265dc396f164d
EBUILD zope-3.2.2.ebuild 3624 RMD160 e74adaedc41a265b71fd583d87b6f33b34448c0a SHA1 5632e19dc545b80c4ebe734119d81c39fe2b101e SHA256 82e0e16be113e8e2c7f4ca11ef1fa3dc24b96ca4a65161909c4c58999779d57d
EBUILD zope-3.3.1.ebuild 3429 RMD160 4951ab3da1c9adc918f0a093a4bfac6deceba2b5 SHA1 5aefef7e3cf1cfc22674510ec6c78b4d8bcc6448 SHA256 7cc2aa03f0e77a65a6fc93aa01755a7eb41de30384366fd963172389606cc139
-MISC ChangeLog 29153 RMD160 d43969b7f52279ee7535377bb24e3d2446f5572f SHA1 dd8b139e579b2f5028360df1a48a306808c3e3f8 SHA256 0c48165a22fcf7ae4049e1b391fdc75d677f07d2ea87dbf23138fc314dc667e4
+MISC ChangeLog 29294 RMD160 ef53c234273b391b1cd047a902cdae563ed29569 SHA1 aad8de423ee373491fa717875ea606c9eb0945af SHA256 b88bb6f7f184d56d80f8a91753759d5041a70e53285662a540a5bd9c0f929a3d
MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5
diff --git a/net-zope/zope/zope-2.13.1.ebuild b/net-zope/zope/zope-2.13.1.ebuild
new file mode 100644
index 000000000000..383556f36123
--- /dev/null
+++ b/net-zope/zope/zope-2.13.1.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.13.1.ebuild,v 1.1 2010/12/07 17:16:29 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 ~sparc ~x86"
+IUSE="doc"
+RESTRICT="test"
+
+RDEPEND="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/namespaces
+ 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/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 "${D}${ZOPE_INSTALLATION_DIR}/lib/python" "${D}${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}"
+}