Re: [NEW] devel/lua-tz

2016-10-25 Thread Frederic Cambus
On Sat, Oct 22, 2016 at 05:30:14PM +0200, Jeremie Courreges-Anglas wrote:

> You could add a very basic test target, eg
> 
> do-test:
>   cd ${WRKSRC} && ${MODLUA_BIN} ${WRKSRC}/examples/os_date.lua

That makes sense. Just imported the port with the modification you 
suggested in. Thanks again for testing.



Re: [NEW] devel/lua-tz

2016-10-22 Thread Jeremie Courreges-Anglas
Frederic Cambus  writes:

> Hi ports@,
>
> Here is a new port: devel/lua-tz
>
> Comments? OK?
>
> From DESCR:
>
> A lua library for time and date manipulation.
>
> Features include:
>
> - Normalisation of broken down date objects - allows for complex time/date
>   manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
> - Conversion between locations (time zones) using your local zoneinfo database
> - strftime style formatting

ok jca@

You could add a very basic test target, eg

do-test:
cd ${WRKSRC} && ${MODLUA_BIN} ${WRKSRC}/examples/os_date.lua

(the other example file doesn't work...)

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



[NEW] devel/lua-tz

2016-10-21 Thread Frederic Cambus
Hi ports@,

Here is a new port: devel/lua-tz

Comments? OK?

>From DESCR:

A lua library for time and date manipulation.

Features include:

- Normalisation of broken down date objects - allows for complex time/date
  manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
- Conversion between locations (time zones) using your local zoneinfo database
- strftime style formatting



lua-tz.tar.gz
Description: application/tar-gz