dev-python/django-tables2: Bump to 3.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-14 04:23:04 +02:00
parent 7fbedf0d3c
commit a189c60f94
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django-tables2-2.9.0.gh.tar.gz 433751 BLAKE2B f0c134da1dde3c6eaf73bf4b6cd08e73b53126051c5ba7e341b4b1c5be0799ca3c497ad10ebd465e8b9e319fa55bec96a892e94362ef67765a329d515158e40c SHA512 760fdc5a7892e435e214d99f0563a905ac2360dbd718f5966746666f9722a8428e6f328c04fef98193fb28d7f8964267e1030f9a7509f4050d41c4a76a7366c7
DIST django-tables2-3.0.0.gh.tar.gz 433992 BLAKE2B 7826832cc0bbd060a0732f5dfb32b1be92a9acec5eff324ea9b0b0dc501dd9be0683aaf479624978aaba3301272f5236274f3ab19bbf6f3e6cf8f665a8f21210 SHA512 ae1687dbc0d13f5dda7ce9cf949eab937c96506eed742f7a6966d9bc52abef54174c12df9847b15e110feb4ffe330fd14f85c0f809a026321d1b3a0d43a0a9d1

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Table/data-grid framework for Django"
HOMEPAGE="
https://pypi.org/project/django-tables2/
https://github.com/jieter/django-tables2/
"
SRC_URI="
https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-4.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
dev-python/django-filter[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/psycopg:*[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
)
"
src_prepare() {
# these tests require tablib
rm tests/test_export.py tests/test_templatetags.py || die
distutils-r1_src_prepare
}
python_test() {
"${EPYTHON}" manage.py test -v 2 tests || die
}