From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E42E15812D for ; Fri, 03 Jan 2025 05:47:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC6DBE08C8; Fri, 03 Jan 2025 05:47:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CED13E08C8 for ; Fri, 03 Jan 2025 05:47:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4D8A340754 for ; Fri, 03 Jan 2025 05:47:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1661B19A2 for ; Fri, 03 Jan 2025 05:47:06 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1735883217.71af90a8f0ce289819fb63987d2dddf06f4aea20.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-tables2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-tables2/Manifest dev-python/django-tables2/django-tables2-2.7.5.ebuild X-VCS-Directories: dev-python/django-tables2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 71af90a8f0ce289819fb63987d2dddf06f4aea20 X-VCS-Branch: master Date: Fri, 03 Jan 2025 05:47:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 00e03da8-2f2b-4bb7-8f12-35d287ee05b6 X-Archives-Hash: 4a26014435e8220e86175d6d380faf6b commit: 71af90a8f0ce289819fb63987d2dddf06f4aea20 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 3 05:19:22 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 3 05:46:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71af90a8 dev-python/django-tables2: Bump to 2.7.5 Signed-off-by: Michał Górny gentoo.org> dev-python/django-tables2/Manifest | 1 + .../django-tables2/django-tables2-2.7.5.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/django-tables2/Manifest b/dev-python/django-tables2/Manifest index 2487a846a3d3..2415090e620e 100644 --- a/dev-python/django-tables2/Manifest +++ b/dev-python/django-tables2/Manifest @@ -1 +1,2 @@ DIST django-tables2-2.7.4.gh.tar.gz 432112 BLAKE2B 9327506570115f8bfdce95a753327d3ce94d6b9b03c250ee141c368fb872c0778f6b194aae9518abcdf8c3e53ea522ee7690ab86460694a86624d1d2572b0f98 SHA512 19437869dabf5376eb243aa6529c3e70b4448248c021d3bf8e64865bcdac0d21c5fbc91e5fb0891ee449c04c735f84a68916e15ce3149f3a4d7c05b4866ba705 +DIST django-tables2-2.7.5.gh.tar.gz 432318 BLAKE2B fc762afeba6332f61a48fb4f404e261dd483661b880e7baefe39593f4f0ca34e11326214c8f6b4d4eaa53c425793e6d07c73f039f0366c4e60f9d4b0588d3cde SHA512 b85bba6f1674497036e1c0c1ae5f05c241d951670501f2ca78aa62f1f278b455b9bde04f9f877a9972f92451ea1b296b39052da0da43f624bc270c787441e48a diff --git a/dev-python/django-tables2/django-tables2-2.7.5.ebuild b/dev-python/django-tables2/django-tables2-2.7.5.ebuild new file mode 100644 index 000000000000..bb6a388d97b5 --- /dev/null +++ b/dev-python/django-tables2/django-tables2-2.7.5.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_{10..12} ) + +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 +}