dev-python/django-celery: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Mon, 30 Nov 2015 10:57:54 +0000 (11:57 +0100)
committerJustin Lecher <jlec@gentoo.org>
Mon, 30 Nov 2015 10:57:54 +0000 (11:57 +0100)
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/django-celery/Manifest
dev-python/django-celery/django-celery-3.1.17.ebuild [new file with mode: 0644]

index bfc7c48ce9c5ba88dc7aa53038c33d7ca3fd7c28..0ae1d7890879654b71cc541c6322b7afb92db037 100644 (file)
@@ -1 +1,2 @@
 DIST django-celery-3.1.16.tar.gz 77411 SHA256 07a9c650a1f20e040cf5fffd0bcd920a81d0734915130d898c0325c5fafb2ec4 SHA512 8bada03237f2b6f45484fe15e985d4763944fe19b3ac7271a6b9d53058c13d903b0aba070cd813741e2a1a2c6c1d17b335f8712ca70c377d45892471ef7a59bc WHIRLPOOL a707ce0e31407e9a452d4930e93207dea31f22365a1c827dc917d9dc34d6a5c48f2bfc0aab41ce3b5a92877200265630e6fc17f7e7c80e0aac2ceb76a272a483
+DIST django-celery-3.1.17.tar.gz 79615 SHA256 254a95b0a4386df1fd949823942f6312c80fba3c88c5efad79cad8648bc5feb5 SHA512 fa68c85ee0eea778c5921c0373f3e7547bc644cd11d83e659fdf9bf4a80e317faca12ad3941225b073609a4716c5b9574d85c5c7063cff0fdb3deb0f1b86d225 WHIRLPOOL 6f01ab8aa28723720cd2ba516c9b2ecc30c28efe69fbdc72ddb18ed0fd2cfdaede6146133ec4a59f311e223a7146a7a190eaf8d9a6d8d831e46cafe668699fff
diff --git a/dev-python/django-celery/django-celery-3.1.17.ebuild b/dev-python/django-celery/django-celery-3.1.17.ebuild
new file mode 100644 (file)
index 0000000..41aef6b
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_REQ_USE="sqlite(+)"
+
+inherit distutils-r1 eutils
+
+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"
+
+# Python testsuite fails when built against dev-python/django-1.8.5
+# with ValueError: save() prohibited to prevent data loss due to
+# unsaved related object 'interval'.
+
+PY2_USEDEP=$(python_gen_usedep python2_7)
+RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
+       >dev-python/django-1.4[${PYTHON_USEDEP}]
+       <dev-python/django-1.9[${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
+}