Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/APScheduler/
Date: Thu, 24 Feb 2022 22:00:15
Message-Id: 1645740003.84bde3f2f3992e482479c08520bdac3bba2dc2af.mgorny@gentoo
1 commit: 84bde3f2f3992e482479c08520bdac3bba2dc2af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 21:43:32 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 22:00:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84bde3f2
7
8 dev-python/APScheduler: Bump to 3.9.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/APScheduler/APScheduler-3.9.0.ebuild | 50 +++++++++++++++++++++++++
13 dev-python/APScheduler/Manifest | 1 +
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/APScheduler/APScheduler-3.9.0.ebuild b/dev-python/APScheduler/APScheduler-3.9.0.ebuild
17 new file mode 100644
18 index 000000000000..6535d1243da6
19 --- /dev/null
20 +++ b/dev-python/APScheduler/APScheduler-3.9.0.ebuild
21 @@ -0,0 +1,50 @@
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="dev-python/pytz[${PYTHON_USEDEP}]
41 + >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
42 + >=dev-python/tzlocal-4[${PYTHON_USEDEP}]"
43 +BDEPEND="
44 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
45 + test? (
46 + dev-python/sqlalchemy[${PYTHON_USEDEP}]
47 + www-servers/tornado[${PYTHON_USEDEP}]
48 + )"
49 +
50 +distutils_enable_tests pytest
51 +
52 +PATCHES=(
53 + # disable test fixtures using external servers (mongodb, redis...)
54 + # these fixtures are using markers in git master, so the patch
55 + # should be no longer necessary with next major bump
56 + "${FILESDIR}"/APScheduler-3.8.1-external-server-tests.patch
57 +)
58 +
59 +EPYTEST_DESELECT=(
60 + tests/test_jobstores.py::test_repr_mongodbjobstore
61 + tests/test_jobstores.py::test_repr_redisjobstore
62 + tests/test_jobstores.py::test_repr_zookeeperjobstore
63 +)
64 +
65 +python_prepare_all() {
66 + # suppress setuptools warning #797751
67 + sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
68 + sed -e '/addopts/d' -i setup.cfg || die
69 +
70 + distutils-r1_python_prepare_all
71 +}
72
73 diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest
74 index e85cd583b46a..87be39734911 100644
75 --- a/dev-python/APScheduler/Manifest
76 +++ b/dev-python/APScheduler/Manifest
77 @@ -1 +1,2 @@
78 DIST APScheduler-3.8.1.tar.gz 98699 BLAKE2B 7a8320251670de29f76375387f8a3817b3a9c401befd4bfefba106817ec3d21fc0f60af9b7a7620f83c0e1c651bc3eb8c62036a17e01ff91bf5dcf492ff78911 SHA512 553af2532b32bcdc7dc3047bf4f51623e87dbee62dac40b7ca8c3e64881467ecf6c50df56c863d5a44c6b8a99eb02ae22ae008d76ee4836ba398afd280bed99b
79 +DIST APScheduler-3.9.0.tar.gz 100492 BLAKE2B c1d15dcbebf52034cad0a1317bca68cf567d5acbf6619a5905e1793702339a68cef0a639463f887bb71cb96f15762bea5e5521230fa957e2fbb2ae501ca3cb36 SHA512 40b180f0297b0be125dea89d518331c1f78b1468b6507651c8e9b06cbb44f700ef1f1c44be8bf08f562b67ac6e89ac5022598ad79081bdf0290c207063e0898a