commit:     ee1683e294cca34981c15c4abacba2638500bbc8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 06:55:14 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 06:58:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1683e2

dev-python/django-tables2: Bump to 2.8.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-tables2/Manifest                 |  1 +
 .../django-tables2/django-tables2-2.8.0.ebuild     | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/django-tables2/Manifest 
b/dev-python/django-tables2/Manifest
index ba4a87aab888..1adf6d99485b 100644
--- a/dev-python/django-tables2/Manifest
+++ b/dev-python/django-tables2/Manifest
@@ -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

diff --git a/dev-python/django-tables2/django-tables2-2.8.0.ebuild 
b/dev-python/django-tables2/django-tables2-2.8.0.ebuild
new file mode 100644
index 000000000000..a64aba6939e2
--- /dev/null
+++ b/dev-python/django-tables2/django-tables2-2.8.0.ebuild
@@ -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
+}

Reply via email to