Install this version:
emerge -a =dev-python/python-crontab-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/python-crontab-9999
Or alternatively:
emerge --autounmask-write -a =dev-python/python-crontab-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="Crontab module for reading and writing crontab files"
HOMEPAGE="https://gitlab.com/doctormo/python-crontab/"
EGIT_REPO_URI="https://github.com/doctormo/${PN}.git"
LICENSE="LGPL-3+"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/cron-descriptor[${PYTHON_USEDEP}]
dev-python/croniter[${PYTHON_USEDEP}] )"
distutils_enable_tests unittest
python_prepare_all() {
# Disable failing test
sed -i -e "/test_07_non_posix_shell/a\\ raise unittest.SkipTest('test fails')" \
tests/test_compatibility.py || die "sed failed for test_compatibility.py"
distutils-r1_python_prepare_all
}
pkg_postinst() {
optfeature "integration with croniter" dev-python/croniter
optfeature "integration with cron descriptor" dev-python/cron-descriptor
}
Manage flags for this package:
euse -i <flag> -p dev-python/python-crontab |
euse -E <flag> -p dev-python/python-crontab |
euse -D <flag> -p dev-python/python-crontab
dev-python/python-dateutil[]
test? ( dev-python/cron-descriptor[] dev-python/croniter[] )