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