1 |
commit: 6db3562578e0d90c4ed0e71152f84a11246c7a45 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 07:35:38 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 08:28:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db35625 |
7 |
|
8 |
dev-python/APScheduler: Bump to 3.9.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/APScheduler/APScheduler-3.9.1.ebuild | 53 +++++++++++++++++++++++++ |
13 |
dev-python/APScheduler/Manifest | 1 + |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/APScheduler/APScheduler-3.9.1.ebuild b/dev-python/APScheduler/APScheduler-3.9.1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..03e50a1598da |
19 |
--- /dev/null |
20 |
+++ b/dev-python/APScheduler/APScheduler-3.9.1.ebuild |
21 |
@@ -0,0 +1,53 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
28 |
+PYTHON_COMPAT=( python3_{8..10} ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="In-process task scheduler with Cron-like capabilities" |
33 |
+HOMEPAGE="https://github.com/agronholm/apscheduler" |
34 |
+SRC_URI="mirror://pypi/A/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/tzlocal-4[${PYTHON_USEDEP}] |
44 |
+" |
45 |
+BDEPEND=" |
46 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
47 |
+ test? ( |
48 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
49 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
50 |
+ ) |
51 |
+" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+PATCHES=( |
56 |
+ # disable test fixtures using external servers (mongodb, redis...) |
57 |
+ # these fixtures are using markers in git master, so the patch |
58 |
+ # should be no longer necessary with next major bump |
59 |
+ "${FILESDIR}"/APScheduler-3.8.1-external-server-tests.patch |
60 |
+) |
61 |
+ |
62 |
+EPYTEST_DESELECT=( |
63 |
+ tests/test_jobstores.py::test_repr_mongodbjobstore |
64 |
+ tests/test_jobstores.py::test_repr_redisjobstore |
65 |
+ tests/test_jobstores.py::test_repr_zookeeperjobstore |
66 |
+) |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ # suppress setuptools warning #797751 |
70 |
+ sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die |
71 |
+ sed -e '/addopts/d' -i setup.cfg || die |
72 |
+ |
73 |
+ distutils-r1_python_prepare_all |
74 |
+} |
75 |
|
76 |
diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest |
77 |
index 87be39734911..8bc4be634098 100644 |
78 |
--- a/dev-python/APScheduler/Manifest |
79 |
+++ b/dev-python/APScheduler/Manifest |
80 |
@@ -1,2 +1,3 @@ |
81 |
DIST APScheduler-3.8.1.tar.gz 98699 BLAKE2B 7a8320251670de29f76375387f8a3817b3a9c401befd4bfefba106817ec3d21fc0f60af9b7a7620f83c0e1c651bc3eb8c62036a17e01ff91bf5dcf492ff78911 SHA512 553af2532b32bcdc7dc3047bf4f51623e87dbee62dac40b7ca8c3e64881467ecf6c50df56c863d5a44c6b8a99eb02ae22ae008d76ee4836ba398afd280bed99b |
82 |
DIST APScheduler-3.9.0.tar.gz 100492 BLAKE2B c1d15dcbebf52034cad0a1317bca68cf567d5acbf6619a5905e1793702339a68cef0a639463f887bb71cb96f15762bea5e5521230fa957e2fbb2ae501ca3cb36 SHA512 40b180f0297b0be125dea89d518331c1f78b1468b6507651c8e9b06cbb44f700ef1f1c44be8bf08f562b67ac6e89ac5022598ad79081bdf0290c207063e0898a |
83 |
+DIST APScheduler-3.9.1.tar.gz 100567 BLAKE2B a31e2591c47d451e95a982b4d85a70ee9a33bf2370a70e0e1ba2a8e31ae718d5853aad6242cbd8f90dc5bc6912af3ea96270e9f514c3903d041af450c1d8ead5 SHA512 901e04140dc9af3b67887cd3200131cc4121cad71b7ca4afe7cc0adf1a58cebb02eee5abed1f97fc95fe9fef843d00cd6611ab3fbff8ace9247894d6f0720dff |