commit: 773902be56df6edf06fb610378a81ee6bc7c0224
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 14 04:34:53 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 14 04:34:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773902be
dev-python/django-filter: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-filter/Manifest | 1 -
.../django-filter/django-filter-21.1-r2.ebuild | 35 ----------------------
.../files/django-filter-21.1-test-skipIf.patch | 27 -----------------
3 files changed, 63 deletions(-)
diff --git a/dev-python/django-filter/Manifest
b/dev-python/django-filter/Manifest
index 40eb8bb12fd7..432a570d9db8 100644
--- a/dev-python/django-filter/Manifest
+++ b/dev-python/django-filter/Manifest
@@ -1,2 +1 @@
-DIST django-filter-21.1.tar.gz 154188 BLAKE2B
f0ae3119a1dfa466e6630f7da44db1531172991b137fe9420ed533a7b3d4177f689f07fed115566854bd40e5e23f4e9f2f73be32188af2c067a81a95fbccc5a3
SHA512
df2b02bfa93874d9684a26394778203b827c6459ab8cc8c581677e6ccfeedf1323085f53fb52cfc3e0e0a3d27f86de655366bcd4be361502ce86e65b4a4e84d0
DIST django-filter-22.1.gh.tar.gz 132450 BLAKE2B
9ef9a4ee15ebd3d461803b4dbbdf9a415e7004ee6b9eaaa75c87f9b3993461e6e294621182478ba0ad06595937c9b98fe89d16e9c48e34ced7dd525f40dc926f
SHA512
9db2e684815a69c8b28b512c994ad1845c7a3e53da5dc762e5833c1ee4d90c5e513aa5cb3e59d9033c509b44fe9c27ce4fe798842aec50e040c06d33cb18ec0a
diff --git a/dev-python/django-filter/django-filter-21.1-r2.ebuild
b/dev-python/django-filter/django-filter-21.1-r2.ebuild
deleted file mode 100644
index d64a0826500e..000000000000
--- a/dev-python/django-filter/django-filter-21.1-r2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
-
-DESCRIPTION="Django app allowing declarative dynamic QuerySet filtering from
URL parameters"
-HOMEPAGE="https://github.com/carltongibson/django-filter"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]"
-BDEPEND="
- test? (
- ${RDEPEND}
- dev-python/coreapi[${PYTHON_USEDEP}]
- dev-python/djangorestframework[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-test-skipIf.patch
-)
-
-python_test() {
- local -x DJANGO_SETTINGS_MODULE=tests.settings
- django-admin test -v 2 || die
-}
diff --git
a/dev-python/django-filter/files/django-filter-21.1-test-skipIf.patch
b/dev-python/django-filter/files/django-filter-21.1-test-skipIf.patch
deleted file mode 100644
index adaf8ba428d1..000000000000
--- a/dev-python/django-filter/files/django-filter-21.1-test-skipIf.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From db97686a9950cc1a372d27dfbb90b19ceece3f65 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
-Date: Fri, 24 Sep 2021 21:22:41 +0200
-Subject: [PATCH] Fix inverted skipIf for CrispyFormsCompatTests tests
-
-The test is being wrongly skipped when crispy_forms are installed
-rather than the other way around.
----
- tests/rest_framework/test_filterset.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/rest_framework/test_filterset.py
b/tests/rest_framework/test_filterset.py
-index f8b5aae..b6a658d 100644
---- a/tests/rest_framework/test_filterset.py
-+++ b/tests/rest_framework/test_filterset.py
-@@ -38,7 +38,7 @@ class FilterSetFilterForFieldTests(TestCase):
- self.assertEqual(result.extra['widget'], BooleanWidget)
-
-
--@skipIf(is_crispy(), 'django_crispy_forms must be installed')
-+@skipIf(not is_crispy(), 'django_crispy_forms must be installed')
- @override_settings(INSTALLED_APPS=settings.INSTALLED_APPS + ('crispy_forms',
))
- class CrispyFormsCompatTests(TestCase):
-
---
-2.33.0
-