summaryrefslogtreecommitdiff
path: root/dev-python/schedule
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/schedule')
-rw-r--r--dev-python/schedule/Manifest1
-rw-r--r--dev-python/schedule/metadata.xml15
-rw-r--r--dev-python/schedule/schedule-1.1.0.ebuild32
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/schedule/Manifest b/dev-python/schedule/Manifest
new file mode 100644
index 000000000000..e7435225e9d8
--- /dev/null
+++ b/dev-python/schedule/Manifest
@@ -0,0 +1 @@
+DIST schedule-1.1.0.tar.gz 31873 BLAKE2B 6e33e862f94c72f32ae3bba566ad4a64428cc90f80ed6ff8d577a29717b3cc5f3c91195742cedfedbcc4090d955f343097f53ed69e9922775969c854780798ce SHA512 3fe06e334ed532f013aeb806b7beacd9418c4dbbcb80d4b27090c08178f1874694ecfced24eeddc8450e99a80831d68b34a4a3b2638a870f30f53f570650795c
diff --git a/dev-python/schedule/metadata.xml b/dev-python/schedule/metadata.xml
new file mode 100644
index 000000000000..402305f71717
--- /dev/null
+++ b/dev-python/schedule/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <longdescription lang="en">
+An in-process scheduler for periodic jobs that uses the builder pattern for configuration. Schedule lets you run Python functions (or any other callable) periodically at pre-determined intervals using a simple, human-friendly syntax.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dbader/schedule</remote-id>
+ <remote-id type="pypi">schedule</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/schedule/schedule-1.1.0.ebuild b/dev-python/schedule/schedule-1.1.0.ebuild
new file mode 100644
index 000000000000..77798b182635
--- /dev/null
+++ b/dev-python/schedule/schedule-1.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#pypy3 fails tests
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python job scheduling for humans"
+HOMEPAGE="https://github.com/dbader/schedule"
+
+SRC_URI="https://github.com/dbader/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND=""
+DEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/pygments
+
+python_test() {
+ epytest --deselect test_schedule.py::SchedulerTests::test_until_time
+}