git: ed7f057c3cdc - main - www/newsraft: Update to 0.27

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 06:19:41 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ed7f057c3cdcb7a27dcf5cdbeb5fc81d96aebe6a

commit ed7f057c3cdcb7a27dcf5cdbeb5fc81d96aebe6a
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-10-07 06:17:48 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-10-07 06:17:48 +0000

    www/newsraft: Update to 0.27
    
    Remove run-check.sh patch, all tests run fine.
    
    Changelogs:
    https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-0.27
    https://codeberg.org/newsraft/newsraft/releases/tag/newsraft-0.26
---
 www/newsraft/Makefile                       |  3 +--
 www/newsraft/distinfo                       |  6 +++---
 www/newsraft/files/patch-tests_run-check.sh | 11 -----------
 3 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/www/newsraft/Makefile b/www/newsraft/Makefile
index 3df276e2fc06..8b2c9409468c 100644
--- a/www/newsraft/Makefile
+++ b/www/newsraft/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	newsraft
-DISTVERSION=	0.25
+DISTVERSION=	0.27
 CATEGORIES=	www
 MASTER_SITES=	https://codeberg.org/${PORTNAME}/${PORTNAME}/archive/
 
@@ -19,7 +19,6 @@ USES=		ncurses pkgconfig sqlite
 
 MAKEFILE=	makefile
 MAKE_ARGS+=	CFLAGS="${CFLAGS}"
-# One test fails but manually run "make check" from WRKSRC it pass
 TEST_TARGET=	check
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
diff --git a/www/newsraft/distinfo b/www/newsraft/distinfo
index 60ddc9b33a80..54fdbd67c79c 100644
--- a/www/newsraft/distinfo
+++ b/www/newsraft/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722796728
-SHA256 (newsraft-0.25.tar.gz) = 99e587c8dcd22addd1dbd1f6f3a823af234a941009f016abbbf325ab5a6c44a0
-SIZE (newsraft-0.25.tar.gz) = 153586
+TIMESTAMP = 1728280482
+SHA256 (newsraft-0.27.tar.gz) = 627b274901e5c3298d430f5adfedbd69b09de365ffeb18e768f091738fe39089
+SIZE (newsraft-0.27.tar.gz) = 155854
diff --git a/www/newsraft/files/patch-tests_run-check.sh b/www/newsraft/files/patch-tests_run-check.sh
deleted file mode 100644
index e573993795a4..000000000000
--- a/www/newsraft/files/patch-tests_run-check.sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- tests/run-check.sh.orig	2024-05-26 22:09:20 UTC
-+++ tests/run-check.sh
-@@ -13,7 +13,7 @@ do
- do
- 	tests_count="$((tests_count + 1))"
- 	rm -rf test-database*
--	if ${CC:-cc} -Isrc -DTEST -o ./a.out "$test_file" -L. -lnewsraft && env LD_LIBRARY_PATH=. ./a.out; then
-+	if ${CC:-cc} `pkg-config --cflags sqlite3` -Isrc -DTEST -o ./a.out "$test_file" -L. -lnewsraft && env LD_LIBRARY_PATH=. ./a.out; then
- 		echo "[OKAY] $test_file"
- 		okays_count="$((okays_count + 1))"
- 	else