X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/81eaf243f3f28403292343af73e178f79ab5c0b3..26599a049c52f4ccb71940f825d9d966a32ec2df:/luatz-scm-0.rockspec diff --git a/luatz-scm-0.rockspec b/luatz-scm-0.rockspec index 25b0f62..6e6d6a5 100644 --- a/luatz-scm-0.rockspec +++ b/luatz-scm-0.rockspec @@ -2,17 +2,23 @@ package = "luatz" version = "scm-0" description = { - summary = "This is a lua library for time and date manipulation." ; + summary = "library for time and date manipulation." ; detailed = [[ - This is a lua library for time and date manipulation. + A lua library for time and date manipulation. - Importantly, it allows you to convert time between locations (time zones). + 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 + + All operations are possible without C extensions, though if available they may be used to increase accuracy. ]] ; - license = "MIT/X11" ; + license = "MIT" ; } dependencies = { - "lua ~> 5.1" ; + "lua >= 5.1" ; } source = { @@ -22,11 +28,13 @@ source = { build = { type = "builtin" ; modules = { - ["luatz.init"] = "src/init.lua" ; - ["luatz.gettime"] = "src/gettime.lua" ; - ["luatz.timetable"] = "src/timetable.lua" ; - ["luatz.tzcache"] = "src/tzcache.lua" ; - ["luatz.tzfile"] = "src/tzfile.lua" ; - ["luatz.tzinfo"] = "src/tzinfo.lua" ; + ["luatz.init"] = "luatz/init.lua" ; + ["luatz.gettime"] = "luatz/gettime.lua" ; + ["luatz.parse"] = "luatz/parse.lua" ; + ["luatz.timetable"] = "luatz/timetable.lua" ; + ["luatz.strftime"] = "luatz/strftime.lua" ; + ["luatz.tzcache"] = "luatz/tzcache.lua" ; + ["luatz.tzfile"] = "luatz/tzfile.lua" ; + ["luatz.tzinfo"] = "luatz/tzinfo.lua" ; } ; }