dev-python/django-filter: Bump to 25.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-15 07:55:39 +01:00
parent 47b3489249
commit c718a950a9
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django-filter-24.3.gh.tar.gz 141027 BLAKE2B e0403f597f2edb46efd800babedc227ce55b8e9084b7c1fabbd28d9fef85d43b3bc78c453f8c0edeaadfd74d4d3cfb9435378e7b1a2c1581acbed5593c235171 SHA512 73455b44400a60e7c68655b4bf755afc66a4f8c28f1700dbd2970c7c36d5ed61d8b673d72c75219bec5414b850d7cb5ac0a55ee90291c4ac17a672a5202d2934
DIST django-filter-25.1.gh.tar.gz 139657 BLAKE2B 765b804b997dacdd31c682fec4e64333d9de6d14c5a9aa62d5884ff0ac92e3ae9ed96aee9853ca6c84134b7254216ee63cd0f58b9f4bb28da145de640d95ef6a SHA512 9b1893b83d84918e8d91043e838f559fecd96fed8c77e3ca164c18bfbb630fc5c5ee85eb3ef5834bdca8187d2693540a8a2c922f2107f1ae9a9d905ef8587428

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} )
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-4.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
dev-python/djangorestframework[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
!!dev-python/coreapi
)
"
python_test() {
local -x DJANGO_SETTINGS_MODULE=tests.settings
"${EPYTHON}" -m django test -v 2 || die
}