dev-python/django-tables2: new package, add 2.7.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-01-05 12:20:56 +01:00
parent 04e9e39d3f
commit d85ec6d9fe
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST django-tables2-2.7.0.gh.tar.gz 431811 BLAKE2B 2a6a9d74fa50bab049b9b85fc4a2d39b5a54b0fbbcd51f86f2b196e51bd1a1ef36ccc032db13f7cde4f836419a2d92248571b4fb985a8aefb3be2bb740856a2b SHA512 9666dad152d995ef7772881ace4bb83fc41aca1675e0cc116791e4fbfb970de600bd8cc2310b5694558b11e479dea2fc84584a669f6a8127a4bb0a354d24e39a
EBUILD django-tables2-2.7.0.ebuild 1106 BLAKE2B 3e30f676c073ea85a5bdc0fc88e8b45c68c78138af0090c18933254ec1b86f7f4265cb770aa275a870d2ca3c946290c3a8bfe585784731302a4d8c9d352a7b44 SHA512 35c9db146a58ce3be26c629889ea41a875514f04d902ed6754f39b14a38826c50bbfd072608c48e2af7e9bb39d5db1c8c3f9afe5326d96aee37d6703bec74bb4
MISC metadata.xml 416 BLAKE2B f63a86611d3d5805c63f14c75851d6283f12777fce462a796c205ca4141fd5d5a321a7173f2b8bda70d67a3db5935864ca632e6858757626ed632fe3ec6874fb SHA512 1cf202a6a5fcbe86157ba8bf71f5c0c8df2c4393dcc955b2ad37e4f2164a33e241287bed237116df298e6a062a861ec99f3326d13f8f5845891556eb36d9bbf3

View File

@ -0,0 +1,55 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
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-3.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
dev-python/django-filter[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
|| (
(
>=dev-python/django-4.2[${PYTHON_USEDEP}]
dev-python/psycopg:*[${PYTHON_USEDEP}]
)
dev-python/psycopg:2[${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
}

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">django-tables2</remote-id>
<remote-id type="github">jieter/django-tables2</remote-id>
</upstream>
</pkgmetadata>