aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/kombu')
-rw-r--r--dev-python/kombu/Manifest1
-rw-r--r--dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch11
-rw-r--r--dev-python/kombu/kombu-2.5.10.ebuild75
-rw-r--r--dev-python/kombu/metadata.xml16
4 files changed, 0 insertions, 103 deletions
diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest
deleted file mode 100644
index 0ee723f..0000000
--- a/dev-python/kombu/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kombu-2.5.10.tar.gz 304810 SHA256 01c1e56fe88053b6e7801682277c4cc8318c485d8bd47c830c08567bfac680e2 SHA512 f42c8b1dc2e5b39c5a6bad4e69d4cd532bac978d7f9ec6e6337032228aada3c4fc2d6f434c6d2ac6b2f4e0a806223b24bb592d8ddaee20ab723bb7b6db6cfe0f WHIRLPOOL 05b0057775e1fd2b34b10e46950ba3455b5d1716a6d50f5fdff0d2b8f343e34517b65611a21eb15936deeb9d9324c878bbc2959344230e1d0111f3a5ebc5bb4f
diff --git a/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch b/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch
deleted file mode 100644
index d8a0ccc..0000000
--- a/dev-python/kombu/files/kombu-2.1.1-add-assertIsInstance-with-unittest.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/kombu/tests/utils.py 2012-02-07 17:57:27.000000000 +0100
-+++ b/kombu/tests/utils.py 2012-02-28 16:09:43.687489572 +0100
-@@ -23,6 +23,8 @@
-
- if not hasattr(unittest.TestCase, "assertItemsEqual"):
- assertItemsEqual = unittest.TestCase.assertSameElements
-+ if not hasattr(unittest.TestCase, "assertIsInstance"):
-+ assertIsInstance = lambda inst, obj, cls: unittest.TestCase.assertTrue(inst, isinstance(obj, cls))
-
-
- class Mock(mock.Mock):
diff --git a/dev-python/kombu/kombu-2.5.10.ebuild b/dev-python/kombu/kombu-2.5.10.ebuild
deleted file mode 100644
index 3b72167..0000000
--- a/dev-python/kombu/kombu-2.5.10.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_1,3_2} pypy{1_9,2_0} )
-
-inherit distutils-r1
-
-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="amqplib doc examples test"
-
-RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
- amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
- >=dev-python/py-amqp-1.0.6[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- test? ( dev-python/nose-cover3[${PYTHON_USEDEP}]
- >=dev-python/mock-0.7[${PYTHON_USEDEP}]
- dev-python/django[$(python_gen_usedep python{2_7,3_2})]
- >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
- dev-python/redis-py[${PYTHON_USEDEP}]
- dev-python/pymongo[$(python_gen_usedep 'python2_7' 'pypy{1_9,2_0}')]
- dev-python/msgpack[$(python_gen_usedep python{2_7,3_1,3_2})] )
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/django[$(python_gen_usedep python{2_7,3_2})]
- dev-python/beanstalkc[$(python_gen_usedep python2_7)]
- dev-python/couchdb-python[$(python_gen_usedep python2_7)] )
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_compile_all() {
- if use doc; then
- emake -C docs html || die "kombu docs failed installation"
- fi
-}
-
-# wip; https://github.com/celery/kombu/issues/227; at this point upstr. maintainer established these tests
-# 'can and do' pass, acks their failing 'on Travis' and offers neither a solution nor any plan to make 1.
-python_test() {
- if [[ "${EPYTHON}" == python3* ]]; then
- if [[ "${EPYTHON}" == 'python3.1' ]]; then
- einfo "python3.1 ill-equipped to run testsuite, skipped"
- else
- nosetests --py3where=build/lib -e 'test_basic_consume_registers_ack_status*' \
- -e 'test_close_resolves_connection_cycle*' -e 'test_init*' \
- -e 'test_message_to_python*' -e 'test_prepare_message*' \
- -e 'test_produce_consume*' -e 'test_produce_consume_noack*' kombu/tests \
- || die "Tests failed under ${EPYTHON}"
- fi
- else
- nosetests -e 'test_basic_consume_registers_ack_status*' -e 'test_close_resolves_connection_cycle*' \
- -e 'test_init*' -e 'test_message_to_python*' -e 'test_prepare_message*' \
- || die "Tests failed under ${EPYTHON}"
- fi
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- 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/
-}
diff --git a/dev-python/kombu/metadata.xml b/dev-python/kombu/metadata.xml
deleted file mode 100644
index 829c259..0000000
--- a/dev-python/kombu/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>python</herd>
- <maintainer>
- <email>iksaif@gentoo.org</email>
- <name>Corentin Chary</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">kombu</remote-id>
- <remote-id type="github">celery/kombu</remote-id>
- </upstream>
- <use>
- <flag name="amqplib">Enable amqplib support</flag>
- </use>
-</pkgmetadata>