]> git.madduck.net Git - etc/awesome.git/blobdiff - luatz-scm-0.rockspec

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

spec/timetable_spec.lua: Add more test cases for negative day normalisation
[etc/awesome.git] / luatz-scm-0.rockspec
index 25b0f62548818e9548f74b9f8934269b1436c806..6e6d6a5e5946e89b993cb54acec8bf638730eab6 100644 (file)
@@ -2,17 +2,23 @@ package = "luatz"
 version = "scm-0"
 
 description = {
 version = "scm-0"
 
 description = {
-       summary = "This is a lua library for time and date manipulation." ;
+       summary = "library for time and date manipulation." ;
        detailed = [[
        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 = {
 }
 
 dependencies = {
-   "lua ~> 5.1" ;
+       "lua >= 5.1" ;
 }
 
 source = {
 }
 
 source = {
@@ -22,11 +28,13 @@ source = {
 build = {
        type = "builtin" ;
        modules = {
 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" ;
        } ;
 }
        } ;
 }