dev-python/django-tables2: Bump to 2.8.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-22 07:55:14 +01:00
parent 4cb6446f0b
commit ee1683e294
2 changed files with 50 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django-tables2-2.7.5.gh.tar.gz 432318 BLAKE2B fc762afeba6332f61a48fb4f404e261dd483661b880e7baefe39593f4f0ca34e11326214c8f6b4d4eaa53c425793e6d07c73f039f0366c4e60f9d4b0588d3cde SHA512 b85bba6f1674497036e1c0c1ae5f05c241d951670501f2ca78aa62f1f278b455b9bde04f9f877a9972f92451ea1b296b39052da0da43f624bc270c787441e48a
DIST django-tables2-2.8.0.gh.tar.gz 432933 BLAKE2B ce5472827b26be9b08e1b62bfb1489944b92789f05bbe2144416ed9c017b4ba1750a16630d1a62e9210fb484a12c5732638867eadcd7ee4b1a2a96cea1de1234 SHA512 d961b9329715a64c4dd77bf97c7b485f55fc7b9bec1f99513ffd877de0c63e02a73130ab807b6e2b255b8e6bcaf1f30b1aac7db503d7f4031ece13618aefd5a1

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..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
}