diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-17 16:49:11 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-17 16:49:11 +0000 |
commit | 77659f144fe3ee6ff6a47b1044afde01d9ba4aea (patch) | |
tree | b20d5d0cf9c0c9557b79978f10607c734c9b3fd7 /net-zope/accesscontrol | |
parent | arm/ia64/m68k/s390/sh/sparc stable wrt #295256 (diff) | |
download | historical-77659f144fe3ee6ff6a47b1044afde01d9ba4aea.tar.gz historical-77659f144fe3ee6ff6a47b1044afde01d9ba4aea.tar.bz2 historical-77659f144fe3ee6ff6a47b1044afde01d9ba4aea.zip |
Initial addition.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'net-zope/accesscontrol')
-rw-r--r-- | net-zope/accesscontrol/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/accesscontrol/Manifest | 4 | ||||
-rw-r--r-- | net-zope/accesscontrol/accesscontrol-2.13.2.ebuild | 77 | ||||
-rw-r--r-- | net-zope/accesscontrol/metadata.xml | 5 |
4 files changed, 96 insertions, 0 deletions
diff --git a/net-zope/accesscontrol/ChangeLog b/net-zope/accesscontrol/ChangeLog new file mode 100644 index 000000000000..7bf257d4ccf2 --- /dev/null +++ b/net-zope/accesscontrol/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/accesscontrol +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/accesscontrol/ChangeLog,v 1.1 2010/07/17 16:49:11 arfrever Exp $ + +*accesscontrol-2.13.2 (17 Jul 2010) + + 17 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +accesscontrol-2.13.2.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/accesscontrol/Manifest b/net-zope/accesscontrol/Manifest new file mode 100644 index 000000000000..53c8b50828c5 --- /dev/null +++ b/net-zope/accesscontrol/Manifest @@ -0,0 +1,4 @@ +DIST AccessControl-2.13.2.zip 173017 RMD160 bafc94d77765b58fd30141f467d95c9761b69759 SHA1 caecc0c03288a1940bfc8fc4e0573665d1a01fab SHA256 ae0f65a3eb1fc887e89a87475d10a7e3cb46828808f4a25c062bb9dec755778f +EBUILD accesscontrol-2.13.2.ebuild 1895 RMD160 e90949c6c189f7a9b71a171001caf22435b92e51 SHA1 a6f53f6136fdf42058ade7465a5aec56ffc9c9ba SHA256 7477b383e70c016f8f7e55b125ec478faa1ed90852a8f6a33cd1bb222c782df1 +MISC ChangeLog 419 RMD160 4a7a13df36a2a29c25b8e6ef65e61b1bb990d95b SHA1 617746c2b7dbe747b0b81f94fbb39404bb0a24d5 SHA256 6b7d14da9d4bb2181dd32771f9b64349bce094e218b1e29dcb75d1b8e114e35e +MISC metadata.xml 162 RMD160 379856c00e7e61b0979c1cd26ed2f48cdb1bd74a SHA1 4d2120f21d176aada015eaee7153bbdebbbd42ba SHA256 3157dae328536e1bd59bacf81cef22ffc02768f40791abe5229328db312ffbe1 diff --git a/net-zope/accesscontrol/accesscontrol-2.13.2.ebuild b/net-zope/accesscontrol/accesscontrol-2.13.2.ebuild new file mode 100644 index 000000000000..8951bb6363f9 --- /dev/null +++ b/net-zope/accesscontrol/accesscontrol-2.13.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/accesscontrol/accesscontrol-2.13.2.ebuild,v 1.1 2010/07/17 16:49:11 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +MY_PN="AccessControl" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Security framework for Zope2." +HOMEPAGE="http://pypi.python.org/pypi/AccessControl" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~sparc ~x86" +IUSE="test" + +RDEPEND="dev-python/restrictedpython + net-zope/acquisition + net-zope/extensionclass + net-zope/persistence + net-zope/record + net-zope/zexceptions + net-zope/zodb + net-zope/zope-component + net-zope/zope-deferredimport + net-zope/zope-interface + net-zope/zope-publisher + net-zope/zope-security" +DEPEND="${RDEPEND} + app-arch/unzip + dev-python/setuptools + test? ( + net-zope/datetime + net-zope/transaction + net-zope/zope-configuration + net-zope/zope-schema + net-zope/zope-testing + )" + +S="${WORKDIR}/${MY_P}" + +DOCS="CHANGES.txt README.txt" +PYTHON_MODNAME="${MY_PN}" + +src_prepare() { + distutils_src_prepare + + # Disable broken tests. + rm -f src/AccessControl/tests/testSecurityManager.py + rm -f src/AccessControl/tests/testZopeSecurityPolicy.py +} + +distutils_src_test_pre_hook() { + local module + for module in AccessControl; do + ln -fs "../../$(ls -d build-${PYTHON_ABI}/lib.*)/${module}/c${module}.so" "src/${module}/c${module}.so" || die "Symlinking ${module}/c${module}.so failed with Python ${PYTHON_ABI}" + done +} + +src_install() { + distutils_src_install + python_clean_installation_image + + # Don't install tests. + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/AccessControl/tests" + } + python_execute_function -q delete_tests +} diff --git a/net-zope/accesscontrol/metadata.xml b/net-zope/accesscontrol/metadata.xml new file mode 100644 index 000000000000..42125e6223db --- /dev/null +++ b/net-zope/accesscontrol/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-zope</herd> +</pkgmetadata> |