initial import of p5-Date-Extract-0.05, ok ajacoutot@
This commit is contained in:
parent
2a10d6c2a4
commit
cc1be7533f
20
devel/p5-Date-Extract/Makefile
Normal file
20
devel/p5-Date-Extract/Makefile
Normal 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>
|
2
devel/p5-Date-Extract/distinfo
Normal file
2
devel/p5-Date-Extract/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Date-Extract-0.05.tar.gz) = 74ZrTVlul2pvTksmamrX/kUT+tmudh16nvZvZyaV/m0=
|
||||
SIZE (Date-Extract-0.05.tar.gz) = 27889
|
6
devel/p5-Date-Extract/pkg/DESCR
Normal file
6
devel/p5-Date-Extract/pkg/DESCR
Normal 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.
|
3
devel/p5-Date-Extract/pkg/PLIST
Normal file
3
devel/p5-Date-Extract/pkg/PLIST
Normal 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
|
Loading…
x
Reference in New Issue
Block a user