aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2018-03-16 02:38:32 +0300
committerHisham Muhammad <hisham@gobolinux.org>2018-03-15 20:38:32 -0300
commit1dfb8c41e8a7e689959baeaf2961437db9615f74 (patch)
tree5d12a1c8549314e7e8a26d45c59676a22775e276
parent37d8524e7e5237d3d67b2db4692b00b0eb95077b (diff)
downloadluafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.gz
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.bz2
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.zip
Replace rockspecs/ with a single scm rockspec (#108)
There is no need to keep rockspecs for older versions - it's enough to ensure that `luarocks make` builds currently checked out version. `luarocks new-version <rockspec> <version> --tag=<tag>` generates rockspecs for releases. Use `scm` instead of `dev` as LuaRocks 2 thinks that `dev` versions are less than normal versions like 1.6.3, making it tricky to use bleeding-edge version as a dependency with a constraint such as `luafilesystem >= 1.6.3`.
-rw-r--r--.travis.yml2
-rw-r--r--appveyor.yml2
-rw-r--r--luafilesystem-scm-1.rockspec (renamed from rockspecs/luafilesystem-1.7.0-1.rockspec)12
-rw-r--r--rockspecs/luafilesystem-1.3.0-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.4.0-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.4.0-2.rockspec43
-rw-r--r--rockspecs/luafilesystem-1.4.1-1.rockspec43
-rw-r--r--rockspecs/luafilesystem-1.4.1rc1-1.rockspec43
-rw-r--r--rockspecs/luafilesystem-1.4.2-1.rockspec26
-rw-r--r--rockspecs/luafilesystem-1.5.0-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.6.0-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.6.1-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.6.2-1.rockspec27
-rw-r--r--rockspecs/luafilesystem-1.6.3-1.rockspec28
-rw-r--r--rockspecs/luafilesystem-1.7.0-2.rockspec28
-rw-r--r--rockspecs/luafilesystem-cvs-1.rockspec44
-rw-r--r--rockspecs/luafilesystem-cvs-2.rockspec26
-rw-r--r--rockspecs/luafilesystem-cvs-3.rockspec27
18 files changed, 8 insertions, 478 deletions
diff --git a/.travis.yml b/.travis.yml
index 38086ba..22430d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ before_install:
20 - luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none 20 - luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none
21 21
22install: 22install:
23 - luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage" 23 - luarocks make CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
24 24
25script: 25script:
26 - lua -lluacov tests/test.lua 26 - lua -lluacov tests/test.lua
diff --git a/appveyor.yml b/appveyor.yml
index 29e6442..95dcb58 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -30,7 +30,7 @@ before_build:
30- echo "Installing external deps" 30- echo "Installing external deps"
31 31
32build_script: 32build_script:
33- luarocks make rockspecs/luafilesystem-cvs-3.rockspec 33- luarocks make
34 34
35before_test: 35before_test:
36 36
diff --git a/rockspecs/luafilesystem-1.7.0-1.rockspec b/luafilesystem-scm-1.rockspec
index c1c0ecc..71cf19b 100644
--- a/rockspecs/luafilesystem-1.7.0-1.rockspec
+++ b/luafilesystem-scm-1.rockspec
@@ -1,8 +1,7 @@
1package = "LuaFileSystem" 1package = "luafilesystem"
2version = "1.7.0-1" 2version = "scm-1"
3source = { 3source = {
4 url = "git://github.com/keplerproject/luafilesystem", 4 url = "git://github.com/keplerproject/luafilesystem"
5 tag = "v1_7_0",
6} 5}
7description = { 6description = {
8 summary = "File System Library for the Lua Programming Language", 7 summary = "File System Library for the Lua Programming Language",
@@ -12,7 +11,7 @@ description = {
12 distribution. LuaFileSystem offers a portable way to access the 11 distribution. LuaFileSystem offers a portable way to access the
13 underlying directory structure and file attributes. 12 underlying directory structure and file attributes.
14 ]], 13 ]],
15 license = "MIT/X11", 14 license = "MIT/X11"
16} 15}
17dependencies = { 16dependencies = {
18 "lua >= 5.1" 17 "lua >= 5.1"
@@ -23,6 +22,7 @@ build = {
23 lfs = "src/lfs.c" 22 lfs = "src/lfs.c"
24 }, 23 },
25 copy_directories = { 24 copy_directories = {
26 "doc", "tests" 25 "doc",
26 "tests"
27 } 27 }
28} 28}
diff --git a/rockspecs/luafilesystem-1.3.0-1.rockspec b/rockspecs/luafilesystem-1.3.0-1.rockspec
deleted file mode 100644
index d4d484f..0000000
--- a/rockspecs/luafilesystem-1.3.0-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2version = "1.3.0-1"
3source = {
4 url = "http://luaforge.net/frs/download.php/2679/luafilesystem-1.3.0.tar.gz"
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]]
14}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
19 type = "make",
20 build_variables = {
21 LUA_INC = "$(LUA_INCDIR)",
22 LIB_OPTION = "$(LIBFLAG)"
23 },
24 install_variables = {
25 LUA_LIBDIR = "$(LIBDIR)"
26 }
27}
diff --git a/rockspecs/luafilesystem-1.4.0-1.rockspec b/rockspecs/luafilesystem-1.4.0-1.rockspec
deleted file mode 100644
index b693618..0000000
--- a/rockspecs/luafilesystem-1.4.0-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2version = "1.4.0-1"
3source = {
4 url = "http://luaforge.net/frs/download.php/3158/luafilesystem-1.4.0.tar.gz"
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]]
14}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
19 type = "make",
20 build_variables = {
21 LUA_INC = "$(LUA_INCDIR)",
22 LIB_OPTION = "$(LIBFLAG)"
23 },
24 install_variables = {
25 LUA_LIBDIR = "$(LIBDIR)"
26 }
27}
diff --git a/rockspecs/luafilesystem-1.4.0-2.rockspec b/rockspecs/luafilesystem-1.4.0-2.rockspec
deleted file mode 100644
index f7ed871..0000000
--- a/rockspecs/luafilesystem-1.4.0-2.rockspec
+++ /dev/null
@@ -1,43 +0,0 @@
1package = "LuaFileSystem"
2version = "1.4.0-2"
3source = {
4 url = "http://luaforge.net/frs/download.php/3158/luafilesystem-1.4.0.tar.gz"
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]]
14}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
19 platforms = {
20 unix = {
21 type = "make",
22 build_variables = {
23 LIB_OPTION = "$(LIBFLAG)",
24 CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
25 },
26 install_variables = {
27 LUA_LIBDIR = "$(LIBDIR)"
28 }
29 },
30 win32 = {
31 type = "make",
32 build_variables = {
33 LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
34 CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)",
35 },
36 install_variables = {
37 LUA_LIBDIR = "$(LIBDIR)",
38 LUA_DIR = "$(LUADIR)",
39 BIN_DIR = "$(BINDIR)"
40 }
41 }
42 }
43} \ No newline at end of file
diff --git a/rockspecs/luafilesystem-1.4.1-1.rockspec b/rockspecs/luafilesystem-1.4.1-1.rockspec
deleted file mode 100644
index db3a3eb..0000000
--- a/rockspecs/luafilesystem-1.4.1-1.rockspec
+++ /dev/null
@@ -1,43 +0,0 @@
1package = "LuaFileSystem"
2version = "1.4.1-1"
3source = {
4 url = "http://luaforge.net/frs/download.php/3345/luafilesystem-1.4.1.tar.gz",
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]]
14}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
19 platforms = {
20 unix = {
21 type = "make",
22 build_variables = {
23 LIB_OPTION = "$(LIBFLAG)",
24 CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)",
25 },
26 install_variables = {
27 LUA_LIBDIR = "$(LIBDIR)"
28 }
29 },
30 win32 = {
31 type = "make",
32 build_variables = {
33 LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
34 CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)",
35 },
36 install_variables = {
37 LUA_LIBDIR = "$(LIBDIR)",
38 LUA_DIR = "$(LUADIR)",
39 BIN_DIR = "$(BINDIR)"
40 }
41 }
42 }
43}
diff --git a/rockspecs/luafilesystem-1.4.1rc1-1.rockspec b/rockspecs/luafilesystem-1.4.1rc1-1.rockspec
deleted file mode 100644
index 1194711..0000000
--- a/rockspecs/luafilesystem-1.4.1rc1-1.rockspec
+++ /dev/null
@@ -1,43 +0,0 @@
1package = "LuaFileSystem"
2version = "1.4.1rc1-1"
3source = {
4 url = "http://luafilesystem.luaforge.net/luafilesystem-1.4.1rc1.tar.gz",
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]]
14}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
19 platforms = {
20 unix = {
21 type = "make",
22 build_variables = {
23 LIB_OPTION = "$(LIBFLAG)",
24 CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)",
25 },
26 install_variables = {
27 LUA_LIBDIR = "$(LIBDIR)"
28 }
29 },
30 win32 = {
31 type = "make",
32 build_variables = {
33 LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
34 CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)",
35 },
36 install_variables = {
37 LUA_LIBDIR = "$(LIBDIR)",
38 LUA_DIR = "$(LUADIR)",
39 BIN_DIR = "$(BINDIR)"
40 }
41 }
42 }
43}
diff --git a/rockspecs/luafilesystem-1.4.2-1.rockspec b/rockspecs/luafilesystem-1.4.2-1.rockspec
deleted file mode 100644
index 7cfe92b..0000000
--- a/rockspecs/luafilesystem-1.4.2-1.rockspec
+++ /dev/null
@@ -1,26 +0,0 @@
1package = "LuaFileSystem"
2
3version = "1.4.2-1"
4
5source = {
6 url = "http://luaforge.net/frs/download.php/3931/luafilesystem-1.4.2.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "module",
25 modules = { lfs = "src/lfs.c" }
26} \ No newline at end of file
diff --git a/rockspecs/luafilesystem-1.5.0-1.rockspec b/rockspecs/luafilesystem-1.5.0-1.rockspec
deleted file mode 100644
index 1170ad2..0000000
--- a/rockspecs/luafilesystem-1.5.0-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2
3version = "1.5.0-1"
4
5source = {
6 url = "http://cloud.github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.5.0.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "module",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}
diff --git a/rockspecs/luafilesystem-1.6.0-1.rockspec b/rockspecs/luafilesystem-1.6.0-1.rockspec
deleted file mode 100644
index 82d349c..0000000
--- a/rockspecs/luafilesystem-1.6.0-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2
3version = "1.6.0-1"
4
5source = {
6 url = "https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.6.0.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "builtin",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}
diff --git a/rockspecs/luafilesystem-1.6.1-1.rockspec b/rockspecs/luafilesystem-1.6.1-1.rockspec
deleted file mode 100644
index 7f45e33..0000000
--- a/rockspecs/luafilesystem-1.6.1-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2
3version = "1.6.1-1"
4
5source = {
6 url = "https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.6.1.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "builtin",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}
diff --git a/rockspecs/luafilesystem-1.6.2-1.rockspec b/rockspecs/luafilesystem-1.6.2-1.rockspec
deleted file mode 100644
index 1c11efc..0000000
--- a/rockspecs/luafilesystem-1.6.2-1.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2
3version = "1.6.2-1"
4
5source = {
6 url = "https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.6.2.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "builtin",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}
diff --git a/rockspecs/luafilesystem-1.6.3-1.rockspec b/rockspecs/luafilesystem-1.6.3-1.rockspec
deleted file mode 100644
index 89b25d4..0000000
--- a/rockspecs/luafilesystem-1.6.3-1.rockspec
+++ /dev/null
@@ -1,28 +0,0 @@
1package = "LuaFileSystem"
2version = "1.6.3-1"
3source = {
4 url = "git://github.com/keplerproject/luafilesystem",
5 tag = "v_1_6_3",
6}
7description = {
8 summary = "File System Library for the Lua Programming Language",
9 detailed = [[
10 LuaFileSystem is a Lua library developed to complement the set of
11 functions related to file systems offered by the standard Lua
12 distribution. LuaFileSystem offers a portable way to access the
13 underlying directory structure and file attributes.
14 ]],
15 license = "MIT/X11",
16}
17dependencies = {
18 "lua >= 5.1"
19}
20build = {
21 type = "builtin",
22 modules = {
23 lfs = "src/lfs.c"
24 },
25 copy_directories = {
26 "doc", "tests"
27 }
28}
diff --git a/rockspecs/luafilesystem-1.7.0-2.rockspec b/rockspecs/luafilesystem-1.7.0-2.rockspec
deleted file mode 100644
index 4aa2425..0000000
--- a/rockspecs/luafilesystem-1.7.0-2.rockspec
+++ /dev/null
@@ -1,28 +0,0 @@
1package = "LuaFileSystem"
2version = "1.7.0-2"
3source = {
4 url = "git://github.com/keplerproject/luafilesystem",
5 tag = "v1_7_0_2",
6}
7description = {
8 summary = "File System Library for the Lua Programming Language",
9 detailed = [[
10 LuaFileSystem is a Lua library developed to complement the set of
11 functions related to file systems offered by the standard Lua
12 distribution. LuaFileSystem offers a portable way to access the
13 underlying directory structure and file attributes.
14 ]],
15 license = "MIT/X11",
16}
17dependencies = {
18 "lua >= 5.1"
19}
20build = {
21 type = "builtin",
22 modules = {
23 lfs = "src/lfs.c"
24 },
25 copy_directories = {
26 "doc", "tests"
27 }
28}
diff --git a/rockspecs/luafilesystem-cvs-1.rockspec b/rockspecs/luafilesystem-cvs-1.rockspec
deleted file mode 100644
index a02d4f1..0000000
--- a/rockspecs/luafilesystem-cvs-1.rockspec
+++ /dev/null
@@ -1,44 +0,0 @@
1package = "LuaFileSystem"
2version = "cvs-1"
3source = {
4 url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem",
5 cvs_tag = "HEAD"
6}
7description = {
8 summary = "File System Library for the Lua Programming Language",
9 detailed = [[
10 LuaFileSystem is a Lua library developed to complement the set of
11 functions related to file systems offered by the standard Lua
12 distribution. LuaFileSystem offers a portable way to access the
13 underlying directory structure and file attributes.
14 ]]
15}
16dependencies = {
17 "lua >= 5.1"
18}
19build = {
20 platforms = {
21 unix = {
22 type = "make",
23 build_variables = {
24 LIB_OPTION = "$(LIBFLAG)",
25 CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
26 },
27 install_variables = {
28 LUA_LIBDIR = "$(LIBDIR)"
29 }
30 },
31 win32 = {
32 type = "make",
33 build_variables = {
34 LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
35 CFLAGS = "$(CFLAGS) /I$(LUA_INCDIR)",
36 },
37 install_variables = {
38 LUA_LIBDIR = "$(LIBDIR)",
39 LUA_DIR = "$(LUADIR)",
40 BIN_DIR = "$(BINDIR)"
41 }
42 }
43 }
44}
diff --git a/rockspecs/luafilesystem-cvs-2.rockspec b/rockspecs/luafilesystem-cvs-2.rockspec
deleted file mode 100644
index 651c7cf..0000000
--- a/rockspecs/luafilesystem-cvs-2.rockspec
+++ /dev/null
@@ -1,26 +0,0 @@
1package = "LuaFileSystem"
2
3version = "cvs-2"
4
5source = {
6 url = "git://github.com/keplerproject/luafilesystem.git",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "module",
25 modules = { lfs = "src/lfs.c" }
26}
diff --git a/rockspecs/luafilesystem-cvs-3.rockspec b/rockspecs/luafilesystem-cvs-3.rockspec
deleted file mode 100644
index a4388cd..0000000
--- a/rockspecs/luafilesystem-cvs-3.rockspec
+++ /dev/null
@@ -1,27 +0,0 @@
1package = "LuaFileSystem"
2
3version = "cvs-3"
4
5source = {
6 url = "git://github.com/keplerproject/luafilesystem.git",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1, < 5.4"
21}
22
23build = {
24 type = "builtin",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}