git: dc3a945c4550 - main - devel/pear-Date_Holidays: fix with PHP-8.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 15 May 2022 09:30:48 UTC
The branch main has been updated by thierry:

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

commit dc3a945c4550b977045d50c5a4999e4a696854d7
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-05-13 13:10:26 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-05-15 09:30:42 +0000

    devel/pear-Date_Holidays: fix with PHP-8.0
    
    Get the latest patches from GitHub.
    
    It also remove a dependency on pear-Date, which is almost abandonned,
    and set NO_ARCH.
    
    PR:             263954
    Approved by:    sunpoet (maintainer)
---
 devel/pear-Date_Holidays/Makefile | 13 +++++++++----
 devel/pear-Date_Holidays/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/devel/pear-Date_Holidays/Makefile b/devel/pear-Date_Holidays/Makefile
index e12176286709..46036443377f 100644
--- a/devel/pear-Date_Holidays/Makefile
+++ b/devel/pear-Date_Holidays/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	Date_Holidays
 PORTVERSION=	0.21.8
+PORTREVISION=	1
 CATEGORIES=	devel www pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -9,13 +10,17 @@ COMMENT=	PEAR driver based class to calculate holidays
 
 LICENSE=	PHP301
 
-BUILD_DEPENDS=	${PEARDIR}/Date.php:devel/pear-Date@${PHP_FLAVOR} \
-		${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEARDIR}/Date.php:devel/pear-Date@${PHP_FLAVOR} \
-		${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
+BUILD_DEPENDS=	${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEARDIR}/XML/Serializer.php:devel/pear-XML_Serializer@${PHP_FLAVOR}
 
 USES=		pear
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	pear
+GH_TAGNAME=	a3fc96f
+
+NO_ARCH=	yes
+
 OPTIONS_DEFINE=	PEAR_CONSOLE_GETARGS
 PEAR_CONSOLE_GETARGS_DESC=	Console::Getargs support
 
diff --git a/devel/pear-Date_Holidays/distinfo b/devel/pear-Date_Holidays/distinfo
index fdc2db5c1bc6..0f779d856ea0 100644
--- a/devel/pear-Date_Holidays/distinfo
+++ b/devel/pear-Date_Holidays/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1497162357
-SHA256 (PEAR/Date_Holidays-0.21.8.tgz) = 16974fd34454b28b69aae878284b4928fb3772d37480535b3b6a0184aa558202
-SIZE (PEAR/Date_Holidays-0.21.8.tgz) = 39292
+TIMESTAMP = 1652446529
+SHA256 (PEAR/pear-Date_Holidays-0.21.8-a3fc96f_GH0.tar.gz) = 5e466bfe07867ec69b9fd4a7e37c88851d245945473d78847ec37ac6b2b8e1ef
+SIZE (PEAR/pear-Date_Holidays-0.21.8-a3fc96f_GH0.tar.gz) = 155931