commit:     81885ec595173ca006a418b206bab388642cdff1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 05:18:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 05:57:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81885ec5

dev-python/whenever: Bump to 0.9.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/whenever/Manifest              |   1 +
 dev-python/whenever/whenever-0.9.3.ebuild | 149 ++++++++++++++++++++++++++++++
 2 files changed, 150 insertions(+)

diff --git a/dev-python/whenever/Manifest b/dev-python/whenever/Manifest
index a7ccac603f51..5f5fcbd9c998 100644
--- a/dev-python/whenever/Manifest
+++ b/dev-python/whenever/Manifest
@@ -66,6 +66,7 @@ DIST wasm-bindgen-macro-support-0.2.100.crate 26243 BLAKE2B 
c18e35978b62dd2822ba
 DIST wasm-bindgen-shared-0.2.100.crate 8570 BLAKE2B 
886fa72cae891d4c2311e12e28f0a7bde9bcaca893603afa3428a402726b3b2bcdb6cb7dca6fdf983bd8fac5f049f0543537f2161318769b43c7eebfc906df27
 SHA512 
3fca8ddd1c6b2f66f70f6608c9b341822603f1c0dd71d47d27c6be8fe3f2c88598619946627720734b48cf999cafd0c63a08af5db28ea78a1538d2165a5fba61
 DIST web-sys-0.3.77.crate 638246 BLAKE2B 
3f21ab03a18d82cffd96432e4f08bfae183b24f9a50dcfc51c927e9973dabfb8b6bb1f3ae044890832809ec91709242c1c37463931770d347fdf521587a72515
 SHA512 
cd149286105288f7c385a29eae7df2306d4066edfca4de1255efc7bd8a4e8eaafc313dab85091025c3b5d5e333fce8b7fcef1fb824fe4d799bcc9bb78b73c97a
 DIST whenever-0.9.2.tar.gz 256743 BLAKE2B 
46c622167a1031fda94d3a26ab0e2f3dd11278cec155aea02aa5d7ca16b606cfbc947a06f79c69901371bda250828503c99ecec466ba5060eacf6f6bcaf9f190
 SHA512 
f15d432eaec04d1687599d50c0495c4b810d210bdd3be9a23d10c4b0cf27324c981af8226863341da25f3b81e18937442a2071f0f10b785526831ef27e9eac31
+DIST whenever-0.9.3.tar.gz 256933 BLAKE2B 
beb210abe353e8a1521b3abc29dde303fc9d012ac0665717a83968b66abbaed8a66f9ffc15e6059b69afe2257e31fa951bdc95016ba558e5d427f94274df540c
 SHA512 
ffd625289a475168bd8c0726818480be996f36670a33a0303bd3227add197ca05073419d38efe4c3f25a83368af4af1098838b65fbb3de7a1dc1221a49578ff4
 DIST winapi-util-0.1.9.crate 12464 BLAKE2B 
7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38
 SHA512 
c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9
 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 
3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d
 SHA512 
d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061
 DIST windows-targets-0.52.6.crate 6403 BLAKE2B 
eb98d0a8daeed5fe76e7fa8edb2743e2a3e77dfb9c4ea68605a6ab10532cb7cfc43bc1cea0180869445bd940be762a40136500e26b84ca88b5e0c502004c7a4c
 SHA512 
d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f

diff --git a/dev-python/whenever/whenever-0.9.3.ebuild 
b/dev-python/whenever/whenever-0.9.3.ebuild
new file mode 100644
index 000000000000..f286cac2853c
--- /dev/null
+++ b/dev-python/whenever/whenever-0.9.3.ebuild
@@ -0,0 +1,149 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+CARGO_OPTIONAL=1
+RUST_MIN_VER="1.86"
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-0.2.4
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+"
+
+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"
+KEYWORDS="~amd64"
+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() {
+       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
+}

Reply via email to