diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-09 23:44:47 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-09 23:44:47 +0000 |
commit | 275791a103f76c09900bd66d03e36bc923d81f6d (patch) | |
tree | 76087d573f82e82b24fc280c049f2d56c3a33d79 /net-zope | |
parent | Delete older ebuild. (diff) | |
download | historical-275791a103f76c09900bd66d03e36bc923d81f6d.tar.gz historical-275791a103f76c09900bd66d03e36bc923d81f6d.tar.bz2 historical-275791a103f76c09900bd66d03e36bc923d81f6d.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha32_p7/cvs/Linux x86_64
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/zope/ChangeLog | 8 | ||||
-rw-r--r-- | net-zope/zope/Manifest | 32 | ||||
-rw-r--r-- | net-zope/zope/zope-2.13.7.ebuild | 167 |
3 files changed, 190 insertions, 17 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog index 6a9a87cde8c6..6a4af7edae76 100644 --- a/net-zope/zope/ChangeLog +++ b/net-zope/zope/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-zope/zope # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.199 2011/05/09 23:35:35 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.200 2011/05/09 23:44:47 arfrever Exp $ + +*zope-2.13.7 (09 May 2011) + + 09 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +zope-2.13.7.ebuild: + Version bump. *zope-2.12.18 (09 May 2011) diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest index 8e82af04cfce..f47023688ab5 100644 --- a/net-zope/zope/Manifest +++ b/net-zope/zope/Manifest @@ -12,37 +12,37 @@ DIST Zope-3.2.2.tgz 6544087 RMD160 1e7e08e1178f449bf120d7fc2caa6259fde1a0cf SHA1 DIST Zope-3.3.1.tgz 6594248 RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d SHA1 4576ac21c3415563d3b0b747e40963a762b63fce SHA256 6189999de3190e4b0d5110490567d9f7ef92379ea555f738fc741d49d0807be3 DIST Zope2-2.12.17.zip 2337323 RMD160 4d30fb5b878819719beb34f205418b7d02c4f781 SHA1 52242f8c9fd992b0c8f39f39ac08265d9690bcb6 SHA256 afd20b6c081852b4c7b67459ebb31208ae5ca8473aa9d0c7bfce916131503753 DIST Zope2-2.12.18.zip 2337399 RMD160 3154a51f124f80a347b07554ffdbd317d198bb05 SHA1 e39be58cd96312f95270ff01d6d2ed612e9d1e7e SHA256 93226698312dac2ef616477b8217e86c6195d8a1cf1ee05beb252336ec9c254d -DIST Zope2-2.13.5.zip 1391823 RMD160 cb262f7d61c0b1074972b1fda26539f14c9d6b00 SHA1 ec7ed9a61467aaccafda7cc2ca417c69e9215041 SHA256 42ca962ca425638e69d136a75105a3bc58dd8a3d842d2a9e59d502a28042b78e DIST Zope2-2.13.6.zip 1392634 RMD160 5017a17aeb7311c7c7c7eaffeb0255c938ef7f04 SHA1 9b14cc7204a47f5f11d87ca6bf6bb386a5e4f38c SHA256 98d13a17b644ebe2b6e8b90a15c991ce31bd6fd8f52fc722e07a61772c0197bc +DIST Zope2-2.13.7.zip 1393072 RMD160 67ff04e2fd324467b74b619a7ac501119b747f55 SHA1 864d2173fa475c10675a7cf71b3be69fbf2710c2 SHA256 24f1b99c58103a040dd9fc4f8a37f3415b666165c7aa5b97d92e23ac4b2c08ef 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 EBUILD zope-2.10.9.ebuild 2337 RMD160 7c7c5d215a96ecad33a10810e0d9c8e1d9dd9400 SHA1 b371ad3c5bfac6492b9c2c8483e3a00d60da3d3d SHA256 1dcd78b0751013e7b50fa9364ff2cf362a11046a7b824681c10395444cfc4889 EBUILD zope-2.12.17.ebuild 4981 RMD160 41ce80f46d0099ecaedb64279ad6fd2638cdcc02 SHA1 9ebe01ce5cc6cea4d814621bac097442c06d2450 SHA256 85998c31d9866914511f959d18f90c6af28b3e0e70d79e18386f5611bf7ead25 EBUILD zope-2.12.18.ebuild 4981 RMD160 b71b1ef819281d86b826ed17b3798fcd8dc40461 SHA1 6bed55bb80aee7bf61a34fdcaa16d08f1f587c53 SHA256 88fb37921fe145d90652f9df202232d9b718abe6e3e0f86ac34b425a1cb68072 -EBUILD zope-2.13.5.ebuild 5100 RMD160 ef1ebac004928b09c330b0ecf96f8221ef54e9c1 SHA1 c165d04e9d5e42860fe5b13bc7517ec77c2d9fd4 SHA256 8408b703c3628cef90de18938e1ba0f63d7e649a98e9f1a5a3c9956baf186949 EBUILD zope-2.13.6.ebuild 5123 RMD160 85ad3dfd2b58a0c824c1c7e378a931d8c4dc749c SHA1 a175800b97308f419f19f6187c8599f3f34c9094 SHA256 b0451d8924135828076de8568d5b43b74436bcd665678490c92329caacbc73c6 +EBUILD zope-2.13.7.ebuild 5123 RMD160 b9b987c4bab41379a8afcc551eb5b23d2217cbe3 SHA1 42db8e417eee211b126ac1a1b3a67b3a57980d6a SHA256 de1cbdb37d99bf952e040d58e0c7223b6e4f7b72b260796173ae37f98f814f53 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 30810 RMD160 9c97e03687a036bfad388d569d166db9b5ca0205 SHA1 44e9c335ce67a01b241358f10f3e3b4e3e8a0714 SHA256 06b428e9e8ff0e1332b4cb0e180b4dd9c59bcc105d8840c47411689cda2c0171 +MISC ChangeLog 30951 RMD160 75780c3a5cf5b138be9f621be0ae571b18344e82 SHA1 2ffc18f8af658d4719a0a8b42c300edf1a9b6c58 SHA256 6e88b27f9fb546a890f97acb621e24e1ab78c86432e10957453022cfd4ef9881 MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345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Inb +LXd0ttnOf9HLcjVGNOCYb5Zn3ejkfDeYV+jfuNGgYBbDVDmNU7d9UZYHbVWdiGhY +gUItkM8pXeYySnPAqr3a/Af3AuQCp+tX0FOSN5azkILl2kOluVs1PsbfYrqnXLGk +BjmVcVco0s4BVga59uqFOaQRSCZEInkOjHos23ZX6Wu149i4NJNB9Gn3CAISXqm4 +qOdo3mSHQJyg/9Fac2PkZVLEfuSSyI9drEyI/eE2jBy9usXwa9m3Q8SALGp5A/zN +9HRNeXtwKUdKrRnFgUcadj/DW7IJXKcZgXc1lPj86OWegPLiS0ahZAWPCnlo7j8/ +W3f0T0IE5Z86bNHpXD8iianKTaRWHKlmqmSYOZOIB9rmUqoD6YjM0wjGjD/NUzlJ +Ze8VlfKiUbfLtuniuotK+eE9aJSFhdnv4XoLIsAWC7pxExZSO8OwhgdjaEDSveQU +cp9mj+PK38ODjfBMYUHA +=W8Yn -----END PGP SIGNATURE----- diff --git a/net-zope/zope/zope-2.13.7.ebuild b/net-zope/zope/zope-2.13.7.ebuild new file mode 100644 index 000000000000..81d413ad5dc3 --- /dev/null +++ b/net-zope/zope/zope-2.13.7.ebuild @@ -0,0 +1,167 @@ +# 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}" +} |