diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-20 16:59:43 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-20 16:59:43 +0100 |
commit | f9bc0f6b86c668549692341590ee22784ee15ab3 (patch) | |
tree | f77db6db8da4da8c2b94dfdfbad40388837bca64 /dev-python/freezegun | |
parent | dev-python/cfn-lint: Remove old (diff) | |
download | gentoo-f9bc0f6b86c668549692341590ee22784ee15ab3.tar.gz gentoo-f9bc0f6b86c668549692341590ee22784ee15ab3.tar.bz2 gentoo-f9bc0f6b86c668549692341590ee22784ee15ab3.zip |
dev-python/freezegun: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r-- | dev-python/freezegun/Manifest | 2 | ||||
-rw-r--r-- | dev-python/freezegun/files/freezegun-1.1.0-py310.patch | 30 | ||||
-rw-r--r-- | dev-python/freezegun/freezegun-1.2.2.ebuild | 36 | ||||
-rw-r--r-- | dev-python/freezegun/freezegun-1.3.0.ebuild | 35 |
4 files changed, 0 insertions, 103 deletions
diff --git a/dev-python/freezegun/Manifest b/dev-python/freezegun/Manifest index f211d528d444..930bbf4a0088 100644 --- a/dev-python/freezegun/Manifest +++ b/dev-python/freezegun/Manifest @@ -1,4 +1,2 @@ -DIST freezegun-1.2.2.tar.gz 30670 BLAKE2B 88941ccd9694c842e4999da47e1a8fbe9b82c1fa512467de174715e627c213167cf3c7f943b35d039ff118bae9d1bca4b64ceaa5683db818727cd9ad2533a827 SHA512 c6dc3da66a2d3063f819a104b6bc98eb3d4b772b8edb06bde130a6e355d96e1861e650c44eb691be892223150a652a528fda4237bd77b1bdcee1fcfad74f307c -DIST freezegun-1.3.0.tar.gz 31165 BLAKE2B 69341b4b7fe52e0aa2ad7c70e6a1b9e4bcb5cdac88ac48e85a968b2159260a9aee4196fc9622a153d1d5ebfee3b081f568b01a5cd59ff388e7bf5a6900bb45f6 SHA512 a0de4f2827696ea0bc1e5ff89aae9dfc36e013e03212bc7d8c3a93addb55e408fe03744fb0638d5ca0758322e2f3e0acb503fbdecfa14dd128d0399c9a60edf1 DIST freezegun-1.3.1.tar.gz 31535 BLAKE2B 5601f7359668dac186b8d76d203b7b5844af3f3171133fe25eba3182793dd68eeb14a1485d42ab50da316bf710e42d9fb4b6ebfc7afe9f86e6f4e5f3354997e8 SHA512 7524c85ad4d49fdf86d132085845ec9c67d06600cfa25e0d650cc0a565d1830f9f83315930fd6516ae924c2395721473a04c1ecfeb1735ee31e894370267ef95 DIST freezegun-1.4.0.tar.gz 31748 BLAKE2B a7ea433ea8e5f0137fc5d88a5375e3fc0e2f307a04684ab5b844168ed214fd9dd1d1ed2a0e0c91ed20ee1fc32c8e3e75fb9dc73de64723efe881e843a38269a1 SHA512 bbdad19b7fc2da9a2851d6b4c14427ccda1f2e06617993cf7173ded65cced9b98d36e1da05a2718b70653a69986cd81d84317003271eda2075177ccf63495b7a diff --git a/dev-python/freezegun/files/freezegun-1.1.0-py310.patch b/dev-python/freezegun/files/freezegun-1.1.0-py310.patch deleted file mode 100644 index 41bd7bc2712b..000000000000 --- a/dev-python/freezegun/files/freezegun-1.1.0-py310.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 57d024e4ce2516c55c715448296b9099db68343c Mon Sep 17 00:00:00 2001 -From: Karthikeyan Singaravelan <tir.karthi@gmail.com> -Date: Fri, 7 May 2021 15:51:33 +0000 -Subject: [PATCH] Fix decorate_class for Python 3.10 where staticmethod is - callable. - -(edited by mgorny for more readable indent) ---- - freezegun/api.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/freezegun/api.py b/freezegun/api.py -index cab9ebe..eb3a931 100644 ---- a/freezegun/api.py -+++ b/freezegun/api.py -@@ -598,7 +598,10 @@ class _freeze_time(object): - continue - seen.add(attr) - -- if not callable(attr_value) or inspect.isclass(attr_value): -+ # staticmethods are callable from Python 3.10 . Hence skip them from decoration -+ if (not callable(attr_value) -+ or inspect.isclass(attr_value) -+ or isinstance(attr_value, staticmethod)): - continue - - try: --- -2.31.1 - diff --git a/dev-python/freezegun/freezegun-1.2.2.ebuild b/dev-python/freezegun/freezegun-1.2.2.ebuild deleted file mode 100644 index a22769775121..000000000000 --- a/dev-python/freezegun/freezegun-1.2.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -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="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/spulec/freezegun/issues/396 - # https://github.com/spulec/freezegun/pull/397 - "${FILESDIR}"/${PN}-1.1.0-py310.patch -) diff --git a/dev-python/freezegun/freezegun-1.3.0.ebuild b/dev-python/freezegun/freezegun-1.3.0.ebuild deleted file mode 100644 index 52f4b81dc5b8..000000000000 --- a/dev-python/freezegun/freezegun-1.3.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -RDEPEND=" - >dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} |