[neon/extras/grantlee/Neon/release] debian: update the patches
Pino Toscano
null at kde.org
Mon Sep 2 17:01:22 BST 2024
Git commit 05d9463a98f7f8dc499b5c1acbb3ae7e48c60a9b by Pino Toscano.
Committed on 11/09/2022 at 07:10.
Pushed by jriddell into branch 'Neon/release'.
update the patches
- variantIsTrue-float-fix.diff: drop, fixed upstream
M +2 -0 debian/changelog
D +0 -1 debian/patches/series
D +0 -39 debian/patches/variantIsTrue-float-fix.diff
https://invent.kde.org/neon/extras/grantlee/-/commit/05d9463a98f7f8dc499b5c1acbb3ae7e48c60a9b
diff --git a/debian/changelog b/debian/changelog
index cd0dab1..25fe726 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ grantlee5 (5.3.0-0r1) UNRELEASED; urgency=medium
[ Pino Toscano ]
* New upstream release.
+ * Update the patches:
+ - variantIsTrue-float-fix.diff: drop, fixed upstream
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Sun, 11 Sep 2022 08:49:44 +0200
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e97c964..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-variantIsTrue-float-fix.diff
diff --git a/debian/patches/variantIsTrue-float-fix.diff b/debian/patches/variantIsTrue-float-fix.diff
deleted file mode 100644
index 01e0aae..0000000
--- a/debian/patches/variantIsTrue-float-fix.diff
+++ /dev/null
@@ -1,39 +0,0 @@
-Author: Pino Toscano <toscano.pino at tiscali.it>
-Description: Fix variantIsTrue for float variants
- The test data for TestDefaultTags::testIfTag() has been expaded to
- include if-truthiness data explicitly for double and float values,
- so the they can be both tested no matter what qreal is.
-Last-Update: 2013-12-08
-Forwarded: https://www.gitorious.org/grantlee/grantlee/merge_requests/10
-
---- a/templates/tests/testdefaulttags.cpp
-+++ b/templates/tests/testdefaulttags.cpp
-@@ -1064,6 +1064,28 @@
- << QStringLiteral("{% if var %}Yes{% else %}No{% endif %}") << dict
- << QStringLiteral("Yes") << NoError;
-
-+ double d = 0.0;
-+ dict.insert(QStringLiteral( "var" ), d);
-+ QTest::newRow("if-truthiness11")
-+ << QStringLiteral("{% if var %}Yes{% else %}No{% endif %}")
-+ << dict << QStringLiteral("No") << NoError;
-+ d = 7.1;
-+ dict.insert(QStringLiteral("var"), d);
-+ QTest::newRow("if-truthiness12")
-+ << QStringLiteral("{% if var %}Yes{% else %}No{% endif %}")
-+ << dict << QStringLiteral("Yes") << NoError;
-+
-+ float f = 0.0;
-+ dict.insert(QStringLiteral("var"), f);
-+ QTest::newRow("if-truthiness13")
-+ << QStringLiteral("{% if var %}Yes{% else %}No{% endif %}")
-+ << dict << QStringLiteral("No") << NoError;
-+ f = 7.1;
-+ dict.insert(QStringLiteral("var"), f);
-+ QTest::newRow("if-truthiness14")
-+ << QStringLiteral("{% if var %}Yes{% else %}No{% endif %}")
-+ << dict << QStringLiteral("Yes") << NoError;
-+
- dict.clear();
- QTest::newRow("if-tag-badarg01")
- << QStringLiteral("{% if x|default_if_none:y %}yes{% endif %}") << dict
More information about the Neon-commits
mailing list