git: 9967c437a2b5 - main - databases/pecl-cassandra: Update 1.3.2=>1.3.2.a.20200527

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 28 Dec 2021 23:22:58 UTC
The branch main has been updated by bofh:

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

commit 9967c437a2b52c64533fb17d3e33772c8a3f9daa
Author:     Daniel Ylitalo <daniel@blodan.se>
AuthorDate: 2021-12-28 23:20:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2021-12-28 23:22:30 +0000

    databases/pecl-cassandra: Update 1.3.2=>1.3.2.a.20200527
    
    - Unbreak for php74
    
    PR: 260653
    Approved by:    daniel@blodan.se
---
 databases/pecl-cassandra/Makefile  | 22 ++++++++++++++++------
 databases/pecl-cassandra/distinfo  |  6 +++---
 databases/pecl-cassandra/pkg-descr |  4 ++--
 3 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/databases/pecl-cassandra/Makefile b/databases/pecl-cassandra/Makefile
index 7b8b0f20f0fb..80f9d6061bb1 100644
--- a/databases/pecl-cassandra/Makefile
+++ b/databases/pecl-cassandra/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	cassandra
-PORTVERSION=	1.3.2
+DISTVERSION=	1.3.2.a.20200527
 CATEGORIES=	databases
+PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
 
 MAINTAINER=	daniel@blodan.se
 COMMENT=	Extension to access Cassandra
@@ -8,11 +9,20 @@ COMMENT=	Extension to access Cassandra
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libuv.so:devel/libuv \
-		libcassandra.so:databases/cassandra-cpp-driver \
-		libgmp.so:math/gmp
+LIB_DEPENDS=	libcassandra.so:databases/cassandra-cpp-driver \
+		libgmp.so:math/gmp \
+		libuv.so:devel/libuv
 
-USES=		php:pecl localbase
-IGNORE_WITH_PHP=	74 80
+USES=		localbase php:ext
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	datastax
+GH_PROJECT=	php-driver
+GH_TAGNAME=	61faee0
+
+IGNORE_WITH_PHP=	80
+PHP_MODNAME=	cassandra
+
+WRKSRC_SUBDIR=	ext
 
 .include <bsd.port.mk>
diff --git a/databases/pecl-cassandra/distinfo b/databases/pecl-cassandra/distinfo
index 8ac7eb4fd113..4f1ace1d9ace 100644
--- a/databases/pecl-cassandra/distinfo
+++ b/databases/pecl-cassandra/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539110312
-SHA256 (PECL/cassandra-1.3.2.tgz) = ff80de20482021266426e8c431a2205bc9cb5c18caebe0219de709f6745025df
-SIZE (PECL/cassandra-1.3.2.tgz) = 163700
+TIMESTAMP = 1640733235
+SHA256 (datastax-php-driver-1.3.2.a.20200527-61faee0_GH0.tar.gz) = 3c07153cde31af723f6e0f4694204886500389bf1eceb49e6cef1d696b1b442b
+SIZE (datastax-php-driver-1.3.2.a.20200527-61faee0_GH0.tar.gz) = 314211
diff --git a/databases/pecl-cassandra/pkg-descr b/databases/pecl-cassandra/pkg-descr
index 32338c8a00ad..a174710c0bd9 100644
--- a/databases/pecl-cassandra/pkg-descr
+++ b/databases/pecl-cassandra/pkg-descr
@@ -1,7 +1,7 @@
-A modern, feature-rich and highly tunable PHP client 
+A modern, feature-rich and highly tunable PHP client
 library for Apache Cassandra and DataStax Enterprise.
 
-Using exclusively Cassandra's binary protocol and 
+Using exclusively Cassandra's binary protocol and
 Cassandra Query Language v3.
 
 WWW: https://pecl.php.net/package/cassandra