initial import of p5-Date-Extract-0.05, ok ajacoutot@

This commit is contained in:
robert 2015-10-14 17:36:08 +00:00
parent 2a10d6c2a4
commit cc1be7533f
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/10/14 17:36:08 robert Exp $
COMMENT = extract probable dates from strings
V = 0.05
MODULES = cpan
DISTNAME = Date-Extract-${V}
CATEGORIES = devel
# Perl
PERMIT_PACKAGE_CDROM = Yes
TEST_DEPENDS = devel/p5-Test-MockTime
RUN_DEPENDS = devel/p5-DateTime-Format-Natural \
devel/p5-Class-Data-Inheritable
BUILD_DEPENDS = ${RUN_DEPENDS}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Date-Extract-0.05.tar.gz) = 74ZrTVlul2pvTksmamrX/kUT+tmudh16nvZvZyaV/m0=
SIZE (Date-Extract-0.05.tar.gz) = 27889

View File

@ -0,0 +1,6 @@
Date::Extract takes an arbitrary block of text, searches it for
something that looks like a date string, and builds a DateTime
object out of it. By design it will produce few false positives.
This means it will not catch nearly everything that looks like a
date string. So if you have the string "do homework for class 2019"
it won't return a DateTime object with the year set to 2019.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/10/14 17:36:08 robert Exp $
${P5SITE}/Date/Extract.pm
@man man/man3p/Date::Extract.3p