From be8708090362c01c6111c4b76f1e395c14d86e00 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 13 Aug 2024 11:06:03 +0100 Subject: gentoo auto-resync : 13:08:2024 - 11:06:03 --- dev-python/pytest-freezegun/Manifest | 4 -- .../pytest-freezegun-0.4.2-distutils-depr.patch | 61 ---------------------- dev-python/pytest-freezegun/metadata.xml | 12 ----- .../pytest-freezegun-0.4.2-r1.ebuild | 35 ------------- 4 files changed, 112 deletions(-) delete mode 100644 dev-python/pytest-freezegun/Manifest delete mode 100644 dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch delete mode 100644 dev-python/pytest-freezegun/metadata.xml delete mode 100644 dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild (limited to 'dev-python/pytest-freezegun') diff --git a/dev-python/pytest-freezegun/Manifest b/dev-python/pytest-freezegun/Manifest deleted file mode 100644 index 6966ebc654f2..000000000000 --- a/dev-python/pytest-freezegun/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX pytest-freezegun-0.4.2-distutils-depr.patch 1655 BLAKE2B 3af611f832244acc2dc76ec8a69522275063dcdc4dc48b1d9235260e194be01730cc2b1b5a1507286594f2a27e2fffe489ced4a29624c54cb834a3fc6b1e8c7d SHA512 da1ef13c2eb724012a6b011f3bcbe6030200c1ca2a9bfa4cb0a0337e22641e16091d0e58b71367a232419f976f98e6269bd3a5a0a03f432dc8e3927c97b556d2 -DIST pytest-freezegun-0.4.2.gh.tar.gz 7058 BLAKE2B 1c89979d85dbdedf87a26de57d1cfe120ed52831e8d69c42b6117ac49c9eb7376bab018a23ca10b582fc583ca61a03930a86878c141b0c5bf4d807552484fe70 SHA512 2bea7746e4e6a7f2a979cbc5c6d7a2576e0e2631a4e1d5abb7f27f76d6c32b0520a277474c092c5e05ce257f2ba19091918f67e28b7a2da1d5829037c6b70c55 -EBUILD pytest-freezegun-0.4.2-r1.ebuild 831 BLAKE2B 8ea2b8884796d0bbf8e49555248a3063cd58fbfa7e5e0821933a5a3ab4016412e4ba73454ac8ee0d6f60b1f546f5962e990bf1d1b81d5b54486d6b2aebefdb38 SHA512 0eaf6caf196fb4a0132d6dc7fa7026d24bb78e3cc20670081baf616f4b733cfa5f79de47ff81827f055c6612e6503f068f52b048d271b294662b31b1f7701235 -MISC metadata.xml 386 BLAKE2B 08cc38cbb3f40362c89842b698d10456225d28e0afd42fe5e963f066854ac26083e0830f0983e9d71dd223cc6137c420165d2a3594b019a1cff0c164d3cdb11c SHA512 ded84df4f408467e7ac5df1abf86bcda1de47509f549413aeb8fcd7554abcc63ac178bd8395770fbe4d2c18177ba3b42725a0ecc8d7c23b2101c715e5f6b7534 diff --git a/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch b/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch deleted file mode 100644 index 86b7e32a5c1f..000000000000 --- a/dev-python/pytest-freezegun/files/pytest-freezegun-0.4.2-distutils-depr.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 1ae2e18b8d71c45defe8f695a3dddd5762a611b2 Mon Sep 17 00:00:00 2001 -From: Hugo van Kemenade -Date: Fri, 8 Apr 2022 13:30:42 +0300 -Subject: [PATCH] Require pytest 3.6 to drop dependency on deprecated distutils - ---- - pytest_freezegun.py | 6 +----- - setup.cfg | 2 +- - tox.ini | 2 +- - 3 files changed, 3 insertions(+), 7 deletions(-) - -diff --git a/pytest_freezegun.py b/pytest_freezegun.py -index a08133f..257c7ca 100644 ---- a/pytest_freezegun.py -+++ b/pytest_freezegun.py -@@ -2,7 +2,6 @@ - - import pytest - --from distutils.version import LooseVersion - from freezegun import freeze_time - - -@@ -14,10 +13,7 @@ def get_closest_marker(node, name): - """ - Get our marker, regardless of pytest version - """ -- if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'): -- return node.get_marker('freeze_time') -- else: -- return node.get_closest_marker('freeze_time') -+ return node.get_closest_marker('freeze_time') - - - @pytest.fixture(name=FIXTURE_NAME) -diff --git a/setup.cfg b/setup.cfg -index 069ddf7..da06223 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -31,7 +31,7 @@ py_modules = - pytest_freezegun - install_requires = - freezegun>0.3 -- pytest>=3.0.0 -+ pytest>=3.6 - - [options.entry_points] - pytest11 = -diff --git a/tox.ini b/tox.ini -index 3846fd9..07e916d 100644 ---- a/tox.ini -+++ b/tox.ini -@@ -6,7 +6,7 @@ envlist = {py35,py36,py37,py38,pypy3}-{pt3,pt4,pt5},py38-ptNext-fgNext,flake8 - deps = - coverage - pip >= 19 -- pt3: pytest>=3,<4 -+ pt3: pytest>=3.6,<4 - pt4: pytest>=4,<5 - pt5: pytest>=5,<6 - ptNext: git+https://github.com/pytest-dev/pytest/ diff --git a/dev-python/pytest-freezegun/metadata.xml b/dev-python/pytest-freezegun/metadata.xml deleted file mode 100644 index b8c08e4e1d5f..000000000000 --- a/dev-python/pytest-freezegun/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - python@gentoo.org - - - - ktosiek/pytest-freezegun - pytest-freezegun - - diff --git a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild b/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild deleted file mode 100644 index a217130f6f15..000000000000 --- a/dev-python/pytest-freezegun/pytest-freezegun-0.4.2-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Easily freeze time in pytest test + fixtures" -HOMEPAGE=" - https://pypi.org/project/pytest-freezegun/ - https://github.com/ktosiek/pytest-freezegun/ -" -SRC_URI=" - https://github.com/ktosiek/pytest-freezegun/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/ktosiek/pytest-freezegun/pull/38 - "${FILESDIR}"/${P}-distutils-depr.patch -) -- cgit v1.2.3