summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2013-01-26 05:27:36 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2013-01-26 05:27:36 +0000
commit684da481356bafa9b7edc922bab823c91c46f70f (patch)
tree1bdeb7d969593dd6976670d0935ce0c752916cbb /dev-python/kombu
parentupdating unstable ebuilds to work properly in prefix (diff)
downloadgentoo-2-684da481356bafa9b7edc922bab823c91c46f70f.tar.gz
gentoo-2-684da481356bafa9b7edc922bab823c91c46f70f.tar.bz2
gentoo-2-684da481356bafa9b7edc922bab823c91c46f70f.zip
adding kombu-1.0.4 for sys-cluster/cinder
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'dev-python/kombu')
-rw-r--r--dev-python/kombu/ChangeLog7
-rw-r--r--dev-python/kombu/kombu-1.0.4.ebuild71
2 files changed, 77 insertions, 1 deletions
diff --git a/dev-python/kombu/ChangeLog b/dev-python/kombu/ChangeLog
index 15a4ee86718a..80f151c9c278 100644
--- a/dev-python/kombu/ChangeLog
+++ b/dev-python/kombu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/kombu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.16 2013/01/23 09:31:55 iksaif Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/ChangeLog,v 1.17 2013/01/26 05:27:36 prometheanfire Exp $
+
+*kombu-1.0.4 (26 Jan 2013)
+
+ 26 Jan 2013; Matthew Thode <prometheanfire@gentoo.org> +kombu-1.0.4.ebuild:
+ adding kombu-1.0.4 for sys-cluster/cinder
*kombu-2.5.4-r1 (23 Jan 2013)
diff --git a/dev-python/kombu/kombu-1.0.4.ebuild b/dev-python/kombu/kombu-1.0.4.ebuild
new file mode 100644
index 000000000000..f812dad35ad8
--- /dev/null
+++ b/dev-python/kombu/kombu-1.0.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/kombu/kombu-1.0.4.ebuild,v 1.1 2013/01/26 05:27:36 prometheanfire Exp $
+
+EAPI="4"
+
+PYTHON_TESTS_RESTRICTED_ABIS="3.* 2.7-pypy-*"
+PYTHON_DEPEND="*:2.7"
+RESTRICT_PYTHON_ABIS="2.[56]"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="AMQP Messaging Framework for Python"
+HOMEPAGE="http://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND=">=dev-python/anyjson-0.3.3
+ >=dev-python/amqplib-1.0.2"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose-cover3
+ dev-python/mock
+ virtual/python-unittest2
+ dev-python/simplejson
+ dev-python/anyjson
+ dev-python/redis-py
+ dev-python/pymongo
+ dev-python/msgpack )
+ doc? ( dev-python/sphinx
+ dev-python/django
+ dev-python/beanstalkc
+ dev-python/couchdb-python )
+ dev-python/setuptools"
+
+src_compile() {
+ distutils_src_compile
+
+ local SPHINXBUILD
+ if use doc; then
+ if python2.7 -c "import django.conf" &> /dev/null; then
+ SPHINXBUILD="sphinx-build-2.7"
+ else
+ die "kombu docs failed installation"
+ fi
+ einfo "building docs for kombu with python2.7"
+ PYTHONPATH="${S}" emake -C docs html SPHINXBUILD="${SPHINXBUILD}"
+ fi
+}
+
+src_test() {
+ testing() {
+ nosetests --py3where build-${PYTHON_ABI}/lib/${PN}/tests
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use examples; then
+ docompress -x usr/share/doc/${P}/examples/
+ insinto usr/share/doc/${PF}/
+ doins -r examples/
+ fi
+ use doc && dohtml -r docs/.build/html/
+}