diff options
Diffstat (limited to 'dev-python/APScheduler')
-rw-r--r-- | dev-python/APScheduler/APScheduler-3.9.0.ebuild | 50 | ||||
-rw-r--r-- | dev-python/APScheduler/APScheduler-3.9.1.ebuild | 53 | ||||
-rw-r--r-- | dev-python/APScheduler/Manifest | 4 |
3 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.9.0.ebuild b/dev-python/APScheduler/APScheduler-3.9.0.ebuild new file mode 100644 index 000000000000..6535d1243da6 --- /dev/null +++ b/dev-python/APScheduler/APScheduler-3.9.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="In-process task scheduler with Cron-like capabilities" +HOMEPAGE="https://github.com/agronholm/apscheduler" +SRC_URI="mirror://pypi/A/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pytz[${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[${PYTHON_USEDEP}] + www-servers/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/APScheduler-3.9.1.ebuild b/dev-python/APScheduler/APScheduler-3.9.1.ebuild new file mode 100644 index 000000000000..03e50a1598da --- /dev/null +++ b/dev-python/APScheduler/APScheduler-3.9.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="In-process task scheduler with Cron-like capabilities" +HOMEPAGE="https://github.com/agronholm/apscheduler" +SRC_URI="mirror://pypi/A/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pytz[${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[${PYTHON_USEDEP}] + www-servers/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 0a18ea7a9491..1dc46351280b 100644 --- a/dev-python/APScheduler/Manifest +++ b/dev-python/APScheduler/Manifest @@ -1,4 +1,8 @@ AUX APScheduler-3.8.1-external-server-tests.patch 1424 BLAKE2B 20eced0b88b1141eb1317eed5d42e8eda8156808b28e15bf37403cc896326830ca906f66fd372e75861ca65f0061b809de31a8bbce2888628dcebc87536c0691 SHA512 e1ddcf95bd12f10cea7e19eb4d347b980c97c2600f4462a039b4b78788b9ab6ee6280da5168ac4f60fe79a58b48ffed599e8c924ea9cfdd5a0be0cc1b85f2236 DIST APScheduler-3.8.1.tar.gz 98699 BLAKE2B 7a8320251670de29f76375387f8a3817b3a9c401befd4bfefba106817ec3d21fc0f60af9b7a7620f83c0e1c651bc3eb8c62036a17e01ff91bf5dcf492ff78911 SHA512 553af2532b32bcdc7dc3047bf4f51623e87dbee62dac40b7ca8c3e64881467ecf6c50df56c863d5a44c6b8a99eb02ae22ae008d76ee4836ba398afd280bed99b +DIST APScheduler-3.9.0.tar.gz 100492 BLAKE2B c1d15dcbebf52034cad0a1317bca68cf567d5acbf6619a5905e1793702339a68cef0a639463f887bb71cb96f15762bea5e5521230fa957e2fbb2ae501ca3cb36 SHA512 40b180f0297b0be125dea89d518331c1f78b1468b6507651c8e9b06cbb44f700ef1f1c44be8bf08f562b67ac6e89ac5022598ad79081bdf0290c207063e0898a +DIST APScheduler-3.9.1.tar.gz 100567 BLAKE2B a31e2591c47d451e95a982b4d85a70ee9a33bf2370a70e0e1ba2a8e31ae718d5853aad6242cbd8f90dc5bc6912af3ea96270e9f514c3903d041af450c1d8ead5 SHA512 901e04140dc9af3b67887cd3200131cc4121cad71b7ca4afe7cc0adf1a58cebb02eee5abed1f97fc95fe9fef843d00cd6611ab3fbff8ace9247894d6f0720dff EBUILD APScheduler-3.8.1.ebuild 1317 BLAKE2B 3c4f767e5183d0ff4564311640711c4bcfa06c6ea89cf573b73f90c0a0147c4df12cce2c21b0020d776c766ab819c58f05e22de65abd6754182c485e985ad60e SHA512 d9f2966530c1ac5f016a9c4fd0e384fb6eef4e42140224c86b319cea75ecb223290f8ed3aed4bf723a980d0e19c57f0d7d7e0c6e311df05f6cec4c7404dda6d4 +EBUILD APScheduler-3.9.0.ebuild 1358 BLAKE2B 46b65a7cc13f83f45406d31ff95e27bb6c5923e0916d477d6ad904b9e87c3f9c89ef1a724de18ae98298681d37c955ee36c5195d1706bab4cb9e165f31dcbb10 SHA512 b5dde0120085ece916c3030ce40cfa1f1940b47b9ca068ac2e8e351f3d9bec2313d610e5d12faa802924b7a511f72a69353da3c9e5c53ae38b668401c1690dc8 +EBUILD APScheduler-3.9.1.ebuild 1362 BLAKE2B 6b0242789bbca8c5195e8867a5ab5ca994fbf315befe41e10cb1e6930bfc0ee2fc98fd3356c9397a6849b55762e522a60d08b0212ec1232991bd610eb6bd56f9 SHA512 8d2304ad5d3ec820805b77b3515ef9ae9d7194d16bbe026b26672a72dc391e5ee3e80667a6557a0f8a44de4022e31ff81c7873f6ed9cb858aad50b7ee53a057e MISC metadata.xml 404 BLAKE2B 544a2f5d84a1ad486ebbbf5c3944dd5a2ec2bd2edeee4dd0e60559cc6e36deffcea2202f6c1ce7dbfcc2f57721302b3ceadf33921209015686a9a16d05cd1449 SHA512 4cd866b9f5639259f51d8ad52909bbebaed86bc4c7e590e940d5aae9d890ef9700f1cf17449eeaf784172449ebc4c9db6a8445513b13a037287af8ee058ba6eb |