mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-python/whenever: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -71,8 +71,6 @@ DIST wasm-bindgen-macro-0.2.126.crate 9303 BLAKE2B 024b185a3865445c486f117d4c595
|
||||
DIST wasm-bindgen-macro-support-0.2.126.crate 82688 BLAKE2B 60362b957909f2423d49e1c21a04a9ac51cd467173157cf3e6c937c5d45e07bebc50ac8cc80ff89472a60645b5bd01dde4b01c04208a811a281fe3dd3be56bb8 SHA512 76f3e4d6cb39bdf827f47cf6906b1500e9cb02beb0dce60764ddb134b4b48a0ffeb70a89d35b8b491e261ae76544cb422ae55fcc4a9afadec194359c187dfa31
|
||||
DIST wasm-bindgen-shared-0.2.126.crate 11287 BLAKE2B 054b0f2632193fb2a62549897f2de029510399df3c1a7d8a1732e4b7f24cfabe30f3a554e365dbe0833197ba01400032bc11b01ba36cb1561b4ee05fed2f7d1d SHA512 705b83b8a90b185c94cb62205786c78ab4dd25611e3c6c22ffa2d82d8aa6a9860223b72cd81a6a18a91785bda7b60b2bcc03b29de652cfa095d1c7e49c04c0f4
|
||||
DIST web-sys-0.3.103.crate 675560 BLAKE2B 3518e3ea0d808786c1cc5970adae650dfe2953586afb56089e7fddef67f70028cf729a0fca8afd4c3dd6061df4122b4cf49188b65e5f30ea001bd9a2160a249d SHA512 8413b25228ee21fded9f805233dc4a88a448a39507baf899372c993703eb9d221882d42f9084c77d1b3d0dfce22ffc10b4d75574eedc7ae3fc59fe9440abe0e5
|
||||
DIST whenever-0.10.4.tar.gz 437448 BLAKE2B 7909a6d3ab30ad863adc9a1d8405f4624bf0e6b2c37dfbeee044fa650887f3c2ed021fb6b47b4869b86e2ae5f0aa259ef7bd32729ee5e5cc6e1ee8436d861401 SHA512 29edba0509574237cb3c33c4c7a59715ac9bfd136cc5123aba40fa478bcd680e9f5d6cadcfacf2bd5ec52d052741c09a9c01f7e299a004daf9d26202656800b8
|
||||
DIST whenever-0.10.4.tar.gz.provenance 9832 BLAKE2B cc700b28b189ccee0128358af30749a1926430079ba113e1a3ec55f6debf202e2862d7d2f2cc0f5e40a9014c33e1a6e47aeb0bf0dbaba1d93fa60266ea2df661 SHA512 998f9b5771f205bf9c3deda9a8fcf3fa6c457e63e78b2a860419b58e14ff6170710b31a50c201182fa529f156de69cf67e879a231057e0b4e64b4682900a9d65
|
||||
DIST whenever-0.10.5.tar.gz 437531 BLAKE2B 143d66d6339d9543292455c80786288af41419b84aaca689aa6b6fdd2bb194d68327bfabfcd8bab51acbcf5a719ad2270662d8292eae2849b9e98f60327f7096 SHA512 f420f2252fae3a94566dcfe8d59475ae388a454d57ba98b06d453725f8d76a763c77b27b210ce2e25b739376b00b8b1b38644ddf19404116a5cc236d7f349f3a
|
||||
DIST whenever-0.10.5.tar.gz.provenance 9640 BLAKE2B 5df912098ecf980d6ed6e4db03eb9a9a8969dd30e9c8aa54519182f06168bfcc0195a3e1a038ae821196a3b8b72aec58d33a1075cee9151fe2048101ed1d49a8 SHA512 65ad96cfd805c2192887a772ec1e9dca39c01449850e087fd2f0a649cc537667d71934bcc85b8025eabdc286f0285b96997a981c7cbb6ab12ea783e4de093090
|
||||
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
|
||||
|
||||
@@ -1,153 +0,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=( python3_{12..15} )
|
||||
|
||||
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.1
|
||||
bumpalo@3.20.3
|
||||
cast@0.3.0
|
||||
cc@1.3.0
|
||||
cfg-if@1.0.4
|
||||
ciborium-io@0.2.2
|
||||
ciborium-ll@0.2.2
|
||||
ciborium@0.2.2
|
||||
clap@4.6.2
|
||||
clap_builder@4.6.2
|
||||
clap_lex@1.1.0
|
||||
criterion-plot@0.8.2
|
||||
criterion@0.8.2
|
||||
crossbeam-deque@0.8.7
|
||||
crossbeam-epoch@0.9.20
|
||||
crossbeam-utils@0.8.22
|
||||
crunchy@0.2.4
|
||||
either@1.16.0
|
||||
find-msvc-tools@0.1.9
|
||||
futures-core@0.3.33
|
||||
futures-task@0.3.33
|
||||
futures-util@0.3.33
|
||||
getrandom@0.3.4
|
||||
half@2.7.1
|
||||
itertools@0.13.0
|
||||
itoa@1.0.18
|
||||
js-sys@0.3.103
|
||||
libc@0.2.186
|
||||
memchr@2.8.3
|
||||
num-traits@0.2.19
|
||||
once_cell@1.21.4
|
||||
oorandom@11.1.5
|
||||
page_size@0.6.0
|
||||
pin-project-lite@0.2.17
|
||||
plotters-backend@0.3.7
|
||||
plotters-svg@0.3.7
|
||||
plotters@0.3.7
|
||||
proc-macro2@1.0.107
|
||||
pyo3-build-config@0.29.0
|
||||
pyo3-ffi@0.29.0
|
||||
quote@1.0.47
|
||||
r-efi@5.3.0
|
||||
rayon-core@1.13.0
|
||||
rayon@1.12.0
|
||||
regex-automata@0.4.16
|
||||
regex-syntax@0.8.11
|
||||
regex@1.13.1
|
||||
rustversion@1.0.23
|
||||
same-file@1.0.6
|
||||
serde@1.0.229
|
||||
serde_core@1.0.229
|
||||
serde_derive@1.0.229
|
||||
serde_json@1.0.150
|
||||
shlex@2.0.1
|
||||
slab@0.4.12
|
||||
syn@2.0.119
|
||||
syn@3.0.0
|
||||
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.4+wasi-0.2.12
|
||||
wasm-bindgen-macro-support@0.2.126
|
||||
wasm-bindgen-macro@0.2.126
|
||||
wasm-bindgen-shared@0.2.126
|
||||
wasm-bindgen@0.2.126
|
||||
web-sys@0.3.103
|
||||
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.57.1
|
||||
zerocopy-derive@0.8.54
|
||||
zerocopy@0.8.54
|
||||
zmij@1.0.23
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user