Skip to content

Commit d562677

Browse files
committed
dev-python/freezegun: add 1.5.0
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3521 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent 6ff204b commit d562677

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
606606

607607
## Licenses
608608
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
609-
There are 1946 Ebuilds in total, 1935 of them have in total 1958 (42 different) licenses assigned.
609+
There are 1947 Ebuilds in total, 1936 of them have in total 1959 (42 different) licenses assigned.
610610

611611
|License| Ebuilds using it|
612612
|-------|-----|
613613
|MIT|1121|
614-
|Apache-2.0|434|
614+
|Apache-2.0|435|
615615
|GPL-3|114|
616616
|BSD|111|
617617
|LGPL-3|25|

dev-python/freezegun/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
DIST freezegun-1.4.0.tar.gz 31748 BLAKE2B a7ea433ea8e5f0137fc5d88a5375e3fc0e2f307a04684ab5b844168ed214fd9dd1d1ed2a0e0c91ed20ee1fc32c8e3e75fb9dc73de64723efe881e843a38269a1 SHA512 bbdad19b7fc2da9a2851d6b4c14427ccda1f2e06617993cf7173ded65cced9b98d36e1da05a2718b70653a69986cd81d84317003271eda2075177ccf63495b7a
2+
DIST freezegun-1.5.0.tar.gz 33167 BLAKE2B 3cf05a41c4d66ded61a67385faa07ad80348ad7620db6076f1371d1707b9f6229d85bf2f87ff3533a9529f9d6c30e5f5bcdaf0a499b1e73760070ee5706936b9 SHA512 65d3c95e4992d80c104d52e1164662308aea0884e4a0bb1343f028e514519548dd295dca7dd97d06aaa57a61c0c71fae0bd040f944936858e0f72b2a08860694
23
EBUILD freezegun-1.4.0.ebuild 636 BLAKE2B 1391700966d94a8f8bc65f236bef32aa86258fe06712c8878183a93a897bca4fb1503d7366e925a1746e3c39a4be88d9b171ff3025c76a8244b45a1960da9554 SHA512 75a57f33c0cfbdd6d324b031190001c70f8e836ca2b16bbfd3f5c30d8e2158eec5954dea924c3d2a7007273e209416b2bbfa22e445895b35d84019617aa56709
4+
EBUILD freezegun-1.5.0.ebuild 1143 BLAKE2B e1ed39f8592699e7d31f41bbe6e3b2f3c98e9f52a8976bbd536a6bed5c364761755b9f04dfa7c07df4d44a6ba0b30211a4cb36758a9d9085251b109a100f2de7 SHA512 d444ec6ccb9f841c9f291cf1eccf38f7e72b26e618fddd57515a23549bcc997892b2eb776097ae5d3ff3b6c9c318b25e8150f713680fd84b9cba05b2d4a39208
35
MISC metadata.xml 507 BLAKE2B e30cf172447077c12f3e7ea9cc7f3ebd24a0ebaf9c7c1a3eed8959e2ec38c01df641a14dbdc6cfc6c6189a88982274e03c6fb68829b61ce95e6b1663cc850bd1 SHA512 1da2e65ed01c4ff3540b31433d8c1e94c34f7e0597e9d1bfe373e720b1bd15256af25ea9d51bfaad3aab9cbe01177161cdf263c92fde8db880189ff3f89e89db
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_USE_PEP517=setuptools
7+
PYTHON_COMPAT=( python3_{11..13} )
8+
9+
inherit distutils-r1 pypi
10+
11+
DESCRIPTION="Let your Python tests travel through time"
12+
HOMEPAGE="
13+
https://github.com/spulec/freezegun/
14+
https://pypi.org/project/freezegun/
15+
"
16+
17+
LICENSE="Apache-2.0"
18+
SLOT="0"
19+
KEYWORDS="amd64 arm arm64 x86"
20+
21+
RDEPEND="
22+
>dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]
23+
"
24+
BDEPEND="
25+
test? (
26+
$(python_gen_impl_dep sqlite)
27+
)
28+
"
29+
30+
distutils_enable_tests pytest
31+
32+
python_test() {
33+
local EPYTEST_DESELECT=()
34+
case ${EPYTHON} in
35+
python3.13)
36+
EPYTEST_DESELECT+=(
37+
# https://github.com/spulec/freezegun/issues/547
38+
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time
39+
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func
40+
tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello
41+
)
42+
;;
43+
esac
44+
45+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
46+
epytest
47+
}

0 commit comments

Comments
 (0)