diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 15:37:33 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 15:37:33 +0000 |
commit | 31fd846d6e6fd614ac5d207befca648b2105aa3f (patch) | |
tree | 11241725cc6b6ad6d6b9a67ca148f433ededb1cb /net-zope/zconfig | |
parent | Merge from Prefix (diff) | |
download | historical-31fd846d6e6fd614ac5d207befca648b2105aa3f.tar.gz historical-31fd846d6e6fd614ac5d207befca648b2105aa3f.tar.bz2 historical-31fd846d6e6fd614ac5d207befca648b2105aa3f.zip |
Initial addition (bug #191252).
Package-Manager: portage-14556-svn/cvs/Linux x86_64
Diffstat (limited to 'net-zope/zconfig')
-rw-r--r-- | net-zope/zconfig/ChangeLog | 11 | ||||
-rw-r--r-- | net-zope/zconfig/Manifest | 5 | ||||
-rw-r--r-- | net-zope/zconfig/files/zconfig-2.7.1-fix_tests.patch | 11 | ||||
-rw-r--r-- | net-zope/zconfig/metadata.xml | 6 | ||||
-rw-r--r-- | net-zope/zconfig/zconfig-2.7.1.ebuild | 49 |
5 files changed, 82 insertions, 0 deletions
diff --git a/net-zope/zconfig/ChangeLog b/net-zope/zconfig/ChangeLog new file mode 100644 index 000000000000..3fa3ae2e9204 --- /dev/null +++ b/net-zope/zconfig/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-zope/zconfig +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zconfig/ChangeLog,v 1.1 2009/10/10 15:37:32 arfrever Exp $ + +*zconfig-2.7.1 (10 Oct 2009) + + 10 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +zconfig-2.7.1.ebuild, +files/zconfig-2.7.1-fix_tests.patch, + +metadata.xml: + Initial addition (bug #191252). Ebuild rewritten by me. + diff --git a/net-zope/zconfig/Manifest b/net-zope/zconfig/Manifest new file mode 100644 index 000000000000..b16dda304b5e --- /dev/null +++ b/net-zope/zconfig/Manifest @@ -0,0 +1,5 @@ +AUX zconfig-2.7.1-fix_tests.patch 317 RMD160 cf551589a3845caba701c2b29eb6d9dfa8c55f39 SHA1 d31f8d986d3f9bf0661879908e6aba915affe7c4 SHA256 8675ae12f5006cdd42fc35b0573d9b77f917f4490a16fd2930a3519700419b6b +DIST ZConfig-2.7.1.tar.gz 253814 RMD160 43231c0d12829e42cdbf50fef0e0eb5c2b771799 SHA1 8e123f9fa76985945712c59aa812629a651f3a5c SHA256 0abca7e6b69fdd1c22520e66e3f2f2b2f36698ad4d70904fdb0aaded5a16535f +EBUILD zconfig-2.7.1.ebuild 1100 RMD160 ed8e362565448cf48c0d9bc0457aa377a7d06402 SHA1 1ffa152cb7dc4af102d11303c2d074ba0e815a25 SHA256 de8a629468a8180283c96bfbf54e59558813a70ec5b8d5d22d6ec6a5875f9061 +MISC ChangeLog 449 RMD160 ba799dd3507631e788ae7a2df708a5918ab3b185 SHA1 0829a7a685d92dee5eb3e186d3786d5cce4dfa1a SHA256 48143e60a96e14fc199b1715af4875ecd5fef9cbf0707500476806326ab65e1e +MISC metadata.xml 183 RMD160 0e2d86898897ee70cc1f6e9ceb76d00388d3b2fa SHA1 19635a9dfa15036e341a7cbdd8cbd018db62be82 SHA256 f480763451083d2f7be8fc23d38e02952ccc383b4cc65e103a9901a0907ce50d diff --git a/net-zope/zconfig/files/zconfig-2.7.1-fix_tests.patch b/net-zope/zconfig/files/zconfig-2.7.1-fix_tests.patch new file mode 100644 index 000000000000..66580476be9e --- /dev/null +++ b/net-zope/zconfig/files/zconfig-2.7.1-fix_tests.patch @@ -0,0 +1,11 @@ +--- ZConfig/components/logger/tests/test_logger.py ++++ ZConfig/components/logger/tests/test_logger.py +@@ -360,6 +360,8 @@ + + # These tests should not be run on Windows. + ++ handler_factory = loghandler.FileHandler ++ + _schematext = """ + <schema> + <import package='ZConfig.components.logger'/> diff --git a/net-zope/zconfig/metadata.xml b/net-zope/zconfig/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/zconfig/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-zope</herd> + <herd>python</herd> +</pkgmetadata> diff --git a/net-zope/zconfig/zconfig-2.7.1.ebuild b/net-zope/zconfig/zconfig-2.7.1.ebuild new file mode 100644 index 000000000000..60f08b0995c3 --- /dev/null +++ b/net-zope/zconfig/zconfig-2.7.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zconfig/zconfig-2.7.1.ebuild,v 1.1 2009/10/10 15:37:32 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +MY_PN="ZConfig" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Structured Configuration Library" +HOMEPAGE="http://pypi.python.org/pypi/ZConfig" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-python/setuptools + test? ( dev-python/nose net-zope/zope-testing )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" +DOCS="NEWS.txt README.txt" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${P}-fix_tests.patch" +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + # Don't install tests. + rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/ZConfig/tests +} |