summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-09-21 03:46:16 +0000
committerIan Delaney <idella4@gentoo.org>2014-09-21 03:46:16 +0000
commit162be5802c7bd22b45b4d59c07b84d8ef929c77f (patch)
tree5acdf92809f40d75253d0002a881d078730b9ca6 /dev-python
parentRevbump so that people actually get the 'hacked up' systemd units, bug 523308. (diff)
downloadgentoo-2-162be5802c7bd22b45b4d59c07b84d8ef929c77f.tar.gz
gentoo-2-162be5802c7bd22b45b4d59c07b84d8ef929c77f.tar.bz2
gentoo-2-162be5802c7bd22b45b4d59c07b84d8ef929c77f.zip
bump; add py3.4, upgrade deps, test phase
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django-celery/ChangeLog7
-rw-r--r--dev-python/django-celery/django-celery-3.1.15.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-python/django-celery/ChangeLog b/dev-python/django-celery/ChangeLog
index 98f8bff168ee..9bfb0d7d3274 100644
--- a/dev-python/django-celery/ChangeLog
+++ b/dev-python/django-celery/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/django-celery
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/ChangeLog,v 1.18 2014/07/06 12:41:16 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/ChangeLog,v 1.19 2014/09/21 03:46:16 idella4 Exp $
+
+*django-celery-3.1.15 (21 Sep 2014)
+
+ 21 Sep 2014; Ian Delaney <idella4@gentoo.org> +django-celery-3.1.15.ebuild:
+ bump; add py3.4, upgrade deps, test phase
06 Jul 2014; Michał Górny <mgorny@gentoo.org> django-celery-3.1.10.ebuild,
django-celery-3.1.9.ebuild:
diff --git a/dev-python/django-celery/django-celery-3.1.15.ebuild b/dev-python/django-celery/django-celery-3.1.15.ebuild
new file mode 100644
index 000000000000..33ef06ded275
--- /dev/null
+++ b/dev-python/django-celery/django-celery-3.1.15.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/django-celery-3.1.15.ebuild,v 1.1 2014/09/21 03:46:16 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Celery Integration for Django"
+HOMEPAGE="http://celeryproject.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+PY2_USEDEP=$(python_gen_usedep python2_7)
+RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
+ dev-python/django[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/django-nose[${PYTHON_USEDEP}]
+ >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
+ dev-python/nose-cover3[${PYTHON_USEDEP}]
+ dev-python/mock[${PY2_USEDEP}]
+ dev-python/python-memcached[${PY2_USEDEP}] )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
+ dev-python/python-memcached[${PY2_USEDEP}]
+ )"
+
+PY27_REQUSE="$(python_gen_useflags 'python2.7')"
+REQUIRED_USE="
+ doc? ( ${PY27_REQUSE} )"
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ # https://github.com/celery/django-celery/issues/342
+ "${PYTHON}" tests/manage.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/.build/html/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}