282 Commits

Author SHA1 Message Date
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
Peter Melnichenko
8afe784657 0.12.0 release 0.12.0 2016-11-04 00:19:19 +03:00
Peter Melnichenko
e89c557d23 Use new luarocks org name 2016-11-04 00:16:40 +03:00
Peter Melnichenko
e26ac2e05a Add support for Luarocks 2.4.1 2016-10-27 20:17:57 +03:00
Peter Melnichenko
3af691efe9 Fix OS X CI
Do not `brew install` python on OS X, it's already installed on the
new image Travis uses.
2016-10-27 20:09:11 +03:00
Peter Melnichenko
012172c020 Handle unicode in output correctly in tests under py2 2016-10-16 17:53:54 +03:00
Peter Melnichenko
fba0462779 0.11.0 release 0.11.0 2016-09-10 14:16:21 +03:00
Peter Melnichenko
88514214a1 Add two new patches for Lua 5.3.3 2016-09-10 13:48:29 +03:00
Peter Melnichenko
c5d5cf1424 Add support for LuaRocks 2.4.0 2016-09-10 13:32:31 +03:00
Peter Melnichenko
7afe537d52 Merge pull request #28 from starius/expanduser
use os.path.expanduser to get home dir on Unix
2016-07-29 13:36:51 +04:00
Boris Nagaev
c0ae601f3c use os.path.expanduser to get home dir on Unix
It works even if HOME is not set.
2016-07-28 11:46:58 +03:00
Peter Melnichenko
6e7854fd05 0.10.0 release 0.10.0 2016-07-14 18:30:38 +03:00
Peter Melnichenko
e7d5ca4bf6 Fix batch activation file for paths with parens 2016-07-14 10:23:18 +03:00
Peter Melnichenko
81d0094d67 Attempt to fix tests 2016-07-14 12:10:28 +03:00
Peter Melnichenko
1439be0036 Add a test for activation scripts 2016-07-14 12:03:14 +03:00
Peter Melnichenko
bf1bd19713 Implement activation script for powershell
Also fix activation script for batch error when location path
contains spaces.
2016-07-13 15:31:31 +03:00
Peter Melnichenko
8b8f75d14c Implement activation script for batch 2016-07-13 13:26:49 +03:00
Peter Melnichenko
5df72f9631 Fix error when location dir doesn't exist beforehand
Introduced in parent commit.
2016-07-12 23:43:09 +03:00
Peter Melnichenko
5ba64a4379 Implement activation scripts for POSIX-enough shells
When creating an environment write activation scripts into $PREFIX/bin.
An activation script, when sourced, adds $PREFIX/bin to $PATH and adds
'deactivate-lua' function that removes it. Activating an environment
automatically deactivates previous one.

Supported shells:

* bash, zsh, dash: $PREFIX/bin/activate
* fish: $PREFIX/bin/activate.fish
* csh, tcsh: $PREFIX/bin/activate.csh

Also fixed compilation error for location paths containing double quotes.

TODO: add activation scripts for Windoss (powershell and batch).
Ref #23.
2016-07-12 19:44:41 +03:00
Peter Melnichenko
d45a05939f Use textwrap.dedent 2016-07-12 12:27:02 +03:00
Peter Melnichenko
f45c1352f2 More verbose patching reporting by default
If --patch is used, showing names of applied patches seems like a good
idea.
2016-06-27 11:48:38 +03:00
Peter Melnichenko
83ac3076b7 Add patch for a bug in Lua 5.3.3 2016-06-27 11:48:33 +03:00
Peter Melnichenko
ac3507688a Fix typo in README.rst [ci skip] 2016-06-27 11:32:38 +03:00
Peter Melnichenko
c7c37cfc4a 0.9.0 release
Also change development status from 'Alpha' to 'Beta' because the
thing has been working more a less for quite some time.
0.9.0
2016-06-21 21:22:49 +03:00
Peter Melnichenko
1ec06f2499 Disable unused caching on travis 2016-06-21 20:43:04 +03:00
Peter Melnichenko
a9b8ab94d9 Fix SHA256 mismatch when downloading with chunked transfer enconding
Switch to urllib2, urllib doesn't support chunked.
2016-06-21 20:32:15 +03:00