public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/APScheduler/
Date: Tue, 31 Jan 2023 16:58:08 +0000 (UTC)	[thread overview]
Message-ID: <1675184280.e520f0402fcfd545bdec7f5880a6275f52725d12.mgorny@gentoo> (raw)

commit:     e520f0402fcfd545bdec7f5880a6275f52725d12
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 16:30:27 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 16:58:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e520f040

dev-python/APScheduler: PEP517, py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/APScheduler/APScheduler-3.9.1-r1.ebuild | 58 ++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/dev-python/APScheduler/APScheduler-3.9.1-r1.ebuild b/dev-python/APScheduler/APScheduler-3.9.1-r1.ebuild
new file mode 100644
index 000000000000..662165451711
--- /dev/null
+++ b/dev-python/APScheduler/APScheduler-3.9.1-r1.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/A/${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-2[${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
+}


             reply	other threads:[~2023-01-31 16:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-31 16:58 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-29  5:28 [gentoo-commits] repo/gentoo:master commit in: dev-python/APScheduler/ Michał Górny
2023-10-29  5:28 Michał Górny
2023-08-20  2:30 Michał Górny
2023-08-14 14:55 Michał Górny
2023-08-13 19:00 Arthur Zamarin
2023-03-04  5:48 Michał Górny
2023-02-01  4:57 Michał Górny
2022-06-04 17:39 Michał Górny
2022-05-16 12:55 Michał Górny
2022-02-28  8:28 Michał Górny
2022-02-24 22:00 Michał Górny
2021-10-26  4:51 Zac Medico
2021-05-23 10:48 Michał Górny
2021-03-15  2:55 Sam James
2020-10-12 18:36 Zac Medico
2020-05-15  6:40 Zac Medico
2020-05-15  6:39 Zac Medico
2020-03-26 11:16 Michał Górny
2018-12-03 12:03 Virgil Dupras
2018-11-27  7:19 Zac Medico
2018-11-26 14:10 Zac Medico
2018-11-26 14:01 Zac Medico
2018-11-26 13:56 Zac Medico
2018-04-14 17:42 Zac Medico
2017-05-08  3:28 Zac Medico
2017-05-07 16:46 Mike Gilbert
2017-05-04  7:27 Zac Medico
2016-10-19  1:04 Zac Medico
2016-10-17 23:49 Zac Medico
2016-05-11 20:33 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675184280.e520f0402fcfd545bdec7f5880a6275f52725d12.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox