-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3521 Signed-off-by: Andreas Billmeier <b@edevau.net>
- Loading branch information
Showing
3 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DIST freezegun-1.4.0.tar.gz 31748 BLAKE2B a7ea433ea8e5f0137fc5d88a5375e3fc0e2f307a04684ab5b844168ed214fd9dd1d1ed2a0e0c91ed20ee1fc32c8e3e75fb9dc73de64723efe881e843a38269a1 SHA512 bbdad19b7fc2da9a2851d6b4c14427ccda1f2e06617993cf7173ded65cced9b98d36e1da05a2718b70653a69986cd81d84317003271eda2075177ccf63495b7a | ||
DIST freezegun-1.5.0.tar.gz 33167 BLAKE2B 3cf05a41c4d66ded61a67385faa07ad80348ad7620db6076f1371d1707b9f6229d85bf2f87ff3533a9529f9d6c30e5f5bcdaf0a499b1e73760070ee5706936b9 SHA512 65d3c95e4992d80c104d52e1164662308aea0884e4a0bb1343f028e514519548dd295dca7dd97d06aaa57a61c0c71fae0bd040f944936858e0f72b2a08860694 | ||
EBUILD freezegun-1.4.0.ebuild 636 BLAKE2B 1391700966d94a8f8bc65f236bef32aa86258fe06712c8878183a93a897bca4fb1503d7366e925a1746e3c39a4be88d9b171ff3025c76a8244b45a1960da9554 SHA512 75a57f33c0cfbdd6d324b031190001c70f8e836ca2b16bbfd3f5c30d8e2158eec5954dea924c3d2a7007273e209416b2bbfa22e445895b35d84019617aa56709 | ||
EBUILD freezegun-1.5.0.ebuild 1143 BLAKE2B e1ed39f8592699e7d31f41bbe6e3b2f3c98e9f52a8976bbd536a6bed5c364761755b9f04dfa7c07df4d44a6ba0b30211a4cb36758a9d9085251b109a100f2de7 SHA512 d444ec6ccb9f841c9f291cf1eccf38f7e72b26e618fddd57515a23549bcc997892b2eb776097ae5d3ff3b6c9c318b25e8150f713680fd84b9cba05b2d4a39208 | ||
MISC metadata.xml 507 BLAKE2B e30cf172447077c12f3e7ea9cc7f3ebd24a0ebaf9c7c1a3eed8959e2ec38c01df641a14dbdc6cfc6c6189a88982274e03c6fb68829b61ce95e6b1663cc850bd1 SHA512 1da2e65ed01c4ff3540b31433d8c1e94c34f7e0597e9d1bfe373e720b1bd15256af25ea9d51bfaad3aab9cbe01177161cdf263c92fde8db880189ff3f89e89db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DISTUTILS_USE_PEP517=setuptools | ||
PYTHON_COMPAT=( python3_{11..13} ) | ||
|
||
inherit distutils-r1 pypi | ||
|
||
DESCRIPTION="Let your Python tests travel through time" | ||
HOMEPAGE=" | ||
https://github.com/spulec/freezegun/ | ||
https://pypi.org/project/freezegun/ | ||
" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="amd64 arm arm64 x86" | ||
|
||
RDEPEND=" | ||
>dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] | ||
" | ||
BDEPEND=" | ||
test? ( | ||
$(python_gen_impl_dep sqlite) | ||
) | ||
" | ||
|
||
distutils_enable_tests pytest | ||
|
||
python_test() { | ||
local EPYTEST_DESELECT=() | ||
case ${EPYTHON} in | ||
python3.13) | ||
EPYTEST_DESELECT+=( | ||
# https://github.com/spulec/freezegun/issues/547 | ||
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time | ||
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func | ||
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello | ||
) | ||
;; | ||
esac | ||
|
||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 | ||
epytest | ||
} |