[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/
commit: 7c63d887c8b1b9274eb8f41e01b021f7c274e022 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 26 04:34:01 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 26 04:34:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c63d887 dev-python/crispy-bootstrap5: Bump to 2024.2 Signed-off-by: Michał Górny gentoo.org> dev-python/crispy-bootstrap5/Manifest | 1 + .../crispy-bootstrap5-2024.2.ebuild| 35 ++ 2 files changed, 36 insertions(+) diff --git a/dev-python/crispy-bootstrap5/Manifest b/dev-python/crispy-bootstrap5/Manifest index c1c0406bb433..326f43b48543 100644 --- a/dev-python/crispy-bootstrap5/Manifest +++ b/dev-python/crispy-bootstrap5/Manifest @@ -1 +1,2 @@ DIST crispy-bootstrap5-2023.10.gh.tar.gz 31222 BLAKE2B cab972ed222ba0245d0a0d6e75487aac03c054f8669859fc4eb8293c2abb3775ef76f6866402917d1d1bfa0444548983639a24bd5fd4d1c2a3bbd74d1c086057 SHA512 379e4ea536809ceeb347d8894953acd97362c7340cb496727e4f56c2967aba93b1b041166ba6b8253d4952e4fa97f80668041733ddbd2ca62b60f4f9046259ef +DIST crispy-bootstrap5-2024.2.gh.tar.gz 33509 BLAKE2B 4a1eec0cea4ee2b0fcbdd8aec6b4595a7b981b0502113d5154585702cc20d9c80cf28fd06db8085dd561c154e13fa493ee88bc3a9c0e619684ab56fce1376d70 SHA512 08c0e35caff14c53976283a383da5a8115a64b42a5a0797089c2528f3e2c0e03eb0826f48c1991bdbbd183afc486c0a238c73e782a76eac1d003e5760ddd852e diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-2024.2.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-2024.2.ebuild new file mode 100644 index ..ccc2aa04abb8 --- /dev/null +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-2024.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023-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="Bootstrap5 template pack for django-crispy-forms" +HOMEPAGE=" + https://github.com/django-crispy-forms/crispy-bootstrap5/ + https://pypi.org/project/crispy-bootstrap5/ +" +SRC_URI=" + https://github.com/django-crispy-forms/crispy-bootstrap5/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] + >=dev-python/django-crispy-forms-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/files/, dev-python/crispy-bootstrap5/
commit: 47caa963d79448c720def994ff5c73b5bcfb6be3 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 30 18:25:40 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 30 18:26:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47caa963 dev-python/crispy-bootstrap5: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/crispy-bootstrap5/Manifest | 1 - .../crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild | 38 - .../files/crispy-bootstrap5-0.7-test.patch | 172 - 3 files changed, 211 deletions(-) diff --git a/dev-python/crispy-bootstrap5/Manifest b/dev-python/crispy-bootstrap5/Manifest index 843a1e5d3e3d..c1c0406bb433 100644 --- a/dev-python/crispy-bootstrap5/Manifest +++ b/dev-python/crispy-bootstrap5/Manifest @@ -1,2 +1 @@ -DIST crispy-bootstrap5-0.7.gh.tar.gz 29728 BLAKE2B 1209ab7d8340e30c71050ed60a86d8233f454c49d2f6d4fcf4f1d6be4a7d1c470c3f907211c1ee352fc3eba9a74e8152d41162e4d6f8113538eccbb3522409a5 SHA512 c73305c6661719cd45989679c33751f44b318b39f895e0328257eaffcdd52b726be9be624ebecb6bcba35635f0f615bb83e48c775e0f05c40f8f1e6e80ab737c DIST crispy-bootstrap5-2023.10.gh.tar.gz 31222 BLAKE2B cab972ed222ba0245d0a0d6e75487aac03c054f8669859fc4eb8293c2abb3775ef76f6866402917d1d1bfa0444548983639a24bd5fd4d1c2a3bbd74d1c086057 SHA512 379e4ea536809ceeb347d8894953acd97362c7340cb496727e4f56c2967aba93b1b041166ba6b8253d4952e4fa97f80668041733ddbd2ca62b60f4f9046259ef diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild deleted file mode 100644 index b04b976d40a0.. --- a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Bootstrap5 template pack for django-crispy-forms" -HOMEPAGE=" - https://github.com/django-crispy-forms/crispy-bootstrap5/ - https://pypi.org/project/crispy-bootstrap5/ -" -SRC_URI=" - https://github.com/django-crispy-forms/crispy-bootstrap5/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/django-crispy-forms[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-django[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${P}-test.patch -) diff --git a/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch b/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch deleted file mode 100644 index 914b48385437.. --- a/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch +++ /dev/null @@ -1,172 +0,0 @@ -From 69ff88bed286a76e6216a54ecf93a0b27d87bc8d Mon Sep 17 00:00:00 2001 -From: David Smith <39445562+smith...@users.noreply.github.com> -Date: Thu, 15 Dec 2022 08:01:04 + -Subject: [PATCH] Fixed tests for crispy-forms 2.x (#133) - - tests/templates/custom_field_template.html | 2 +- - tests/templates/custom_form_template.html | 2 +- - .../custom_form_template_with_context.html | 2 +- - tests/test_layout.py | 14 -- - tests/test_layout_objects.py | 12 - tox.ini| 2 -- - 6 files changed, 27 insertions(+), 7 deletions(-) - -diff --git a/tests/templates/custom_field_template.html b/tests/templates/custom_field_template.html -index 4724226..04f0274 100644 a/tests/templates/custom_field_template.html -+++ b/tests/templates/custom_field_template.html -@@ -1,2 +1,2 @@ - Special custom field --{% include 'bootstrap/field.html' %} -+{% include 'bootstrap5/field.html' %} -diff --git a/tests/templates/custom_form_template.html b/tests/templates/custom_form_template.html -index f2da757..c09b4c7 100644 a/tests/templates/custom_form_template.html -+++ b/tests/templates/custom_form_template.html -@@ -1,2 +1,2 @@ - Special custom form --{% include "bootstrap/whole_uni_form.html" %} -+{% include "bootstrap5/whole_uni_form.html" %} -diff --git a/tests/templates/custom_form_template_with_context.html b/tests/templates/custom_form_template_with_context.html -index 2378296..477997a 100644 a/tests/templates/custom_form_template_with_context.html -+++ b/tests/templates/custom_form_template_with_context.html -@@ -1,4 +1,4 @@ - Special custom form with context passthrough - Got prefix: {{ prefix }}. --{% include "bootstrap/whole_uni_form.html" %} -+{% include "bootstrap5/whole_uni_form.html" %} - Got suffix: {{ suffix }}. -diff --git a/tests/test_layout.py b/tests/test_layout.py -index 512facf..a2a72e8 100644 a/tests/test_layout.py -+++ b/tests/test_layout.py -@@
[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/
commit: 0414ff37e6f2574731e160eca23de27765e10c87 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 31 07:23:12 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Oct 31 07:52:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0414ff37 dev-python/crispy-bootstrap5: Bump to 2023.10 Closes: https://bugs.gentoo.org/911699 Signed-off-by: Michał Górny gentoo.org> dev-python/crispy-bootstrap5/Manifest | 1 + .../crispy-bootstrap5-2023.10.ebuild | 35 ++ 2 files changed, 36 insertions(+) diff --git a/dev-python/crispy-bootstrap5/Manifest b/dev-python/crispy-bootstrap5/Manifest index f709b3c7df14..843a1e5d3e3d 100644 --- a/dev-python/crispy-bootstrap5/Manifest +++ b/dev-python/crispy-bootstrap5/Manifest @@ -1 +1,2 @@ DIST crispy-bootstrap5-0.7.gh.tar.gz 29728 BLAKE2B 1209ab7d8340e30c71050ed60a86d8233f454c49d2f6d4fcf4f1d6be4a7d1c470c3f907211c1ee352fc3eba9a74e8152d41162e4d6f8113538eccbb3522409a5 SHA512 c73305c6661719cd45989679c33751f44b318b39f895e0328257eaffcdd52b726be9be624ebecb6bcba35635f0f615bb83e48c775e0f05c40f8f1e6e80ab737c +DIST crispy-bootstrap5-2023.10.gh.tar.gz 31222 BLAKE2B cab972ed222ba0245d0a0d6e75487aac03c054f8669859fc4eb8293c2abb3775ef76f6866402917d1d1bfa0444548983639a24bd5fd4d1c2a3bbd74d1c086057 SHA512 379e4ea536809ceeb347d8894953acd97362c7340cb496727e4f56c2967aba93b1b041166ba6b8253d4952e4fa97f80668041733ddbd2ca62b60f4f9046259ef diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-2023.10.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-2023.10.ebuild new file mode 100644 index ..b21a1f0b456f --- /dev/null +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-2023.10.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023 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="Bootstrap5 template pack for django-crispy-forms" +HOMEPAGE=" + https://github.com/django-crispy-forms/crispy-bootstrap5/ + https://pypi.org/project/crispy-bootstrap5/ +" +SRC_URI=" + https://github.com/django-crispy-forms/crispy-bootstrap5/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] + >=dev-python/django-crispy-forms-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/
commit: 061f9fa3bdcf1930a4ab134684969fa8722a6bb8 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 16 03:51:40 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Oct 16 03:51:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061f9fa3 dev-python/crispy-bootstrap5: Reformat Wanted to add py3.12 but it's broken. Obviously not tested. Signed-off-by: Michał Górny gentoo.org> .../crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild | 27 ++ 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild index a1e440cc9f5b..b04b976d40a0 100644 --- a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild @@ -4,26 +4,35 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..11} ) + inherit distutils-r1 DESCRIPTION="Bootstrap5 template pack for django-crispy-forms" HOMEPAGE=" + https://github.com/django-crispy-forms/crispy-bootstrap5/ https://pypi.org/project/crispy-bootstrap5/ " -SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/django-crispy-forms/crispy-bootstrap5/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RDEPEND="dev-python/django-crispy-forms[${PYTHON_USEDEP}]" -BDEPEND="test? ( - dev-python/pytest-django[${PYTHON_USEDEP}] -)" +RDEPEND=" + dev-python/django-crispy-forms[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest -PATCHES=( "${FILESDIR}"/${P}-test.patch ) +PATCHES=( + "${FILESDIR}"/${P}-test.patch +)
[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/
commit: 45ac9de524d4ad9b901ca7967cb8c497d276569d Author: Alfredo Tupone gentoo org> AuthorDate: Sun Apr 2 12:42:38 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Sun Apr 2 12:44:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ac9de5 dev-python/crispy-bootstrap5: fix test deps Closes: https://bugs.gentoo.org/903671 Signed-off-by: Alfredo Tupone gentoo.org> dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild | 4 1 file changed, 4 insertions(+) diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild index 334d9c3af66d..a1e440cc9f5b 100644 --- a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild @@ -17,8 +17,12 @@ SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/refs/tags/${PV}.ta LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" RDEPEND="dev-python/django-crispy-forms[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] +)" distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/crispy-bootstrap5/, dev-python/crispy-bootstrap5/files/
commit: 3d870225af3c41a7b5f45f315246ec5ce70421ae Author: Alfredo Tupone gentoo org> AuthorDate: Fri Mar 31 19:52:52 2023 + Commit: Alfredo Tupone gentoo org> CommitDate: Fri Mar 31 19:53:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d870225 dev-python/crispy-bootstrap5: new package, add 0.7 Signed-off-by: Alfredo Tupone gentoo.org> dev-python/crispy-bootstrap5/Manifest | 1 + .../crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild | 25 +++ .../files/crispy-bootstrap5-0.7-test.patch | 172 + dev-python/crispy-bootstrap5/metadata.xml | 12 ++ 4 files changed, 210 insertions(+) diff --git a/dev-python/crispy-bootstrap5/Manifest b/dev-python/crispy-bootstrap5/Manifest new file mode 100644 index ..f709b3c7df14 --- /dev/null +++ b/dev-python/crispy-bootstrap5/Manifest @@ -0,0 +1 @@ +DIST crispy-bootstrap5-0.7.gh.tar.gz 29728 BLAKE2B 1209ab7d8340e30c71050ed60a86d8233f454c49d2f6d4fcf4f1d6be4a7d1c470c3f907211c1ee352fc3eba9a74e8152d41162e4d6f8113538eccbb3522409a5 SHA512 c73305c6661719cd45989679c33751f44b318b39f895e0328257eaffcdd52b726be9be624ebecb6bcba35635f0f615bb83e48c775e0f05c40f8f1e6e80ab737c diff --git a/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild new file mode 100644 index ..334d9c3af66d --- /dev/null +++ b/dev-python/crispy-bootstrap5/crispy-bootstrap5-0.7.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Bootstrap5 template pack for django-crispy-forms" +HOMEPAGE=" + https://pypi.org/project/crispy-bootstrap5/ +" +SRC_URI="https://github.com/django-crispy-forms/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/django-crispy-forms[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}"/${P}-test.patch ) diff --git a/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch b/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch new file mode 100644 index ..914b48385437 --- /dev/null +++ b/dev-python/crispy-bootstrap5/files/crispy-bootstrap5-0.7-test.patch @@ -0,0 +1,172 @@ +From 69ff88bed286a76e6216a54ecf93a0b27d87bc8d Mon Sep 17 00:00:00 2001 +From: David Smith <39445562+smith...@users.noreply.github.com> +Date: Thu, 15 Dec 2022 08:01:04 + +Subject: [PATCH] Fixed tests for crispy-forms 2.x (#133) + +--- + tests/templates/custom_field_template.html | 2 +- + tests/templates/custom_form_template.html | 2 +- + .../custom_form_template_with_context.html | 2 +- + tests/test_layout.py | 14 -- + tests/test_layout_objects.py | 12 + tox.ini| 2 -- + 6 files changed, 27 insertions(+), 7 deletions(-) + +diff --git a/tests/templates/custom_field_template.html b/tests/templates/custom_field_template.html +index 4724226..04f0274 100644 +--- a/tests/templates/custom_field_template.html b/tests/templates/custom_field_template.html +@@ -1,2 +1,2 @@ + Special custom field +-{% include 'bootstrap/field.html' %} ++{% include 'bootstrap5/field.html' %} +diff --git a/tests/templates/custom_form_template.html b/tests/templates/custom_form_template.html +index f2da757..c09b4c7 100644 +--- a/tests/templates/custom_form_template.html b/tests/templates/custom_form_template.html +@@ -1,2 +1,2 @@ + Special custom form +-{% include "bootstrap/whole_uni_form.html" %} ++{% include "bootstrap5/whole_uni_form.html" %} +diff --git a/tests/templates/custom_form_template_with_context.html b/tests/templates/custom_form_template_with_context.html +index 2378296..477997a 100644 +--- a/tests/templates/custom_form_template_with_context.html b/tests/templates/custom_form_template_with_context.html +@@ -1,4 +1,4 @@ + Special custom form with context passthrough + Got prefix: {{ prefix }}. +-{% include "bootstrap/whole_uni_form.html" %} ++{% include "bootstrap5/whole_uni_form.html" %} + Got suffix: {{ suffix }}. +diff --git a/tests/test_layout.py b/tests/test_layout.py +index 512facf..a2a72e8 100644 +--- a/tests/test_layout.py b/tests/test_layout.py +@@ -16,6 +16,7 @@ + from django.middleware.csrf import _get_new_csrf_string + from django.shortcuts import render + from django.template import Context, Template ++from django.test import override_settings + from django.urls import reverse + from django.utils.translation import gettext_lazy as _ + +@@ -36,6 +37,12 @@ + ) + from .utils import contains_partial, parse_expected, parse_form + ++CONVERTERS = { ++"textinput": "inputtext textinput textInput", ++"fileinput":