Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/celery/
Date: Thu, 17 Jun 2021 16:01:58
Message-Id: 1623945711.05ab6eb4e5254b716f8351e6ff4870dfe701f735.Alessandro-Barbieri@gentoo
1 commit: 05ab6eb4e5254b716f8351e6ff4870dfe701f735
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 17 15:10:22 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Jun 17 16:01:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05ab6eb4
7
8 dev-python/celery: add 5.1.1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/celery/Manifest | 1 +
13 dev-python/celery/celery-5.1.1.ebuild | 102 ++++++++++++++++++++++++++++++++++
14 2 files changed, 103 insertions(+)
15
16 diff --git a/dev-python/celery/Manifest b/dev-python/celery/Manifest
17 index 601e883ba..22d075e14 100644
18 --- a/dev-python/celery/Manifest
19 +++ b/dev-python/celery/Manifest
20 @@ -1 +1,2 @@
21 DIST celery-5.1.0.tar.gz 1468143 BLAKE2B e066941c6d214bb6bb9afec8100a2fa5e5c96da0f46cb0821d0cbf8aa6607e22320a1f46d48b7aae0f91f4d6c1d9d2143f50b0927a186f8aebc13d3fcc48b6af SHA512 78368767d1acb799d96036a4f0dab03b085c9a393f52f184080be1100a3c55c97b492d37be0944eca2cd55cfa21128c80e19537233702b1ee136027e47f889f8
22 +DIST celery-5.1.1.tar.gz 1471516 BLAKE2B bfdabf255cffa19deb80607c3a2063b6dd8c56a803a991453b8b07914e75630fee9d189ccb8e6be1f7e88e43fb22d31353968ffea222d75a7b7765ec3a5148b5 SHA512 b50fe494ec8346b5a90236536dbc809341b4b2328c1a2b7485210fb88cd5d8142f3e53b40c6b49e9e495eecaca1abcec2000f2af6d2f2bd719265410802eb572
23
24 diff --git a/dev-python/celery/celery-5.1.1.ebuild b/dev-python/celery/celery-5.1.1.ebuild
25 new file mode 100644
26 index 000000000..c200bfdd9
27 --- /dev/null
28 +++ b/dev-python/celery/celery-5.1.1.ebuild
29 @@ -0,0 +1,102 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="7"
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +MYPV="${PV/_beta/b}"
37 +PYTHON_COMPAT=( python3_8 )
38 +
39 +inherit bash-completion-r1 distutils-r1 eutils optfeature
40 +
41 +DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
42 +HOMEPAGE="
43 + http://celeryproject.org
44 + https://pypi.org/project/celery
45 + https://github.com/celery/celery
46 +"
47 +SRC_URI="https://github.com/celery/celery/archive/v${MYPV}.tar.gz -> ${P}.tar.gz"
48 +S="${WORKDIR}/${PN}-${MYPV}"
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64"
52 +# There are a number of other optional 'extras'
53 +IUSE="examples"
54 +#RESTRICT="!test? ( test )"
55 +RESTRICT="test" # 'celery' not found in `markers` configuration option
56 +
57 +RDEPEND="
58 + >=dev-python/billiard-3.6.4.0[${PYTHON_USEDEP}]
59 + <dev-python/billiard-4.0.0[${PYTHON_USEDEP}]
60 + >=dev-python/click-7[${PYTHON_USEDEP}]
61 + <dev-python/click-8[${PYTHON_USEDEP}]
62 + >=dev-python/click-didyoumean-0.0.3[${PYTHON_USEDEP}]
63 + >=dev-python/click-plugins-1.1.1[${PYTHON_USEDEP}]
64 + >=dev-python/click-repl-0.1.6[${PYTHON_USEDEP}]
65 + <dev-python/kombu-6.0[${PYTHON_USEDEP}]
66 + >=dev-python/kombu-5[${PYTHON_USEDEP}]
67 + dev-python/pytz[${PYTHON_USEDEP}]
68 + >=dev-python/vine-5[${PYTHON_USEDEP}]
69 + <dev-python/vine-6[${PYTHON_USEDEP}]
70 +"
71 +DEPEND="
72 + ${RDEPEND}
73 + test? (
74 + >=dev-python/boto3-1.9.178[${PYTHON_USEDEP}]
75 + >=dev-python/case-1.3.1[${PYTHON_USEDEP}]
76 + >=dev-python/moto-1.3.7[${PYTHON_USEDEP}]
77 + >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
78 + dev-python/pytest-celery[${PYTHON_USEDEP}]
79 + dev-python/pytest-subtests[${PYTHON_USEDEP}]
80 + >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
81 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
82 + >=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]
83 + )
84 + doc? (
85 + dev-python/docutils[${PYTHON_USEDEP}]
86 + >=dev-python/sphinx_celery-2.0.0[${PYTHON_USEDEP}]
87 + >=dev-python/sphinx-click-2.5.0[${PYTHON_USEDEP}]
88 + dev-python/jinja[${PYTHON_USEDEP}]
89 + dev-python/sqlalchemy[${PYTHON_USEDEP}]
90 + )
91 +"
92 +
93 +# testsuite needs it own source
94 +DISTUTILS_IN_SOURCE_BUILD=1
95 +distutils_enable_tests pytest
96 +distutils_enable_sphinx docs --no-autodoc
97 +
98 +python_install_all() {
99 + # Main celeryd init.d and conf.d
100 + newinitd "${FILESDIR}/celery.initd-r2" celery
101 + newconfd "${FILESDIR}/celery.confd-r2" celery
102 +
103 + if use examples; then
104 + docinto examples
105 + dodoc -r examples/.
106 + docompress -x "/usr/share/doc/${PF}/examples"
107 + fi
108 +
109 + newbashcomp extra/bash-completion/celery.bash "${PN}"
110 +
111 + distutils-r1_python_install_all
112 +}
113 +
114 +pkg_postinst() {
115 + optfeature "zookeeper support" dev-python/kazoo
116 + optfeature "msgpack support" dev-python/msgpack
117 + #optfeature "rabbitmq support" dev-python/librabbitmq
118 + #optfeature "slmq support" dev-python/softlayer_messaging
119 + optfeature "eventlet support" dev-python/eventlet
120 + #optfeature "couchbase support" dev-python/couchbase
121 + optfeature "redis support" dev-db/redis dev-python/redis-py
122 + optfeature "gevent support" dev-python/gevent
123 + optfeature "auth support" dev-python/pyopenssl
124 + optfeature "pyro support" dev-python/pyro:4
125 + optfeature "yaml support" dev-python/pyyaml
126 + optfeature "memcache support" dev-python/pylibmc
127 + optfeature "mongodb support" dev-python/pymongo
128 + optfeature "sqlalchemy support" dev-python/sqlalchemy
129 + optfeature "sqs support" dev-python/boto
130 + #optfeature "cassandra support" dev-python/cassandra-driver
131 +}