blob: 2835b1bab1078d1ac08cd4a2a2023638ed2728fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#
# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-crontab
PKG_VERSION:=0.23.0
PKG_RELEASE:=1
PKG_LICENSE:=LGPLv3
PKG_LICENSE_FILES:=LICENSE
PYPI_NAME:=crontab
PKG_HASH:=ca79dede9c2f572bb32f38703e8fddcf3427e86edc838f2ffe7ae4b9ee2b0733
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
PYTHON3_PKG_SETUP_ARGS :=
define Package/python3-crontab
SECTION:=lang-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Parse and use crontab schedules in Python
URL:=https://github.com/josiahcarlson/parse-crontab
DEPENDS:=+python3-light
VARIANT:=python3
endef
define Package/python3-crontab/description
This package intends to offer a method of parsing crontab schedule entries and
determining when an item should next be run. More specifically, it calculates a
delay in seconds from when the .next() method is called to when the item should
next be executed.
endef
$(eval $(call Py3Package,python3-crontab))
$(eval $(call BuildPackage,python3-crontab))
$(eval $(call BuildPackage,python3-crontab-src))
|