dev-python/APScheduler: Remove redundant versions

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-03-26 12:04:02 +01:00
parent 71fa198188
commit d296ea5367
2 changed files with 0 additions and 70 deletions

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
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"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]
>=dev-python/tzlocal-1.2[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
# Tests that are known to fail (some may be triggered by network-sandbox).
test_failures=(
test_add_class_method_job
test_add_instance_method_job
test_add_job_conflicting_id
test_asyncio_executor_shutdown
test_get_all_jobs
test_get_next_run_time
test_get_pending_jobs
test_get_pending_jobs_subsecond_difference
test_lookup_job
test_lookup_nonexistent_job
test_one_job_fails_to_load
test_remove_all_jobs
test_remove_job
test_remove_nonexistent_job
test_repr_mongodbjobstore
test_repr_redisjobstore
test_repr_zookeeperjobstore
test_run_coroutine_job
test_run_coroutine_job_tornado
test_update_job
test_update_job_clear_next_runtime
test_update_job_next_runtime
test_update_job_nonexistent_job
test_zookeeper_client_keep_open
test_zookeeper_client_ref
)
python_prepare_all() {
sed -i -e /setuptools_scm/d setup.py || die
while read -r -d ''; do
sed -Ee "s:$(echo "${test_failures[@]}"| sed 's: :|:g'):_\\0:" -i "${REPLY}" || die
done < <(grep -rElZ "$(echo "${test_failures[@]}"| sed 's: :|:g')" "${S}")
distutils-r1_python_prepare_all
}
python_test() {
# 3 known failures due to caplog.set_level not existing
py.test || die "Testing failed with ${EPYTHON}"
}

View File

@@ -1,2 +1 @@
DIST APScheduler-3.3.1.tar.gz 84198 BLAKE2B 8706c68dc2b8097d4656da00b62b298ad2b0cb94079bd32b08c0c3316f8317bf299d513ef120822d40b938aff4c49aaa9a1beef9d91e554f02413407b2848711 SHA512 af861bff47f881200d97551d60a6d3210c9bf864fa83a37da7fbff31d24e9fce5d64d965ffefe6f8678320ad6dcf86dbdc65b611991b14fd8edd18efbf7e6bbd
DIST APScheduler-3.5.3.tar.gz 95527 BLAKE2B 3d1bb49a497781d017e2fbd47176186f6449650500c57a141a114f6c610081b9d85553793f9c9f00422d3a299c26c292ab667cfe3866c381bcbf39161133b615 SHA512 dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc