commit:     7f1895aa83849c913f7237033c925eac257aa5d3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 21:09:58 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 21:10:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1895aa

dev-python/django-crispy-forms: bump to 2.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-python/django-crispy-forms/Manifest                           | 1 +
 dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild  | 8 +++++++-
 ...-crispy-forms-1.14.0.ebuild => django-crispy-forms-2.0.ebuild} | 8 +++++++-
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/dev-python/django-crispy-forms/Manifest 
b/dev-python/django-crispy-forms/Manifest
index 8ccfa76bebff..52d7cbd7417f 100644
--- a/dev-python/django-crispy-forms/Manifest
+++ b/dev-python/django-crispy-forms/Manifest
@@ -1 +1,2 @@
 DIST django-crispy-forms-1.14.0.gh.tar.gz 295826 BLAKE2B 
4be78ba2eb8b7dfd6d9813d2a94b26ca571f3c8767f22e37e64deca517b0044d1684343f82790860f024b6eaf6759acfdb6975e4497e40bb75cc64ace3ce9745
 SHA512 
964ebcd74dd284d11cd0a820238468cce415a61b9ac83afe401b1414da0e27b3e9e0a9aa4fec411a8ff9fa08aa6fb56550c6262e0a9d821b17e12590fc06970c
+DIST django-crispy-forms-2.0.gh.tar.gz 273743 BLAKE2B 
4169c4f77ddd0dd9f8786abd71ad762f645283555f250861f32b874fb9e189d4ca174285ee39b51bc5f0c0e8c2e83c2e00c34398c51ede65438a1c6b8a17c3ee
 SHA512 
8b6f5b35cb90837b7cd6a64ed74afe6a19a80f287f66d0a139811990524e1a48d4d7c01e61fb7d303958522c47458d0aa0008a3d6c147f7d03dc790e53a80592

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
index 790ba770fa73..0463cb56afea 100644
--- 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
@@ -16,6 +16,12 @@ 
SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/${PV}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-RESTRICT="test" #Not working
+IUSE="test"
+RESTRICT="test" #Some tests are failing
 
 RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+       dev-python/pytest-django[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest

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
similarity index 76%
copy from dev-python/django-crispy-forms/django-crispy-forms-1.14.0.ebuild
copy to dev-python/django-crispy-forms/django-crispy-forms-2.0.ebuild
index 790ba770fa73..914ce0712232 100644
--- 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
@@ -16,6 +16,12 @@ 
SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/${PV}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-RESTRICT="test" #Not working
+IUSE="test"
+RESTRICT="test" #Missing crispy_bootstrap3
 
 RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+       dev-python/pytest-django[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest

Reply via email to