perl-time-parsedate: new package
authorChristopher McCrory <chrismcc@gmail.com>
Mon, 20 Aug 2018 11:55:05 +0000 (04:55 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 12 Sep 2018 20:13:12 +0000 (22:13 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
[Thomas: adjust license information.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-time-parsedate/Config.in [new file with mode: 0644]
package/perl-time-parsedate/perl-time-parsedate.hash [new file with mode: 0644]
package/perl-time-parsedate/perl-time-parsedate.mk [new file with mode: 0644]

index 0b9a3e741b8e36147f5766f3ae69d96e13e8cdbb..5c9d7fa6169f84d5f7a81fe6867ba2cd5a0e9dcf 100644 (file)
@@ -508,6 +508,7 @@ F:  package/perl-params-util/
 F:     package/perl-sub-install/
 F:     package/perl-sys-meminfo/
 F:     package/perl-sys-mmap/
+F:     package/perl-time-parsedate/
 
 N:     Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
 F:     package/audit/
index b981df787981a3aa89cd77e16c8c614b0bc38fda..f0a02d14a8f2b1280d9c609295a33940a8dc41d5 100644 (file)
@@ -732,6 +732,7 @@ menu "Perl libraries/modules"
        source "package/perl-sys-meminfo/Config.in"
        source "package/perl-sys-mmap/Config.in"
        source "package/perl-time-hires/Config.in"
+       source "package/perl-time-parsedate/Config.in"
        source "package/perl-timedate/Config.in"
        source "package/perl-try-tiny/Config.in"
        source "package/perl-uri/Config.in"
diff --git a/package/perl-time-parsedate/Config.in b/package/perl-time-parsedate/Config.in
new file mode 100644 (file)
index 0000000..cea5d29
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_TIME_PARSEDATE
+       bool "perl-time-parsedate"
+       help
+         Parse and format time values
+
+         https://metacpan.org/release/Time-ParseDate
diff --git a/package/perl-time-parsedate/perl-time-parsedate.hash b/package/perl-time-parsedate/perl-time-parsedate.hash
new file mode 100644 (file)
index 0000000..39ce6b9
--- /dev/null
@@ -0,0 +1,7 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    9143d075278857d21c77467d26f1603b Time-ParseDate-2015.103.tar.gz
+sha256 2c1a06235bf811813caac9eaa9daa71af758667cdf7b082cb59863220fcaeed1 Time-ParseDate-2015.103.tar.gz
+
+# locally calculated
+sha256 6d8de888d0662f75cfa3bf21b261741d5634ac9cdd8604d6173850546a3d40a9 lib/Time/JulianDay.pm
+sha256 9ae411fbaf87add414e7357417032dfedce652c393643bc5cb5b7698041a1dca lib/Time/Timezone.pm
diff --git a/package/perl-time-parsedate/perl-time-parsedate.mk b/package/perl-time-parsedate/perl-time-parsedate.mk
new file mode 100644 (file)
index 0000000..39f687d
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-time-parsedate
+#
+################################################################################
+
+PERL_TIME_PARSEDATE_VERSION = 2015.103
+PERL_TIME_PARSEDATE_SOURCE = Time-ParseDate-$(PERL_TIME_PARSEDATE_VERSION).tar.gz
+PERL_TIME_PARSEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MU/MUIR/modules
+PERL_TIME_PARSEDATE_LICENSE = Time Parse Date License, Public Domain
+PERL_TIME_PARSEDATE_LICENSE_FILES = lib/Time/JulianDay.pm lib/Time/Timezone.pm
+
+$(eval $(perl-package))