diff options
author | Corentin Chary <iksaif@gentoo.org> | 2012-10-25 10:46:21 +0000 |
---|---|---|
committer | Corentin Chary <iksaif@gentoo.org> | 2012-10-25 10:46:21 +0000 |
commit | 7b0b20073e60b6913e8d79891f7e4b71c39cbb67 (patch) | |
tree | a3f4e47ca5382bd835e0e1dde2965ba7dc48f821 /dev-python/celery | |
parent | Fix the move to the submodules stuff. (diff) | |
download | gentoo-2-7b0b20073e60b6913e8d79891f7e4b71c39cbb67.tar.gz gentoo-2-7b0b20073e60b6913e8d79891f7e4b71c39cbb67.tar.bz2 gentoo-2-7b0b20073e60b6913e8d79891f7e4b71c39cbb67.zip |
Fix #439284. Allow usage of dev-python/python-dateutil-2.1.
(Portage version: 2.1.11.23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/celery')
-rw-r--r-- | dev-python/celery/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/celery/celery-3.0.11-r1.ebuild (renamed from dev-python/celery/celery-3.0.11.ebuild) | 8 | ||||
-rw-r--r-- | dev-python/celery/files/celery-3.0.11-require-python-dateutil-2.1.patch | 47 |
3 files changed, 60 insertions, 3 deletions
diff --git a/dev-python/celery/ChangeLog b/dev-python/celery/ChangeLog index 7aa92bbed21f..057f822f4d99 100644 --- a/dev-python/celery/ChangeLog +++ b/dev-python/celery/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/celery # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/ChangeLog,v 1.9 2012/09/28 10:37:24 iksaif Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/ChangeLog,v 1.10 2012/10/25 10:46:21 iksaif Exp $ + +*celery-3.0.11-r1 (25 Oct 2012) + + 25 Oct 2012; Corentin Chary <iksaif@gentoo.org> +celery-3.0.11-r1.ebuild, + +files/celery-3.0.11-require-python-dateutil-2.1.patch, -celery-3.0.11.ebuild: + Fix #439284. Allow usage of dev-python/python-dateutil-2.1. *celery-3.0.11 (28 Sep 2012) diff --git a/dev-python/celery/celery-3.0.11.ebuild b/dev-python/celery/celery-3.0.11-r1.ebuild index 088de7cd6243..5c6ece6abb7a 100644 --- a/dev-python/celery/celery-3.0.11.ebuild +++ b/dev-python/celery/celery-3.0.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/celery-3.0.11.ebuild,v 1.1 2012/09/28 10:37:24 iksaif Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/celery-3.0.11-r1.ebuild,v 1.1 2012/10/25 10:46:21 iksaif Exp $ EAPI="4" @@ -12,7 +12,7 @@ RESTRICT_PYTHON_ABIS="2.[5-6]" SUPPORT_PYTHON_ABIS="1" DISTUTILS_SRC_TEST="nosetests" -inherit distutils +inherit distutils eutils DESCRIPTION="Celery is an open source asynchronous task queue/job queue based on distributed message passing." HOMEPAGE="http://celeryproject.org/ http://pypi.python.org/pypi/celery" @@ -56,6 +56,10 @@ DEPEND="${RDEPEND} ) dev-python/setuptools" +src_prepare() { + epatch "${FILESDIR}/${P}-require-python-dateutil-2.1.patch" +} + src_test() { testing() { nosetests --py3where build-${PYTHON_ABI}/lib/${PN}/tests diff --git a/dev-python/celery/files/celery-3.0.11-require-python-dateutil-2.1.patch b/dev-python/celery/files/celery-3.0.11-require-python-dateutil-2.1.patch new file mode 100644 index 000000000000..90cdcb6d5f1c --- /dev/null +++ b/dev-python/celery/files/celery-3.0.11-require-python-dateutil-2.1.patch @@ -0,0 +1,47 @@ +From ae721b6947e7e05f26dc8438fe61106b5e993e12 Mon Sep 17 00:00:00 2001 +From: Ask Solem <ask@celeryproject.org> +Date: Fri, 17 Aug 2012 16:16:08 +0100 +Subject: [PATCH] Now depends on dateutil-2.1 which supports Py2.6, 2.7 and + 3.2+. Closes #915 + +--- + requirements/default-py3k.txt | 2 +- + requirements/default.txt | 2 +- + setup.cfg | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/requirements/default-py3k.txt b/requirements/default-py3k.txt +index d68a7bd..a8bd31f 100644 +--- a/requirements/default-py3k.txt ++++ b/requirements/default-py3k.txt +@@ -1,4 +1,4 @@ + billiard>=2.7.3.17 +-python-dateutil>=2.0 ++python-dateutil>=2.1 + pytz + kombu>=2.4.7,<3.0 +diff --git a/requirements/default.txt b/requirements/default.txt +index 2f50735..855cfc7 100644 +--- a/requirements/default.txt ++++ b/requirements/default.txt +@@ -1,3 +1,3 @@ + billiard>=2.7.3.17 +-python-dateutil>=1.5,<2.0 ++python-dateutil>=2.1 + kombu>=2.4.7,<3.0 +diff --git a/setup.cfg b/setup.cfg +index 0e537f8..5ac1409 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -15,7 +15,7 @@ + + [bdist_rpm] + requires = billiard>=2.7.3.17 +- python-dateutil >= 1.5 ++ python-dateutil >= 2.1 + kombu >= 2.4.7 + + [egg_info] +-- +1.7.10 + |