From 2ff37bfb726afa418681099b48a9c2120861f91e Mon Sep 17 00:00:00 2001
From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org>
Date: Fri, 6 Oct 2023 03:27:19 +0000
Subject: [PATCH] community/perl-datetime-format-natural: upgrade to 1.18

 - Removed `perl-dev` from `makedepends` because this
   is a pure Perl module with no C code (it's `noarch`)
 - Moved `perl-test-mocktime-hires` from make to checkdepends
 - Moved `perl-module-util` to depends, as it is used in
   lib/DateTime/Format/Natural/Test.pm included in the .apk
---
 community/perl-datetime-format-natural/APKBUILD | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/community/perl-datetime-format-natural/APKBUILD b/community/perl-datetime-format-natural/APKBUILD
index b94bb813b44e..1cb684195ca7 100644
--- a/community/perl-datetime-format-natural/APKBUILD
+++ b/community/perl-datetime-format-natural/APKBUILD
@@ -4,17 +4,19 @@
 pkgname=perl-datetime-format-natural
 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 _pkgreal=DateTime-Format-Natural
-pkgver=1.17
-pkgrel=1
+pkgver=1.18
+pkgrel=0
 pkgdesc="Parse informal natural language date/time strings"
 url="https://metacpan.org/release/DateTime-Format-Natural/"
 arch="noarch"
 license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 depends="
-	perl perl-datetime-timezone perl-clone perl-params-validate perl-list-moreutils perl-datetime
-	perl-boolean perl-datetime-hires
+	perl perl-datetime-timezone perl-clone perl-params-validate
+	perl-list-moreutils perl-datetime perl-boolean
+	perl-datetime-hires perl-module-util
 	"
-makedepends="perl-dev perl-test-mocktime-hires perl-module-util perl-module-build"
+makedepends="perl-module-build"
+checkdepends="perl-test-mocktime-hires"
 subpackages="$pkgname-doc"
 source="https://cpan.metacpan.org/authors/id/S/SC/SCHUBIGER/DateTime-Format-Natural-$pkgver.tar.gz"
 builddir="$srcdir/$_pkgreal-$pkgver"
@@ -35,5 +37,5 @@ package() {
 }
 
 sha512sums="
-719a49f647bdfe10a526e672ca163faac457109e4b977dfb5b9ace9daf2590425bd8001f330dab0c1ad7d55f0dc55a07b18e8821578ab0617ba7e931dcaaf575  DateTime-Format-Natural-1.17.tar.gz
+ec57179399e1539a0e22379794cf927337f682ca168de7f48338598c27d6ea70a1901a47e232c574d89e7e234930e09aa995309b40e171f99f22a24a95236b82  DateTime-Format-Natural-1.18.tar.gz
 "
-- 
GitLab