Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-crispy-forms/
Date: Tue, 28 Feb 2023 21:11:09
Message-Id: 1677618635.7f1895aa83849c913f7237033c925eac257aa5d3.tupone@gentoo
1 commit: 7f1895aa83849c913f7237033c925eac257aa5d3
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 21:09:58 2023 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 21:10:35 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1895aa
7
8 dev-python/django-crispy-forms: bump to 2.0
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 dev-python/django-crispy-forms/Manifest | 1 +
13 dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild | 8 +++++++-
14 ...-crispy-forms-1.14.0.ebuild => django-crispy-forms-2.0.ebuild} | 8 +++++++-
15 3 files changed, 15 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-python/django-crispy-forms/Manifest b/dev-python/django-crispy-forms/Manifest
18 index 8ccfa76bebff..52d7cbd7417f 100644
19 --- a/dev-python/django-crispy-forms/Manifest
20 +++ b/dev-python/django-crispy-forms/Manifest
21 @@ -1 +1,2 @@
22 DIST django-crispy-forms-1.14.0.gh.tar.gz 295826 BLAKE2B 4be78ba2eb8b7dfd6d9813d2a94b26ca571f3c8767f22e37e64deca517b0044d1684343f82790860f024b6eaf6759acfdb6975e4497e40bb75cc64ace3ce9745 SHA512 964ebcd74dd284d11cd0a820238468cce415a61b9ac83afe401b1414da0e27b3e9e0a9aa4fec411a8ff9fa08aa6fb56550c6262e0a9d821b17e12590fc06970c
23 +DIST django-crispy-forms-2.0.gh.tar.gz 273743 BLAKE2B 4169c4f77ddd0dd9f8786abd71ad762f645283555f250861f32b874fb9e189d4ca174285ee39b51bc5f0c0e8c2e83c2e00c34398c51ede65438a1c6b8a17c3ee SHA512 8b6f5b35cb90837b7cd6a64ed74afe6a19a80f287f66d0a139811990524e1a48d4d7c01e61fb7d303958522c47458d0aa0008a3d6c147f7d03dc790e53a80592
24
25 diff --git a/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild b/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
26 index 790ba770fa73..0463cb56afea 100644
27 --- a/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
28 +++ b/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
29 @@ -16,6 +16,12 @@ SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/${PV}.tar.gz
30 LICENSE="MIT"
31 SLOT="0"
32 KEYWORDS="~amd64 ~x86"
33 -RESTRICT="test" #Not working
34 +IUSE="test"
35 +RESTRICT="test" #Some tests are failing
36
37 RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
38 +BDEPEND="test? (
39 + dev-python/pytest-django[${PYTHON_USEDEP}]
40 +)"
41 +
42 +distutils_enable_tests pytest
43
44 diff --git a/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild b/dev-python/django-crispy-forms/django-crispy-forms-2.0.ebuild
45 similarity index 76%
46 copy from dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
47 copy to dev-python/django-crispy-forms/django-crispy-forms-2.0.ebuild
48 index 790ba770fa73..914ce0712232 100644
49 --- a/dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
50 +++ b/dev-python/django-crispy-forms/django-crispy-forms-2.0.ebuild
51 @@ -16,6 +16,12 @@ SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/${PV}.tar.gz
52 LICENSE="MIT"
53 SLOT="0"
54 KEYWORDS="~amd64 ~x86"
55 -RESTRICT="test" #Not working
56 +IUSE="test"
57 +RESTRICT="test" #Missing crispy_bootstrap3
58
59 RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
60 +BDEPEND="test? (
61 + dev-python/pytest-django[${PYTHON_USEDEP}]
62 +)"
63 +
64 +distutils_enable_tests pytest