/[gentoo-x86]/dev-python/django-celery/django-celery-3.1.16.ebuild
Gentoo

Contents of /dev-python/django-celery/django-celery-3.1.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 8 23:44:02 2015 UTC (2 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable, bug 540290

(Portage version: 2.2.17/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/django-celery/django-celery-3.1.16.ebuild,v 1.2 2015/03/06 22:14:48 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Celery Integration for Django"
11 HOMEPAGE="http://celeryproject.org/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="doc examples test"
18
19 PY2_USEDEP=$(python_gen_usedep python2_7)
20 RDEPEND=">=dev-python/celery-3.1.15[${PYTHON_USEDEP}]
21 dev-python/django[${PYTHON_USEDEP}]
22 dev-python/pytz[${PYTHON_USEDEP}]"
23 DEPEND="${RDEPEND}
24 dev-python/setuptools[${PYTHON_USEDEP}]
25 test? (
26 dev-python/django-nose[${PYTHON_USEDEP}]
27 >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
28 dev-python/nose-cover3[${PYTHON_USEDEP}]
29 dev-python/mock[${PY2_USEDEP}]
30 dev-python/python-memcached[${PY2_USEDEP}] )
31 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
32 dev-python/sphinxcontrib-issuetracker[${PY2_USEDEP}]
33 dev-python/python-memcached[${PY2_USEDEP}]
34 )"
35
36 PY27_REQUSE="$(python_gen_useflags 'python2.7')"
37 REQUIRED_USE="
38 doc? ( ${PY27_REQUSE} )"
39
40 python_compile_all() {
41 use doc && emake -C docs html
42 }
43
44 python_test() {
45 # https://github.com/celery/django-celery/issues/342
46 "${PYTHON}" tests/manage.py test
47 }
48
49 python_install_all() {
50 use doc && local HTML_DOCS=( docs/.build/html/. )
51 use examples && local EXAMPLES=( examples/. )
52 distutils-r1_python_install_all
53 }

  ViewVC Help
Powered by ViewVC 1.1.20