diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 19:57:39 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 19:57:39 +0000 |
commit | 1a7cde17bde95980ed626a2a46ff8dde16fd8645 (patch) | |
tree | 897cf75f3ba9b1893b958ef04566cee1eab0c542 /net-zope/zc-lockfile | |
parent | remove MOD_BINS mess (diff) | |
download | historical-1a7cde17bde95980ed626a2a46ff8dde16fd8645.tar.gz historical-1a7cde17bde95980ed626a2a46ff8dde16fd8645.tar.bz2 historical-1a7cde17bde95980ed626a2a46ff8dde16fd8645.zip |
Initial addition.
Package-Manager: portage-14563-svn/cvs/Linux x86_64
Diffstat (limited to 'net-zope/zc-lockfile')
-rw-r--r-- | net-zope/zc-lockfile/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/zc-lockfile/Manifest | 4 | ||||
-rw-r--r-- | net-zope/zc-lockfile/metadata.xml | 6 | ||||
-rw-r--r-- | net-zope/zc-lockfile/zc-lockfile-1.0.0.ebuild | 45 |
4 files changed, 65 insertions, 0 deletions
diff --git a/net-zope/zc-lockfile/ChangeLog b/net-zope/zc-lockfile/ChangeLog new file mode 100644 index 000000000000..5620e5823fc3 --- /dev/null +++ b/net-zope/zc-lockfile/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/zc-lockfile +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zc-lockfile/ChangeLog,v 1.1 2009/10/10 19:57:39 arfrever Exp $ + +*zc-lockfile-1.0.0 (10 Oct 2009) + + 10 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +zc-lockfile-1.0.0.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/zc-lockfile/Manifest b/net-zope/zc-lockfile/Manifest new file mode 100644 index 000000000000..b328a047b4b8 --- /dev/null +++ b/net-zope/zc-lockfile/Manifest @@ -0,0 +1,4 @@ +DIST zc.lockfile-1.0.0.tar.gz 4014 RMD160 ffc9485e8a3f219b0fef65465b838df9d633706c SHA1 0cd4e27ae98d57d709295a04997de64a3a4a78ec SHA256 1f170e46eff20ae6c81cad5465f26702f3d3435e0511fb7983cd61a6ed84d5c0 +EBUILD zc-lockfile-1.0.0.ebuild 1124 RMD160 c6644566d58f0183eb325d2956a38bf5875bfe37 SHA1 a96e0e267565a9a2f0cdaf418d9806f0dc4f33da SHA256 01a4b2649f9c13a7d751784d97f5cb279e268f2a95289cf1a5668f43d6e92f19 +MISC ChangeLog 409 RMD160 1955115d683ad52cabe3acef2911820180483e21 SHA1 f1098aad463be980276a3fb1a74a5830efec2def SHA256 72e8fc507e1f4495bc47408392ebdf9e463f52e41383049fb5fb4d2fec089633 +MISC metadata.xml 183 RMD160 0e2d86898897ee70cc1f6e9ceb76d00388d3b2fa SHA1 19635a9dfa15036e341a7cbdd8cbd018db62be82 SHA256 f480763451083d2f7be8fc23d38e02952ccc383b4cc65e103a9901a0907ce50d diff --git a/net-zope/zc-lockfile/metadata.xml b/net-zope/zc-lockfile/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/zc-lockfile/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/zc-lockfile/zc-lockfile-1.0.0.ebuild b/net-zope/zc-lockfile/zc-lockfile-1.0.0.ebuild new file mode 100644 index 000000000000..e96fc4df6e9a --- /dev/null +++ b/net-zope/zc-lockfile/zc-lockfile-1.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zc-lockfile/zc-lockfile-1.0.0.ebuild,v 1.1 2009/10/10 19:57:39 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="${PN/-/.}" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Basic inter-process locks" +HOMEPAGE="http://pypi.python.org/pypi/zc.lockfile" +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="" + +S="${WORKDIR}"/${MY_P} + +PYTHON_MODNAME="${PN/-//}" +DOCS="doc.txt src/zc/lockfile/CHANGES.txt src/zc/lockfile/README.txt" + +src_test() { + testing() { + # Future versions of dev-python/nose will support Python 3. + [[ "${PYTHON_ABI}" == 3.* ]] && return + + PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + rm -f "${D}"usr/$(get_libdir)/python*/site-packages/zc/lockfile/{tests.py,*.txt} +} |