diff --git a/dev-python/django-filter/Manifest b/dev-python/django-filter/Manifest index 9a7c0c5594afd..83ef7db85e165 100644 --- a/dev-python/django-filter/Manifest +++ b/dev-python/django-filter/Manifest @@ -1 +1,2 @@ DIST django-filter-25.2.gh.tar.gz 140478 BLAKE2B 1d4ac9aa7023c6049d4a42cb2bc3113b7b38ac1283ad957f3b66a815a7e519fcee30ed34d69973eb329fb95d5e7ecead1505623abefab9e28b87cda7972acd8d SHA512 9bbe21af68e94974f554d1c72053bda75ae35c069b9df7066e5c8b091f90a44244cbc5340b7a8556b6a46c25d8fc26c11f2457f815378314c4bce7e8ece3765a +DIST django-filter-26.1.gh.tar.gz 140878 BLAKE2B cc96a40ec72d2c1b632ab03be5d8e952572ed0901611198f2b84b99358ddc54e747c38c56384e1349f1cc9da81cd81d2639a819487c8c4ddf4b3ad402c6cba18 SHA512 f240fcbd4ffccdb85c2db2c42ac951eced96aa62489e80c7a00156e364c1f8691205e75113d67c2c18bd6310c682a3e5a4065fffa25140369466b37931ad0e05 diff --git a/dev-python/django-filter/django-filter-26.1.ebuild b/dev-python/django-filter/django-filter-26.1.ebuild new file mode 100644 index 0000000000000..33d91c19b5330 --- /dev/null +++ b/dev-python/django-filter/django-filter-26.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="Django app allowing declarative dynamic QuerySet filtering from URL parameters" +HOMEPAGE=" + https://github.com/carltongibson/django-filter/ + https://pypi.org/project/django-filter/ +" +SRC_URI=" + https://github.com/carltongibson/django-filter/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-5.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.settings + "${EPYTHON}" -m django test -v 2 || die +}