diff options
author | 2010-05-15 23:41:23 +0200 | |
---|---|---|
committer | 2010-05-15 23:41:23 +0200 | |
commit | c1dfff407ebc594ffac55397cbd83af9e19b114b (patch) | |
tree | 54d7fbab74e82eb668e56fdf43916720270d7625 | |
parent | [dev-python/pycaptcha] ebuild added; required by reddit (diff) | |
download | piczu-c1dfff407ebc594ffac55397cbd83af9e19b114b.tar.gz piczu-c1dfff407ebc594ffac55397cbd83af9e19b114b.tar.bz2 piczu-c1dfff407ebc594ffac55397cbd83af9e19b114b.zip |
[dev-python/amqplib] new ebuild; required by reddit
-rw-r--r-- | dev-python/amqplib/Manifest | 2 | ||||
-rw-r--r-- | dev-python/amqplib/amqplib-0.6.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/amqplib/Manifest b/dev-python/amqplib/Manifest new file mode 100644 index 0000000..24ea56e --- /dev/null +++ b/dev-python/amqplib/Manifest @@ -0,0 +1,2 @@ +DIST amqplib-0.6.1.tgz 53680 RMD160 9d04e91f0457d96a6db9fbcf9364546026aec147 SHA1 f124e5e4a6644bf6d1734032a01ac44db1b25a29 SHA256 0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62 +EBUILD amqplib-0.6.1.ebuild 889 RMD160 8dacc7a70d862f2b8a59a11be9c4e88ed14c434d SHA1 1ded4a1f30abebd6d911d93723045c4a5e640881 SHA256 035a1eeabe6072a2c564ed2ea3235bf83f875a1807e5144967f1f1cb187c63e9 diff --git a/dev-python/amqplib/amqplib-0.6.1.ebuild b/dev-python/amqplib/amqplib-0.6.1.ebuild new file mode 100644 index 0000000..1c84ccb --- /dev/null +++ b/dev-python/amqplib/amqplib-0.6.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" +PYTHON_DEPEND="2:2.4:2.6" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Python client for the Advanced Message Queuing Procotol (AMQP)" +HOMEPAGE="http://code.google.com/p/py-amqplib/" +SRC_URI="http://py-amqplib.googlecode.com/files/${P}.tgz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="examples extras test" + +RDEPEND="" +DEPEND="${RDEPEND}" + +RESTRICT_PYTHON_ABIS="3.*" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" pytest -v + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + dodoc docs/* + if use examples; then + docinto examples + dodoc demo/* || die "dodoc failed" + fi + if use extras; then + insinto /usr/share/${PF} + doins -r extras || die "doins failed" + fi + +} |