dev-python/APScheduler: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-11-14 09:33:47 +01:00
parent df2a3805ba
commit bdecfcc492
2 changed files with 0 additions and 69 deletions

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} )
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-1.2[${PYTHON_USEDEP}]"
BDEPEND="
test? (
www-servers/tornado[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
# 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}")
# suppress setuptools warning #797751
sed -e 's|^upload-dir|upload_dir|' -i setup.cfg || die
distutils-r1_python_prepare_all
}

View File

@@ -1,2 +1 @@
DIST APScheduler-3.6.3.tar.gz 96309 BLAKE2B 6dcd49ec3ebe4f815a7fd2594c438dfe99d9de720a4319a3c7c202deba1235740e478357dd78ef74ec3610652b23a58f23c1188fcddb3b2e48b160895f3ed06a SHA512 4c348a4f37a7973633554a69635f334b3c293c8942fe853b309b4b65335f5d4d553d7d42fd4661b0e6a36f5e97446d296a2c8971bdb51dad3bc8ee6b6d3b20ba
DIST APScheduler-3.8.1.tar.gz 98699 BLAKE2B 7a8320251670de29f76375387f8a3817b3a9c401befd4bfefba106817ec3d21fc0f60af9b7a7620f83c0e1c651bc3eb8c62036a17e01ff91bf5dcf492ff78911 SHA512 553af2532b32bcdc7dc3047bf4f51623e87dbee62dac40b7ca8c3e64881467ecf6c50df56c863d5a44c6b8a99eb02ae22ae008d76ee4836ba398afd280bed99b