summaryrefslogtreecommitdiff
path: root/dev-python/APScheduler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-01 09:04:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-01 09:04:22 +0000
commitd88834e7a12432c4e2d04ca7e938a66e25811f89 (patch)
tree9e31e0c72268908e8433ccfd6384a039525c1a32 /dev-python/APScheduler
parent7414e061f0ef8e77eaa6de051a83181cddbef1dc (diff)
gentoo auto-resync : 01:02:2023 - 09:04:21
Diffstat (limited to 'dev-python/APScheduler')
-rw-r--r--dev-python/APScheduler/APScheduler-3.10.0.ebuild58
-rw-r--r--dev-python/APScheduler/Manifest2
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.10.0.ebuild b/dev-python/APScheduler/APScheduler-3.10.0.ebuild
new file mode 100644
index 000000000000..496012d99a0f
--- /dev/null
+++ b/dev-python/APScheduler/APScheduler-3.10.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="In-process task scheduler with Cron-like capabilities"
+HOMEPAGE="
+ https://github.com/agronholm/apscheduler/
+ https://pypi.org/project/APScheduler/
+"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# imports pkg_resources
+RDEPEND="
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
+ dev-python/tornado[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+ # disable test fixtures using external servers (mongodb, redis...)
+ # these fixtures are using markers in git master, so the patch
+ # should be no longer necessary with next major bump
+ "${FILESDIR}"/APScheduler-3.8.1-external-server-tests.patch
+)
+
+EPYTEST_DESELECT=(
+ tests/test_jobstores.py::test_repr_mongodbjobstore
+ tests/test_jobstores.py::test_repr_redisjobstore
+ tests/test_jobstores.py::test_repr_zookeeperjobstore
+)
+
+python_prepare_all() {
+ # suppress setuptools warning #797751
+ sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
+ sed -e '/addopts/d' -i setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest
index a46d49a9e391..0738df4a7238 100644
--- a/dev-python/APScheduler/Manifest
+++ b/dev-python/APScheduler/Manifest
@@ -1,5 +1,7 @@
AUX APScheduler-3.8.1-external-server-tests.patch 1424 BLAKE2B 20eced0b88b1141eb1317eed5d42e8eda8156808b28e15bf37403cc896326830ca906f66fd372e75861ca65f0061b809de31a8bbce2888628dcebc87536c0691 SHA512 e1ddcf95bd12f10cea7e19eb4d347b980c97c2600f4462a039b4b78788b9ab6ee6280da5168ac4f60fe79a58b48ffed599e8c924ea9cfdd5a0be0cc1b85f2236
+DIST APScheduler-3.10.0.tar.gz 100353 BLAKE2B 0d5c25641410161b15bd337661c15443b1034c85d5fa770b4603352c86f517d0ebb9713ac514a2efe1ec5d77f086fbecfb2c39bbf6e41ec6666cfcbb619dd3cb SHA512 ba44be82b10bac899b631b32d78ecc9303955241d2e2b7597282bd914726af3cf406bd3c6e0285f2a9b1737288453075107f317118ae1240de9e15f36290c979
DIST APScheduler-3.9.1.tar.gz 100567 BLAKE2B a31e2591c47d451e95a982b4d85a70ee9a33bf2370a70e0e1ba2a8e31ae718d5853aad6242cbd8f90dc5bc6912af3ea96270e9f514c3903d041af450c1d8ead5 SHA512 901e04140dc9af3b67887cd3200131cc4121cad71b7ca4afe7cc0adf1a58cebb02eee5abed1f97fc95fe9fef843d00cd6611ab3fbff8ace9247894d6f0720dff
+EBUILD APScheduler-3.10.0.ebuild 1481 BLAKE2B 405937acbc67465b34296fe70bee313819c69dc02bc83781f50a06a5cdca83b91b2787481df1b355eabc4f768a6c0cbf17186afb972eff6a7db6050431e7cf23 SHA512 42eb06b1ae3f13bc42c859d0700c4cd970ec5dd76b4e42fc040946fba88ec5a74f14691cdf399e7deaa7aee342367ee71cb894af2537192dda1dbfe37d412c38
EBUILD APScheduler-3.9.1-r1.ebuild 1471 BLAKE2B 129d5019487682edae009fd1fc136a7fdfeb7985851e5a7a77b3cc666e680574fa2d4552a6e73f13b82d6b3b56f3b61915664f01844079aef0b6bbb40e242818 SHA512 07c8c5e0cdb72bfdeffe63ed38f98edbdd153fa818e6cb2b344747b2e7363336fdd0c6b9bf1876c9206c61c4e6b6b902170482981f98872b4336d17ba10a947b
EBUILD APScheduler-3.9.1.ebuild 1361 BLAKE2B 9745ecc321205a7acc2c21ddd129b820df7850e53a2575be6d9c263e182ca33d60220c7e3f59172a9d087035db9a8c29852cc3582b905cbc8257acb1a3c532c5 SHA512 64e6c71e8ead5a6d4a7e764517997d41631443e1d2c968ac88628a9913c7a635ed8575bac3e7dd73d3a389cb5afb496442b22612bdd4005f28d813a1d11ca1ae
MISC metadata.xml 505 BLAKE2B 514e61811ac55e4e276059e8b61d2704ceb4825f96c9503166f388a8432c7397dec9769bf606216b8a6121a101479fc4e60dcccc83e74f0d3135d0d102146aa6 SHA512 07d75dfa6887da2323a02cdb448ceedab77317b34745bb54539d0f3f63a789e9c48c2db26137729969b574632855df76793b4aba0d2f75fd82c57363f4dd0f28