summaryrefslogtreecommitdiff
path: root/dev-python/APScheduler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-23 03:02:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-23 03:02:57 +0000
commit71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (patch)
tree4eccd905f575579fe47abb8a83bbdb44ceb8c929 /dev-python/APScheduler
parentc7a7ec40cf928d8fc6a8241aa208272c008c7b4d (diff)
gentoo auto-resync : 23:11:2024 - 03:02:56
Diffstat (limited to 'dev-python/APScheduler')
-rw-r--r--dev-python/APScheduler/APScheduler-3.10.4.ebuild63
-rw-r--r--dev-python/APScheduler/Manifest4
-rw-r--r--dev-python/APScheduler/files/APScheduler-3.8.1-external-server-tests.patch37
-rw-r--r--dev-python/APScheduler/metadata.xml17
4 files changed, 0 insertions, 121 deletions
diff --git a/dev-python/APScheduler/APScheduler-3.10.4.ebuild b/dev-python/APScheduler/APScheduler-3.10.4.ebuild
deleted file mode 100644
index 09aa71d77828..000000000000
--- a/dev-python/APScheduler/APScheduler-3.10.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="In-process task scheduler with Cron-like capabilities"
-HOMEPAGE="
- https://github.com/agronholm/apscheduler/
- https://pypi.org/project/APScheduler/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~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-1.4[${PYTHON_USEDEP}]
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/pytest-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
- tests/test_executors.py::test_broken_pool
-)
-
-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
-}
-
-python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p asyncio -p tornado
-}
diff --git a/dev-python/APScheduler/Manifest b/dev-python/APScheduler/Manifest
deleted file mode 100644
index 2bfb6b52e75d..000000000000
--- a/dev-python/APScheduler/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX APScheduler-3.8.1-external-server-tests.patch 1424 BLAKE2B 20eced0b88b1141eb1317eed5d42e8eda8156808b28e15bf37403cc896326830ca906f66fd372e75861ca65f0061b809de31a8bbce2888628dcebc87536c0691 SHA512 e1ddcf95bd12f10cea7e19eb4d347b980c97c2600f4462a039b4b78788b9ab6ee6280da5168ac4f60fe79a58b48ffed599e8c924ea9cfdd5a0be0cc1b85f2236
-DIST APScheduler-3.10.4.tar.gz 100832 BLAKE2B d519a85c54951e4b5a09449f1ceda1afe8ff0120c4a7cfab4f72fb9dacc41ac73bb66bedd6615cf126f53b590eb02617ac739bac078f21dd503c2e081a057cec SHA512 44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe
-EBUILD APScheduler-3.10.4.ebuild 1587 BLAKE2B 96d9ceb5c97bd071d2f7a32850a08a0949629847f3a6b29609ba46228b574d89e8d7e2c6fe148f05503e332a57774726b19ab4739169de775760bf70deebbac1 SHA512 abac7a9adc0b4a231556581dab3d75985adec59e98b3a049ecb53802ad329240fd0ac33c41ca3a1426c90ebbf0d8587f47d7f63688f990863d4ec4725ac230c7
-MISC metadata.xml 505 BLAKE2B 514e61811ac55e4e276059e8b61d2704ceb4825f96c9503166f388a8432c7397dec9769bf606216b8a6121a101479fc4e60dcccc83e74f0d3135d0d102146aa6 SHA512 07d75dfa6887da2323a02cdb448ceedab77317b34745bb54539d0f3f63a789e9c48c2db26137729969b574632855df76793b4aba0d2f75fd82c57363f4dd0f28
diff --git a/dev-python/APScheduler/files/APScheduler-3.8.1-external-server-tests.patch b/dev-python/APScheduler/files/APScheduler-3.8.1-external-server-tests.patch
deleted file mode 100644
index 4ad1b62d0fd1..000000000000
--- a/dev-python/APScheduler/files/APScheduler-3.8.1-external-server-tests.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From bd39f1a1ec08dd28dda87419a8f25e14bafe2d2a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 25 Oct 2021 07:36:06 +0200
-Subject: [PATCH] Disable test fixture requiring external servers
-
----
- tests/test_jobstores.py | 10 ++++------
- 1 file changed, 4 insertions(+), 6 deletions(-)
-
-diff --git a/tests/test_jobstores.py b/tests/test_jobstores.py
-index 132161b..db760bd 100644
---- a/tests/test_jobstores.py
-+++ b/tests/test_jobstores.py
-@@ -86,16 +86,14 @@ def zookeeperjobstore():
- store.shutdown()
-
-
--@pytest.fixture(params=['memjobstore', 'sqlalchemyjobstore', 'mongodbjobstore', 'redisjobstore',
-- 'rethinkdbjobstore', 'zookeeperjobstore'],
-- ids=['memory', 'sqlalchemy', 'mongodb', 'redis', 'rethinkdb', 'zookeeper'])
-+@pytest.fixture(params=['memjobstore', 'sqlalchemyjobstore'],
-+ ids=['memory', 'sqlalchemy'])
- def jobstore(request):
- return request.getfixturevalue(request.param)
-
-
--@pytest.fixture(params=['sqlalchemyjobstore', 'mongodbjobstore', 'redisjobstore',
-- 'rethinkdbjobstore', 'zookeeperjobstore'],
-- ids=['sqlalchemy', 'mongodb', 'redis', 'rethinkdb', 'zookeeper'])
-+@pytest.fixture(params=['sqlalchemyjobstore'],
-+ ids=['sqlalchemy'])
- def persistent_jobstore(request):
- return request.getfixturevalue(request.param)
-
---
-2.33.1
-
diff --git a/dev-python/APScheduler/metadata.xml b/dev-python/APScheduler/metadata.xml
deleted file mode 100644
index 66820c357ef0..000000000000
--- a/dev-python/APScheduler/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zmedico@gentoo.org</email>
- <name>Zac Medico</name>
- </maintainer>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="pypi">APScheduler</remote-id>
- <remote-id type="github">agronholm/apscheduler</remote-id>
- </upstream>
-</pkgmetadata>