dev-python/whenever: Bump to 0.10.3

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-18 05:35:30 +02:00
parent 6eb5c9822b
commit 9eb77e3bf4
2 changed files with 149 additions and 0 deletions

View File

@@ -67,6 +67,8 @@ DIST wasm-bindgen-shared-0.2.114.crate 10538 BLAKE2B 2dde4757cf4266772087862688b
DIST web-sys-0.3.91.crate 669788 BLAKE2B 9f19605a58c561eb370a387f259d8837ba1c0fc4ab942409827c12fbb6b546ad634ade236ea71d43c6e0ce2141a0803c29ab0876c73b6917dd325b55a5c56b6a SHA512 2cac32dd1c4d22d5106e5ba21deb1f4b3592469aa1f2e14792df2f1759a6251c247597f250aa649a87f4d0a11daec2f0ccb1b0cb9ce4561a1aac85f6a3b1ff45
DIST whenever-0.10.2.tar.gz 434850 BLAKE2B 792b04f14ec8434db9f2f289568497840ad10261fc70987dbbd8584b31ecb597331c1c46fd1e8d95ca4ef2f1f6ac01d0bb6b0764408f727c2ecc75f490e13e5e SHA512 b46fa3cd17341728a32f52c7e9cc16ef6f98ee015a1a40234e0dd92098214d39a27b9085450faeaa40927e91f1be194d2b2165ecacefdb8f089999e7da15f7bf
DIST whenever-0.10.2.tar.gz.provenance 9969 BLAKE2B cc312cd1dcc44cb7fb0a626c77573d94e0abfe7f5216067f5db7015c35e83fd0f233660a6f04244abae9561cdfd18d60aabf28a05eb7e72dcb84a9b8f013b87c SHA512 43a18a661b19808a23e6631011afe87727f2977f43cfe72884974200feb2da7ff7fbd83eb3756ac4831852f397031d2183ccae691a3deb193332fd54fec39ffc
DIST whenever-0.10.3.tar.gz 435946 BLAKE2B 8950d6e5bf0830d7fd3f12217d3774cca9f663dbe9282dbc89a628fe8f857f468ab30f6314ace55c377f8a4cdca6b414df941c784f5585941ac37dbcba03c269 SHA512 334e06aa29d683c38b491a5fdb60584c73811e1fbc59f2f3bd3d9a994b50fd28a36c4a6da99e90bfa61414985d0ffb048844c002310860133909420f70ae4418
DIST whenever-0.10.3.tar.gz.provenance 10063 BLAKE2B 2bdfdd50130cc6c7b710dd61634ba8123905d7e65dd57d52443489984a517142ab4cbbca11609922d6f881902efeb34dbc776487b438d63de00c53744544fc66 SHA512 6f950c1ff815551789dbf8a7f268da417f22d1071429354b5aca9390073feaa4d4d4af2ca8869b9e564e19c2e0d7a5c9ed78db25ff94478d5fb29b6888cb431f
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
DIST winapi-util-0.1.11.crate 13368 BLAKE2B 164f49c84952ece6e566a9a23f32ddf34e16f3930ff531f8d7527bcc18768c9a118cbee748ae6a753a172b4ce8d0f22108142382992b2918b442387ee5904545 SHA512 cc1511c004c2a81da4d7a0414973f09ab711033fbbadfd597f56df2cc6c99b3c1822f0b8de1952e78400a88462b9050acd85d2e4b36db72254049a2d6f725a01

View File

@@ -0,0 +1,147 @@
# 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=( python3_{12..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.29.0
pyo3-ffi@0.29.0
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? (
dev-python/time-machine[${PYTHON_USEDEP}]
)
"
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
}