Install this version:
emerge -a =dev-python/whenever-0.10.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/whenever-0.10.0
Or alternatively:
emerge --autounmask-write -a =dev-python/whenever-0.10.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.10.0 | 8 | ~amd64 | 0 |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=standalone
PYPI_VERIFY_REPO=https://github.com/ariebovenberg/whenever
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
CARGO_OPTIONAL=1
RUST_MIN_VER="1.93.0"
CRATES="
ahash@0.8.12
aho-corasick@1.1.4
alloca@0.4.0
anes@0.1.6
anstyle@1.0.14
autocfg@1.5.0
bumpalo@3.20.2
cast@0.3.0
cc@1.2.57
cfg-if@1.0.4
ciborium-io@0.2.2
ciborium-ll@0.2.2
ciborium@0.2.2
clap@4.6.0
clap_builder@4.6.0
clap_lex@1.1.0
criterion-plot@0.8.2
criterion@0.8.2
crossbeam-deque@0.8.6
crossbeam-epoch@0.9.18
crossbeam-utils@0.8.21
crunchy@0.2.4
either@1.15.0
find-msvc-tools@0.1.9
getrandom@0.3.4
half@2.7.1
itertools@0.13.0
itoa@1.0.17
js-sys@0.3.91
libc@0.2.183
memchr@2.8.0
num-traits@0.2.19
once_cell@1.21.4
oorandom@11.1.5
page_size@0.6.0
plotters-backend@0.3.7
plotters-svg@0.3.7
plotters@0.3.7
proc-macro2@1.0.106
pyo3-build-config@0.28.2
pyo3-ffi@0.28.2
python3-dll-a@0.2.14
quote@1.0.45
r-efi@5.3.0
rayon-core@1.13.0
rayon@1.11.0
regex-automata@0.4.14
regex-syntax@0.8.10
regex@1.12.3
rustversion@1.0.22
same-file@1.0.6
serde@1.0.228
serde_core@1.0.228
serde_derive@1.0.228
serde_json@1.0.149
shlex@1.3.0
syn@2.0.117
target-lexicon@0.13.5
tinytemplate@1.2.1
unicode-ident@1.0.24
version_check@0.9.5
walkdir@2.5.0
wasip2@1.0.2+wasi-0.2.9
wasm-bindgen-macro-support@0.2.114
wasm-bindgen-macro@0.2.114
wasm-bindgen-shared@0.2.114
wasm-bindgen@0.2.114
web-sys@0.3.91
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.11
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-link@0.2.1
windows-sys@0.61.2
wit-bindgen@0.51.0
zerocopy-derive@0.8.47
zerocopy@0.8.47
zmij@1.0.21
"
inherit cargo distutils-r1 pypi
DESCRIPTION="Modern datetime library for Python"
HOMEPAGE="
https://github.com/ariebovenberg/whenever/
https://pypi.org/project/whenever/
"
SRC_URI+="
native-extensions? (
${CARGO_CRATE_URIS}
)
"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0"
SLOT="0"
if [[ ${PV} != *_[ab]* ]]; then
KEYWORDS="~amd64"
fi
IUSE="+native-extensions"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
native-extensions? (
${RUST_DEPEND}
dev-python/setuptools-rust[${PYTHON_USEDEP}]
)
test? (
$(python_gen_cond_dep '
dev-python/time-machine[${PYTHON_USEDEP}]
' 'python*')
)
"
EPYTEST_PLUGINS=( hypothesis pytest-order )
distutils_enable_tests pytest
EPYTEST_IGNORE=( benchmarks )
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/whenever/_whenever.*.so"
src_unpack() {
pypi_src_unpack
cargo_src_unpack
}
src_configure() {
if ! use native-extensions; then
export WHENEVER_NO_BUILD_RUST_EXT=1
fi
}
python_test() {
rm -rf whenever || die
epytest
}
Manage flags for this package:
euse -i <flag> -p dev-python/whenever |
euse -E <flag> -p dev-python/whenever |
euse -D <flag> -p dev-python/whenever
dev-python/setuptools[] native-extensions? ( dev-python/setuptools-rust[] ) test? ( $(python_gen_cond_dep ' dev-python/time-machine[] ' 'python*') )