307 Commits

Author SHA1 Message Date
Peter Melnichenko
edd95bc6b1
Add support for LuaRocks 3.0.2 but set 2.4.4 as stable again 2018-09-10 18:09:54 +03:00
Peter Melnichenko
dca47dcac5 Add CHANGELOG.md 2018-08-18 15:29:20 +03:00
Peter Melnichenko
d672ccd087 Move install action into a separate function 2018-08-18 12:21:54 +03:00
Peter Melnichenko
acd620b247 Allow using --show together with installing
--show now always lists programs installed in given location, possibly
after installing some.
2018-08-18 11:38:11 +03:00
Peter Melnichenko
0b33cd59fc More description error when no programs are specified 2018-08-18 11:31:29 +03:00
Peter Melnichenko
15388ec7b4 Add support for LuaRocks 3.0.1 2018-08-18 11:08:53 +03:00
Peter Melnichenko
16f9a52e6c Attempt to fix OS X Travis build 2018-08-07 13:40:52 +03:00
Peter Melnichenko
fdd1024833 Fix ./?/init.lua not being in package path for Lua 5.3+ 2018-08-07 12:41:14 +03:00
Peter Melnichenko
c1cbbca543 Support LuaRocks 3.0.0 and alias ^ and latest to it 2018-07-26 19:27:30 +03:00
Peter Melnichenko
ca2fd3194c Revert incorrect fix for the Lua 5.4.0-work2 VS problem 2018-07-11 21:28:54 +03:00
Peter Melnichenko
a30d0dd550 Fix 5.4 build when using VS 2018-07-11 21:17:48 +03:00
Peter Melnichenko
732397ef98 0.19.0 release 0.19.0 2018-07-11 20:17:58 +03:00
Peter Melnichenko
cc7bb37e1a Fix newly introduced error when installing Luarocks on win
Archive names contain dots, don't remove too much
when stripping extensions.
2018-07-11 13:48:26 +03:00
Peter Melnichenko
095dcc9b4a Add Lua 5.4.0-work{1,2} to supported releases
Refactor the way download names and urls are acquired to
allow more flexibility.
2018-07-11 13:21:43 +03:00
Peter Melnichenko
68d9caef5a Use pycodestyle instead of pep8, fix its warnings and config 2018-07-10 20:07:27 +03:00
Peter Melnichenko
49b8acac6e Support Lua 5.3.5 2018-07-10 19:15:32 +03:00
Peter Melnichenko
cecb55f5ad Add missing patches for Lua 5.3.4 2018-07-10 17:11:44 +03:00
Peter Melnichenko
bfd7d8efd1 Preliminary Lua 5.4 support
Now Lua 5.4 work1 can be properly installed by unpacking its
.tar.gz and running `hererocks <prefix> -l <untared>/src`.
Use `--cflags=-DLUA_NILINTABLE` if very brave.
2018-03-15 22:19:45 +03:00
Peter Melnichenko
cc30733d11 0.18.0 release (fixed) 0.18.0 2018-03-13 13:19:41 +03:00
Peter Melnichenko
3f370377e7 0.18.0 release 2018-03-13 13:16:04 +03:00
Peter Melnichenko
66b2e9bc7a Another attempt to fix build on OS X 2018-03-13 13:08:11 +03:00
Peter Melnichenko
4ce0ab9daa Fix OS X Travis CI 2018-03-13 12:58:28 +03:00
Peter Melnichenko
a8d4e2c08d Add a patch for Lua 5.3.4 2018-03-13 12:48:36 +03:00
Peter Melnichenko
248de26b94 Fix a test installing Lua from git
Bleeding edge Lua is now 5.4 and not supported by LuaRocks,
use latest 5.3 commit instead.
2018-03-13 12:46:08 +03:00
Peter Melnichenko
2d0e07cf7f Add support for LuaRocks 2.4.4, update LuaRocks 3 branch
Use @master instead of @luarocks-3 for LuaRocks 3.
2018-03-13 12:40:49 +03:00
Peter Melnichenko
46d1e02119 0.17.0 release 0.17.0 2017-09-13 16:50:59 +03:00
Peter Melnichenko
d18b005558 Fix a pyflakes warning 2017-09-13 16:19:21 +03:00
Peter Melnichenko
898256d5c3 Update --help for PUC-Rio Lua repo changes 2017-09-13 16:16:51 +03:00
Peter Melnichenko
0e3fc45758 Support new directory structure of PUC-Rio Lua git repo
When installing PUC-Rio Lua from git or local sources,
look for source files in root project directory instead
of `src`.

Default PUC-Rio Lua repo does not contain sources for luac.
It lacks lua.hpp, too.
2017-09-13 16:11:36 +03:00
Peter Melnichenko
7f6f5b02b5 Add patches for Lua 5.3.4 2017-09-13 12:35:34 +03:00
Peter Melnichenko
8cc94db304 Update license year 2017-09-13 12:23:23 +03:00
Peter Melnichenko
8289a5f705 Merge pull request #38 from fperrad/luarocks
Add LuaRocks 2.4.3 support
2017-09-13 12:18:50 +03:00
Francois Perrad
c44db4fcdb Add LuaRocks 2.4.3 support 2017-09-13 11:02:27 +02:00
Peter Melnichenko
3d66ed47ab Fix README.rst for 0.16.0 0.16.0 2017-06-10 19:56:31 +03:00
Peter Melnichenko
a614537aad 0.16.0 release 2017-06-10 19:39:58 +03:00
Peter Melnichenko
1704d44482 Show version suffix in fetching stage
Used version is not always obvious when version
is specified as `latest`, show it as early as possible.
2017-06-08 13:04:43 +03:00
Peter Melnichenko
870b84d673 Make subprocess output decoding more resilient
Use platform default encoding, ignore decoding errors.
2017-05-02 22:07:45 +03:00
Peter Melnichenko
265b77f365 Add timeout on downloads and --timeout option
Default timeout is 1 minute per mirror.
2017-05-02 21:38:27 +03:00
Peter Melnichenko
03cba28315 Add mirror support, include official PUC-Rio Lua mirror URL 2017-05-02 21:26:17 +03:00
Peter Melnichenko
1aa8a8a028 Add support for LuaJIT 2.0.5 and 2.1.0-beta3 2017-05-02 21:03:13 +03:00
Peter Melnichenko
15b8240a65 0.15.0 release 0.15.0 2017-04-02 20:53:12 +03:00
Peter Melnichenko
cdd9e172e3 Append custom CFLAGS to LuaRocks config
Ref #33.
2017-03-21 13:56:30 +03:00
Peter Melnichenko
cd483f5c91 0.14.0 release 0.14.0 2017-01-31 14:24:53 +03:00
Peter Melnichenko
d173a0b717 Add support for Lua 5.3.4 2017-01-31 14:16:20 +03:00
Peter Melnichenko
3ca0d2e863 0.13.1 release 0.13.1 2017-01-09 14:14:43 +03:00
Peter Melnichenko
09ea6dd2e4 Fix recursive call on Windows
For some reason sys.argv[0] may contain path to the python wrapper
(hererocks-script.py) or just "hererocks". Use inspect.getsourcefile
to get hererocks file location instead.
2017-01-09 12:35:40 +03:00
Peter Melnichenko
6840fa3eb9 0.13.0 release 0.13.0 2016-12-22 13:33:59 +03:00
Peter Melnichenko
5f83340455 Fix test broken by github.com/lua/lua changes 2016-12-06 18:11:37 +03:00
Peter Melnichenko
893ea86826 Add Luarocks 2.4.2 support 2016-12-06 15:55:49 +03:00
Peter Melnichenko
24c5bfbffd Allow using Luarocks config in home dir 2016-12-06 15:50:35 +03:00