From aedfe52d49bd5bf548c7f6ad8e71a7741a821be4 Mon Sep 17 00:00:00 2001 From: Peter Melnichenko Date: Wed, 18 Apr 2018 21:37:26 +0300 Subject: [PATCH] Use an scm rockspec instead of storing release rockspecs (closes #31). Allows installing dev version of serpent using `luarocks make`. There is no reason to store release rockspecs in the repo, they can be generated using `luarocks new-version --tag `. --- misc/serpent-0.19-1.rockspec | 27 ------------------- misc/serpent-0.21-1.rockspec | 25 ----------------- misc/serpent-0.22-1.rockspec | 25 ----------------- misc/serpent-0.23-1.rockspec | 25 ----------------- misc/serpent-0.24-1.rockspec | 25 ----------------- misc/serpent-0.25-1.rockspec | 25 ----------------- misc/serpent-0.26-1.rockspec | 25 ----------------- misc/serpent-0.27-1.rockspec | 25 ----------------- misc/serpent-0.30-1.rockspec | 25 ----------------- ...-0.28-1.rockspec => serpent-scm-1.rockspec | 3 +-- 10 files changed, 1 insertion(+), 229 deletions(-) delete mode 100644 misc/serpent-0.19-1.rockspec delete mode 100644 misc/serpent-0.21-1.rockspec delete mode 100644 misc/serpent-0.22-1.rockspec delete mode 100644 misc/serpent-0.23-1.rockspec delete mode 100644 misc/serpent-0.24-1.rockspec delete mode 100644 misc/serpent-0.25-1.rockspec delete mode 100644 misc/serpent-0.26-1.rockspec delete mode 100644 misc/serpent-0.27-1.rockspec delete mode 100644 misc/serpent-0.30-1.rockspec rename misc/serpent-0.28-1.rockspec => serpent-scm-1.rockspec (92%) diff --git a/misc/serpent-0.19-1.rockspec b/misc/serpent-0.19-1.rockspec deleted file mode 100644 index 05ffd02..0000000 --- a/misc/serpent-0.19-1.rockspec +++ /dev/null @@ -1,27 +0,0 @@ -package = "serpent" -version = "0.19-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.19" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} - --- vim: ft=lua diff --git a/misc/serpent-0.21-1.rockspec b/misc/serpent-0.21-1.rockspec deleted file mode 100644 index 851a51c..0000000 --- a/misc/serpent-0.21-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.21-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.21" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.22-1.rockspec b/misc/serpent-0.22-1.rockspec deleted file mode 100644 index a0d5d70..0000000 --- a/misc/serpent-0.22-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.22-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.22" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.23-1.rockspec b/misc/serpent-0.23-1.rockspec deleted file mode 100644 index c8b2c41..0000000 --- a/misc/serpent-0.23-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.23-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.23" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.24-1.rockspec b/misc/serpent-0.24-1.rockspec deleted file mode 100644 index 591d44f..0000000 --- a/misc/serpent-0.24-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.24-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.24" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1, < 5.3", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.25-1.rockspec b/misc/serpent-0.25-1.rockspec deleted file mode 100644 index 1cdec8f..0000000 --- a/misc/serpent-0.25-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.25-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.25" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1, < 5.3", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.26-1.rockspec b/misc/serpent-0.26-1.rockspec deleted file mode 100644 index 5a4f0ec..0000000 --- a/misc/serpent-0.26-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.26-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.26" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1, < 5.3", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.27-1.rockspec b/misc/serpent-0.27-1.rockspec deleted file mode 100644 index e1435ee..0000000 --- a/misc/serpent-0.27-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.27-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.27" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1, < 5.3", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.30-1.rockspec b/misc/serpent-0.30-1.rockspec deleted file mode 100644 index 60dc63d..0000000 --- a/misc/serpent-0.30-1.rockspec +++ /dev/null @@ -1,25 +0,0 @@ -package = "serpent" -version = "0.30-1" -source = { - url = "git://github.com/pkulchenko/serpent.git", - tag = "0.30" -} - -description = { - summary = "Lua serializer and pretty printer", - homepage = "https://github.com/pkulchenko/serpent", - maintainer = "Paul Kulchenko ", - license = "MIT", -} - -dependencies = { - "lua >= 5.1, < 5.4", -} - -build = { - type = "builtin", - modules = { - ["serpent"] = "src/serpent.lua", - }, - copy_directories = { "t" }, -} diff --git a/misc/serpent-0.28-1.rockspec b/serpent-scm-1.rockspec similarity index 92% rename from misc/serpent-0.28-1.rockspec rename to serpent-scm-1.rockspec index 2e23cd4..1f4d2b8 100644 --- a/misc/serpent-0.28-1.rockspec +++ b/serpent-scm-1.rockspec @@ -1,8 +1,7 @@ package = "serpent" -version = "0.28-1" +version = "scm-1" source = { url = "git://github.com/pkulchenko/serpent.git", - tag = "0.28" } description = {