1 |
commit: afe72c8691f55844f1697c71ef993f85ed061320 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 28 07:54:20 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 08:17:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe72c86 |
7 |
|
8 |
dev-python/django-tables2: Bump to 2.5.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/django-tables2/Manifest | 1 + |
13 |
.../django-tables2/django-tables2-2.5.0.ebuild | 52 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/django-tables2/Manifest b/dev-python/django-tables2/Manifest |
17 |
index ea01ba5f4fdb..d778af29dc41 100644 |
18 |
--- a/dev-python/django-tables2/Manifest |
19 |
+++ b/dev-python/django-tables2/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST django-tables2-2.3.4.tar.gz 77706 BLAKE2B 54e0903747ab29dab26049868f8cfd412d23fe3f36eaf292bebc90ee1c307f08d04af1eed469423e3699db227110fc0347a8034acb3b3b46971d37b3aebb84a1 SHA512 d10144b79850847d2787e4a97f450eb3709a419a5dcd330667e3746c16f3be7472c6c26dbf7d765356130b79b8c915c46fd3201c83e66806753f1bb95911895f |
22 |
DIST django-tables2-2.4.1.gh.tar.gz 429723 BLAKE2B 80361d419279f548c089c4da990a45c6b43576746ec2762928af907415f3ea331a89f7e0ec7b792d27e15ed409b25f3ee26b3794cdb16255835f0d74faee068c SHA512 e2431f86e049b9dee1100d48727ea2003e431a3ad5bf8e8a4b773d53dc4d5e90ec310a7f07ce7532e044903d760aacda37b3512770f6e0db6527842d1cbdd6d9 |
23 |
+DIST django-tables2-2.5.0.gh.tar.gz 430376 BLAKE2B 592a488fea869c2b0630c8d3ad72182636206a2b394355a2702c2dbeac43a67f9175a9f7756349c3d7877d2887af0e32816e2a4c9ba5234f04e9828fe38ffe29 SHA512 b0a31860205c5e68a520d1fdbfe16e094701dbcf1cf8c46d62c32b8194c121271832f08ca0fdb4c05cb52c1fde5ef66e323d3f772e2562da4f48188128cfa8a0 |
24 |
|
25 |
diff --git a/dev-python/django-tables2/django-tables2-2.5.0.ebuild b/dev-python/django-tables2/django-tables2-2.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..0cf8ea3533ee |
28 |
--- /dev/null |
29 |
+++ b/dev-python/django-tables2/django-tables2-2.5.0.ebuild |
30 |
@@ -0,0 +1,52 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Table/data-grid framework for Django" |
42 |
+HOMEPAGE=" |
43 |
+ https://pypi.org/project/django-tables2/ |
44 |
+ https://github.com/jieter/django-tables2/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+LICENSE="BSD-2" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+IUSE="test" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ >=dev-python/django-3.2[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ ${RDEPEND} |
63 |
+ dev-python/django-filter[${PYTHON_USEDEP}] |
64 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ dev-python/psycopg:2[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ # these tests require tablib |
73 |
+ rm tests/test_export.py tests/test_templatetags.py || die |
74 |
+ # these tests require fudge |
75 |
+ rm tests/test_config.py || die |
76 |
+ |
77 |
+ distutils-r1_src_prepare |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ "${EPYTHON}" manage.py test -v 2 tests || die |
82 |
+} |