git: 61ca24ad743a - main - astro/p5-Astro-ADS: Update to 1.90

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 14 Mar 2025 10:00:50 UTC
The branch main has been updated by sunpoet:

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

commit 61ca24ad743aed9b3d6d95a8688c518ac2dd46b6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:44:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:54:52 +0000

    astro/p5-Astro-ADS: Update to 1.90
    
    - Update WWW
    - Update LICENSE
    - Add LICENSE_FILE
    - Update pkg-descr
    
    Changes:        https://metacpan.org/dist/Astro-ADS/changes
---
 astro/p5-Astro-ADS/Makefile  | 24 +++++++++++++++++-------
 astro/p5-Astro-ADS/distinfo  |  5 +++--
 astro/p5-Astro-ADS/pkg-descr | 14 ++++----------
 astro/p5-Astro-ADS/pkg-plist | 12 ++++++------
 4 files changed, 30 insertions(+), 25 deletions(-)

diff --git a/astro/p5-Astro-ADS/Makefile b/astro/p5-Astro-ADS/Makefile
index 6babac1df466..0a5e852585f4 100644
--- a/astro/p5-Astro-ADS/Makefile
+++ b/astro/p5-Astro-ADS/Makefile
@@ -1,21 +1,31 @@
 PORTNAME=	Astro-ADS
-PORTVERSION=	1.26
-PORTREVISION=	1
+PORTVERSION=	1.90
 CATEGORIES=	astro perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	perl@FreeBSD.org
-COMMENT=	OO Perl interface to the ADS abstract service
-WWW=		http://www.estar.org.uk/
+COMMENT=	Perl library to connect with the Harvard Astrophysical Data Service
+WWW=		https://metacpan.org/dist/Astro-ADS
 
-LICENSE=	GPLv2+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	p5-libwww>=0:www/p5-libwww
+RUN_DEPENDS=	p5-Data-Dumper-Concise>=0:devel/p5-Data-Dumper-Concise \
+		p5-Feature-Compat-Try>=0:devel/p5-Feature-Compat-Try \
+		p5-Mojolicious>=0:www/p5-Mojolicious \
+		p5-Moo>=0:devel/p5-Moo \
+		p5-PerlX-Maybe>=0:devel/p5-PerlX-Maybe \
+		p5-Type-Tiny>=0:devel/p5-Type-Tiny \
+		p5-libwww>=0:www/p5-libwww \
+		p5-strictures>=0:devel/p5-strictures
+TEST_DEPENDS=	p5-Mojo-UserAgent-Mockable>=0:www/p5-Mojo-UserAgent-Mockable \
+		p5-Test-Simple>=1.302200:devel/p5-Test-Simple
 
-NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 
+NO_ARCH=	yes
+
 .include <bsd.port.mk>
diff --git a/astro/p5-Astro-ADS/distinfo b/astro/p5-Astro-ADS/distinfo
index bc7aa8966f61..f292adbce127 100644
--- a/astro/p5-Astro-ADS/distinfo
+++ b/astro/p5-Astro-ADS/distinfo
@@ -1,2 +1,3 @@
-SHA256 (Astro-ADS-1.26.tar.gz) = 913fec165729630085ae865ba02b99f6db59784905a6531d084d4a3eaeb36719
-SIZE (Astro-ADS-1.26.tar.gz) = 32548
+TIMESTAMP = 1740836364
+SHA256 (Astro-ADS-1.90.tar.gz) = 6baf90c945c2b3bea337a64fc77205e3f3bbbed0489de1d50690dbe5808ad960
+SIZE (Astro-ADS-1.90.tar.gz) = 15949
diff --git a/astro/p5-Astro-ADS/pkg-descr b/astro/p5-Astro-ADS/pkg-descr
index 3cec38c835bd..072258bc2944 100644
--- a/astro/p5-Astro-ADS/pkg-descr
+++ b/astro/p5-Astro-ADS/pkg-descr
@@ -1,10 +1,4 @@
-The Astro::ADS module is an objected orientated Perl interface to the
-Astrophysics Data System (ADS) abstract service. The ADS is a NASA-funded
-project whose main resource is an Abstract Service, which includes four sets
-of abstracts:
-   1) astronomy and astrophysics, containing 719,449 abstracts;
-   2) instrumentation, containing 608,834 abstracts;
-   3) physics and geophysics, containing 1,079,814 abstracts; and
-   4) Los Alamos preprint server, containing 4,104 abstracts.
-Each dataset can be searched by author, object name (astronomy only), title,
-or abstract text words.
+Astro::ADS is the base class for accessing the ADS API.
+
+It handles methods common to all services such as setting the UserAgent and
+including your API key in all request headers.
diff --git a/astro/p5-Astro-ADS/pkg-plist b/astro/p5-Astro-ADS/pkg-plist
index a0b095495b7f..9034ada3161c 100644
--- a/astro/p5-Astro-ADS/pkg-plist
+++ b/astro/p5-Astro-ADS/pkg-plist
@@ -1,10 +1,10 @@
-bin/adsquery
 %%SITE_PERL%%/Astro/ADS.pm
-%%SITE_PERL%%/Astro/ADS/Query.pm
+%%SITE_PERL%%/Astro/ADS/Paper.pm
 %%SITE_PERL%%/Astro/ADS/Result.pm
-%%SITE_PERL%%/Astro/ADS/Result/Paper.pm
+%%SITE_PERL%%/Astro/ADS/Role/ResultMapper.pm
+%%SITE_PERL%%/Astro/ADS/Search.pm
 %%PERL5_MAN3%%/Astro::ADS.3.gz
-%%PERL5_MAN3%%/Astro::ADS::Query.3.gz
+%%PERL5_MAN3%%/Astro::ADS::Paper.3.gz
 %%PERL5_MAN3%%/Astro::ADS::Result.3.gz
-%%PERL5_MAN3%%/Astro::ADS::Result::Paper.3.gz
-%%PERL5_MAN1%%/adsquery.1.gz
+%%PERL5_MAN3%%/Astro::ADS::Role::ResultMapper.3.gz
+%%PERL5_MAN3%%/Astro::ADS::Search.3.gz