Control: tags 1039742 + patch
Control: tags 1092141 + patch

Dear maintainer,

I've prepared an NMU for awl (versioned as 0.64-1.1) and
uploaded it to DELAYED/0.

Regards.

diff -Nru awl-0.64/debian/changelog awl-0.64/debian/changelog
--- awl-0.64/debian/changelog	2023-03-13 21:43:33.000000000 +0100
+++ awl-0.64/debian/changelog	2025-01-14 13:23:08.000000000 +0100
@@ -1,3 +1,10 @@
+awl (0.64-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for PHPUnit 11 (Closes: #1039742, #1092141)
+
+ -- David Prévot <taf...@debian.org>  Tue, 14 Jan 2025 13:23:08 +0100
+
 awl (0.64-1) unstable; urgency=medium
 
   * New upstream release 0.64
diff -Nru awl-0.64/debian/patches/0001-Add-support-for-phpunit-10.patch awl-0.64/debian/patches/0001-Add-support-for-phpunit-10.patch
--- awl-0.64/debian/patches/0001-Add-support-for-phpunit-10.patch	1970-01-01 01:00:00.000000000 +0100
+++ awl-0.64/debian/patches/0001-Add-support-for-phpunit-10.patch	2025-01-14 13:21:48.000000000 +0100
@@ -0,0 +1,38 @@
+From: Athos Ribeiro <athoscribe...@gmail.com>
+Date: Sun, 2 Jul 2023 15:03:50 -0300
+Subject: Add support for phpunit 10
+
+Origin: upstream, https://gitlab.com/davical-project/awl/-/commit/3764b8ca85bea3dbf5e367248357f08a279ac97f
+Bug: https://gitlab.com/davical-project/awl/-/merge_requests/31
+Bug-Debian: https://bugs.debian.org/1039742
+---
+ tests/myComponentTest.php | 2 +-
+ tests/myPropertyTest.php  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/myComponentTest.php b/tests/myComponentTest.php
+index 5287ec9..8dd2ce3 100644
+--- a/tests/myComponentTest.php
++++ b/tests/myComponentTest.php
+@@ -14,7 +14,7 @@ if (!class_exists('\PHPUnit_Framework_TestCase') &&
+     class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
+ }
+ 
+-class vComponentTest extends PHPUnit_Framework_TestCase {
++class myComponentTest extends PHPUnit_Framework_TestCase {
+     public $testdata = <<<EOBODY1
+ BEGIN:VCALENDAR
+ PRODID:-//davical.org//NONSGML AWL Calendar//EN
+diff --git a/tests/myPropertyTest.php b/tests/myPropertyTest.php
+index 0d9f7af..0eb7e51 100644
+--- a/tests/myPropertyTest.php
++++ b/tests/myPropertyTest.php
+@@ -15,7 +15,7 @@ if (!class_exists('\PHPUnit_Framework_TestCase') &&
+     class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
+ }
+ 
+-class vPropertyTest extends PHPUnit_Framework_TestCase {
++class myPropertyTest extends PHPUnit_Framework_TestCase {
+ 
+     function getData($filename){
+         $file = fopen($filename, 'r');
diff -Nru awl-0.64/debian/patches/series awl-0.64/debian/patches/series
--- awl-0.64/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ awl-0.64/debian/patches/series	2025-01-14 13:21:48.000000000 +0100
@@ -0,0 +1 @@
+0001-Add-support-for-phpunit-10.patch
diff -Nru awl-0.64/debian/tests/phpunit awl-0.64/debian/tests/phpunit
--- awl-0.64/debian/tests/phpunit	2023-03-13 21:41:30.000000000 +0100
+++ awl-0.64/debian/tests/phpunit	2025-01-14 13:21:48.000000000 +0100
@@ -5,6 +5,6 @@
 
 
 # 2) phpunit tests
-phpunit --include-path /usr/share/awl tests
+phpunit --do-not-cache-result --include-path /usr/share/awl tests
 
 

Attachment: signature.asc
Description: PGP signature

Reply via email to